Developer
Get Support
Sign in
Get Support
Sign in
DOCUMENTATION
Cloud
Data Center
Resources
Sign in
Sign in
DOCUMENTATION
Cloud
Data Center
Resources
Sign in
Last updated Nov 7, 2025

Node - doc

Purpose

The doc node is the root container node representing a document.

Example

1
2
{
  "version": 1,
  "type": "doc",
  "content": [
    {
      "type": "paragraph",
      "content": [
        {
          "type": "text",
          "text": "Hello world"
        }
      ]
    }
  ]
}

Fields

NameRequiredTypeValue
typestring"doc"
contentarrayAn array of zero or more nodes.
versioninteger1

Content

content takes zero or more top-level block nodes.

Version

version represents the version of the ADF specification used in the document.

Rate this page: