{ "$schema": "http://json-schema.org/draft-04/schema#", "description": "Schema for Atlassian Document Format.", "$ref": "#/definitions/doc_node", "definitions": { "text_node": { "type": "object", "properties": { "type": { "enum": [ "text" ] }, "text": { "type": "string", "minLength": 1 }, "marks": { "type": "array" } }, "required": [ "type", "text" ], "additionalProperties": false }, "breakout_mark": { "type": "object", "properties": { "type": { "enum": [ "breakout" ] }, "attrs": { "type": "object", "properties": { "mode": { "enum": [ "wide", "full-width" ] } }, "required": [ "mode" ], "additionalProperties": false } }, "required": [ "type", "attrs" ], "additionalProperties": false }, "codeBlock_node": { "type": "object", "properties": { "type": { "enum": [ "codeBlock" ] }, "content": { "type": "array", "items": { "allOf": [ { "$ref": "#/definitions/text_node" }, { "type": "object", "properties": { "marks": { "type": "array", "maxItems": 0 } }, "additionalProperties": true } ] } }, "marks": { "type": "array" }, "attrs": { "type": "object", "properties": { "language": { "type": "string" } }, "additionalProperties": false } }, "required": [ "type" ], "additionalProperties": false }, "codeBlock_with_no_marks_node": { "allOf": [ { "$ref": "#/definitions/codeBlock_node" }, { "type": "object", "properties": { "marks": { "type": "array", "maxItems": 0 } }, "additionalProperties": true } ] }, "codeBlock_with_marks_node": { "allOf": [ { "$ref": "#/definitions/codeBlock_node" }, { "type": "object", "properties": { "marks": { "type": "array", "items": { "$ref": "#/definitions/breakout_mark" } } }, "additionalProperties": true } ] }, "em_mark": { "type": "object", "properties": { "type": { "enum": [ "em" ] } }, "required": [ "type" ], "additionalProperties": false }, "code_mark": { "type": "object", "properties": { "type": { "enum": [ "code" ] } }, "required": [ "type" ], "additionalProperties": false }, "strike_mark": { "type": "object", "properties": { "type": { "enum": [ "strike" ] } }, "required": [ "type" ], "additionalProperties": false }, "strong_mark": { "type": "object", "properties": { "type": { "enum": [ "strong" ] } }, "required": [ "type" ], "additionalProperties": false }, "underline_mark": { "type": "object", "properties": { "type": { "enum": [ "underline" ] } }, "required": [ "type" ], "additionalProperties": false }, "link_mark": { "type": "object", "properties": { "type": { "enum": [ "link" ] }, "attrs": { "type": "object", "properties": { "href": { "type": "string" }, "title": { "type": "string" }, "id": { "type": "string" }, "collection": { "type": "string" }, "occurrenceKey": { "type": "string" } }, "required": [ "href" ], "additionalProperties": false } }, "required": [ "type", "attrs" ], "additionalProperties": false }, "subsup_mark": { "type": "object", "properties": { "type": { "enum": [ "subsup" ] }, "attrs": { "type": "object", "properties": { "type": { "enum": [ "sub", "sup" ] } }, "required": [ "type" ], "additionalProperties": false } }, "required": [ "type", "attrs" ], "additionalProperties": false }, "textColor_mark": { "type": "object", "properties": { "type": { "enum": [ "textColor" ] }, "attrs": { "type": "object", "properties": { "color": { "type": "string", "pattern": "^#[0-9a-fA-F]{6}$" } }, "required": [ "color" ], "additionalProperties": false } }, "required": [ "type", "attrs" ], "additionalProperties": false }, "alignment_mark": { "type": "object", "properties": { "type": { "enum": [ "alignment" ] }, "attrs": { "type": "object", "properties": { "align": { "enum": [ "center", "end" ] } }, "required": [ "align" ], "additionalProperties": false } }, "required": [ "type", "attrs" ], "additionalProperties": false }, "indentation_mark": { "type": "object", "properties": { "type": { "enum": [ "indentation" ] }, "attrs": { "type": "object", "properties": { "level": { "type": "number", "minimum": 1, "maximum": 6 } }, "required": [ "level" ], "additionalProperties": false } }, "required": [ "type", "attrs" ], "additionalProperties": false }, "annotation_mark": { "type": "object", "properties": { "type": { "enum": [ "annotation" ] }, "attrs": { "type": "object", "properties": { "id": { "type": "string" }, "annotationType": { "enum": [ "inlineComment" ] } }, "required": [ "id", "annotationType" ], "additionalProperties": false } }, "required": [ "type", "attrs" ], "additionalProperties": false }, "dataConsumer_mark": { "type": "object", "properties": { "type": { "enum": [ "dataConsumer" ] }, "attrs": { "type": "object", "properties": { "sources": { "type": "array", "items": { "type": "string" }, "minItems": 1 } }, "required": [ "sources" ], "additionalProperties": false } }, "required": [ "type", "attrs" ], "additionalProperties": false }, "hardBreak_node": { "type": "object", "properties": { "type": { "enum": [ "hardBreak" ] }, "attrs": { "type": "object", "properties": { "text": { "enum": [ "\n" ] } }, "additionalProperties": false } }, "required": [ "type" ], "additionalProperties": false }, "mention_node": { "type": "object", "properties": { "type": { "enum": [ "mention" ] }, "attrs": { "type": "object", "properties": { "id": { "type": "string" }, "text": { "type": "string" }, "userType": { "enum": [ "DEFAULT", "SPECIAL", "APP" ] }, "accessLevel": { "type": "string" } }, "required": [ "id" ], "additionalProperties": false } }, "required": [ "type", "attrs" ], "additionalProperties": false }, "emoji_node": { "type": "object", "properties": { "type": { "enum": [ "emoji" ] }, "attrs": { "type": "object", "properties": { "id": { "type": "string" }, "shortName": { "type": "string" }, "text": { "type": "string" } }, "additionalProperties": false, "required": [ "shortName" ] } }, "required": [ "type", "attrs" ], "additionalProperties": false }, "inlineExtension_node": { "type": "object", "properties": { "type": { "enum": [ "inlineExtension" ] }, "attrs": { "type": "object", "properties": { "extensionKey": { "type": "string", "minLength": 1 }, "extensionType": { "type": "string", "minLength": 1 }, "parameters": {}, "text": { "type": "string" }, "localId": { "type": "string", "minLength": 1 } }, "required": [ "extensionKey", "extensionType" ], "additionalProperties": false }, "marks": { "type": "array" } }, "required": [ "type", "attrs" ], "additionalProperties": false }, "inlineExtension_with_marks_node": { "allOf": [ { "$ref": "#/definitions/inlineExtension_node" }, { "type": "object", "properties": { "marks": { "type": "array", "items": { "$ref": "#/definitions/dataConsumer_mark" } } }, "additionalProperties": true } ] }, "date_node": { "type": "object", "properties": { "type": { "enum": [ "date" ] }, "attrs": { "type": "object", "properties": { "timestamp": { "type": "string", "minLength": 1 } }, "required": [ "timestamp" ], "additionalProperties": false } }, "required": [ "type", "attrs" ], "additionalProperties": false }, "placeholder_node": { "type": "object", "properties": { "type": { "enum": [ "placeholder" ] }, "attrs": { "type": "object", "properties": { "text": { "type": "string" } }, "required": [ "text" ], "additionalProperties": false } }, "required": [ "type", "attrs" ], "additionalProperties": false }, "blockCard_node": { "type": "object", "properties": { "type": { "enum": [ "blockCard" ] }, "attrs": { "anyOf": [ { "type": "object", "properties": { "url": { "type": "string" } }, "required": [ "url" ], "additionalProperties": false }, { "type": "object", "properties": { "data": {} }, "required": [ "data" ], "additionalProperties": false } ] } }, "required": [ "type", "attrs" ], "additionalProperties": false }, "inlineCard_node": { "type": "object", "properties": { "type": { "enum": [ "inlineCard" ] }, "attrs": { "anyOf": [ { "type": "object", "properties": { "url": { "type": "string" } }, "required": [ "url" ], "additionalProperties": false }, { "type": "object", "properties": { "data": {} }, "required": [ "data" ], "additionalProperties": false } ] } }, "required": [ "type", "attrs" ], "additionalProperties": false }, "status_node": { "type": "object", "properties": { "type": { "enum": [ "status" ] }, "attrs": { "type": "object", "properties": { "text": { "type": "string", "minLength": 1 }, "color": { "enum": [ "neutral", "purple", "blue", "red", "yellow", "green" ] }, "localId": { "type": "string" }, "style": { "type": "string" } }, "required": [ "text", "color" ], "additionalProperties": false } }, "required": [ "type", "attrs" ], "additionalProperties": false }, "media_node": { "type": "object", "properties": { "type": { "enum": [ "media" ] }, "attrs": { "anyOf": [ { "type": "object", "properties": { "type": { "enum": [ "link", "file" ] }, "id": { "type": "string", "minLength": 1 }, "collection": { "type": "string" }, "height": { "type": "number" }, "width": { "type": "number" }, "occurrenceKey": { "type": "string", "minLength": 1 }, "alt": { "type": "string" } }, "required": [ "type", "id", "collection" ], "additionalProperties": false }, { "type": "object", "properties": { "type": { "enum": [ "external" ] }, "url": { "type": "string" }, "alt": { "type": "string" }, "width": { "type": "number" }, "height": { "type": "number" } }, "required": [ "type", "url" ], "additionalProperties": false } ] }, "marks": { "type": "array", "items": { "$ref": "#/definitions/link_mark" } } }, "required": [ "type", "attrs" ], "additionalProperties": false }, "formatted_text_inline_node": { "allOf": [ { "$ref": "#/definitions/text_node" }, { "type": "object", "properties": { "marks": { "type": "array", "items": { "anyOf": [ { "$ref": "#/definitions/em_mark" }, { "$ref": "#/definitions/strike_mark" }, { "$ref": "#/definitions/strong_mark" }, { "$ref": "#/definitions/underline_mark" }, { "$ref": "#/definitions/link_mark" }, { "$ref": "#/definitions/subsup_mark" }, { "$ref": "#/definitions/textColor_mark" }, { "$ref": "#/definitions/annotation_mark" } ] } } }, "additionalProperties": true } ] }, "code_inline_node": { "allOf": [ { "$ref": "#/definitions/text_node" }, { "type": "object", "properties": { "marks": { "type": "array", "items": { "anyOf": [ { "$ref": "#/definitions/code_mark" }, { "$ref": "#/definitions/link_mark" }, { "$ref": "#/definitions/annotation_mark" } ] } } }, "additionalProperties": true } ] }, "inline_node": { "anyOf": [ { "$ref": "#/definitions/hardBreak_node" }, { "$ref": "#/definitions/mention_node" }, { "$ref": "#/definitions/emoji_node" }, { "$ref": "#/definitions/inlineExtension_with_marks_node" }, { "$ref": "#/definitions/date_node" }, { "$ref": "#/definitions/placeholder_node" }, { "$ref": "#/definitions/inlineCard_node" }, { "$ref": "#/definitions/status_node" }, { "$ref": "#/definitions/formatted_text_inline_node" }, { "$ref": "#/definitions/code_inline_node" } ] }, "paragraph_node": { "type": "object", "properties": { "type": { "enum": [ "paragraph" ] }, "content": { "type": "array", "items": { "$ref": "#/definitions/inline_node" } }, "marks": { "type": "array" } }, "required": [ "type" ], "additionalProperties": false }, "paragraph_with_no_marks_node": { "allOf": [ { "$ref": "#/definitions/paragraph_node" }, { "type": "object", "properties": { "marks": { "type": "array", "maxItems": 0 } }, "additionalProperties": true } ] }, "paragraph_with_alignment_node": { "allOf": [ { "$ref": "#/definitions/paragraph_node" }, { "type": "object", "properties": { "marks": { "type": "array", "items": { "$ref": "#/definitions/alignment_mark" } } }, "additionalProperties": true } ] }, "paragraph_with_indentation_node": { "allOf": [ { "$ref": "#/definitions/paragraph_node" }, { "type": "object", "properties": { "marks": { "type": "array", "items": { "$ref": "#/definitions/indentation_mark" } } }, "additionalProperties": true } ] }, "bulletList_node": { "type": "object", "properties": { "type": { "enum": [ "bulletList" ] }, "content": { "type": "array", "items": { "$ref": "#/definitions/listItem_node" }, "minItems": 1 } }, "required": [ "type", "content" ], "additionalProperties": false }, "caption_node": { "type": "object", "properties": { "type": { "enum": [ "caption" ] }, "content": { "type": "array", "items": { "anyOf": [ { "$ref": "#/definitions/hardBreak_node" }, { "$ref": "#/definitions/mention_node" }, { "$ref": "#/definitions/emoji_node" }, { "$ref": "#/definitions/date_node" }, { "$ref": "#/definitions/placeholder_node" }, { "$ref": "#/definitions/inlineCard_node" }, { "$ref": "#/definitions/status_node" }, { "$ref": "#/definitions/formatted_text_inline_node" }, { "$ref": "#/definitions/code_inline_node" } ] }, "minItems": 0 } }, "required": [ "type", "content" ], "additionalProperties": false }, "mediaSingle_node": { "type": "object", "properties": { "type": { "enum": [ "mediaSingle" ] }, "attrs": { "type": "object", "properties": { "width": { "type": "number", "minimum": 0, "maximum": 100 }, "layout": { "enum": [ "wide", "full-width", "center", "wrap-right", "wrap-left", "align-end", "align-start" ] } }, "additionalProperties": false, "required": [ "layout" ] }, "marks": { "type": "array", "items": { "$ref": "#/definitions/link_mark" } } }, "required": [ "type" ], "additionalProperties": true }, "mediaSingle_full_node": { "allOf": [ { "$ref": "#/definitions/mediaSingle_node" }, { "type": "object", "properties": { "content": { "type": "array", "items": { "$ref": "#/definitions/media_node" }, "minItems": 1, "maxItems": 1 } }, "required": [ "content" ], "additionalProperties": true } ] }, "mediaSingle_caption_node": { "allOf": [ { "$ref": "#/definitions/mediaSingle_node" }, { "type": "object", "properties": { "content": { "type": "array", "items": [ { "$ref": "#/definitions/media_node" }, { "$ref": "#/definitions/caption_node" } ], "minItems": 1, "maxItems": 2 } }, "required": [ "content" ], "additionalProperties": true } ] }, "listItem_node": { "type": "object", "properties": { "type": { "enum": [ "listItem" ] }, "content": { "type": "array", "items": [ { "anyOf": [ { "$ref": "#/definitions/codeBlock_with_no_marks_node" }, { "$ref": "#/definitions/paragraph_with_no_marks_node" }, { "$ref": "#/definitions/mediaSingle_full_node" }, { "$ref": "#/definitions/mediaSingle_caption_node" } ] }, { "anyOf": [ { "$ref": "#/definitions/codeBlock_with_no_marks_node" }, { "$ref": "#/definitions/paragraph_with_no_marks_node" }, { "$ref": "#/definitions/bulletList_node" }, { "$ref": "#/definitions/mediaSingle_full_node" }, { "$ref": "#/definitions/mediaSingle_caption_node" }, { "$ref": "#/definitions/orderedList_node" } ] } ], "minItems": 1 } }, "required": [ "type", "content" ], "additionalProperties": false }, "orderedList_node": { "type": "object", "properties": { "type": { "enum": [ "orderedList" ] }, "content": { "type": "array", "items": { "$ref": "#/definitions/listItem_node" }, "minItems": 1 }, "attrs": { "type": "object", "properties": { "order": { "type": "number", "minimum": 1 } }, "required": [ "order" ], "additionalProperties": false } }, "required": [ "type", "content" ], "additionalProperties": false }, "heading_node": { "type": "object", "properties": { "type": { "enum": [ "heading" ] }, "content": { "type": "array", "items": { "$ref": "#/definitions/inline_node" } }, "marks": { "type": "array" }, "attrs": { "type": "object", "properties": { "level": { "type": "number", "minimum": 1, "maximum": 6 } }, "required": [ "level" ], "additionalProperties": false } }, "required": [ "type", "attrs" ], "additionalProperties": false }, "heading_with_no_marks_node": { "allOf": [ { "$ref": "#/definitions/heading_node" }, { "type": "object", "properties": { "marks": { "type": "array", "maxItems": 0 } }, "additionalProperties": true } ] }, "heading_with_alignment_node": { "allOf": [ { "$ref": "#/definitions/heading_node" }, { "type": "object", "properties": { "marks": { "type": "array", "items": { "$ref": "#/definitions/alignment_mark" } } }, "additionalProperties": true } ] }, "heading_with_indentation_node": { "allOf": [ { "$ref": "#/definitions/heading_node" }, { "type": "object", "properties": { "marks": { "type": "array", "items": { "$ref": "#/definitions/indentation_mark" } } }, "additionalProperties": true } ] }, "panel_node": { "type": "object", "properties": { "type": { "enum": [ "panel" ] }, "attrs": { "type": "object", "properties": { "panelType": { "enum": [ "info", "note", "tip", "warning", "error", "success", "custom" ] }, "panelIcon": { "type": "string" }, "panelColor": { "type": "string" } }, "required": [ "panelType" ], "additionalProperties": false }, "content": { "type": "array", "items": { "anyOf": [ { "$ref": "#/definitions/blockCard_node" }, { "$ref": "#/definitions/paragraph_with_no_marks_node" }, { "$ref": "#/definitions/bulletList_node" }, { "$ref": "#/definitions/orderedList_node" }, { "$ref": "#/definitions/heading_with_no_marks_node" } ] }, "minItems": 1 } }, "required": [ "type", "attrs", "content" ], "additionalProperties": false }, "blockquote_node": { "type": "object", "properties": { "type": { "enum": [ "blockquote" ] }, "content": { "type": "array", "items": { "$ref": "#/definitions/paragraph_with_no_marks_node" }, "minItems": 1 } }, "required": [ "type", "content" ], "additionalProperties": false }, "rule_node": { "type": "object", "properties": { "type": { "enum": [ "rule" ] } }, "required": [ "type" ], "additionalProperties": false }, "mediaGroup_node": { "type": "object", "properties": { "type": { "enum": [ "mediaGroup" ] }, "content": { "type": "array", "items": { "$ref": "#/definitions/media_node" }, "minItems": 1 } }, "required": [ "type", "content" ], "additionalProperties": false }, "decisionItem_node": { "type": "object", "properties": { "type": { "enum": [ "decisionItem" ] }, "content": { "type": "array", "items": { "$ref": "#/definitions/inline_node" } }, "attrs": { "type": "object", "properties": { "localId": { "type": "string" }, "state": { "type": "string" } }, "required": [ "localId", "state" ], "additionalProperties": false } }, "required": [ "type", "attrs" ], "additionalProperties": false }, "decisionList_node": { "type": "object", "properties": { "type": { "enum": [ "decisionList" ] }, "content": { "type": "array", "items": { "$ref": "#/definitions/decisionItem_node" }, "minItems": 1 }, "attrs": { "type": "object", "properties": { "localId": { "type": "string" } }, "required": [ "localId" ], "additionalProperties": false } }, "required": [ "type", "content", "attrs" ], "additionalProperties": false }, "taskItem_node": { "type": "object", "properties": { "type": { "enum": [ "taskItem" ] }, "content": { "type": "array", "items": { "$ref": "#/definitions/inline_node" } }, "attrs": { "type": "object", "properties": { "localId": { "type": "string" }, "state": { "enum": [ "TODO", "DONE" ] } }, "required": [ "localId", "state" ], "additionalProperties": false } }, "required": [ "type", "attrs" ], "additionalProperties": false }, "taskList_node": { "type": "object", "properties": { "type": { "enum": [ "taskList" ] }, "content": { "type": "array", "items": [ { "$ref": "#/definitions/taskItem_node" }, { "anyOf": [ { "$ref": "#/definitions/taskItem_node" }, { "$ref": "#/definitions/taskList_node" } ] } ], "minItems": 1 }, "attrs": { "type": "object", "properties": { "localId": { "type": "string" } }, "required": [ "localId" ], "additionalProperties": false } }, "required": [ "type", "content", "attrs" ], "additionalProperties": false }, "extension_node": { "type": "object", "properties": { "type": { "enum": [ "extension" ] }, "attrs": { "type": "object", "properties": { "extensionKey": { "type": "string", "minLength": 1 }, "extensionType": { "type": "string", "minLength": 1 }, "parameters": {}, "text": { "type": "string" }, "layout": { "enum": [ "wide", "full-width", "default" ] }, "localId": { "type": "string", "minLength": 1 } }, "required": [ "extensionKey", "extensionType" ], "additionalProperties": false }, "marks": { "type": "array" } }, "required": [ "type", "attrs" ], "additionalProperties": false }, "extension_with_marks_node": { "allOf": [ { "$ref": "#/definitions/extension_node" }, { "type": "object", "properties": { "marks": { "type": "array", "items": { "$ref": "#/definitions/dataConsumer_mark" } } }, "additionalProperties": true } ] }, "embedCard_node": { "type": "object", "properties": { "type": { "enum": [ "embedCard" ] }, "attrs": { "type": "object", "properties": { "originalWidth": { "type": "number" }, "originalHeight": { "type": "number" }, "url": { "type": "string" }, "width": { "type": "number", "minimum": 0, "maximum": 100 }, "layout": { "enum": [ "wide", "full-width", "center", "wrap-right", "wrap-left", "align-end", "align-start" ] } }, "additionalProperties": false, "required": [ "url", "layout" ] } }, "required": [ "type", "attrs" ], "additionalProperties": false }, "nestedExpand_content": { "type": "array", "items": { "anyOf": [ { "$ref": "#/definitions/paragraph_with_no_marks_node" }, { "$ref": "#/definitions/mediaSingle_full_node" }, { "$ref": "#/definitions/mediaSingle_caption_node" }, { "$ref": "#/definitions/heading_with_no_marks_node" }, { "$ref": "#/definitions/mediaGroup_node" } ] }, "minItems": 1 }, "nestedExpand_node": { "type": "object", "properties": { "type": { "enum": [ "nestedExpand" ] }, "attrs": { "type": "object", "properties": { "title": { "type": "string" } }, "additionalProperties": false }, "content": { "$ref": "#/definitions/nestedExpand_content" } }, "required": [ "type", "attrs", "content" ], "additionalProperties": false }, "nestedExpand_with_no_marks_node": { "allOf": [ { "$ref": "#/definitions/nestedExpand_node" }, { "type": "object", "properties": { "marks": { "type": "array", "maxItems": 0 } }, "additionalProperties": true } ] }, "table_node": { "type": "object", "properties": { "type": { "enum": [ "table" ] }, "attrs": { "type": "object", "properties": { "isNumberColumnEnabled": { "type": "boolean" }, "layout": { "enum": [ "wide", "full-width", "default" ] }, "localId": { "type": "string", "minLength": 1 } }, "additionalProperties": false }, "content": { "type": "array", "items": { "$ref": "#/definitions/table_row_node" }, "minItems": 1 } }, "required": [ "type", "content" ], "additionalProperties": false }, "table_row_node": { "type": "object", "properties": { "type": { "enum": [ "tableRow" ] }, "content": { "type": "array", "items": { "anyOf": [ { "$ref": "#/definitions/table_cell_node" }, { "$ref": "#/definitions/table_header_node" } ] } } }, "required": [ "type", "content" ], "additionalProperties": false }, "table_cell_content": { "type": "array", "items": { "anyOf": [ { "$ref": "#/definitions/codeBlock_with_no_marks_node" }, { "$ref": "#/definitions/blockCard_node" }, { "$ref": "#/definitions/paragraph_with_no_marks_node" }, { "$ref": "#/definitions/paragraph_with_alignment_node" }, { "$ref": "#/definitions/bulletList_node" }, { "$ref": "#/definitions/mediaSingle_full_node" }, { "$ref": "#/definitions/mediaSingle_caption_node" }, { "$ref": "#/definitions/orderedList_node" }, { "$ref": "#/definitions/heading_with_no_marks_node" }, { "$ref": "#/definitions/heading_with_alignment_node" }, { "$ref": "#/definitions/heading_with_indentation_node" }, { "$ref": "#/definitions/panel_node" }, { "$ref": "#/definitions/blockquote_node" }, { "$ref": "#/definitions/rule_node" }, { "$ref": "#/definitions/mediaGroup_node" }, { "$ref": "#/definitions/decisionList_node" }, { "$ref": "#/definitions/taskList_node" }, { "$ref": "#/definitions/extension_with_marks_node" }, { "$ref": "#/definitions/embedCard_node" }, { "$ref": "#/definitions/nestedExpand_with_no_marks_node" } ] }, "minItems": 1 }, "table_cell_node": { "type": "object", "properties": { "type": { "enum": [ "tableCell" ] }, "attrs": { "type": "object", "properties": { "colspan": { "type": "number" }, "rowspan": { "type": "number" }, "colwidth": { "type": "array", "items": { "type": "number" } }, "background": { "type": "string" } }, "additionalProperties": false }, "content": { "$ref": "#/definitions/table_cell_content" } }, "required": [ "type", "content" ], "additionalProperties": false }, "table_header_node": { "type": "object", "properties": { "type": { "enum": [ "tableHeader" ] }, "attrs": { "type": "object", "properties": { "colspan": { "type": "number" }, "rowspan": { "type": "number" }, "colwidth": { "type": "array", "items": { "type": "number" } }, "background": { "type": "string" } }, "additionalProperties": false }, "content": { "$ref": "#/definitions/table_cell_content" } }, "required": [ "type", "content" ], "additionalProperties": false }, "non_nestable_block_content": { "anyOf": [ { "$ref": "#/definitions/codeBlock_with_no_marks_node" }, { "$ref": "#/definitions/blockCard_node" }, { "$ref": "#/definitions/paragraph_with_no_marks_node" }, { "$ref": "#/definitions/bulletList_node" }, { "$ref": "#/definitions/mediaSingle_full_node" }, { "$ref": "#/definitions/mediaSingle_caption_node" }, { "$ref": "#/definitions/orderedList_node" }, { "$ref": "#/definitions/heading_with_no_marks_node" }, { "$ref": "#/definitions/panel_node" }, { "$ref": "#/definitions/blockquote_node" }, { "$ref": "#/definitions/rule_node" }, { "$ref": "#/definitions/mediaGroup_node" }, { "$ref": "#/definitions/decisionList_node" }, { "$ref": "#/definitions/taskList_node" }, { "$ref": "#/definitions/extension_with_marks_node" }, { "$ref": "#/definitions/embedCard_node" }, { "$ref": "#/definitions/table_node" } ] }, "expand_node": { "type": "object", "properties": { "type": { "enum": [ "expand" ] }, "attrs": { "type": "object", "properties": { "title": { "type": "string" } }, "additionalProperties": false }, "content": { "type": "array", "items": { "$ref": "#/definitions/non_nestable_block_content" }, "minItems": 1 }, "marks": { "type": "array" } }, "required": [ "type", "attrs", "content" ], "additionalProperties": false }, "expand_with_no_mark_node": { "allOf": [ { "$ref": "#/definitions/expand_node" }, { "type": "object", "properties": { "marks": { "type": "array", "maxItems": 0 } }, "additionalProperties": true } ] }, "expand_with_breakout_mark_node": { "allOf": [ { "$ref": "#/definitions/expand_node" }, { "type": "object", "properties": { "marks": { "type": "array", "items": { "$ref": "#/definitions/breakout_mark" } } }, "additionalProperties": true } ] }, "bodiedExtension_node": { "type": "object", "properties": { "type": { "enum": [ "bodiedExtension" ] }, "attrs": { "type": "object", "properties": { "extensionKey": { "type": "string", "minLength": 1 }, "extensionType": { "type": "string", "minLength": 1 }, "parameters": {}, "text": { "type": "string" }, "layout": { "enum": [ "wide", "full-width", "default" ] }, "localId": { "type": "string", "minLength": 1 } }, "required": [ "extensionKey", "extensionType" ], "additionalProperties": false }, "marks": { "type": "array" }, "content": { "type": "array", "items": { "$ref": "#/definitions/non_nestable_block_content" }, "minItems": 1 } }, "required": [ "type", "attrs", "content" ], "additionalProperties": false }, "bodiedExtension_with_marks_node": { "allOf": [ { "$ref": "#/definitions/bodiedExtension_node" }, { "type": "object", "properties": { "marks": { "type": "array", "items": { "$ref": "#/definitions/dataConsumer_mark" } } }, "additionalProperties": true } ] }, "block_content": { "anyOf": [ { "$ref": "#/definitions/codeBlock_with_no_marks_node" }, { "$ref": "#/definitions/blockCard_node" }, { "$ref": "#/definitions/paragraph_with_no_marks_node" }, { "$ref": "#/definitions/paragraph_with_alignment_node" }, { "$ref": "#/definitions/bulletList_node" }, { "$ref": "#/definitions/mediaSingle_full_node" }, { "$ref": "#/definitions/mediaSingle_caption_node" }, { "$ref": "#/definitions/orderedList_node" }, { "$ref": "#/definitions/heading_with_no_marks_node" }, { "$ref": "#/definitions/heading_with_alignment_node" }, { "$ref": "#/definitions/heading_with_indentation_node" }, { "$ref": "#/definitions/panel_node" }, { "$ref": "#/definitions/blockquote_node" }, { "$ref": "#/definitions/rule_node" }, { "$ref": "#/definitions/mediaGroup_node" }, { "$ref": "#/definitions/decisionList_node" }, { "$ref": "#/definitions/taskList_node" }, { "$ref": "#/definitions/extension_with_marks_node" }, { "$ref": "#/definitions/embedCard_node" }, { "$ref": "#/definitions/table_node" }, { "$ref": "#/definitions/expand_with_no_mark_node" }, { "$ref": "#/definitions/bodiedExtension_with_marks_node" } ] }, "layoutColumn_node": { "type": "object", "properties": { "type": { "enum": [ "layoutColumn" ] }, "attrs": { "type": "object", "properties": { "width": { "type": "number", "minimum": 0, "maximum": 100 } }, "required": [ "width" ], "additionalProperties": false }, "content": { "type": "array", "items": { "$ref": "#/definitions/block_content" }, "minItems": 1 } }, "required": [ "type", "attrs", "content" ], "additionalProperties": false }, "layoutSection_node": { "type": "object", "properties": { "type": { "enum": [ "layoutSection" ] }, "marks": { "type": "array", "items": { "$ref": "#/definitions/breakout_mark" } }, "content": { "type": "array", "items": { "$ref": "#/definitions/layoutColumn_node" } } }, "required": [ "type", "content" ], "additionalProperties": false }, "layoutSection_full_node": { "allOf": [ { "$ref": "#/definitions/layoutSection_node" }, { "type": "object", "properties": { "type": { "enum": [ "layoutSection" ] }, "marks": { "type": "array", "items": { "$ref": "#/definitions/breakout_mark" } }, "content": { "type": "array", "items": { "$ref": "#/definitions/layoutColumn_node" }, "minItems": 2, "maxItems": 3 } }, "required": [ "type", "content" ], "additionalProperties": false } ] }, "doc_node": { "type": "object", "properties": { "version": { "enum": [ 1 ] }, "type": { "enum": [ "doc" ] }, "content": { "type": "array", "items": { "anyOf": [ { "$ref": "#/definitions/codeBlock_with_no_marks_node" }, { "$ref": "#/definitions/codeBlock_with_marks_node" }, { "$ref": "#/definitions/blockCard_node" }, { "$ref": "#/definitions/paragraph_with_no_marks_node" }, { "$ref": "#/definitions/paragraph_with_alignment_node" }, { "$ref": "#/definitions/paragraph_with_indentation_node" }, { "$ref": "#/definitions/bulletList_node" }, { "$ref": "#/definitions/mediaSingle_full_node" }, { "$ref": "#/definitions/mediaSingle_caption_node" }, { "$ref": "#/definitions/orderedList_node" }, { "$ref": "#/definitions/heading_with_no_marks_node" }, { "$ref": "#/definitions/heading_with_alignment_node" }, { "$ref": "#/definitions/heading_with_indentation_node" }, { "$ref": "#/definitions/panel_node" }, { "$ref": "#/definitions/blockquote_node" }, { "$ref": "#/definitions/rule_node" }, { "$ref": "#/definitions/mediaGroup_node" }, { "$ref": "#/definitions/decisionList_node" }, { "$ref": "#/definitions/taskList_node" }, { "$ref": "#/definitions/extension_with_marks_node" }, { "$ref": "#/definitions/embedCard_node" }, { "$ref": "#/definitions/table_node" }, { "$ref": "#/definitions/expand_with_no_mark_node" }, { "$ref": "#/definitions/expand_with_breakout_mark_node" }, { "$ref": "#/definitions/bodiedExtension_with_marks_node" }, { "$ref": "#/definitions/layoutSection_full_node" } ] } } }, "required": [ "version", "type", "content" ], "additionalProperties": false } } }