@atlaskit/adf-schema 37.2.1 → 39.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/cjs/index.js +12 -0
- package/dist/cjs/next-schema/generated/markTypes.js +21 -21
- package/dist/cjs/next-schema/generated/nodeTypes.js +114 -114
- package/dist/cjs/next-schema/groups/nonNestableBlockContentGroup.js +1 -1
- package/dist/cjs/next-schema/groups/tableCellContentPseudoGroup.js +1 -1
- package/dist/cjs/next-schema/nodes/blockCard.js +1 -1
- package/dist/cjs/next-schema/nodes/blockquote.js +2 -2
- package/dist/cjs/next-schema/nodes/bodiedExtension.js +2 -2
- package/dist/cjs/next-schema/nodes/caption.js +1 -1
- package/dist/cjs/next-schema/nodes/codeBlock.js +2 -2
- package/dist/cjs/next-schema/nodes/decisionItem.js +1 -1
- package/dist/cjs/next-schema/nodes/decisionList.js +1 -1
- package/dist/cjs/next-schema/nodes/embedCard.js +1 -1
- package/dist/cjs/next-schema/nodes/expand.js +2 -2
- package/dist/cjs/next-schema/nodes/extension.js +2 -2
- package/dist/cjs/next-schema/nodes/extensionFrame.js +2 -2
- package/dist/cjs/next-schema/nodes/hardBreak.js +1 -1
- package/dist/cjs/next-schema/nodes/heading.js +3 -3
- package/dist/cjs/next-schema/nodes/inlineCard.js +2 -2
- package/dist/cjs/next-schema/nodes/inlineExtension.js +2 -2
- package/dist/cjs/next-schema/nodes/layoutColumn.js +1 -1
- package/dist/cjs/next-schema/nodes/layoutSection.js +2 -2
- package/dist/cjs/next-schema/nodes/list.js +5 -5
- package/dist/cjs/next-schema/nodes/media.js +1 -1
- package/dist/cjs/next-schema/nodes/mediaGroup.js +1 -1
- package/dist/cjs/next-schema/nodes/mediaInline.js +1 -1
- package/dist/cjs/next-schema/nodes/mediaSingle.js +5 -5
- package/dist/cjs/next-schema/nodes/nestedExpand.js +2 -2
- package/dist/cjs/next-schema/nodes/panel.js +3 -3
- package/dist/cjs/next-schema/nodes/paragraph.js +4 -4
- package/dist/cjs/next-schema/nodes/placeholder.js +1 -1
- package/dist/cjs/next-schema/nodes/table.js +1 -1
- package/dist/cjs/next-schema/nodes/tableCell.js +1 -1
- package/dist/cjs/next-schema/nodes/tableHeader.js +1 -1
- package/dist/cjs/next-schema/nodes/tableRow.js +1 -1
- package/dist/cjs/next-schema/nodes/task.js +2 -2
- package/dist/cjs/next-schema/nodes/text.js +1 -1
- package/dist/cjs/schema/createPMSpecFactory.js +57 -0
- package/dist/cjs/schema/index.js +14 -1
- package/dist/cjs/schema/marks/alignment.js +3 -8
- package/dist/cjs/schema/marks/annotation.js +3 -13
- package/dist/cjs/schema/marks/background-color.js +3 -9
- package/dist/cjs/schema/marks/border.js +3 -7
- package/dist/cjs/schema/marks/breakout.js +3 -9
- package/dist/cjs/schema/marks/code.js +3 -5
- package/dist/cjs/schema/marks/confluence-inline-comment.js +3 -9
- package/dist/cjs/schema/marks/data-consumer.js +3 -7
- package/dist/cjs/schema/marks/em.js +3 -5
- package/dist/cjs/schema/marks/fragment.js +3 -12
- package/dist/cjs/schema/marks/indentation.js +3 -8
- package/dist/cjs/schema/marks/link.js +3 -13
- package/dist/cjs/schema/marks/strike.js +3 -5
- package/dist/cjs/schema/marks/strong.js +3 -5
- package/dist/cjs/schema/marks/subsup.js +3 -10
- package/dist/cjs/schema/marks/text-color.js +3 -8
- package/dist/cjs/schema/marks/type-ahead-query.js +3 -10
- package/dist/cjs/schema/marks/underline.js +3 -5
- package/dist/cjs/schema/marks/unsupported-mark.js +3 -6
- package/dist/cjs/schema/marks/unsupported-node-attributes.js +3 -6
- package/dist/cjs/schema/nodes/block-card.js +3 -23
- package/dist/cjs/schema/nodes/blockquote.js +17 -20
- package/dist/cjs/schema/nodes/bodied-extension.js +24 -54
- package/dist/cjs/schema/nodes/bullet-list.js +3 -6
- package/dist/cjs/schema/nodes/caption.js +3 -6
- package/dist/cjs/schema/nodes/code-block.js +3 -15
- package/dist/cjs/schema/nodes/confluence-jira-issue.js +3 -22
- package/dist/cjs/schema/nodes/confluence-unsupported-block.js +3 -8
- package/dist/cjs/schema/nodes/confluence-unsupported-inline.js +3 -10
- package/dist/cjs/schema/nodes/date.js +3 -10
- package/dist/cjs/schema/nodes/decision-item.js +3 -13
- package/dist/cjs/schema/nodes/decision-list.js +3 -12
- package/dist/cjs/schema/nodes/doc.js +2 -4
- package/dist/cjs/schema/nodes/embed-card.js +3 -22
- package/dist/cjs/schema/nodes/emoji.js +3 -16
- package/dist/cjs/schema/nodes/expand.js +3 -16
- package/dist/cjs/schema/nodes/extension.js +20 -47
- package/dist/cjs/schema/nodes/hard-break.js +3 -5
- package/dist/cjs/schema/nodes/heading.js +3 -14
- package/dist/cjs/schema/nodes/image.js +3 -16
- package/dist/cjs/schema/nodes/inline-card.js +3 -14
- package/dist/cjs/schema/nodes/inline-extension.js +19 -42
- package/dist/cjs/schema/nodes/layout-column.js +4 -12
- package/dist/cjs/schema/nodes/layout-section.js +23 -11
- package/dist/cjs/schema/nodes/list-item.js +5 -12
- package/dist/cjs/schema/nodes/media-group.js +3 -8
- package/dist/cjs/schema/nodes/media-inline.js +2 -1
- package/dist/cjs/schema/nodes/media-single.js +35 -14
- package/dist/cjs/schema/nodes/media.js +35 -83
- package/dist/cjs/schema/nodes/mention.js +3 -22
- package/dist/cjs/schema/nodes/multi-bodied-extension.js +26 -64
- package/dist/cjs/schema/nodes/nested-expand.js +31 -48
- package/dist/cjs/schema/nodes/ordered-list.js +4 -16
- package/dist/cjs/schema/nodes/panel.js +5 -34
- package/dist/cjs/schema/nodes/paragraph.js +3 -11
- package/dist/cjs/schema/nodes/placeholder.js +3 -11
- package/dist/cjs/schema/nodes/rule.js +3 -3
- package/dist/cjs/schema/nodes/status.js +3 -19
- package/dist/cjs/schema/nodes/tableNodes.js +9 -52
- package/dist/cjs/schema/nodes/task-item.js +3 -14
- package/dist/cjs/schema/nodes/task-list.js +3 -12
- package/dist/cjs/schema/nodes/text.js +3 -4
- package/dist/cjs/schema/nodes/unsupported-block.js +3 -11
- package/dist/cjs/schema/nodes/unsupported-inline.js +3 -10
- package/dist/es2019/index.js +5 -1
- package/dist/es2019/next-schema/generated/markTypes.js +1 -1
- package/dist/es2019/next-schema/generated/nodeTypes.js +39 -39
- package/dist/es2019/next-schema/groups/nonNestableBlockContentGroup.js +1 -1
- package/dist/es2019/next-schema/groups/tableCellContentPseudoGroup.js +1 -1
- package/dist/es2019/next-schema/nodes/blockCard.js +1 -1
- package/dist/es2019/next-schema/nodes/blockquote.js +2 -2
- package/dist/es2019/next-schema/nodes/bodiedExtension.js +2 -2
- package/dist/es2019/next-schema/nodes/caption.js +1 -1
- package/dist/es2019/next-schema/nodes/codeBlock.js +2 -2
- package/dist/es2019/next-schema/nodes/decisionItem.js +1 -1
- package/dist/es2019/next-schema/nodes/decisionList.js +1 -1
- package/dist/es2019/next-schema/nodes/embedCard.js +1 -1
- package/dist/es2019/next-schema/nodes/expand.js +2 -2
- package/dist/es2019/next-schema/nodes/extension.js +2 -2
- package/dist/es2019/next-schema/nodes/extensionFrame.js +2 -2
- package/dist/es2019/next-schema/nodes/hardBreak.js +1 -1
- package/dist/es2019/next-schema/nodes/heading.js +3 -3
- package/dist/es2019/next-schema/nodes/inlineCard.js +2 -2
- package/dist/es2019/next-schema/nodes/inlineExtension.js +2 -2
- package/dist/es2019/next-schema/nodes/layoutColumn.js +1 -1
- package/dist/es2019/next-schema/nodes/layoutSection.js +2 -2
- package/dist/es2019/next-schema/nodes/list.js +5 -5
- package/dist/es2019/next-schema/nodes/media.js +1 -1
- package/dist/es2019/next-schema/nodes/mediaGroup.js +1 -1
- package/dist/es2019/next-schema/nodes/mediaInline.js +1 -1
- package/dist/es2019/next-schema/nodes/mediaSingle.js +5 -5
- package/dist/es2019/next-schema/nodes/nestedExpand.js +2 -2
- package/dist/es2019/next-schema/nodes/panel.js +3 -3
- package/dist/es2019/next-schema/nodes/paragraph.js +4 -4
- package/dist/es2019/next-schema/nodes/placeholder.js +1 -1
- package/dist/es2019/next-schema/nodes/table.js +1 -1
- package/dist/es2019/next-schema/nodes/tableCell.js +1 -1
- package/dist/es2019/next-schema/nodes/tableHeader.js +1 -1
- package/dist/es2019/next-schema/nodes/tableRow.js +1 -1
- package/dist/es2019/next-schema/nodes/task.js +2 -2
- package/dist/es2019/next-schema/nodes/text.js +1 -1
- package/dist/es2019/schema/createPMSpecFactory.js +55 -0
- package/dist/es2019/schema/index.js +5 -1
- package/dist/es2019/schema/marks/alignment.js +3 -8
- package/dist/es2019/schema/marks/annotation.js +4 -13
- package/dist/es2019/schema/marks/background-color.js +3 -9
- package/dist/es2019/schema/marks/border.js +3 -7
- package/dist/es2019/schema/marks/breakout.js +3 -9
- package/dist/es2019/schema/marks/code.js +3 -5
- package/dist/es2019/schema/marks/confluence-inline-comment.js +4 -9
- package/dist/es2019/schema/marks/data-consumer.js +3 -7
- package/dist/es2019/schema/marks/em.js +3 -5
- package/dist/es2019/schema/marks/fragment.js +3 -12
- package/dist/es2019/schema/marks/indentation.js +3 -8
- package/dist/es2019/schema/marks/link.js +3 -13
- package/dist/es2019/schema/marks/strike.js +3 -5
- package/dist/es2019/schema/marks/strong.js +3 -5
- package/dist/es2019/schema/marks/subsup.js +3 -10
- package/dist/es2019/schema/marks/text-color.js +3 -8
- package/dist/es2019/schema/marks/type-ahead-query.js +3 -10
- package/dist/es2019/schema/marks/underline.js +3 -5
- package/dist/es2019/schema/marks/unsupported-mark.js +3 -6
- package/dist/es2019/schema/marks/unsupported-node-attributes.js +3 -6
- package/dist/es2019/schema/nodes/block-card.js +4 -23
- package/dist/es2019/schema/nodes/blockquote.js +19 -20
- package/dist/es2019/schema/nodes/bodied-extension.js +23 -53
- package/dist/es2019/schema/nodes/bullet-list.js +3 -6
- package/dist/es2019/schema/nodes/caption.js +4 -6
- package/dist/es2019/schema/nodes/code-block.js +3 -15
- package/dist/es2019/schema/nodes/confluence-jira-issue.js +3 -22
- package/dist/es2019/schema/nodes/confluence-unsupported-block.js +3 -8
- package/dist/es2019/schema/nodes/confluence-unsupported-inline.js +3 -10
- package/dist/es2019/schema/nodes/date.js +4 -10
- package/dist/es2019/schema/nodes/decision-item.js +3 -13
- package/dist/es2019/schema/nodes/decision-list.js +3 -12
- package/dist/es2019/schema/nodes/doc.js +3 -4
- package/dist/es2019/schema/nodes/embed-card.js +4 -22
- package/dist/es2019/schema/nodes/emoji.js +3 -16
- package/dist/es2019/schema/nodes/expand.js +4 -16
- package/dist/es2019/schema/nodes/extension.js +19 -46
- package/dist/es2019/schema/nodes/hard-break.js +4 -5
- package/dist/es2019/schema/nodes/heading.js +4 -14
- package/dist/es2019/schema/nodes/image.js +3 -16
- package/dist/es2019/schema/nodes/inline-card.js +4 -14
- package/dist/es2019/schema/nodes/inline-extension.js +18 -41
- package/dist/es2019/schema/nodes/layout-column.js +5 -12
- package/dist/es2019/schema/nodes/layout-section.js +24 -10
- package/dist/es2019/schema/nodes/list-item.js +6 -12
- package/dist/es2019/schema/nodes/media-group.js +4 -8
- package/dist/es2019/schema/nodes/media-inline.js +3 -2
- package/dist/es2019/schema/nodes/media-single.js +35 -15
- package/dist/es2019/schema/nodes/media.js +35 -78
- package/dist/es2019/schema/nodes/mention.js +3 -22
- package/dist/es2019/schema/nodes/multi-bodied-extension.js +26 -63
- package/dist/es2019/schema/nodes/nested-expand.js +32 -48
- package/dist/es2019/schema/nodes/ordered-list.js +5 -14
- package/dist/es2019/schema/nodes/panel.js +5 -34
- package/dist/es2019/schema/nodes/paragraph.js +4 -11
- package/dist/es2019/schema/nodes/placeholder.js +4 -11
- package/dist/es2019/schema/nodes/rule.js +4 -3
- package/dist/es2019/schema/nodes/status.js +3 -19
- package/dist/es2019/schema/nodes/tableNodes.js +40 -82
- package/dist/es2019/schema/nodes/task-item.js +3 -14
- package/dist/es2019/schema/nodes/task-list.js +3 -12
- package/dist/es2019/schema/nodes/text.js +4 -4
- package/dist/es2019/schema/nodes/unsupported-block.js +3 -11
- package/dist/es2019/schema/nodes/unsupported-inline.js +3 -10
- package/dist/esm/index.js +5 -1
- package/dist/esm/next-schema/generated/markTypes.js +1 -1
- package/dist/esm/next-schema/generated/nodeTypes.js +39 -39
- package/dist/esm/next-schema/groups/nonNestableBlockContentGroup.js +1 -1
- package/dist/esm/next-schema/groups/tableCellContentPseudoGroup.js +1 -1
- package/dist/esm/next-schema/nodes/blockCard.js +1 -1
- package/dist/esm/next-schema/nodes/blockquote.js +2 -2
- package/dist/esm/next-schema/nodes/bodiedExtension.js +2 -2
- package/dist/esm/next-schema/nodes/caption.js +1 -1
- package/dist/esm/next-schema/nodes/codeBlock.js +2 -2
- package/dist/esm/next-schema/nodes/decisionItem.js +1 -1
- package/dist/esm/next-schema/nodes/decisionList.js +1 -1
- package/dist/esm/next-schema/nodes/embedCard.js +1 -1
- package/dist/esm/next-schema/nodes/expand.js +2 -2
- package/dist/esm/next-schema/nodes/extension.js +2 -2
- package/dist/esm/next-schema/nodes/extensionFrame.js +2 -2
- package/dist/esm/next-schema/nodes/hardBreak.js +1 -1
- package/dist/esm/next-schema/nodes/heading.js +3 -3
- package/dist/esm/next-schema/nodes/inlineCard.js +2 -2
- package/dist/esm/next-schema/nodes/inlineExtension.js +2 -2
- package/dist/esm/next-schema/nodes/layoutColumn.js +1 -1
- package/dist/esm/next-schema/nodes/layoutSection.js +2 -2
- package/dist/esm/next-schema/nodes/list.js +5 -5
- package/dist/esm/next-schema/nodes/media.js +1 -1
- package/dist/esm/next-schema/nodes/mediaGroup.js +1 -1
- package/dist/esm/next-schema/nodes/mediaInline.js +1 -1
- package/dist/esm/next-schema/nodes/mediaSingle.js +5 -5
- package/dist/esm/next-schema/nodes/nestedExpand.js +2 -2
- package/dist/esm/next-schema/nodes/panel.js +3 -3
- package/dist/esm/next-schema/nodes/paragraph.js +4 -4
- package/dist/esm/next-schema/nodes/placeholder.js +1 -1
- package/dist/esm/next-schema/nodes/table.js +1 -1
- package/dist/esm/next-schema/nodes/tableCell.js +1 -1
- package/dist/esm/next-schema/nodes/tableHeader.js +1 -1
- package/dist/esm/next-schema/nodes/tableRow.js +1 -1
- package/dist/esm/next-schema/nodes/task.js +2 -2
- package/dist/esm/next-schema/nodes/text.js +1 -1
- package/dist/esm/schema/createPMSpecFactory.js +50 -0
- package/dist/esm/schema/index.js +5 -1
- package/dist/esm/schema/marks/alignment.js +3 -8
- package/dist/esm/schema/marks/annotation.js +4 -13
- package/dist/esm/schema/marks/background-color.js +3 -9
- package/dist/esm/schema/marks/border.js +3 -7
- package/dist/esm/schema/marks/breakout.js +3 -9
- package/dist/esm/schema/marks/code.js +3 -5
- package/dist/esm/schema/marks/confluence-inline-comment.js +4 -9
- package/dist/esm/schema/marks/data-consumer.js +3 -7
- package/dist/esm/schema/marks/em.js +3 -5
- package/dist/esm/schema/marks/fragment.js +3 -12
- package/dist/esm/schema/marks/indentation.js +3 -8
- package/dist/esm/schema/marks/link.js +3 -13
- package/dist/esm/schema/marks/strike.js +3 -5
- package/dist/esm/schema/marks/strong.js +3 -5
- package/dist/esm/schema/marks/subsup.js +3 -10
- package/dist/esm/schema/marks/text-color.js +3 -8
- package/dist/esm/schema/marks/type-ahead-query.js +3 -10
- package/dist/esm/schema/marks/underline.js +3 -5
- package/dist/esm/schema/marks/unsupported-mark.js +3 -6
- package/dist/esm/schema/marks/unsupported-node-attributes.js +3 -6
- package/dist/esm/schema/nodes/block-card.js +4 -23
- package/dist/esm/schema/nodes/blockquote.js +19 -20
- package/dist/esm/schema/nodes/bodied-extension.js +24 -54
- package/dist/esm/schema/nodes/bullet-list.js +3 -6
- package/dist/esm/schema/nodes/caption.js +4 -6
- package/dist/esm/schema/nodes/code-block.js +3 -15
- package/dist/esm/schema/nodes/confluence-jira-issue.js +3 -22
- package/dist/esm/schema/nodes/confluence-unsupported-block.js +3 -8
- package/dist/esm/schema/nodes/confluence-unsupported-inline.js +3 -10
- package/dist/esm/schema/nodes/date.js +4 -10
- package/dist/esm/schema/nodes/decision-item.js +3 -13
- package/dist/esm/schema/nodes/decision-list.js +3 -12
- package/dist/esm/schema/nodes/doc.js +3 -4
- package/dist/esm/schema/nodes/embed-card.js +4 -22
- package/dist/esm/schema/nodes/emoji.js +3 -16
- package/dist/esm/schema/nodes/expand.js +4 -16
- package/dist/esm/schema/nodes/extension.js +20 -47
- package/dist/esm/schema/nodes/hard-break.js +4 -5
- package/dist/esm/schema/nodes/heading.js +4 -14
- package/dist/esm/schema/nodes/image.js +3 -16
- package/dist/esm/schema/nodes/inline-card.js +4 -14
- package/dist/esm/schema/nodes/inline-extension.js +19 -42
- package/dist/esm/schema/nodes/layout-column.js +5 -12
- package/dist/esm/schema/nodes/layout-section.js +24 -10
- package/dist/esm/schema/nodes/list-item.js +6 -12
- package/dist/esm/schema/nodes/media-group.js +4 -8
- package/dist/esm/schema/nodes/media-inline.js +3 -2
- package/dist/esm/schema/nodes/media-single.js +35 -14
- package/dist/esm/schema/nodes/media.js +36 -82
- package/dist/esm/schema/nodes/mention.js +3 -22
- package/dist/esm/schema/nodes/multi-bodied-extension.js +27 -64
- package/dist/esm/schema/nodes/nested-expand.js +32 -48
- package/dist/esm/schema/nodes/ordered-list.js +4 -15
- package/dist/esm/schema/nodes/panel.js +5 -34
- package/dist/esm/schema/nodes/paragraph.js +4 -11
- package/dist/esm/schema/nodes/placeholder.js +4 -11
- package/dist/esm/schema/nodes/rule.js +4 -3
- package/dist/esm/schema/nodes/status.js +3 -19
- package/dist/esm/schema/nodes/tableNodes.js +12 -52
- package/dist/esm/schema/nodes/task-item.js +3 -14
- package/dist/esm/schema/nodes/task-list.js +3 -12
- package/dist/esm/schema/nodes/text.js +4 -4
- package/dist/esm/schema/nodes/unsupported-block.js +3 -11
- package/dist/esm/schema/nodes/unsupported-inline.js +3 -10
- package/dist/json-schema/v1/full.json +1297 -1732
- package/dist/json-schema/v1/stage-0.json +1350 -1808
- package/dist/types/index.d.ts +2 -0
- package/dist/types/next-schema/generated/markTypes.d.ts +20 -20
- package/dist/types/next-schema/generated/nodeGroupTypes.d.ts +1 -1
- package/dist/types/next-schema/generated/nodeTypes.d.ts +75 -75
- package/dist/types/schema/createPMSpecFactory.d.ts +33 -0
- package/dist/types/schema/index.d.ts +2 -0
- package/dist/types/schema/nodes/block-card.d.ts +1 -2
- package/dist/types/schema/nodes/blockquote.d.ts +2 -3
- package/dist/types/schema/nodes/bodied-extension.d.ts +1 -2
- package/dist/types/schema/nodes/bullet-list.d.ts +1 -2
- package/dist/types/schema/nodes/caption.d.ts +1 -2
- package/dist/types/schema/nodes/code-block.d.ts +2 -2
- package/dist/types/schema/nodes/confluence-jira-issue.d.ts +1 -2
- package/dist/types/schema/nodes/confluence-unsupported-block.d.ts +1 -2
- package/dist/types/schema/nodes/confluence-unsupported-inline.d.ts +1 -2
- package/dist/types/schema/nodes/date.d.ts +1 -2
- package/dist/types/schema/nodes/decision-item.d.ts +1 -2
- package/dist/types/schema/nodes/decision-list.d.ts +1 -2
- package/dist/types/schema/nodes/doc.d.ts +1 -2
- package/dist/types/schema/nodes/embed-card.d.ts +1 -2
- package/dist/types/schema/nodes/emoji.d.ts +1 -2
- package/dist/types/schema/nodes/expand.d.ts +2 -2
- package/dist/types/schema/nodes/extension.d.ts +1 -2
- package/dist/types/schema/nodes/hard-break.d.ts +1 -2
- package/dist/types/schema/nodes/heading.d.ts +1 -2
- package/dist/types/schema/nodes/image.d.ts +1 -2
- package/dist/types/schema/nodes/inline-card.d.ts +1 -2
- package/dist/types/schema/nodes/inline-extension.d.ts +1 -2
- package/dist/types/schema/nodes/layout-column.d.ts +1 -2
- package/dist/types/schema/nodes/layout-section.d.ts +3 -3
- package/dist/types/schema/nodes/list-item.d.ts +2 -3
- package/dist/types/schema/nodes/media-group.d.ts +1 -2
- package/dist/types/schema/nodes/media.d.ts +3 -1
- package/dist/types/schema/nodes/mention.d.ts +2 -2
- package/dist/types/schema/nodes/multi-bodied-extension.d.ts +2 -3
- package/dist/types/schema/nodes/nested-expand.d.ts +1 -2
- package/dist/types/schema/nodes/ordered-list.d.ts +2 -3
- package/dist/types/schema/nodes/panel.d.ts +2 -3
- package/dist/types/schema/nodes/paragraph.d.ts +1 -2
- package/dist/types/schema/nodes/placeholder.d.ts +1 -2
- package/dist/types/schema/nodes/rule.d.ts +1 -2
- package/dist/types/schema/nodes/status.d.ts +1 -2
- package/dist/types/schema/nodes/tableNodes.d.ts +7 -7
- package/dist/types/schema/nodes/task-item.d.ts +1 -2
- package/dist/types/schema/nodes/task-list.d.ts +1 -2
- package/dist/types/schema/nodes/text.d.ts +1 -4
- package/dist/types/schema/nodes/unsupported-block.d.ts +1 -2
- package/dist/types/schema/nodes/unsupported-inline.d.ts +1 -2
- package/json-schema/v1/full.json +1297 -1732
- package/json-schema/v1/stage-0.json +1350 -1808
- package/package.json +9 -12
- package/schema-generators/__tests__/unit/adfToValidatorSpec.unit.ts +7 -7
- package/schema-generators/__tests__/unit/validate-pm-schema.unit.ts +4 -4
- package/schema-generators/helpers/writeToFile.ts +24 -0
- package/schema-generators/json-full-schema.ts +8 -4
- package/schema-generators/pm-full-schema.ts +8 -4
- package/schema-generators/validator-full-schema.ts +6 -5
@@ -1,67 +1,124 @@
|
|
1
1
|
{
|
2
|
-
"$schema": "http://json-schema.org/draft-04/schema#",
|
3
|
-
"description": "Schema for Atlassian Document Format.",
|
4
2
|
"$ref": "#/definitions/doc_node",
|
3
|
+
"description": "Schema for Atlassian Document Format.",
|
4
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
5
5
|
"definitions": {
|
6
|
-
"
|
6
|
+
"blockCard_node": {
|
7
7
|
"type": "object",
|
8
8
|
"properties": {
|
9
9
|
"type": {
|
10
|
-
"enum": [
|
11
|
-
"text"
|
12
|
-
]
|
10
|
+
"enum": ["blockCard"]
|
13
11
|
},
|
14
|
-
"
|
15
|
-
"
|
16
|
-
|
12
|
+
"attrs": {
|
13
|
+
"anyOf": [
|
14
|
+
{
|
15
|
+
"type": "object",
|
16
|
+
"properties": {
|
17
|
+
"url": {
|
18
|
+
"type": "string"
|
19
|
+
},
|
20
|
+
"datasource": {
|
21
|
+
"type": "object",
|
22
|
+
"additionalProperties": false,
|
23
|
+
"properties": {
|
24
|
+
"id": {
|
25
|
+
"type": "string"
|
26
|
+
},
|
27
|
+
"parameters": {},
|
28
|
+
"views": {
|
29
|
+
"items": {
|
30
|
+
"additionalProperties": false,
|
31
|
+
"properties": {
|
32
|
+
"properties": {},
|
33
|
+
"type": {
|
34
|
+
"type": "string"
|
35
|
+
}
|
36
|
+
},
|
37
|
+
"required": ["type"],
|
38
|
+
"type": "object"
|
39
|
+
},
|
40
|
+
"minItems": 1,
|
41
|
+
"type": "array"
|
42
|
+
}
|
43
|
+
},
|
44
|
+
"required": ["id", "parameters", "views"]
|
45
|
+
},
|
46
|
+
"width": {
|
47
|
+
"type": "number"
|
48
|
+
},
|
49
|
+
"layout": {
|
50
|
+
"enum": [
|
51
|
+
"wide",
|
52
|
+
"full-width",
|
53
|
+
"center",
|
54
|
+
"wrap-right",
|
55
|
+
"wrap-left",
|
56
|
+
"align-end",
|
57
|
+
"align-start"
|
58
|
+
]
|
59
|
+
}
|
60
|
+
},
|
61
|
+
"required": ["datasource"],
|
62
|
+
"additionalProperties": false
|
63
|
+
},
|
64
|
+
{
|
65
|
+
"type": "object",
|
66
|
+
"properties": {
|
67
|
+
"url": {
|
68
|
+
"type": "string"
|
69
|
+
}
|
70
|
+
},
|
71
|
+
"required": ["url"],
|
72
|
+
"additionalProperties": false
|
73
|
+
},
|
74
|
+
{
|
75
|
+
"type": "object",
|
76
|
+
"properties": {
|
77
|
+
"data": {}
|
78
|
+
},
|
79
|
+
"required": ["data"],
|
80
|
+
"additionalProperties": false
|
81
|
+
}
|
82
|
+
]
|
83
|
+
}
|
84
|
+
},
|
85
|
+
"additionalProperties": false,
|
86
|
+
"required": ["type", "attrs"]
|
87
|
+
},
|
88
|
+
"text_node": {
|
89
|
+
"type": "object",
|
90
|
+
"properties": {
|
91
|
+
"type": {
|
92
|
+
"enum": ["text"]
|
17
93
|
},
|
18
94
|
"marks": {
|
19
95
|
"type": "array"
|
96
|
+
},
|
97
|
+
"text": {
|
98
|
+
"minLength": 1,
|
99
|
+
"type": "string"
|
20
100
|
}
|
21
101
|
},
|
22
|
-
"
|
23
|
-
|
24
|
-
"text"
|
25
|
-
],
|
26
|
-
"additionalProperties": false
|
102
|
+
"additionalProperties": false,
|
103
|
+
"required": ["type", "text"]
|
27
104
|
},
|
28
|
-
"
|
105
|
+
"codeBlock_node": {
|
29
106
|
"type": "object",
|
30
107
|
"properties": {
|
31
108
|
"type": {
|
32
|
-
"enum": [
|
33
|
-
|
34
|
-
|
109
|
+
"enum": ["codeBlock"]
|
110
|
+
},
|
111
|
+
"marks": {
|
112
|
+
"type": "array"
|
35
113
|
},
|
36
114
|
"attrs": {
|
37
115
|
"type": "object",
|
38
116
|
"properties": {
|
39
|
-
"
|
40
|
-
"
|
41
|
-
"wide",
|
42
|
-
"full-width"
|
43
|
-
]
|
117
|
+
"language": {
|
118
|
+
"type": "string"
|
44
119
|
}
|
45
120
|
},
|
46
|
-
"required": [
|
47
|
-
"mode"
|
48
|
-
],
|
49
121
|
"additionalProperties": false
|
50
|
-
}
|
51
|
-
},
|
52
|
-
"required": [
|
53
|
-
"type",
|
54
|
-
"attrs"
|
55
|
-
],
|
56
|
-
"additionalProperties": false
|
57
|
-
},
|
58
|
-
"codeBlock_node": {
|
59
|
-
"type": "object",
|
60
|
-
"properties": {
|
61
|
-
"type": {
|
62
|
-
"enum": [
|
63
|
-
"codeBlock"
|
64
|
-
]
|
65
122
|
},
|
66
123
|
"content": {
|
67
124
|
"type": "array",
|
@@ -82,26 +139,12 @@
|
|
82
139
|
}
|
83
140
|
]
|
84
141
|
}
|
85
|
-
},
|
86
|
-
"marks": {
|
87
|
-
"type": "array"
|
88
|
-
},
|
89
|
-
"attrs": {
|
90
|
-
"type": "object",
|
91
|
-
"properties": {
|
92
|
-
"language": {
|
93
|
-
"type": "string"
|
94
|
-
}
|
95
|
-
},
|
96
|
-
"additionalProperties": false
|
97
142
|
}
|
98
143
|
},
|
99
|
-
"
|
100
|
-
|
101
|
-
],
|
102
|
-
"additionalProperties": false
|
144
|
+
"additionalProperties": false,
|
145
|
+
"required": ["type"]
|
103
146
|
},
|
104
|
-
"
|
147
|
+
"codeBlock_with_marks_node": {
|
105
148
|
"allOf": [
|
106
149
|
{
|
107
150
|
"$ref": "#/definitions/codeBlock_node"
|
@@ -111,14 +154,36 @@
|
|
111
154
|
"properties": {
|
112
155
|
"marks": {
|
113
156
|
"type": "array",
|
114
|
-
"
|
157
|
+
"items": {
|
158
|
+
"$ref": "#/definitions/breakout_mark"
|
159
|
+
}
|
115
160
|
}
|
116
161
|
},
|
117
162
|
"additionalProperties": true
|
118
163
|
}
|
119
164
|
]
|
120
165
|
},
|
121
|
-
"
|
166
|
+
"breakout_mark": {
|
167
|
+
"type": "object",
|
168
|
+
"properties": {
|
169
|
+
"type": {
|
170
|
+
"enum": ["breakout"]
|
171
|
+
},
|
172
|
+
"attrs": {
|
173
|
+
"type": "object",
|
174
|
+
"properties": {
|
175
|
+
"mode": {
|
176
|
+
"enum": ["wide", "full-width"]
|
177
|
+
}
|
178
|
+
},
|
179
|
+
"required": ["mode"],
|
180
|
+
"additionalProperties": false
|
181
|
+
}
|
182
|
+
},
|
183
|
+
"required": ["type", "attrs"],
|
184
|
+
"additionalProperties": false
|
185
|
+
},
|
186
|
+
"codeBlock_with_no_marks_node": {
|
122
187
|
"allOf": [
|
123
188
|
{
|
124
189
|
"$ref": "#/definitions/codeBlock_node"
|
@@ -128,92 +193,89 @@
|
|
128
193
|
"properties": {
|
129
194
|
"marks": {
|
130
195
|
"type": "array",
|
131
|
-
"
|
132
|
-
"$ref": "#/definitions/breakout_mark"
|
133
|
-
}
|
196
|
+
"maxItems": 0
|
134
197
|
}
|
135
198
|
},
|
136
199
|
"additionalProperties": true
|
137
200
|
}
|
138
201
|
]
|
139
202
|
},
|
140
|
-
"
|
141
|
-
"type": "object",
|
142
|
-
"properties": {
|
143
|
-
"type": {
|
144
|
-
"enum": [
|
145
|
-
"em"
|
146
|
-
]
|
147
|
-
}
|
148
|
-
},
|
149
|
-
"required": [
|
150
|
-
"type"
|
151
|
-
],
|
152
|
-
"additionalProperties": false
|
153
|
-
},
|
154
|
-
"code_mark": {
|
155
|
-
"type": "object",
|
156
|
-
"properties": {
|
157
|
-
"type": {
|
158
|
-
"enum": [
|
159
|
-
"code"
|
160
|
-
]
|
161
|
-
}
|
162
|
-
},
|
163
|
-
"required": [
|
164
|
-
"type"
|
165
|
-
],
|
166
|
-
"additionalProperties": false
|
167
|
-
},
|
168
|
-
"strike_mark": {
|
169
|
-
"type": "object",
|
170
|
-
"properties": {
|
171
|
-
"type": {
|
172
|
-
"enum": [
|
173
|
-
"strike"
|
174
|
-
]
|
175
|
-
}
|
176
|
-
},
|
177
|
-
"required": [
|
178
|
-
"type"
|
179
|
-
],
|
180
|
-
"additionalProperties": false
|
181
|
-
},
|
182
|
-
"strong_mark": {
|
183
|
-
"type": "object",
|
184
|
-
"properties": {
|
185
|
-
"type": {
|
186
|
-
"enum": [
|
187
|
-
"strong"
|
188
|
-
]
|
189
|
-
}
|
190
|
-
},
|
191
|
-
"required": [
|
192
|
-
"type"
|
193
|
-
],
|
194
|
-
"additionalProperties": false
|
195
|
-
},
|
196
|
-
"underline_mark": {
|
203
|
+
"mediaSingle_node": {
|
197
204
|
"type": "object",
|
198
205
|
"properties": {
|
199
206
|
"type": {
|
200
|
-
"enum": [
|
201
|
-
|
207
|
+
"enum": ["mediaSingle"]
|
208
|
+
},
|
209
|
+
"marks": {
|
210
|
+
"type": "array",
|
211
|
+
"items": {
|
212
|
+
"$ref": "#/definitions/link_mark"
|
213
|
+
}
|
214
|
+
},
|
215
|
+
"attrs": {
|
216
|
+
"anyOf": [
|
217
|
+
{
|
218
|
+
"type": "object",
|
219
|
+
"properties": {
|
220
|
+
"width": {
|
221
|
+
"type": "number",
|
222
|
+
"minimum": 0,
|
223
|
+
"maximum": 100
|
224
|
+
},
|
225
|
+
"layout": {
|
226
|
+
"enum": [
|
227
|
+
"wide",
|
228
|
+
"full-width",
|
229
|
+
"center",
|
230
|
+
"wrap-right",
|
231
|
+
"wrap-left",
|
232
|
+
"align-end",
|
233
|
+
"align-start"
|
234
|
+
]
|
235
|
+
},
|
236
|
+
"widthType": {
|
237
|
+
"enum": ["percentage"]
|
238
|
+
}
|
239
|
+
},
|
240
|
+
"required": ["layout"],
|
241
|
+
"additionalProperties": false
|
242
|
+
},
|
243
|
+
{
|
244
|
+
"type": "object",
|
245
|
+
"properties": {
|
246
|
+
"width": {
|
247
|
+
"type": "number",
|
248
|
+
"minimum": 0
|
249
|
+
},
|
250
|
+
"widthType": {
|
251
|
+
"enum": ["pixel"]
|
252
|
+
},
|
253
|
+
"layout": {
|
254
|
+
"enum": [
|
255
|
+
"wide",
|
256
|
+
"full-width",
|
257
|
+
"center",
|
258
|
+
"wrap-right",
|
259
|
+
"wrap-left",
|
260
|
+
"align-end",
|
261
|
+
"align-start"
|
262
|
+
]
|
263
|
+
}
|
264
|
+
},
|
265
|
+
"required": ["width", "widthType", "layout"],
|
266
|
+
"additionalProperties": false
|
267
|
+
}
|
202
268
|
]
|
203
269
|
}
|
204
270
|
},
|
205
|
-
"
|
206
|
-
|
207
|
-
],
|
208
|
-
"additionalProperties": false
|
271
|
+
"additionalProperties": true,
|
272
|
+
"required": ["type"]
|
209
273
|
},
|
210
274
|
"link_mark": {
|
211
275
|
"type": "object",
|
212
276
|
"properties": {
|
213
277
|
"type": {
|
214
|
-
"enum": [
|
215
|
-
"link"
|
216
|
-
]
|
278
|
+
"enum": ["link"]
|
217
279
|
},
|
218
280
|
"attrs": {
|
219
281
|
"type": "object",
|
@@ -234,142 +296,174 @@
|
|
234
296
|
"type": "string"
|
235
297
|
}
|
236
298
|
},
|
237
|
-
"required": [
|
238
|
-
"href"
|
239
|
-
],
|
299
|
+
"required": ["href"],
|
240
300
|
"additionalProperties": false
|
241
301
|
}
|
242
302
|
},
|
243
|
-
"required": [
|
244
|
-
"type",
|
245
|
-
"attrs"
|
246
|
-
],
|
303
|
+
"required": ["type", "attrs"],
|
247
304
|
"additionalProperties": false
|
248
305
|
},
|
249
|
-
"
|
306
|
+
"media_node": {
|
250
307
|
"type": "object",
|
251
308
|
"properties": {
|
252
309
|
"type": {
|
253
|
-
"enum": [
|
254
|
-
|
255
|
-
|
310
|
+
"enum": ["media"]
|
311
|
+
},
|
312
|
+
"marks": {
|
313
|
+
"type": "array",
|
314
|
+
"items": {
|
315
|
+
"anyOf": [
|
316
|
+
{
|
317
|
+
"$ref": "#/definitions/link_mark"
|
318
|
+
},
|
319
|
+
{
|
320
|
+
"$ref": "#/definitions/annotation_mark"
|
321
|
+
},
|
322
|
+
{
|
323
|
+
"$ref": "#/definitions/border_mark"
|
324
|
+
}
|
325
|
+
]
|
326
|
+
}
|
256
327
|
},
|
257
328
|
"attrs": {
|
258
|
-
"
|
259
|
-
|
260
|
-
|
261
|
-
"
|
262
|
-
"
|
263
|
-
|
264
|
-
|
329
|
+
"anyOf": [
|
330
|
+
{
|
331
|
+
"type": "object",
|
332
|
+
"properties": {
|
333
|
+
"type": {
|
334
|
+
"enum": ["link", "file"]
|
335
|
+
},
|
336
|
+
"id": {
|
337
|
+
"minLength": 1,
|
338
|
+
"type": "string"
|
339
|
+
},
|
340
|
+
"alt": {
|
341
|
+
"type": "string"
|
342
|
+
},
|
343
|
+
"collection": {
|
344
|
+
"type": "string"
|
345
|
+
},
|
346
|
+
"height": {
|
347
|
+
"type": "number"
|
348
|
+
},
|
349
|
+
"occurrenceKey": {
|
350
|
+
"minLength": 1,
|
351
|
+
"type": "string"
|
352
|
+
},
|
353
|
+
"width": {
|
354
|
+
"type": "number"
|
355
|
+
}
|
356
|
+
},
|
357
|
+
"required": ["type", "id", "collection"],
|
358
|
+
"additionalProperties": false
|
359
|
+
},
|
360
|
+
{
|
361
|
+
"type": "object",
|
362
|
+
"properties": {
|
363
|
+
"type": {
|
364
|
+
"enum": ["external"]
|
365
|
+
},
|
366
|
+
"alt": {
|
367
|
+
"type": "string"
|
368
|
+
},
|
369
|
+
"height": {
|
370
|
+
"type": "number"
|
371
|
+
},
|
372
|
+
"width": {
|
373
|
+
"type": "number"
|
374
|
+
},
|
375
|
+
"url": {
|
376
|
+
"type": "string"
|
377
|
+
}
|
378
|
+
},
|
379
|
+
"required": ["type", "url"],
|
380
|
+
"additionalProperties": false
|
265
381
|
}
|
266
|
-
|
267
|
-
"required": [
|
268
|
-
"type"
|
269
|
-
],
|
270
|
-
"additionalProperties": false
|
382
|
+
]
|
271
383
|
}
|
272
384
|
},
|
273
|
-
"
|
274
|
-
|
275
|
-
"attrs"
|
276
|
-
],
|
277
|
-
"additionalProperties": false
|
385
|
+
"additionalProperties": false,
|
386
|
+
"required": ["type", "attrs"]
|
278
387
|
},
|
279
|
-
"
|
388
|
+
"annotation_mark": {
|
280
389
|
"type": "object",
|
281
390
|
"properties": {
|
282
391
|
"type": {
|
283
|
-
"enum": [
|
284
|
-
"textColor"
|
285
|
-
]
|
392
|
+
"enum": ["annotation"]
|
286
393
|
},
|
287
394
|
"attrs": {
|
288
395
|
"type": "object",
|
289
396
|
"properties": {
|
290
|
-
"
|
291
|
-
"type": "string"
|
292
|
-
|
397
|
+
"id": {
|
398
|
+
"type": "string"
|
399
|
+
},
|
400
|
+
"annotationType": {
|
401
|
+
"enum": ["inlineComment"]
|
293
402
|
}
|
294
403
|
},
|
295
|
-
"required": [
|
296
|
-
"color"
|
297
|
-
],
|
404
|
+
"required": ["id", "annotationType"],
|
298
405
|
"additionalProperties": false
|
299
406
|
}
|
300
407
|
},
|
301
|
-
"required": [
|
302
|
-
"type",
|
303
|
-
"attrs"
|
304
|
-
],
|
408
|
+
"required": ["type", "attrs"],
|
305
409
|
"additionalProperties": false
|
306
410
|
},
|
307
|
-
"
|
411
|
+
"border_mark": {
|
308
412
|
"type": "object",
|
309
413
|
"properties": {
|
310
414
|
"type": {
|
311
|
-
"enum": [
|
312
|
-
"alignment"
|
313
|
-
]
|
415
|
+
"enum": ["border"]
|
314
416
|
},
|
315
417
|
"attrs": {
|
316
418
|
"type": "object",
|
317
419
|
"properties": {
|
318
|
-
"
|
319
|
-
"
|
320
|
-
|
321
|
-
|
322
|
-
|
420
|
+
"size": {
|
421
|
+
"type": "number",
|
422
|
+
"minimum": 1,
|
423
|
+
"maximum": 3
|
424
|
+
},
|
425
|
+
"color": {
|
426
|
+
"pattern": "^#[0-9a-fA-F]{8}$|^#[0-9a-fA-F]{6}$",
|
427
|
+
"type": "string"
|
323
428
|
}
|
324
429
|
},
|
325
|
-
"required": [
|
326
|
-
"align"
|
327
|
-
],
|
430
|
+
"required": ["size", "color"],
|
328
431
|
"additionalProperties": false
|
329
432
|
}
|
330
433
|
},
|
331
|
-
"required": [
|
332
|
-
"type",
|
333
|
-
"attrs"
|
334
|
-
],
|
434
|
+
"required": ["type", "attrs"],
|
335
435
|
"additionalProperties": false
|
336
436
|
},
|
337
|
-
"
|
437
|
+
"hardBreak_node": {
|
338
438
|
"type": "object",
|
339
439
|
"properties": {
|
340
440
|
"type": {
|
341
|
-
"enum": [
|
342
|
-
"indentation"
|
343
|
-
]
|
441
|
+
"enum": ["hardBreak"]
|
344
442
|
},
|
345
443
|
"attrs": {
|
346
444
|
"type": "object",
|
347
445
|
"properties": {
|
348
|
-
"
|
349
|
-
"
|
350
|
-
"minimum": 1,
|
351
|
-
"maximum": 6
|
446
|
+
"text": {
|
447
|
+
"enum": ["\n"]
|
352
448
|
}
|
353
449
|
},
|
354
|
-
"required": [
|
355
|
-
"level"
|
356
|
-
],
|
357
450
|
"additionalProperties": false
|
358
451
|
}
|
359
452
|
},
|
360
|
-
"
|
361
|
-
|
362
|
-
"attrs"
|
363
|
-
],
|
364
|
-
"additionalProperties": false
|
453
|
+
"additionalProperties": false,
|
454
|
+
"required": ["type"]
|
365
455
|
},
|
366
|
-
"
|
456
|
+
"mention_node": {
|
367
457
|
"type": "object",
|
368
458
|
"properties": {
|
369
459
|
"type": {
|
370
|
-
"enum": [
|
371
|
-
|
372
|
-
|
460
|
+
"enum": ["mention"]
|
461
|
+
},
|
462
|
+
"marks": {
|
463
|
+
"type": "array",
|
464
|
+
"items": {
|
465
|
+
"$ref": "#/definitions/annotation_mark"
|
466
|
+
}
|
373
467
|
},
|
374
468
|
"attrs": {
|
375
469
|
"type": "object",
|
@@ -377,310 +471,183 @@
|
|
377
471
|
"id": {
|
378
472
|
"type": "string"
|
379
473
|
},
|
380
|
-
"
|
381
|
-
"
|
382
|
-
|
383
|
-
|
474
|
+
"localId": {
|
475
|
+
"type": "string"
|
476
|
+
},
|
477
|
+
"text": {
|
478
|
+
"type": "string"
|
479
|
+
},
|
480
|
+
"accessLevel": {
|
481
|
+
"type": "string"
|
482
|
+
},
|
483
|
+
"userType": {
|
484
|
+
"enum": ["DEFAULT", "SPECIAL", "APP"]
|
384
485
|
}
|
385
486
|
},
|
386
|
-
"required": [
|
387
|
-
"id",
|
388
|
-
"annotationType"
|
389
|
-
],
|
487
|
+
"required": ["id"],
|
390
488
|
"additionalProperties": false
|
391
489
|
}
|
392
490
|
},
|
393
|
-
"
|
394
|
-
|
395
|
-
"attrs"
|
396
|
-
],
|
397
|
-
"additionalProperties": false
|
491
|
+
"additionalProperties": false,
|
492
|
+
"required": ["type", "attrs"]
|
398
493
|
},
|
399
|
-
"
|
494
|
+
"emoji_node": {
|
400
495
|
"type": "object",
|
401
496
|
"properties": {
|
402
497
|
"type": {
|
403
|
-
"enum": [
|
404
|
-
"dataConsumer"
|
405
|
-
]
|
498
|
+
"enum": ["emoji"]
|
406
499
|
},
|
407
|
-
"
|
408
|
-
"type": "
|
409
|
-
"
|
410
|
-
"
|
411
|
-
|
412
|
-
"items": {
|
413
|
-
"type": "string"
|
414
|
-
},
|
415
|
-
"minItems": 1
|
416
|
-
}
|
417
|
-
},
|
418
|
-
"required": [
|
419
|
-
"sources"
|
420
|
-
],
|
421
|
-
"additionalProperties": false
|
422
|
-
}
|
423
|
-
},
|
424
|
-
"required": [
|
425
|
-
"type",
|
426
|
-
"attrs"
|
427
|
-
],
|
428
|
-
"additionalProperties": false
|
429
|
-
},
|
430
|
-
"fragment_mark": {
|
431
|
-
"type": "object",
|
432
|
-
"properties": {
|
433
|
-
"type": {
|
434
|
-
"enum": [
|
435
|
-
"fragment"
|
436
|
-
]
|
500
|
+
"marks": {
|
501
|
+
"type": "array",
|
502
|
+
"items": {
|
503
|
+
"$ref": "#/definitions/annotation_mark"
|
504
|
+
}
|
437
505
|
},
|
438
506
|
"attrs": {
|
439
507
|
"type": "object",
|
440
508
|
"properties": {
|
441
|
-
"
|
442
|
-
"type": "string"
|
443
|
-
"minLength": 1
|
509
|
+
"shortName": {
|
510
|
+
"type": "string"
|
444
511
|
},
|
445
|
-
"
|
512
|
+
"id": {
|
513
|
+
"type": "string"
|
514
|
+
},
|
515
|
+
"text": {
|
446
516
|
"type": "string"
|
447
517
|
}
|
448
518
|
},
|
449
|
-
"required": [
|
450
|
-
"localId"
|
451
|
-
],
|
519
|
+
"required": ["shortName"],
|
452
520
|
"additionalProperties": false
|
453
521
|
}
|
454
522
|
},
|
455
|
-
"
|
456
|
-
|
457
|
-
"attrs"
|
458
|
-
],
|
459
|
-
"additionalProperties": false
|
523
|
+
"additionalProperties": false,
|
524
|
+
"required": ["type", "attrs"]
|
460
525
|
},
|
461
|
-
"
|
526
|
+
"date_node": {
|
462
527
|
"type": "object",
|
463
528
|
"properties": {
|
464
529
|
"type": {
|
465
|
-
"enum": [
|
466
|
-
|
467
|
-
|
530
|
+
"enum": ["date"]
|
531
|
+
},
|
532
|
+
"marks": {
|
533
|
+
"type": "array",
|
534
|
+
"items": {
|
535
|
+
"$ref": "#/definitions/annotation_mark"
|
536
|
+
}
|
468
537
|
},
|
469
538
|
"attrs": {
|
470
539
|
"type": "object",
|
471
540
|
"properties": {
|
472
|
-
"
|
473
|
-
"
|
474
|
-
"
|
475
|
-
"maximum": 3
|
476
|
-
},
|
477
|
-
"color": {
|
478
|
-
"type": "string",
|
479
|
-
"pattern": "^#[0-9a-fA-F]{8}$|^#[0-9a-fA-F]{6}$"
|
541
|
+
"timestamp": {
|
542
|
+
"minLength": 1,
|
543
|
+
"type": "string"
|
480
544
|
}
|
481
545
|
},
|
482
|
-
"required": [
|
483
|
-
"size",
|
484
|
-
"color"
|
485
|
-
],
|
546
|
+
"required": ["timestamp"],
|
486
547
|
"additionalProperties": false
|
487
548
|
}
|
488
549
|
},
|
489
|
-
"
|
490
|
-
|
491
|
-
"attrs"
|
492
|
-
],
|
493
|
-
"additionalProperties": false
|
550
|
+
"additionalProperties": false,
|
551
|
+
"required": ["type", "attrs"]
|
494
552
|
},
|
495
|
-
"
|
553
|
+
"placeholder_node": {
|
496
554
|
"type": "object",
|
497
555
|
"properties": {
|
498
556
|
"type": {
|
499
|
-
"enum": [
|
500
|
-
"backgroundColor"
|
501
|
-
]
|
557
|
+
"enum": ["placeholder"]
|
502
558
|
},
|
503
559
|
"attrs": {
|
504
560
|
"type": "object",
|
505
561
|
"properties": {
|
506
|
-
"
|
507
|
-
"type": "string"
|
508
|
-
"pattern": "^#[0-9a-fA-F]{6}$"
|
562
|
+
"text": {
|
563
|
+
"type": "string"
|
509
564
|
}
|
510
565
|
},
|
511
|
-
"required": [
|
512
|
-
"color"
|
513
|
-
],
|
566
|
+
"required": ["text"],
|
514
567
|
"additionalProperties": false
|
515
568
|
}
|
516
569
|
},
|
517
|
-
"
|
518
|
-
|
519
|
-
"attrs"
|
520
|
-
],
|
521
|
-
"additionalProperties": false
|
570
|
+
"additionalProperties": false,
|
571
|
+
"required": ["type", "attrs"]
|
522
572
|
},
|
523
|
-
"
|
573
|
+
"inlineCard_node": {
|
524
574
|
"type": "object",
|
525
575
|
"properties": {
|
526
576
|
"type": {
|
527
|
-
"enum": [
|
528
|
-
|
529
|
-
|
577
|
+
"enum": ["inlineCard"]
|
578
|
+
},
|
579
|
+
"marks": {
|
580
|
+
"type": "array",
|
581
|
+
"items": {
|
582
|
+
"$ref": "#/definitions/annotation_mark"
|
583
|
+
}
|
530
584
|
},
|
531
585
|
"attrs": {
|
532
|
-
"
|
533
|
-
|
534
|
-
|
535
|
-
"
|
536
|
-
"
|
537
|
-
|
586
|
+
"anyOf": [
|
587
|
+
{
|
588
|
+
"type": "object",
|
589
|
+
"properties": {
|
590
|
+
"url": {
|
591
|
+
"type": "string"
|
592
|
+
}
|
593
|
+
},
|
594
|
+
"required": ["url"],
|
595
|
+
"additionalProperties": false
|
596
|
+
},
|
597
|
+
{
|
598
|
+
"type": "object",
|
599
|
+
"properties": {
|
600
|
+
"data": {}
|
601
|
+
},
|
602
|
+
"required": ["data"],
|
603
|
+
"additionalProperties": false
|
538
604
|
}
|
539
|
-
|
540
|
-
"additionalProperties": false
|
605
|
+
]
|
541
606
|
}
|
542
607
|
},
|
543
|
-
"
|
544
|
-
|
545
|
-
],
|
546
|
-
"additionalProperties": false
|
608
|
+
"additionalProperties": false,
|
609
|
+
"required": ["type", "attrs"]
|
547
610
|
},
|
548
|
-
"
|
611
|
+
"status_node": {
|
549
612
|
"type": "object",
|
550
613
|
"properties": {
|
551
614
|
"type": {
|
552
|
-
"enum": [
|
553
|
-
|
554
|
-
|
615
|
+
"enum": ["status"]
|
616
|
+
},
|
617
|
+
"marks": {
|
618
|
+
"type": "array",
|
619
|
+
"items": {
|
620
|
+
"$ref": "#/definitions/annotation_mark"
|
621
|
+
}
|
555
622
|
},
|
556
623
|
"attrs": {
|
557
624
|
"type": "object",
|
558
625
|
"properties": {
|
559
|
-
"id": {
|
560
|
-
"type": "string"
|
561
|
-
},
|
562
626
|
"text": {
|
627
|
+
"minLength": 1,
|
563
628
|
"type": "string"
|
564
629
|
},
|
565
|
-
"
|
566
|
-
"enum": [
|
567
|
-
"DEFAULT",
|
568
|
-
"SPECIAL",
|
569
|
-
"APP"
|
570
|
-
]
|
630
|
+
"color": {
|
631
|
+
"enum": ["neutral", "purple", "blue", "red", "yellow", "green"]
|
571
632
|
},
|
572
|
-
"
|
633
|
+
"localId": {
|
573
634
|
"type": "string"
|
574
635
|
},
|
575
|
-
"
|
636
|
+
"style": {
|
576
637
|
"type": "string"
|
577
638
|
}
|
578
639
|
},
|
579
|
-
"required": [
|
580
|
-
"id"
|
581
|
-
],
|
640
|
+
"required": ["text", "color"],
|
582
641
|
"additionalProperties": false
|
583
|
-
},
|
584
|
-
"marks": {
|
585
|
-
"type": "array",
|
586
|
-
"items": {
|
587
|
-
"$ref": "#/definitions/annotation_mark"
|
588
|
-
}
|
589
642
|
}
|
590
643
|
},
|
591
|
-
"
|
592
|
-
|
593
|
-
"attrs"
|
594
|
-
],
|
595
|
-
"additionalProperties": false
|
644
|
+
"additionalProperties": false,
|
645
|
+
"required": ["type", "attrs"]
|
596
646
|
},
|
597
|
-
"
|
598
|
-
"type": "object",
|
599
|
-
"properties": {
|
600
|
-
"type": {
|
601
|
-
"enum": [
|
602
|
-
"emoji"
|
603
|
-
]
|
604
|
-
},
|
605
|
-
"attrs": {
|
606
|
-
"type": "object",
|
607
|
-
"properties": {
|
608
|
-
"id": {
|
609
|
-
"type": "string"
|
610
|
-
},
|
611
|
-
"shortName": {
|
612
|
-
"type": "string"
|
613
|
-
},
|
614
|
-
"text": {
|
615
|
-
"type": "string"
|
616
|
-
}
|
617
|
-
},
|
618
|
-
"additionalProperties": false,
|
619
|
-
"required": [
|
620
|
-
"shortName"
|
621
|
-
]
|
622
|
-
},
|
623
|
-
"marks": {
|
624
|
-
"type": "array",
|
625
|
-
"items": {
|
626
|
-
"$ref": "#/definitions/annotation_mark"
|
627
|
-
}
|
628
|
-
}
|
629
|
-
},
|
630
|
-
"required": [
|
631
|
-
"type",
|
632
|
-
"attrs"
|
633
|
-
],
|
634
|
-
"additionalProperties": false
|
635
|
-
},
|
636
|
-
"inlineExtension_node": {
|
637
|
-
"type": "object",
|
638
|
-
"properties": {
|
639
|
-
"type": {
|
640
|
-
"enum": [
|
641
|
-
"inlineExtension"
|
642
|
-
]
|
643
|
-
},
|
644
|
-
"attrs": {
|
645
|
-
"type": "object",
|
646
|
-
"properties": {
|
647
|
-
"extensionKey": {
|
648
|
-
"type": "string",
|
649
|
-
"minLength": 1
|
650
|
-
},
|
651
|
-
"extensionType": {
|
652
|
-
"type": "string",
|
653
|
-
"minLength": 1
|
654
|
-
},
|
655
|
-
"parameters": {},
|
656
|
-
"text": {
|
657
|
-
"type": "string"
|
658
|
-
},
|
659
|
-
"localId": {
|
660
|
-
"type": "string",
|
661
|
-
"minLength": 1
|
662
|
-
}
|
663
|
-
},
|
664
|
-
"required": [
|
665
|
-
"extensionKey",
|
666
|
-
"extensionType"
|
667
|
-
],
|
668
|
-
"additionalProperties": false
|
669
|
-
},
|
670
|
-
"marks": {
|
671
|
-
"type": "array"
|
672
|
-
}
|
673
|
-
},
|
674
|
-
"required": [
|
675
|
-
"type",
|
676
|
-
"attrs"
|
677
|
-
],
|
678
|
-
"additionalProperties": false
|
679
|
-
},
|
680
|
-
"inlineExtension_with_marks_node": {
|
647
|
+
"formatted_text_inline_node": {
|
681
648
|
"allOf": [
|
682
649
|
{
|
683
|
-
"$ref": "#/definitions/
|
650
|
+
"$ref": "#/definitions/text_node"
|
684
651
|
},
|
685
652
|
{
|
686
653
|
"type": "object",
|
@@ -690,10 +657,31 @@
|
|
690
657
|
"items": {
|
691
658
|
"anyOf": [
|
692
659
|
{
|
693
|
-
"$ref": "#/definitions/
|
660
|
+
"$ref": "#/definitions/link_mark"
|
694
661
|
},
|
695
662
|
{
|
696
|
-
"$ref": "#/definitions/
|
663
|
+
"$ref": "#/definitions/em_mark"
|
664
|
+
},
|
665
|
+
{
|
666
|
+
"$ref": "#/definitions/strong_mark"
|
667
|
+
},
|
668
|
+
{
|
669
|
+
"$ref": "#/definitions/strike_mark"
|
670
|
+
},
|
671
|
+
{
|
672
|
+
"$ref": "#/definitions/subsup_mark"
|
673
|
+
},
|
674
|
+
{
|
675
|
+
"$ref": "#/definitions/underline_mark"
|
676
|
+
},
|
677
|
+
{
|
678
|
+
"$ref": "#/definitions/textColor_mark"
|
679
|
+
},
|
680
|
+
{
|
681
|
+
"$ref": "#/definitions/annotation_mark"
|
682
|
+
},
|
683
|
+
{
|
684
|
+
"$ref": "#/definitions/backgroundColor_mark"
|
697
685
|
}
|
698
686
|
]
|
699
687
|
}
|
@@ -703,436 +691,281 @@
|
|
703
691
|
}
|
704
692
|
]
|
705
693
|
},
|
706
|
-
"
|
694
|
+
"em_mark": {
|
707
695
|
"type": "object",
|
708
696
|
"properties": {
|
709
697
|
"type": {
|
710
|
-
"enum": [
|
711
|
-
"date"
|
712
|
-
]
|
713
|
-
},
|
714
|
-
"attrs": {
|
715
|
-
"type": "object",
|
716
|
-
"properties": {
|
717
|
-
"timestamp": {
|
718
|
-
"type": "string",
|
719
|
-
"minLength": 1
|
720
|
-
}
|
721
|
-
},
|
722
|
-
"required": [
|
723
|
-
"timestamp"
|
724
|
-
],
|
725
|
-
"additionalProperties": false
|
726
|
-
},
|
727
|
-
"marks": {
|
728
|
-
"type": "array",
|
729
|
-
"items": {
|
730
|
-
"$ref": "#/definitions/annotation_mark"
|
731
|
-
}
|
698
|
+
"enum": ["em"]
|
732
699
|
}
|
733
700
|
},
|
734
|
-
"required": [
|
735
|
-
"type",
|
736
|
-
"attrs"
|
737
|
-
],
|
701
|
+
"required": ["type"],
|
738
702
|
"additionalProperties": false
|
739
703
|
},
|
740
|
-
"
|
704
|
+
"strong_mark": {
|
741
705
|
"type": "object",
|
742
706
|
"properties": {
|
743
707
|
"type": {
|
744
|
-
"enum": [
|
745
|
-
|
746
|
-
|
708
|
+
"enum": ["strong"]
|
709
|
+
}
|
710
|
+
},
|
711
|
+
"required": ["type"],
|
712
|
+
"additionalProperties": false
|
713
|
+
},
|
714
|
+
"strike_mark": {
|
715
|
+
"type": "object",
|
716
|
+
"properties": {
|
717
|
+
"type": {
|
718
|
+
"enum": ["strike"]
|
719
|
+
}
|
720
|
+
},
|
721
|
+
"required": ["type"],
|
722
|
+
"additionalProperties": false
|
723
|
+
},
|
724
|
+
"subsup_mark": {
|
725
|
+
"type": "object",
|
726
|
+
"properties": {
|
727
|
+
"type": {
|
728
|
+
"enum": ["subsup"]
|
747
729
|
},
|
748
730
|
"attrs": {
|
749
731
|
"type": "object",
|
750
732
|
"properties": {
|
751
|
-
"
|
752
|
-
"
|
733
|
+
"type": {
|
734
|
+
"enum": ["sub", "sup"]
|
753
735
|
}
|
754
736
|
},
|
755
|
-
"required": [
|
756
|
-
"text"
|
757
|
-
],
|
737
|
+
"required": ["type"],
|
758
738
|
"additionalProperties": false
|
759
739
|
}
|
760
740
|
},
|
761
|
-
"required": [
|
762
|
-
"type",
|
763
|
-
"attrs"
|
764
|
-
],
|
741
|
+
"required": ["type", "attrs"],
|
765
742
|
"additionalProperties": false
|
766
743
|
},
|
767
|
-
"
|
744
|
+
"underline_mark": {
|
768
745
|
"type": "object",
|
769
746
|
"properties": {
|
770
747
|
"type": {
|
771
|
-
"enum": [
|
772
|
-
"blockCard"
|
773
|
-
]
|
774
|
-
},
|
775
|
-
"attrs": {
|
776
|
-
"anyOf": [
|
777
|
-
{
|
778
|
-
"type": "object",
|
779
|
-
"properties": {
|
780
|
-
"url": {
|
781
|
-
"type": "string"
|
782
|
-
},
|
783
|
-
"datasource": {
|
784
|
-
"type": "object",
|
785
|
-
"properties": {
|
786
|
-
"id": {
|
787
|
-
"type": "string"
|
788
|
-
},
|
789
|
-
"parameters": {},
|
790
|
-
"views": {
|
791
|
-
"type": "array",
|
792
|
-
"items": {
|
793
|
-
"type": "object",
|
794
|
-
"properties": {
|
795
|
-
"type": {
|
796
|
-
"type": "string"
|
797
|
-
},
|
798
|
-
"properties": {}
|
799
|
-
},
|
800
|
-
"required": [
|
801
|
-
"type"
|
802
|
-
],
|
803
|
-
"additionalProperties": false
|
804
|
-
},
|
805
|
-
"minItems": 1
|
806
|
-
}
|
807
|
-
},
|
808
|
-
"required": [
|
809
|
-
"id",
|
810
|
-
"parameters",
|
811
|
-
"views"
|
812
|
-
],
|
813
|
-
"additionalProperties": false
|
814
|
-
},
|
815
|
-
"width": {
|
816
|
-
"type": "number"
|
817
|
-
},
|
818
|
-
"layout": {
|
819
|
-
"enum": [
|
820
|
-
"wide",
|
821
|
-
"full-width",
|
822
|
-
"center",
|
823
|
-
"wrap-right",
|
824
|
-
"wrap-left",
|
825
|
-
"align-end",
|
826
|
-
"align-start"
|
827
|
-
]
|
828
|
-
}
|
829
|
-
},
|
830
|
-
"additionalProperties": false,
|
831
|
-
"required": [
|
832
|
-
"datasource"
|
833
|
-
]
|
834
|
-
},
|
835
|
-
{
|
836
|
-
"type": "object",
|
837
|
-
"properties": {
|
838
|
-
"url": {
|
839
|
-
"type": "string"
|
840
|
-
}
|
841
|
-
},
|
842
|
-
"required": [
|
843
|
-
"url"
|
844
|
-
],
|
845
|
-
"additionalProperties": false
|
846
|
-
},
|
847
|
-
{
|
848
|
-
"type": "object",
|
849
|
-
"properties": {
|
850
|
-
"data": {}
|
851
|
-
},
|
852
|
-
"required": [
|
853
|
-
"data"
|
854
|
-
],
|
855
|
-
"additionalProperties": false
|
856
|
-
}
|
857
|
-
]
|
748
|
+
"enum": ["underline"]
|
858
749
|
}
|
859
750
|
},
|
860
|
-
"required": [
|
861
|
-
"type",
|
862
|
-
"attrs"
|
863
|
-
],
|
751
|
+
"required": ["type"],
|
864
752
|
"additionalProperties": false
|
865
753
|
},
|
866
|
-
"
|
754
|
+
"textColor_mark": {
|
867
755
|
"type": "object",
|
868
756
|
"properties": {
|
869
757
|
"type": {
|
870
|
-
"enum": [
|
871
|
-
"inlineCard"
|
872
|
-
]
|
758
|
+
"enum": ["textColor"]
|
873
759
|
},
|
874
760
|
"attrs": {
|
875
|
-
"
|
876
|
-
|
877
|
-
|
878
|
-
"
|
879
|
-
|
880
|
-
"type": "string"
|
881
|
-
}
|
882
|
-
},
|
883
|
-
"required": [
|
884
|
-
"url"
|
885
|
-
],
|
886
|
-
"additionalProperties": false
|
887
|
-
},
|
888
|
-
{
|
889
|
-
"type": "object",
|
890
|
-
"properties": {
|
891
|
-
"data": {}
|
892
|
-
},
|
893
|
-
"required": [
|
894
|
-
"data"
|
895
|
-
],
|
896
|
-
"additionalProperties": false
|
761
|
+
"type": "object",
|
762
|
+
"properties": {
|
763
|
+
"color": {
|
764
|
+
"type": "string",
|
765
|
+
"pattern": "^#[0-9a-fA-F]{6}$"
|
897
766
|
}
|
898
|
-
|
899
|
-
|
900
|
-
|
901
|
-
"type": "array",
|
902
|
-
"items": {
|
903
|
-
"$ref": "#/definitions/annotation_mark"
|
904
|
-
}
|
767
|
+
},
|
768
|
+
"required": ["color"],
|
769
|
+
"additionalProperties": false
|
905
770
|
}
|
906
771
|
},
|
907
|
-
"required": [
|
908
|
-
"type",
|
909
|
-
"attrs"
|
910
|
-
],
|
772
|
+
"required": ["type", "attrs"],
|
911
773
|
"additionalProperties": false
|
912
774
|
},
|
913
|
-
"
|
775
|
+
"backgroundColor_mark": {
|
914
776
|
"type": "object",
|
915
777
|
"properties": {
|
916
778
|
"type": {
|
917
|
-
"enum": [
|
918
|
-
"status"
|
919
|
-
]
|
779
|
+
"enum": ["backgroundColor"]
|
920
780
|
},
|
921
781
|
"attrs": {
|
922
782
|
"type": "object",
|
923
783
|
"properties": {
|
924
|
-
"text": {
|
925
|
-
"type": "string",
|
926
|
-
"minLength": 1
|
927
|
-
},
|
928
784
|
"color": {
|
929
|
-
"
|
930
|
-
"neutral",
|
931
|
-
"purple",
|
932
|
-
"blue",
|
933
|
-
"red",
|
934
|
-
"yellow",
|
935
|
-
"green"
|
936
|
-
]
|
937
|
-
},
|
938
|
-
"localId": {
|
939
|
-
"type": "string"
|
940
|
-
},
|
941
|
-
"style": {
|
785
|
+
"pattern": "^#[0-9a-fA-F]{6}$",
|
942
786
|
"type": "string"
|
943
787
|
}
|
944
788
|
},
|
945
|
-
"required": [
|
946
|
-
"text",
|
947
|
-
"color"
|
948
|
-
],
|
789
|
+
"required": ["color"],
|
949
790
|
"additionalProperties": false
|
950
|
-
},
|
951
|
-
"marks": {
|
952
|
-
"type": "array",
|
953
|
-
"items": {
|
954
|
-
"$ref": "#/definitions/annotation_mark"
|
955
|
-
}
|
956
791
|
}
|
957
792
|
},
|
958
|
-
"required": [
|
959
|
-
"type",
|
960
|
-
"attrs"
|
961
|
-
],
|
793
|
+
"required": ["type", "attrs"],
|
962
794
|
"additionalProperties": false
|
963
795
|
},
|
964
|
-
"
|
965
|
-
"
|
966
|
-
|
967
|
-
|
968
|
-
"enum": [
|
969
|
-
"media"
|
970
|
-
]
|
796
|
+
"code_inline_node": {
|
797
|
+
"allOf": [
|
798
|
+
{
|
799
|
+
"$ref": "#/definitions/text_node"
|
971
800
|
},
|
972
|
-
|
973
|
-
"
|
974
|
-
|
975
|
-
|
976
|
-
"
|
977
|
-
|
978
|
-
|
979
|
-
|
980
|
-
"
|
981
|
-
|
982
|
-
|
983
|
-
|
984
|
-
|
985
|
-
|
986
|
-
|
987
|
-
|
988
|
-
|
989
|
-
|
990
|
-
"height": {
|
991
|
-
"type": "number"
|
992
|
-
},
|
993
|
-
"width": {
|
994
|
-
"type": "number"
|
995
|
-
},
|
996
|
-
"occurrenceKey": {
|
997
|
-
"type": "string",
|
998
|
-
"minLength": 1
|
999
|
-
},
|
1000
|
-
"alt": {
|
1001
|
-
"type": "string"
|
1002
|
-
}
|
1003
|
-
},
|
1004
|
-
"required": [
|
1005
|
-
"type",
|
1006
|
-
"id",
|
1007
|
-
"collection"
|
1008
|
-
],
|
1009
|
-
"additionalProperties": false
|
1010
|
-
},
|
1011
|
-
{
|
1012
|
-
"type": "object",
|
1013
|
-
"properties": {
|
1014
|
-
"type": {
|
1015
|
-
"enum": [
|
1016
|
-
"external"
|
1017
|
-
]
|
1018
|
-
},
|
1019
|
-
"url": {
|
1020
|
-
"type": "string"
|
1021
|
-
},
|
1022
|
-
"alt": {
|
1023
|
-
"type": "string"
|
1024
|
-
},
|
1025
|
-
"width": {
|
1026
|
-
"type": "number"
|
1027
|
-
},
|
1028
|
-
"height": {
|
1029
|
-
"type": "number"
|
1030
|
-
}
|
1031
|
-
},
|
1032
|
-
"required": [
|
1033
|
-
"type",
|
1034
|
-
"url"
|
1035
|
-
],
|
1036
|
-
"additionalProperties": false
|
801
|
+
{
|
802
|
+
"type": "object",
|
803
|
+
"properties": {
|
804
|
+
"marks": {
|
805
|
+
"type": "array",
|
806
|
+
"items": {
|
807
|
+
"anyOf": [
|
808
|
+
{
|
809
|
+
"$ref": "#/definitions/code_mark"
|
810
|
+
},
|
811
|
+
{
|
812
|
+
"$ref": "#/definitions/link_mark"
|
813
|
+
},
|
814
|
+
{
|
815
|
+
"$ref": "#/definitions/annotation_mark"
|
816
|
+
}
|
817
|
+
]
|
818
|
+
}
|
1037
819
|
}
|
1038
|
-
|
820
|
+
},
|
821
|
+
"additionalProperties": true
|
822
|
+
}
|
823
|
+
]
|
824
|
+
},
|
825
|
+
"code_mark": {
|
826
|
+
"type": "object",
|
827
|
+
"properties": {
|
828
|
+
"type": {
|
829
|
+
"enum": ["code"]
|
830
|
+
}
|
831
|
+
},
|
832
|
+
"required": ["type"],
|
833
|
+
"additionalProperties": false
|
834
|
+
},
|
835
|
+
"caption_node": {
|
836
|
+
"type": "object",
|
837
|
+
"properties": {
|
838
|
+
"type": {
|
839
|
+
"enum": ["caption"]
|
1039
840
|
},
|
1040
|
-
"
|
841
|
+
"content": {
|
1041
842
|
"type": "array",
|
1042
843
|
"items": {
|
1043
844
|
"anyOf": [
|
1044
845
|
{
|
1045
|
-
"$ref": "#/definitions/
|
846
|
+
"$ref": "#/definitions/hardBreak_node"
|
1046
847
|
},
|
1047
848
|
{
|
1048
|
-
"$ref": "#/definitions/
|
849
|
+
"$ref": "#/definitions/mention_node"
|
1049
850
|
},
|
1050
851
|
{
|
1051
|
-
"$ref": "#/definitions/
|
852
|
+
"$ref": "#/definitions/emoji_node"
|
853
|
+
},
|
854
|
+
{
|
855
|
+
"$ref": "#/definitions/date_node"
|
856
|
+
},
|
857
|
+
{
|
858
|
+
"$ref": "#/definitions/placeholder_node"
|
859
|
+
},
|
860
|
+
{
|
861
|
+
"$ref": "#/definitions/inlineCard_node"
|
862
|
+
},
|
863
|
+
{
|
864
|
+
"$ref": "#/definitions/status_node"
|
865
|
+
},
|
866
|
+
{
|
867
|
+
"$ref": "#/definitions/formatted_text_inline_node"
|
868
|
+
},
|
869
|
+
{
|
870
|
+
"$ref": "#/definitions/code_inline_node"
|
1052
871
|
}
|
1053
872
|
]
|
1054
|
-
}
|
873
|
+
},
|
874
|
+
"minItems": 0
|
1055
875
|
}
|
1056
876
|
},
|
1057
|
-
"
|
1058
|
-
|
1059
|
-
"attrs"
|
1060
|
-
],
|
1061
|
-
"additionalProperties": false
|
877
|
+
"additionalProperties": false,
|
878
|
+
"required": ["type", "content"]
|
1062
879
|
},
|
1063
|
-
"
|
880
|
+
"mediaSingle_caption_node": {
|
881
|
+
"allOf": [
|
882
|
+
{
|
883
|
+
"$ref": "#/definitions/mediaSingle_node"
|
884
|
+
},
|
885
|
+
{
|
886
|
+
"type": "object",
|
887
|
+
"properties": {
|
888
|
+
"content": {
|
889
|
+
"type": "array",
|
890
|
+
"items": [
|
891
|
+
{
|
892
|
+
"$ref": "#/definitions/media_node"
|
893
|
+
},
|
894
|
+
{
|
895
|
+
"$ref": "#/definitions/caption_node"
|
896
|
+
}
|
897
|
+
],
|
898
|
+
"minItems": 1,
|
899
|
+
"maxItems": 2
|
900
|
+
}
|
901
|
+
},
|
902
|
+
"required": ["content"],
|
903
|
+
"additionalProperties": true
|
904
|
+
}
|
905
|
+
]
|
906
|
+
},
|
907
|
+
"mediaSingle_full_node": {
|
908
|
+
"allOf": [
|
909
|
+
{
|
910
|
+
"$ref": "#/definitions/mediaSingle_node"
|
911
|
+
},
|
912
|
+
{
|
913
|
+
"type": "object",
|
914
|
+
"properties": {
|
915
|
+
"content": {
|
916
|
+
"type": "array",
|
917
|
+
"items": {
|
918
|
+
"$ref": "#/definitions/media_node"
|
919
|
+
},
|
920
|
+
"minItems": 1,
|
921
|
+
"maxItems": 1
|
922
|
+
}
|
923
|
+
},
|
924
|
+
"required": ["content"],
|
925
|
+
"additionalProperties": true
|
926
|
+
}
|
927
|
+
]
|
928
|
+
},
|
929
|
+
"inlineExtension_node": {
|
1064
930
|
"type": "object",
|
1065
931
|
"properties": {
|
1066
932
|
"type": {
|
1067
|
-
"enum": [
|
1068
|
-
|
1069
|
-
|
933
|
+
"enum": ["inlineExtension"]
|
934
|
+
},
|
935
|
+
"marks": {
|
936
|
+
"type": "array"
|
1070
937
|
},
|
1071
938
|
"attrs": {
|
1072
939
|
"type": "object",
|
1073
940
|
"properties": {
|
1074
|
-
"
|
1075
|
-
|
1076
|
-
"enum": [
|
1077
|
-
"link",
|
1078
|
-
"file",
|
1079
|
-
"image"
|
1080
|
-
]
|
1081
|
-
},
|
1082
|
-
"id": {
|
1083
|
-
"type": "string",
|
1084
|
-
"minLength": 1
|
1085
|
-
},
|
1086
|
-
"collection": {
|
941
|
+
"extensionKey": {
|
942
|
+
"minLength": 1,
|
1087
943
|
"type": "string"
|
1088
944
|
},
|
1089
|
-
"
|
1090
|
-
"
|
1091
|
-
|
1092
|
-
"width": {
|
1093
|
-
"type": "number"
|
945
|
+
"extensionType": {
|
946
|
+
"minLength": 1,
|
947
|
+
"type": "string"
|
1094
948
|
},
|
1095
|
-
"
|
1096
|
-
|
1097
|
-
"
|
949
|
+
"parameters": {},
|
950
|
+
"text": {
|
951
|
+
"type": "string"
|
1098
952
|
},
|
1099
|
-
"
|
953
|
+
"localId": {
|
954
|
+
"minLength": 1,
|
1100
955
|
"type": "string"
|
1101
956
|
}
|
1102
957
|
},
|
1103
|
-
"
|
1104
|
-
"
|
1105
|
-
"id",
|
1106
|
-
"collection"
|
1107
|
-
]
|
1108
|
-
},
|
1109
|
-
"marks": {
|
1110
|
-
"type": "array",
|
1111
|
-
"items": {
|
1112
|
-
"anyOf": [
|
1113
|
-
{
|
1114
|
-
"$ref": "#/definitions/link_mark"
|
1115
|
-
},
|
1116
|
-
{
|
1117
|
-
"$ref": "#/definitions/annotation_mark"
|
1118
|
-
},
|
1119
|
-
{
|
1120
|
-
"$ref": "#/definitions/border_mark"
|
1121
|
-
}
|
1122
|
-
]
|
1123
|
-
}
|
958
|
+
"required": ["extensionKey", "extensionType"],
|
959
|
+
"additionalProperties": false
|
1124
960
|
}
|
1125
961
|
},
|
1126
|
-
"
|
1127
|
-
|
1128
|
-
"attrs"
|
1129
|
-
],
|
1130
|
-
"additionalProperties": false
|
962
|
+
"additionalProperties": false,
|
963
|
+
"required": ["type", "attrs"]
|
1131
964
|
},
|
1132
|
-
"
|
965
|
+
"inlineExtension_with_marks_node": {
|
1133
966
|
"allOf": [
|
1134
967
|
{
|
1135
|
-
"$ref": "#/definitions/
|
968
|
+
"$ref": "#/definitions/inlineExtension_node"
|
1136
969
|
},
|
1137
970
|
{
|
1138
971
|
"type": "object",
|
@@ -1142,31 +975,10 @@
|
|
1142
975
|
"items": {
|
1143
976
|
"anyOf": [
|
1144
977
|
{
|
1145
|
-
"$ref": "#/definitions/
|
1146
|
-
},
|
1147
|
-
{
|
1148
|
-
"$ref": "#/definitions/strike_mark"
|
1149
|
-
},
|
1150
|
-
{
|
1151
|
-
"$ref": "#/definitions/strong_mark"
|
1152
|
-
},
|
1153
|
-
{
|
1154
|
-
"$ref": "#/definitions/underline_mark"
|
1155
|
-
},
|
1156
|
-
{
|
1157
|
-
"$ref": "#/definitions/link_mark"
|
1158
|
-
},
|
1159
|
-
{
|
1160
|
-
"$ref": "#/definitions/subsup_mark"
|
1161
|
-
},
|
1162
|
-
{
|
1163
|
-
"$ref": "#/definitions/textColor_mark"
|
1164
|
-
},
|
1165
|
-
{
|
1166
|
-
"$ref": "#/definitions/annotation_mark"
|
978
|
+
"$ref": "#/definitions/dataConsumer_mark"
|
1167
979
|
},
|
1168
980
|
{
|
1169
|
-
"$ref": "#/definitions/
|
981
|
+
"$ref": "#/definitions/fragment_mark"
|
1170
982
|
}
|
1171
983
|
]
|
1172
984
|
}
|
@@ -1176,69 +988,145 @@
|
|
1176
988
|
}
|
1177
989
|
]
|
1178
990
|
},
|
1179
|
-
"
|
1180
|
-
"
|
1181
|
-
|
1182
|
-
|
991
|
+
"dataConsumer_mark": {
|
992
|
+
"type": "object",
|
993
|
+
"properties": {
|
994
|
+
"type": {
|
995
|
+
"enum": ["dataConsumer"]
|
1183
996
|
},
|
1184
|
-
{
|
997
|
+
"attrs": {
|
1185
998
|
"type": "object",
|
1186
999
|
"properties": {
|
1187
|
-
"
|
1000
|
+
"sources": {
|
1188
1001
|
"type": "array",
|
1189
1002
|
"items": {
|
1190
|
-
"
|
1191
|
-
|
1192
|
-
|
1193
|
-
},
|
1194
|
-
{
|
1195
|
-
"$ref": "#/definitions/link_mark"
|
1196
|
-
},
|
1197
|
-
{
|
1198
|
-
"$ref": "#/definitions/annotation_mark"
|
1199
|
-
}
|
1200
|
-
]
|
1201
|
-
}
|
1003
|
+
"type": "string"
|
1004
|
+
},
|
1005
|
+
"minItems": 1
|
1202
1006
|
}
|
1203
1007
|
},
|
1204
|
-
"
|
1008
|
+
"required": ["sources"],
|
1009
|
+
"additionalProperties": false
|
1205
1010
|
}
|
1206
|
-
|
1011
|
+
},
|
1012
|
+
"required": ["type", "attrs"],
|
1013
|
+
"additionalProperties": false
|
1014
|
+
},
|
1015
|
+
"fragment_mark": {
|
1016
|
+
"type": "object",
|
1017
|
+
"properties": {
|
1018
|
+
"type": {
|
1019
|
+
"enum": ["fragment"]
|
1020
|
+
},
|
1021
|
+
"attrs": {
|
1022
|
+
"type": "object",
|
1023
|
+
"properties": {
|
1024
|
+
"localId": {
|
1025
|
+
"minLength": 1,
|
1026
|
+
"type": "string"
|
1027
|
+
},
|
1028
|
+
"name": {
|
1029
|
+
"type": "string"
|
1030
|
+
}
|
1031
|
+
},
|
1032
|
+
"required": ["localId"],
|
1033
|
+
"additionalProperties": false
|
1034
|
+
}
|
1035
|
+
},
|
1036
|
+
"required": ["type", "attrs"],
|
1037
|
+
"additionalProperties": false
|
1038
|
+
},
|
1039
|
+
"mediaInline_node": {
|
1040
|
+
"type": "object",
|
1041
|
+
"properties": {
|
1042
|
+
"type": {
|
1043
|
+
"enum": ["mediaInline"]
|
1044
|
+
},
|
1045
|
+
"marks": {
|
1046
|
+
"type": "array",
|
1047
|
+
"items": {
|
1048
|
+
"anyOf": [
|
1049
|
+
{
|
1050
|
+
"$ref": "#/definitions/link_mark"
|
1051
|
+
},
|
1052
|
+
{
|
1053
|
+
"$ref": "#/definitions/annotation_mark"
|
1054
|
+
},
|
1055
|
+
{
|
1056
|
+
"$ref": "#/definitions/border_mark"
|
1057
|
+
}
|
1058
|
+
]
|
1059
|
+
}
|
1060
|
+
},
|
1061
|
+
"attrs": {
|
1062
|
+
"type": "object",
|
1063
|
+
"properties": {
|
1064
|
+
"type": {
|
1065
|
+
"enum": ["link", "file", "image"]
|
1066
|
+
},
|
1067
|
+
"id": {
|
1068
|
+
"minLength": 1,
|
1069
|
+
"type": "string"
|
1070
|
+
},
|
1071
|
+
"alt": {
|
1072
|
+
"type": "string"
|
1073
|
+
},
|
1074
|
+
"collection": {
|
1075
|
+
"type": "string"
|
1076
|
+
},
|
1077
|
+
"occurrenceKey": {
|
1078
|
+
"minLength": 1,
|
1079
|
+
"type": "string"
|
1080
|
+
},
|
1081
|
+
"width": {
|
1082
|
+
"type": "number"
|
1083
|
+
},
|
1084
|
+
"height": {
|
1085
|
+
"type": "number"
|
1086
|
+
},
|
1087
|
+
"data": {}
|
1088
|
+
},
|
1089
|
+
"required": ["id", "collection"],
|
1090
|
+
"additionalProperties": false
|
1091
|
+
}
|
1092
|
+
},
|
1093
|
+
"additionalProperties": false,
|
1094
|
+
"required": ["type", "attrs"]
|
1207
1095
|
},
|
1208
1096
|
"inline_node": {
|
1209
1097
|
"anyOf": [
|
1210
1098
|
{
|
1211
|
-
"$ref": "#/definitions/
|
1099
|
+
"$ref": "#/definitions/formatted_text_inline_node"
|
1100
|
+
},
|
1101
|
+
{
|
1102
|
+
"$ref": "#/definitions/code_inline_node"
|
1212
1103
|
},
|
1213
1104
|
{
|
1214
|
-
"$ref": "#/definitions/
|
1105
|
+
"$ref": "#/definitions/date_node"
|
1215
1106
|
},
|
1216
1107
|
{
|
1217
1108
|
"$ref": "#/definitions/emoji_node"
|
1218
1109
|
},
|
1219
1110
|
{
|
1220
|
-
"$ref": "#/definitions/
|
1111
|
+
"$ref": "#/definitions/hardBreak_node"
|
1221
1112
|
},
|
1222
1113
|
{
|
1223
|
-
"$ref": "#/definitions/
|
1114
|
+
"$ref": "#/definitions/inlineCard_node"
|
1224
1115
|
},
|
1225
1116
|
{
|
1226
|
-
"$ref": "#/definitions/
|
1117
|
+
"$ref": "#/definitions/mention_node"
|
1227
1118
|
},
|
1228
1119
|
{
|
1229
|
-
"$ref": "#/definitions/
|
1120
|
+
"$ref": "#/definitions/placeholder_node"
|
1230
1121
|
},
|
1231
1122
|
{
|
1232
1123
|
"$ref": "#/definitions/status_node"
|
1233
1124
|
},
|
1234
1125
|
{
|
1235
|
-
"$ref": "#/definitions/
|
1236
|
-
},
|
1237
|
-
{
|
1238
|
-
"$ref": "#/definitions/formatted_text_inline_node"
|
1126
|
+
"$ref": "#/definitions/inlineExtension_with_marks_node"
|
1239
1127
|
},
|
1240
1128
|
{
|
1241
|
-
"$ref": "#/definitions/
|
1129
|
+
"$ref": "#/definitions/mediaInline_node"
|
1242
1130
|
}
|
1243
1131
|
]
|
1244
1132
|
},
|
@@ -1246,15 +1134,10 @@
|
|
1246
1134
|
"type": "object",
|
1247
1135
|
"properties": {
|
1248
1136
|
"type": {
|
1249
|
-
"enum": [
|
1250
|
-
"paragraph"
|
1251
|
-
]
|
1137
|
+
"enum": ["paragraph"]
|
1252
1138
|
},
|
1253
|
-
"
|
1254
|
-
"type": "array"
|
1255
|
-
"items": {
|
1256
|
-
"$ref": "#/definitions/inline_node"
|
1257
|
-
}
|
1139
|
+
"marks": {
|
1140
|
+
"type": "array"
|
1258
1141
|
},
|
1259
1142
|
"attrs": {
|
1260
1143
|
"type": "object",
|
@@ -1265,16 +1148,17 @@
|
|
1265
1148
|
},
|
1266
1149
|
"additionalProperties": false
|
1267
1150
|
},
|
1268
|
-
"
|
1269
|
-
"type": "array"
|
1151
|
+
"content": {
|
1152
|
+
"type": "array",
|
1153
|
+
"items": {
|
1154
|
+
"$ref": "#/definitions/inline_node"
|
1155
|
+
}
|
1270
1156
|
}
|
1271
1157
|
},
|
1272
|
-
"
|
1273
|
-
|
1274
|
-
],
|
1275
|
-
"additionalProperties": false
|
1158
|
+
"additionalProperties": false,
|
1159
|
+
"required": ["type"]
|
1276
1160
|
},
|
1277
|
-
"
|
1161
|
+
"paragraph_with_alignment_node": {
|
1278
1162
|
"allOf": [
|
1279
1163
|
{
|
1280
1164
|
"$ref": "#/definitions/paragraph_node"
|
@@ -1284,31 +1168,34 @@
|
|
1284
1168
|
"properties": {
|
1285
1169
|
"marks": {
|
1286
1170
|
"type": "array",
|
1287
|
-
"
|
1171
|
+
"items": {
|
1172
|
+
"$ref": "#/definitions/alignment_mark"
|
1173
|
+
}
|
1288
1174
|
}
|
1289
1175
|
},
|
1290
1176
|
"additionalProperties": true
|
1291
1177
|
}
|
1292
1178
|
]
|
1293
1179
|
},
|
1294
|
-
"
|
1295
|
-
"
|
1296
|
-
|
1297
|
-
|
1180
|
+
"alignment_mark": {
|
1181
|
+
"type": "object",
|
1182
|
+
"properties": {
|
1183
|
+
"type": {
|
1184
|
+
"enum": ["alignment"]
|
1298
1185
|
},
|
1299
|
-
{
|
1186
|
+
"attrs": {
|
1300
1187
|
"type": "object",
|
1301
1188
|
"properties": {
|
1302
|
-
"
|
1303
|
-
"
|
1304
|
-
"items": {
|
1305
|
-
"$ref": "#/definitions/alignment_mark"
|
1306
|
-
}
|
1189
|
+
"align": {
|
1190
|
+
"enum": ["center", "end"]
|
1307
1191
|
}
|
1308
1192
|
},
|
1309
|
-
"
|
1193
|
+
"required": ["align"],
|
1194
|
+
"additionalProperties": false
|
1310
1195
|
}
|
1311
|
-
|
1196
|
+
},
|
1197
|
+
"required": ["type", "attrs"],
|
1198
|
+
"additionalProperties": false
|
1312
1199
|
},
|
1313
1200
|
"paragraph_with_indentation_node": {
|
1314
1201
|
"allOf": [
|
@@ -1329,190 +1216,41 @@
|
|
1329
1216
|
}
|
1330
1217
|
]
|
1331
1218
|
},
|
1332
|
-
"
|
1333
|
-
"type": "object",
|
1334
|
-
"properties": {
|
1335
|
-
"type": {
|
1336
|
-
"enum": [
|
1337
|
-
"caption"
|
1338
|
-
]
|
1339
|
-
},
|
1340
|
-
"content": {
|
1341
|
-
"type": "array",
|
1342
|
-
"items": {
|
1343
|
-
"anyOf": [
|
1344
|
-
{
|
1345
|
-
"$ref": "#/definitions/hardBreak_node"
|
1346
|
-
},
|
1347
|
-
{
|
1348
|
-
"$ref": "#/definitions/mention_node"
|
1349
|
-
},
|
1350
|
-
{
|
1351
|
-
"$ref": "#/definitions/emoji_node"
|
1352
|
-
},
|
1353
|
-
{
|
1354
|
-
"$ref": "#/definitions/date_node"
|
1355
|
-
},
|
1356
|
-
{
|
1357
|
-
"$ref": "#/definitions/placeholder_node"
|
1358
|
-
},
|
1359
|
-
{
|
1360
|
-
"$ref": "#/definitions/inlineCard_node"
|
1361
|
-
},
|
1362
|
-
{
|
1363
|
-
"$ref": "#/definitions/status_node"
|
1364
|
-
},
|
1365
|
-
{
|
1366
|
-
"$ref": "#/definitions/formatted_text_inline_node"
|
1367
|
-
},
|
1368
|
-
{
|
1369
|
-
"$ref": "#/definitions/code_inline_node"
|
1370
|
-
}
|
1371
|
-
]
|
1372
|
-
},
|
1373
|
-
"minItems": 0
|
1374
|
-
}
|
1375
|
-
},
|
1376
|
-
"required": [
|
1377
|
-
"type",
|
1378
|
-
"content"
|
1379
|
-
],
|
1380
|
-
"additionalProperties": false
|
1381
|
-
},
|
1382
|
-
"mediaSingle_node": {
|
1219
|
+
"indentation_mark": {
|
1383
1220
|
"type": "object",
|
1384
1221
|
"properties": {
|
1385
1222
|
"type": {
|
1386
|
-
"enum": [
|
1387
|
-
"mediaSingle"
|
1388
|
-
]
|
1223
|
+
"enum": ["indentation"]
|
1389
1224
|
},
|
1390
1225
|
"attrs": {
|
1391
|
-
"anyOf": [
|
1392
|
-
{
|
1393
|
-
"type": "object",
|
1394
|
-
"properties": {
|
1395
|
-
"widthType": {
|
1396
|
-
"enum": [
|
1397
|
-
"percentage"
|
1398
|
-
]
|
1399
|
-
},
|
1400
|
-
"width": {
|
1401
|
-
"type": "number",
|
1402
|
-
"minimum": 0,
|
1403
|
-
"maximum": 100
|
1404
|
-
},
|
1405
|
-
"layout": {
|
1406
|
-
"enum": [
|
1407
|
-
"wide",
|
1408
|
-
"full-width",
|
1409
|
-
"center",
|
1410
|
-
"wrap-right",
|
1411
|
-
"wrap-left",
|
1412
|
-
"align-end",
|
1413
|
-
"align-start"
|
1414
|
-
]
|
1415
|
-
}
|
1416
|
-
},
|
1417
|
-
"additionalProperties": false,
|
1418
|
-
"required": [
|
1419
|
-
"layout"
|
1420
|
-
]
|
1421
|
-
},
|
1422
|
-
{
|
1423
|
-
"type": "object",
|
1424
|
-
"properties": {
|
1425
|
-
"width": {
|
1426
|
-
"type": "number",
|
1427
|
-
"minimum": 0
|
1428
|
-
},
|
1429
|
-
"widthType": {
|
1430
|
-
"enum": [
|
1431
|
-
"pixel"
|
1432
|
-
]
|
1433
|
-
},
|
1434
|
-
"layout": {
|
1435
|
-
"enum": [
|
1436
|
-
"wide",
|
1437
|
-
"full-width",
|
1438
|
-
"center",
|
1439
|
-
"wrap-right",
|
1440
|
-
"wrap-left",
|
1441
|
-
"align-end",
|
1442
|
-
"align-start"
|
1443
|
-
]
|
1444
|
-
}
|
1445
|
-
},
|
1446
|
-
"required": [
|
1447
|
-
"width",
|
1448
|
-
"widthType",
|
1449
|
-
"layout"
|
1450
|
-
],
|
1451
|
-
"additionalProperties": false
|
1452
|
-
}
|
1453
|
-
]
|
1454
|
-
},
|
1455
|
-
"marks": {
|
1456
|
-
"type": "array",
|
1457
|
-
"items": {
|
1458
|
-
"$ref": "#/definitions/link_mark"
|
1459
|
-
}
|
1460
|
-
}
|
1461
|
-
},
|
1462
|
-
"required": [
|
1463
|
-
"type"
|
1464
|
-
],
|
1465
|
-
"additionalProperties": true
|
1466
|
-
},
|
1467
|
-
"mediaSingle_caption_node": {
|
1468
|
-
"allOf": [
|
1469
|
-
{
|
1470
|
-
"$ref": "#/definitions/mediaSingle_node"
|
1471
|
-
},
|
1472
|
-
{
|
1473
1226
|
"type": "object",
|
1474
1227
|
"properties": {
|
1475
|
-
"
|
1476
|
-
"type": "
|
1477
|
-
"
|
1478
|
-
|
1479
|
-
"$ref": "#/definitions/media_node"
|
1480
|
-
},
|
1481
|
-
{
|
1482
|
-
"$ref": "#/definitions/caption_node"
|
1483
|
-
}
|
1484
|
-
],
|
1485
|
-
"minItems": 1,
|
1486
|
-
"maxItems": 2
|
1228
|
+
"level": {
|
1229
|
+
"type": "number",
|
1230
|
+
"minimum": 1,
|
1231
|
+
"maximum": 6
|
1487
1232
|
}
|
1488
1233
|
},
|
1489
|
-
"required": [
|
1490
|
-
|
1491
|
-
],
|
1492
|
-
"additionalProperties": true
|
1234
|
+
"required": ["level"],
|
1235
|
+
"additionalProperties": false
|
1493
1236
|
}
|
1494
|
-
|
1237
|
+
},
|
1238
|
+
"required": ["type", "attrs"],
|
1239
|
+
"additionalProperties": false
|
1495
1240
|
},
|
1496
|
-
"
|
1241
|
+
"paragraph_with_no_marks_node": {
|
1497
1242
|
"allOf": [
|
1498
1243
|
{
|
1499
|
-
"$ref": "#/definitions/
|
1244
|
+
"$ref": "#/definitions/paragraph_node"
|
1500
1245
|
},
|
1501
1246
|
{
|
1502
1247
|
"type": "object",
|
1503
1248
|
"properties": {
|
1504
|
-
"
|
1249
|
+
"marks": {
|
1505
1250
|
"type": "array",
|
1506
|
-
"
|
1507
|
-
"$ref": "#/definitions/media_node"
|
1508
|
-
},
|
1509
|
-
"minItems": 1,
|
1510
|
-
"maxItems": 1
|
1251
|
+
"maxItems": 0
|
1511
1252
|
}
|
1512
1253
|
},
|
1513
|
-
"required": [
|
1514
|
-
"content"
|
1515
|
-
],
|
1516
1254
|
"additionalProperties": true
|
1517
1255
|
}
|
1518
1256
|
]
|
@@ -1521,15 +1259,7 @@
|
|
1521
1259
|
"type": "object",
|
1522
1260
|
"properties": {
|
1523
1261
|
"type": {
|
1524
|
-
"enum": [
|
1525
|
-
"taskItem"
|
1526
|
-
]
|
1527
|
-
},
|
1528
|
-
"content": {
|
1529
|
-
"type": "array",
|
1530
|
-
"items": {
|
1531
|
-
"$ref": "#/definitions/inline_node"
|
1532
|
-
}
|
1262
|
+
"enum": ["taskItem"]
|
1533
1263
|
},
|
1534
1264
|
"attrs": {
|
1535
1265
|
"type": "object",
|
@@ -1538,32 +1268,37 @@
|
|
1538
1268
|
"type": "string"
|
1539
1269
|
},
|
1540
1270
|
"state": {
|
1541
|
-
"enum": [
|
1542
|
-
"TODO",
|
1543
|
-
"DONE"
|
1544
|
-
]
|
1271
|
+
"enum": ["TODO", "DONE"]
|
1545
1272
|
}
|
1546
1273
|
},
|
1547
|
-
"required": [
|
1548
|
-
"localId",
|
1549
|
-
"state"
|
1550
|
-
],
|
1274
|
+
"required": ["localId", "state"],
|
1551
1275
|
"additionalProperties": false
|
1276
|
+
},
|
1277
|
+
"content": {
|
1278
|
+
"type": "array",
|
1279
|
+
"items": {
|
1280
|
+
"$ref": "#/definitions/inline_node"
|
1281
|
+
}
|
1552
1282
|
}
|
1553
1283
|
},
|
1554
|
-
"
|
1555
|
-
|
1556
|
-
"attrs"
|
1557
|
-
],
|
1558
|
-
"additionalProperties": false
|
1284
|
+
"additionalProperties": false,
|
1285
|
+
"required": ["type", "attrs"]
|
1559
1286
|
},
|
1560
1287
|
"taskList_node": {
|
1561
1288
|
"type": "object",
|
1562
1289
|
"properties": {
|
1563
1290
|
"type": {
|
1564
|
-
"enum": [
|
1565
|
-
|
1566
|
-
|
1291
|
+
"enum": ["taskList"]
|
1292
|
+
},
|
1293
|
+
"attrs": {
|
1294
|
+
"type": "object",
|
1295
|
+
"properties": {
|
1296
|
+
"localId": {
|
1297
|
+
"type": "string"
|
1298
|
+
}
|
1299
|
+
},
|
1300
|
+
"required": ["localId"],
|
1301
|
+
"additionalProperties": false
|
1567
1302
|
},
|
1568
1303
|
"content": {
|
1569
1304
|
"type": "array",
|
@@ -1583,43 +1318,39 @@
|
|
1583
1318
|
}
|
1584
1319
|
],
|
1585
1320
|
"minItems": 1
|
1321
|
+
}
|
1322
|
+
},
|
1323
|
+
"additionalProperties": false,
|
1324
|
+
"required": ["type", "attrs", "content"]
|
1325
|
+
},
|
1326
|
+
"bulletList_node": {
|
1327
|
+
"type": "object",
|
1328
|
+
"properties": {
|
1329
|
+
"type": {
|
1330
|
+
"enum": ["bulletList"]
|
1586
1331
|
},
|
1587
|
-
"
|
1588
|
-
"type": "
|
1589
|
-
"
|
1590
|
-
"
|
1591
|
-
"type": "string"
|
1592
|
-
}
|
1332
|
+
"content": {
|
1333
|
+
"type": "array",
|
1334
|
+
"items": {
|
1335
|
+
"$ref": "#/definitions/listItem_node"
|
1593
1336
|
},
|
1594
|
-
"
|
1595
|
-
"localId"
|
1596
|
-
],
|
1597
|
-
"additionalProperties": false
|
1337
|
+
"minItems": 1
|
1598
1338
|
}
|
1599
1339
|
},
|
1600
|
-
"
|
1601
|
-
|
1602
|
-
"content",
|
1603
|
-
"attrs"
|
1604
|
-
],
|
1605
|
-
"additionalProperties": false
|
1340
|
+
"additionalProperties": false,
|
1341
|
+
"required": ["type", "content"]
|
1606
1342
|
},
|
1607
1343
|
"listItem_node": {
|
1608
1344
|
"type": "object",
|
1609
1345
|
"properties": {
|
1610
1346
|
"type": {
|
1611
|
-
"enum": [
|
1612
|
-
"listItem"
|
1613
|
-
]
|
1347
|
+
"enum": ["listItem"]
|
1614
1348
|
},
|
1615
1349
|
"content": {
|
1616
1350
|
"type": "array",
|
1617
1351
|
"items": [
|
1618
1352
|
{
|
1619
1353
|
"anyOf": [
|
1620
|
-
{
|
1621
|
-
"$ref": "#/definitions/codeBlock_with_no_marks_node"
|
1622
|
-
},
|
1623
1354
|
{
|
1624
1355
|
"$ref": "#/definitions/paragraph_with_no_marks_node"
|
1625
1356
|
},
|
@@ -1628,31 +1359,34 @@
|
|
1628
1359
|
},
|
1629
1360
|
{
|
1630
1361
|
"$ref": "#/definitions/mediaSingle_full_node"
|
1362
|
+
},
|
1363
|
+
{
|
1364
|
+
"$ref": "#/definitions/codeBlock_with_no_marks_node"
|
1631
1365
|
}
|
1632
1366
|
]
|
1633
1367
|
},
|
1634
1368
|
{
|
1635
1369
|
"anyOf": [
|
1636
|
-
{
|
1637
|
-
"$ref": "#/definitions/codeBlock_with_no_marks_node"
|
1638
|
-
},
|
1639
1370
|
{
|
1640
1371
|
"$ref": "#/definitions/paragraph_with_no_marks_node"
|
1641
1372
|
},
|
1642
1373
|
{
|
1643
|
-
"$ref": "#/definitions/
|
1374
|
+
"$ref": "#/definitions/bulletList_node"
|
1644
1375
|
},
|
1645
1376
|
{
|
1646
|
-
"$ref": "#/definitions/
|
1377
|
+
"$ref": "#/definitions/orderedList_node"
|
1647
1378
|
},
|
1648
1379
|
{
|
1649
1380
|
"$ref": "#/definitions/taskList_node"
|
1650
1381
|
},
|
1651
1382
|
{
|
1652
|
-
"$ref": "#/definitions/
|
1383
|
+
"$ref": "#/definitions/mediaSingle_caption_node"
|
1653
1384
|
},
|
1654
1385
|
{
|
1655
|
-
"$ref": "#/definitions/
|
1386
|
+
"$ref": "#/definitions/mediaSingle_full_node"
|
1387
|
+
},
|
1388
|
+
{
|
1389
|
+
"$ref": "#/definitions/codeBlock_with_no_marks_node"
|
1656
1390
|
}
|
1657
1391
|
]
|
1658
1392
|
}
|
@@ -1660,19 +1394,24 @@
|
|
1660
1394
|
"minItems": 1
|
1661
1395
|
}
|
1662
1396
|
},
|
1663
|
-
"
|
1664
|
-
|
1665
|
-
"content"
|
1666
|
-
],
|
1667
|
-
"additionalProperties": false
|
1397
|
+
"additionalProperties": false,
|
1398
|
+
"required": ["type", "content"]
|
1668
1399
|
},
|
1669
|
-
"
|
1400
|
+
"orderedList_node": {
|
1670
1401
|
"type": "object",
|
1671
1402
|
"properties": {
|
1672
1403
|
"type": {
|
1673
|
-
"enum": [
|
1674
|
-
|
1675
|
-
|
1404
|
+
"enum": ["orderedList"]
|
1405
|
+
},
|
1406
|
+
"attrs": {
|
1407
|
+
"type": "object",
|
1408
|
+
"properties": {
|
1409
|
+
"order": {
|
1410
|
+
"type": "number",
|
1411
|
+
"minimum": 0
|
1412
|
+
}
|
1413
|
+
},
|
1414
|
+
"additionalProperties": false
|
1676
1415
|
},
|
1677
1416
|
"content": {
|
1678
1417
|
"type": "array",
|
@@ -1682,57 +1421,139 @@
|
|
1682
1421
|
"minItems": 1
|
1683
1422
|
}
|
1684
1423
|
},
|
1685
|
-
"
|
1686
|
-
|
1687
|
-
"content"
|
1688
|
-
],
|
1689
|
-
"additionalProperties": false
|
1424
|
+
"additionalProperties": false,
|
1425
|
+
"required": ["type", "content"]
|
1690
1426
|
},
|
1691
|
-
"
|
1427
|
+
"blockquote_node": {
|
1692
1428
|
"type": "object",
|
1693
1429
|
"properties": {
|
1694
1430
|
"type": {
|
1695
|
-
"enum": [
|
1696
|
-
"orderedList"
|
1697
|
-
]
|
1431
|
+
"enum": ["blockquote"]
|
1698
1432
|
},
|
1699
1433
|
"content": {
|
1700
1434
|
"type": "array",
|
1701
1435
|
"items": {
|
1702
|
-
"
|
1436
|
+
"anyOf": [
|
1437
|
+
{
|
1438
|
+
"$ref": "#/definitions/paragraph_with_no_marks_node"
|
1439
|
+
},
|
1440
|
+
{
|
1441
|
+
"$ref": "#/definitions/orderedList_node"
|
1442
|
+
},
|
1443
|
+
{
|
1444
|
+
"$ref": "#/definitions/bulletList_node"
|
1445
|
+
}
|
1446
|
+
]
|
1703
1447
|
},
|
1704
1448
|
"minItems": 1
|
1449
|
+
}
|
1450
|
+
},
|
1451
|
+
"additionalProperties": false,
|
1452
|
+
"required": ["type", "content"]
|
1453
|
+
},
|
1454
|
+
"decisionItem_node": {
|
1455
|
+
"type": "object",
|
1456
|
+
"properties": {
|
1457
|
+
"type": {
|
1458
|
+
"enum": ["decisionItem"]
|
1705
1459
|
},
|
1706
1460
|
"attrs": {
|
1707
1461
|
"type": "object",
|
1708
1462
|
"properties": {
|
1709
|
-
"
|
1710
|
-
"type": "
|
1711
|
-
|
1463
|
+
"localId": {
|
1464
|
+
"type": "string"
|
1465
|
+
},
|
1466
|
+
"state": {
|
1467
|
+
"type": "string"
|
1712
1468
|
}
|
1713
1469
|
},
|
1470
|
+
"required": ["localId", "state"],
|
1714
1471
|
"additionalProperties": false
|
1472
|
+
},
|
1473
|
+
"content": {
|
1474
|
+
"type": "array",
|
1475
|
+
"items": {
|
1476
|
+
"$ref": "#/definitions/inline_node"
|
1477
|
+
}
|
1715
1478
|
}
|
1716
1479
|
},
|
1717
|
-
"
|
1718
|
-
|
1719
|
-
"content"
|
1720
|
-
],
|
1721
|
-
"additionalProperties": false
|
1480
|
+
"additionalProperties": false,
|
1481
|
+
"required": ["type", "attrs"]
|
1722
1482
|
},
|
1723
|
-
"
|
1483
|
+
"decisionList_node": {
|
1724
1484
|
"type": "object",
|
1725
1485
|
"properties": {
|
1726
1486
|
"type": {
|
1727
|
-
"enum": [
|
1728
|
-
|
1729
|
-
|
1487
|
+
"enum": ["decisionList"]
|
1488
|
+
},
|
1489
|
+
"attrs": {
|
1490
|
+
"type": "object",
|
1491
|
+
"properties": {
|
1492
|
+
"localId": {
|
1493
|
+
"type": "string"
|
1494
|
+
}
|
1495
|
+
},
|
1496
|
+
"required": ["localId"],
|
1497
|
+
"additionalProperties": false
|
1730
1498
|
},
|
1731
1499
|
"content": {
|
1732
1500
|
"type": "array",
|
1733
1501
|
"items": {
|
1734
|
-
"$ref": "#/definitions/
|
1735
|
-
}
|
1502
|
+
"$ref": "#/definitions/decisionItem_node"
|
1503
|
+
},
|
1504
|
+
"minItems": 1
|
1505
|
+
}
|
1506
|
+
},
|
1507
|
+
"additionalProperties": false,
|
1508
|
+
"required": ["type", "attrs", "content"]
|
1509
|
+
},
|
1510
|
+
"embedCard_node": {
|
1511
|
+
"type": "object",
|
1512
|
+
"properties": {
|
1513
|
+
"type": {
|
1514
|
+
"enum": ["embedCard"]
|
1515
|
+
},
|
1516
|
+
"attrs": {
|
1517
|
+
"type": "object",
|
1518
|
+
"properties": {
|
1519
|
+
"url": {
|
1520
|
+
"type": "string"
|
1521
|
+
},
|
1522
|
+
"layout": {
|
1523
|
+
"enum": [
|
1524
|
+
"wide",
|
1525
|
+
"full-width",
|
1526
|
+
"center",
|
1527
|
+
"wrap-right",
|
1528
|
+
"wrap-left",
|
1529
|
+
"align-end",
|
1530
|
+
"align-start"
|
1531
|
+
]
|
1532
|
+
},
|
1533
|
+
"width": {
|
1534
|
+
"type": "number",
|
1535
|
+
"maximum": 100,
|
1536
|
+
"minimum": 0
|
1537
|
+
},
|
1538
|
+
"originalHeight": {
|
1539
|
+
"type": "number"
|
1540
|
+
},
|
1541
|
+
"originalWidth": {
|
1542
|
+
"type": "number"
|
1543
|
+
}
|
1544
|
+
},
|
1545
|
+
"required": ["url", "layout"],
|
1546
|
+
"additionalProperties": false
|
1547
|
+
}
|
1548
|
+
},
|
1549
|
+
"additionalProperties": false,
|
1550
|
+
"required": ["type", "attrs"]
|
1551
|
+
},
|
1552
|
+
"extension_node": {
|
1553
|
+
"type": "object",
|
1554
|
+
"properties": {
|
1555
|
+
"type": {
|
1556
|
+
"enum": ["extension"]
|
1736
1557
|
},
|
1737
1558
|
"marks": {
|
1738
1559
|
"type": "array"
|
@@ -1740,45 +1561,94 @@
|
|
1740
1561
|
"attrs": {
|
1741
1562
|
"type": "object",
|
1742
1563
|
"properties": {
|
1743
|
-
"
|
1744
|
-
"
|
1745
|
-
"
|
1746
|
-
|
1564
|
+
"extensionKey": {
|
1565
|
+
"minLength": 1,
|
1566
|
+
"type": "string"
|
1567
|
+
},
|
1568
|
+
"extensionType": {
|
1569
|
+
"minLength": 1,
|
1570
|
+
"type": "string"
|
1571
|
+
},
|
1572
|
+
"parameters": {},
|
1573
|
+
"text": {
|
1574
|
+
"type": "string"
|
1575
|
+
},
|
1576
|
+
"layout": {
|
1577
|
+
"enum": ["wide", "full-width", "default"]
|
1747
1578
|
},
|
1748
1579
|
"localId": {
|
1580
|
+
"minLength": 1,
|
1749
1581
|
"type": "string"
|
1750
1582
|
}
|
1751
1583
|
},
|
1752
|
-
"required": [
|
1753
|
-
"level"
|
1754
|
-
],
|
1584
|
+
"required": ["extensionKey", "extensionType"],
|
1755
1585
|
"additionalProperties": false
|
1756
1586
|
}
|
1757
1587
|
},
|
1758
|
-
"
|
1759
|
-
|
1760
|
-
"attrs"
|
1761
|
-
],
|
1762
|
-
"additionalProperties": false
|
1588
|
+
"additionalProperties": false,
|
1589
|
+
"required": ["type", "attrs"]
|
1763
1590
|
},
|
1764
|
-
"
|
1591
|
+
"extension_with_marks_node": {
|
1765
1592
|
"allOf": [
|
1766
1593
|
{
|
1767
|
-
"$ref": "#/definitions/
|
1594
|
+
"$ref": "#/definitions/extension_node"
|
1768
1595
|
},
|
1769
1596
|
{
|
1770
1597
|
"type": "object",
|
1771
1598
|
"properties": {
|
1772
1599
|
"marks": {
|
1773
1600
|
"type": "array",
|
1774
|
-
"
|
1601
|
+
"items": {
|
1602
|
+
"anyOf": [
|
1603
|
+
{
|
1604
|
+
"$ref": "#/definitions/dataConsumer_mark"
|
1605
|
+
},
|
1606
|
+
{
|
1607
|
+
"$ref": "#/definitions/fragment_mark"
|
1608
|
+
}
|
1609
|
+
]
|
1610
|
+
}
|
1775
1611
|
}
|
1776
1612
|
},
|
1777
1613
|
"additionalProperties": true
|
1778
1614
|
}
|
1779
1615
|
]
|
1780
1616
|
},
|
1781
|
-
"
|
1617
|
+
"heading_node": {
|
1618
|
+
"type": "object",
|
1619
|
+
"properties": {
|
1620
|
+
"type": {
|
1621
|
+
"enum": ["heading"]
|
1622
|
+
},
|
1623
|
+
"marks": {
|
1624
|
+
"type": "array"
|
1625
|
+
},
|
1626
|
+
"attrs": {
|
1627
|
+
"type": "object",
|
1628
|
+
"properties": {
|
1629
|
+
"level": {
|
1630
|
+
"type": "number",
|
1631
|
+
"minimum": 1,
|
1632
|
+
"maximum": 6
|
1633
|
+
},
|
1634
|
+
"localId": {
|
1635
|
+
"type": "string"
|
1636
|
+
}
|
1637
|
+
},
|
1638
|
+
"required": ["level"],
|
1639
|
+
"additionalProperties": false
|
1640
|
+
},
|
1641
|
+
"content": {
|
1642
|
+
"type": "array",
|
1643
|
+
"items": {
|
1644
|
+
"$ref": "#/definitions/inline_node"
|
1645
|
+
}
|
1646
|
+
}
|
1647
|
+
},
|
1648
|
+
"additionalProperties": false,
|
1649
|
+
"required": ["type", "attrs"]
|
1650
|
+
},
|
1651
|
+
"heading_with_indentation_node": {
|
1782
1652
|
"allOf": [
|
1783
1653
|
{
|
1784
1654
|
"$ref": "#/definitions/heading_node"
|
@@ -1789,7 +1659,7 @@
|
|
1789
1659
|
"marks": {
|
1790
1660
|
"type": "array",
|
1791
1661
|
"items": {
|
1792
|
-
"$ref": "#/definitions/
|
1662
|
+
"$ref": "#/definitions/indentation_mark"
|
1793
1663
|
}
|
1794
1664
|
}
|
1795
1665
|
},
|
@@ -1797,7 +1667,7 @@
|
|
1797
1667
|
}
|
1798
1668
|
]
|
1799
1669
|
},
|
1800
|
-
"
|
1670
|
+
"heading_with_no_marks_node": {
|
1801
1671
|
"allOf": [
|
1802
1672
|
{
|
1803
1673
|
"$ref": "#/definitions/heading_node"
|
@@ -1807,130 +1677,64 @@
|
|
1807
1677
|
"properties": {
|
1808
1678
|
"marks": {
|
1809
1679
|
"type": "array",
|
1810
|
-
"
|
1811
|
-
"$ref": "#/definitions/indentation_mark"
|
1812
|
-
}
|
1680
|
+
"maxItems": 0
|
1813
1681
|
}
|
1814
1682
|
},
|
1815
1683
|
"additionalProperties": true
|
1816
1684
|
}
|
1817
1685
|
]
|
1818
1686
|
},
|
1819
|
-
"
|
1820
|
-
"
|
1821
|
-
|
1822
|
-
|
1823
|
-
"enum": [
|
1824
|
-
"mediaGroup"
|
1825
|
-
]
|
1826
|
-
},
|
1827
|
-
"content": {
|
1828
|
-
"type": "array",
|
1829
|
-
"items": {
|
1830
|
-
"$ref": "#/definitions/media_node"
|
1831
|
-
},
|
1832
|
-
"minItems": 1
|
1833
|
-
}
|
1834
|
-
},
|
1835
|
-
"required": [
|
1836
|
-
"type",
|
1837
|
-
"content"
|
1838
|
-
],
|
1839
|
-
"additionalProperties": false
|
1840
|
-
},
|
1841
|
-
"decisionItem_node": {
|
1842
|
-
"type": "object",
|
1843
|
-
"properties": {
|
1844
|
-
"type": {
|
1845
|
-
"enum": [
|
1846
|
-
"decisionItem"
|
1847
|
-
]
|
1848
|
-
},
|
1849
|
-
"content": {
|
1850
|
-
"type": "array",
|
1851
|
-
"items": {
|
1852
|
-
"$ref": "#/definitions/inline_node"
|
1853
|
-
}
|
1687
|
+
"heading_with_alignment_node": {
|
1688
|
+
"allOf": [
|
1689
|
+
{
|
1690
|
+
"$ref": "#/definitions/heading_node"
|
1854
1691
|
},
|
1855
|
-
|
1692
|
+
{
|
1856
1693
|
"type": "object",
|
1857
1694
|
"properties": {
|
1858
|
-
"
|
1859
|
-
"type": "
|
1860
|
-
|
1861
|
-
|
1862
|
-
|
1695
|
+
"marks": {
|
1696
|
+
"type": "array",
|
1697
|
+
"items": {
|
1698
|
+
"$ref": "#/definitions/alignment_mark"
|
1699
|
+
}
|
1863
1700
|
}
|
1864
1701
|
},
|
1865
|
-
"
|
1866
|
-
"localId",
|
1867
|
-
"state"
|
1868
|
-
],
|
1869
|
-
"additionalProperties": false
|
1702
|
+
"additionalProperties": true
|
1870
1703
|
}
|
1871
|
-
|
1872
|
-
"required": [
|
1873
|
-
"type",
|
1874
|
-
"attrs"
|
1875
|
-
],
|
1876
|
-
"additionalProperties": false
|
1704
|
+
]
|
1877
1705
|
},
|
1878
|
-
"
|
1706
|
+
"mediaGroup_node": {
|
1879
1707
|
"type": "object",
|
1880
1708
|
"properties": {
|
1881
1709
|
"type": {
|
1882
|
-
"enum": [
|
1883
|
-
"decisionList"
|
1884
|
-
]
|
1710
|
+
"enum": ["mediaGroup"]
|
1885
1711
|
},
|
1886
1712
|
"content": {
|
1887
1713
|
"type": "array",
|
1888
1714
|
"items": {
|
1889
|
-
"$ref": "#/definitions/
|
1715
|
+
"$ref": "#/definitions/media_node"
|
1890
1716
|
},
|
1891
1717
|
"minItems": 1
|
1892
|
-
},
|
1893
|
-
"attrs": {
|
1894
|
-
"type": "object",
|
1895
|
-
"properties": {
|
1896
|
-
"localId": {
|
1897
|
-
"type": "string"
|
1898
|
-
}
|
1899
|
-
},
|
1900
|
-
"required": [
|
1901
|
-
"localId"
|
1902
|
-
],
|
1903
|
-
"additionalProperties": false
|
1904
1718
|
}
|
1905
1719
|
},
|
1906
|
-
"
|
1907
|
-
|
1908
|
-
"content",
|
1909
|
-
"attrs"
|
1910
|
-
],
|
1911
|
-
"additionalProperties": false
|
1720
|
+
"additionalProperties": false,
|
1721
|
+
"required": ["type", "content"]
|
1912
1722
|
},
|
1913
1723
|
"rule_node": {
|
1914
1724
|
"type": "object",
|
1915
1725
|
"properties": {
|
1916
1726
|
"type": {
|
1917
|
-
"enum": [
|
1918
|
-
"rule"
|
1919
|
-
]
|
1727
|
+
"enum": ["rule"]
|
1920
1728
|
}
|
1921
1729
|
},
|
1922
|
-
"
|
1923
|
-
|
1924
|
-
],
|
1925
|
-
"additionalProperties": false
|
1730
|
+
"additionalProperties": false,
|
1731
|
+
"required": ["type"]
|
1926
1732
|
},
|
1927
1733
|
"panel_node": {
|
1928
1734
|
"type": "object",
|
1929
1735
|
"properties": {
|
1930
1736
|
"type": {
|
1931
|
-
"enum": [
|
1932
|
-
"panel"
|
1933
|
-
]
|
1737
|
+
"enum": ["panel"]
|
1934
1738
|
},
|
1935
1739
|
"attrs": {
|
1936
1740
|
"type": "object",
|
@@ -1959,32 +1763,18 @@
|
|
1959
1763
|
"type": "string"
|
1960
1764
|
}
|
1961
1765
|
},
|
1962
|
-
"required": [
|
1963
|
-
"panelType"
|
1964
|
-
],
|
1766
|
+
"required": ["panelType"],
|
1965
1767
|
"additionalProperties": false
|
1966
1768
|
},
|
1967
1769
|
"content": {
|
1968
1770
|
"type": "array",
|
1969
1771
|
"items": {
|
1970
1772
|
"anyOf": [
|
1971
|
-
{
|
1972
|
-
"$ref": "#/definitions/codeBlock_with_no_marks_node"
|
1973
|
-
},
|
1974
|
-
{
|
1975
|
-
"$ref": "#/definitions/blockCard_node"
|
1976
|
-
},
|
1977
1773
|
{
|
1978
1774
|
"$ref": "#/definitions/paragraph_with_no_marks_node"
|
1979
1775
|
},
|
1980
1776
|
{
|
1981
|
-
"$ref": "#/definitions/
|
1982
|
-
},
|
1983
|
-
{
|
1984
|
-
"$ref": "#/definitions/mediaSingle_full_node"
|
1985
|
-
},
|
1986
|
-
{
|
1987
|
-
"$ref": "#/definitions/taskList_node"
|
1777
|
+
"$ref": "#/definitions/heading_with_no_marks_node"
|
1988
1778
|
},
|
1989
1779
|
{
|
1990
1780
|
"$ref": "#/definitions/bulletList_node"
|
@@ -1993,197 +1783,46 @@
|
|
1993
1783
|
"$ref": "#/definitions/orderedList_node"
|
1994
1784
|
},
|
1995
1785
|
{
|
1996
|
-
"$ref": "#/definitions/
|
1786
|
+
"$ref": "#/definitions/blockCard_node"
|
1997
1787
|
},
|
1998
1788
|
{
|
1999
1789
|
"$ref": "#/definitions/mediaGroup_node"
|
2000
1790
|
},
|
2001
1791
|
{
|
2002
|
-
"$ref": "#/definitions/
|
1792
|
+
"$ref": "#/definitions/mediaSingle_caption_node"
|
2003
1793
|
},
|
2004
1794
|
{
|
2005
|
-
"$ref": "#/definitions/
|
2006
|
-
}
|
2007
|
-
]
|
2008
|
-
},
|
2009
|
-
"minItems": 1
|
2010
|
-
}
|
2011
|
-
},
|
2012
|
-
"required": [
|
2013
|
-
"type",
|
2014
|
-
"attrs",
|
2015
|
-
"content"
|
2016
|
-
],
|
2017
|
-
"additionalProperties": false
|
2018
|
-
},
|
2019
|
-
"blockquote_node": {
|
2020
|
-
"type": "object",
|
2021
|
-
"properties": {
|
2022
|
-
"type": {
|
2023
|
-
"enum": [
|
2024
|
-
"blockquote"
|
2025
|
-
]
|
2026
|
-
},
|
2027
|
-
"content": {
|
2028
|
-
"type": "array",
|
2029
|
-
"items": {
|
2030
|
-
"anyOf": [
|
1795
|
+
"$ref": "#/definitions/mediaSingle_full_node"
|
1796
|
+
},
|
2031
1797
|
{
|
2032
|
-
"$ref": "#/definitions/
|
1798
|
+
"$ref": "#/definitions/codeBlock_with_no_marks_node"
|
2033
1799
|
},
|
2034
1800
|
{
|
2035
|
-
"$ref": "#/definitions/
|
1801
|
+
"$ref": "#/definitions/taskList_node"
|
2036
1802
|
},
|
2037
1803
|
{
|
2038
|
-
"$ref": "#/definitions/
|
1804
|
+
"$ref": "#/definitions/rule_node"
|
1805
|
+
},
|
1806
|
+
{
|
1807
|
+
"$ref": "#/definitions/decisionList_node"
|
2039
1808
|
}
|
2040
1809
|
]
|
2041
1810
|
},
|
2042
1811
|
"minItems": 1
|
2043
1812
|
}
|
2044
1813
|
},
|
2045
|
-
"
|
2046
|
-
|
2047
|
-
"content"
|
2048
|
-
],
|
2049
|
-
"additionalProperties": false
|
2050
|
-
},
|
2051
|
-
"extension_node": {
|
2052
|
-
"type": "object",
|
2053
|
-
"properties": {
|
2054
|
-
"type": {
|
2055
|
-
"enum": [
|
2056
|
-
"extension"
|
2057
|
-
]
|
2058
|
-
},
|
2059
|
-
"attrs": {
|
2060
|
-
"type": "object",
|
2061
|
-
"properties": {
|
2062
|
-
"extensionKey": {
|
2063
|
-
"type": "string",
|
2064
|
-
"minLength": 1
|
2065
|
-
},
|
2066
|
-
"extensionType": {
|
2067
|
-
"type": "string",
|
2068
|
-
"minLength": 1
|
2069
|
-
},
|
2070
|
-
"parameters": {},
|
2071
|
-
"text": {
|
2072
|
-
"type": "string"
|
2073
|
-
},
|
2074
|
-
"layout": {
|
2075
|
-
"enum": [
|
2076
|
-
"wide",
|
2077
|
-
"full-width",
|
2078
|
-
"default"
|
2079
|
-
]
|
2080
|
-
},
|
2081
|
-
"localId": {
|
2082
|
-
"type": "string",
|
2083
|
-
"minLength": 1
|
2084
|
-
}
|
2085
|
-
},
|
2086
|
-
"required": [
|
2087
|
-
"extensionKey",
|
2088
|
-
"extensionType"
|
2089
|
-
],
|
2090
|
-
"additionalProperties": false
|
2091
|
-
},
|
2092
|
-
"marks": {
|
2093
|
-
"type": "array"
|
2094
|
-
}
|
2095
|
-
},
|
2096
|
-
"required": [
|
2097
|
-
"type",
|
2098
|
-
"attrs"
|
2099
|
-
],
|
2100
|
-
"additionalProperties": false
|
2101
|
-
},
|
2102
|
-
"extension_with_marks_node": {
|
2103
|
-
"allOf": [
|
2104
|
-
{
|
2105
|
-
"$ref": "#/definitions/extension_node"
|
2106
|
-
},
|
2107
|
-
{
|
2108
|
-
"type": "object",
|
2109
|
-
"properties": {
|
2110
|
-
"marks": {
|
2111
|
-
"type": "array",
|
2112
|
-
"items": {
|
2113
|
-
"anyOf": [
|
2114
|
-
{
|
2115
|
-
"$ref": "#/definitions/dataConsumer_mark"
|
2116
|
-
},
|
2117
|
-
{
|
2118
|
-
"$ref": "#/definitions/fragment_mark"
|
2119
|
-
}
|
2120
|
-
]
|
2121
|
-
}
|
2122
|
-
}
|
2123
|
-
},
|
2124
|
-
"additionalProperties": true
|
2125
|
-
}
|
2126
|
-
]
|
2127
|
-
},
|
2128
|
-
"embedCard_node": {
|
2129
|
-
"type": "object",
|
2130
|
-
"properties": {
|
2131
|
-
"type": {
|
2132
|
-
"enum": [
|
2133
|
-
"embedCard"
|
2134
|
-
]
|
2135
|
-
},
|
2136
|
-
"attrs": {
|
2137
|
-
"type": "object",
|
2138
|
-
"properties": {
|
2139
|
-
"originalWidth": {
|
2140
|
-
"type": "number"
|
2141
|
-
},
|
2142
|
-
"originalHeight": {
|
2143
|
-
"type": "number"
|
2144
|
-
},
|
2145
|
-
"url": {
|
2146
|
-
"type": "string"
|
2147
|
-
},
|
2148
|
-
"width": {
|
2149
|
-
"type": "number",
|
2150
|
-
"minimum": 0,
|
2151
|
-
"maximum": 100
|
2152
|
-
},
|
2153
|
-
"layout": {
|
2154
|
-
"enum": [
|
2155
|
-
"wide",
|
2156
|
-
"full-width",
|
2157
|
-
"center",
|
2158
|
-
"wrap-right",
|
2159
|
-
"wrap-left",
|
2160
|
-
"align-end",
|
2161
|
-
"align-start"
|
2162
|
-
]
|
2163
|
-
}
|
2164
|
-
},
|
2165
|
-
"additionalProperties": false,
|
2166
|
-
"required": [
|
2167
|
-
"url",
|
2168
|
-
"layout"
|
2169
|
-
]
|
2170
|
-
}
|
2171
|
-
},
|
2172
|
-
"required": [
|
2173
|
-
"type",
|
2174
|
-
"attrs"
|
2175
|
-
],
|
2176
|
-
"additionalProperties": false
|
1814
|
+
"additionalProperties": false,
|
1815
|
+
"required": ["type", "attrs", "content"]
|
2177
1816
|
},
|
2178
1817
|
"nestedExpand_content": {
|
2179
1818
|
"type": "array",
|
2180
1819
|
"items": {
|
2181
1820
|
"anyOf": [
|
2182
1821
|
{
|
2183
|
-
"$ref": "#/definitions/
|
1822
|
+
"$ref": "#/definitions/paragraph_with_no_marks_node"
|
2184
1823
|
},
|
2185
1824
|
{
|
2186
|
-
"$ref": "#/definitions/
|
1825
|
+
"$ref": "#/definitions/heading_with_no_marks_node"
|
2187
1826
|
},
|
2188
1827
|
{
|
2189
1828
|
"$ref": "#/definitions/mediaSingle_caption_node"
|
@@ -2192,19 +1831,19 @@
|
|
2192
1831
|
"$ref": "#/definitions/mediaSingle_full_node"
|
2193
1832
|
},
|
2194
1833
|
{
|
2195
|
-
"$ref": "#/definitions/
|
1834
|
+
"$ref": "#/definitions/mediaGroup_node"
|
2196
1835
|
},
|
2197
1836
|
{
|
2198
|
-
"$ref": "#/definitions/
|
1837
|
+
"$ref": "#/definitions/codeBlock_with_no_marks_node"
|
2199
1838
|
},
|
2200
1839
|
{
|
2201
|
-
"$ref": "#/definitions/
|
1840
|
+
"$ref": "#/definitions/bulletList_node"
|
2202
1841
|
},
|
2203
1842
|
{
|
2204
|
-
"$ref": "#/definitions/
|
1843
|
+
"$ref": "#/definitions/orderedList_node"
|
2205
1844
|
},
|
2206
1845
|
{
|
2207
|
-
"$ref": "#/definitions/
|
1846
|
+
"$ref": "#/definitions/taskList_node"
|
2208
1847
|
},
|
2209
1848
|
{
|
2210
1849
|
"$ref": "#/definitions/decisionList_node"
|
@@ -2222,149 +1861,117 @@
|
|
2222
1861
|
},
|
2223
1862
|
"minItems": 1
|
2224
1863
|
},
|
2225
|
-
"
|
1864
|
+
"nestedExpand_with_no_marks_node": {
|
1865
|
+
"allOf": [
|
1866
|
+
{
|
1867
|
+
"$ref": "#/definitions/nestedExpand_node"
|
1868
|
+
},
|
1869
|
+
{
|
1870
|
+
"type": "object",
|
1871
|
+
"properties": {
|
1872
|
+
"marks": {
|
1873
|
+
"type": "array",
|
1874
|
+
"maxItems": 0
|
1875
|
+
}
|
1876
|
+
},
|
1877
|
+
"additionalProperties": true
|
1878
|
+
}
|
1879
|
+
]
|
1880
|
+
},
|
1881
|
+
"table_cell_node": {
|
2226
1882
|
"type": "object",
|
2227
1883
|
"properties": {
|
2228
1884
|
"type": {
|
2229
|
-
"enum": [
|
2230
|
-
"nestedExpand"
|
2231
|
-
]
|
1885
|
+
"enum": ["tableCell"]
|
2232
1886
|
},
|
2233
1887
|
"attrs": {
|
2234
1888
|
"type": "object",
|
2235
1889
|
"properties": {
|
2236
|
-
"
|
1890
|
+
"colspan": {
|
1891
|
+
"type": "number"
|
1892
|
+
},
|
1893
|
+
"rowspan": {
|
1894
|
+
"type": "number"
|
1895
|
+
},
|
1896
|
+
"colwidth": {
|
1897
|
+
"type": "array",
|
1898
|
+
"items": {
|
1899
|
+
"type": "number"
|
1900
|
+
}
|
1901
|
+
},
|
1902
|
+
"background": {
|
2237
1903
|
"type": "string"
|
2238
1904
|
}
|
2239
1905
|
},
|
2240
1906
|
"additionalProperties": false
|
2241
1907
|
},
|
2242
1908
|
"content": {
|
2243
|
-
"$ref": "#/definitions/
|
1909
|
+
"$ref": "#/definitions/table_cell_content"
|
2244
1910
|
}
|
2245
1911
|
},
|
2246
|
-
"
|
2247
|
-
|
2248
|
-
"attrs",
|
2249
|
-
"content"
|
2250
|
-
],
|
2251
|
-
"additionalProperties": false
|
1912
|
+
"additionalProperties": false,
|
1913
|
+
"required": ["type", "content"]
|
2252
1914
|
},
|
2253
|
-
"
|
2254
|
-
"
|
2255
|
-
|
2256
|
-
|
1915
|
+
"nestedExpand_node": {
|
1916
|
+
"type": "object",
|
1917
|
+
"properties": {
|
1918
|
+
"type": {
|
1919
|
+
"enum": ["nestedExpand"]
|
2257
1920
|
},
|
2258
|
-
{
|
1921
|
+
"attrs": {
|
2259
1922
|
"type": "object",
|
2260
1923
|
"properties": {
|
2261
|
-
"
|
2262
|
-
"type": "
|
2263
|
-
"maxItems": 0
|
1924
|
+
"title": {
|
1925
|
+
"type": "string"
|
2264
1926
|
}
|
2265
1927
|
},
|
2266
|
-
"additionalProperties":
|
1928
|
+
"additionalProperties": false
|
1929
|
+
},
|
1930
|
+
"content": {
|
1931
|
+
"$ref": "#/definitions/nestedExpand_content"
|
2267
1932
|
}
|
2268
|
-
|
1933
|
+
},
|
1934
|
+
"additionalProperties": false,
|
1935
|
+
"required": ["type", "content", "attrs"]
|
2269
1936
|
},
|
2270
|
-
"
|
1937
|
+
"table_header_node": {
|
2271
1938
|
"type": "object",
|
2272
1939
|
"properties": {
|
2273
1940
|
"type": {
|
2274
|
-
"enum": [
|
2275
|
-
"table"
|
2276
|
-
]
|
1941
|
+
"enum": ["tableHeader"]
|
2277
1942
|
},
|
2278
1943
|
"attrs": {
|
2279
1944
|
"type": "object",
|
2280
1945
|
"properties": {
|
2281
|
-
"
|
2282
|
-
"type": "
|
2283
|
-
},
|
2284
|
-
"layout": {
|
2285
|
-
"enum": [
|
2286
|
-
"wide",
|
2287
|
-
"full-width",
|
2288
|
-
"center",
|
2289
|
-
"align-end",
|
2290
|
-
"align-start",
|
2291
|
-
"default"
|
2292
|
-
]
|
2293
|
-
},
|
2294
|
-
"localId": {
|
2295
|
-
"type": "string",
|
2296
|
-
"minLength": 1
|
1946
|
+
"colspan": {
|
1947
|
+
"type": "number"
|
2297
1948
|
},
|
2298
|
-
"
|
1949
|
+
"rowspan": {
|
2299
1950
|
"type": "number"
|
2300
1951
|
},
|
2301
|
-
"
|
2302
|
-
"
|
2303
|
-
|
2304
|
-
"
|
2305
|
-
|
1952
|
+
"colwidth": {
|
1953
|
+
"type": "array",
|
1954
|
+
"items": {
|
1955
|
+
"type": "number"
|
1956
|
+
}
|
1957
|
+
},
|
1958
|
+
"background": {
|
1959
|
+
"type": "string"
|
2306
1960
|
}
|
2307
1961
|
},
|
2308
1962
|
"additionalProperties": false
|
2309
1963
|
},
|
2310
1964
|
"content": {
|
2311
|
-
"
|
2312
|
-
"items": {
|
2313
|
-
"$ref": "#/definitions/table_row_node"
|
2314
|
-
},
|
2315
|
-
"minItems": 1
|
2316
|
-
},
|
2317
|
-
"marks": {
|
2318
|
-
"type": "array",
|
2319
|
-
"items": {
|
2320
|
-
"$ref": "#/definitions/fragment_mark"
|
2321
|
-
}
|
2322
|
-
}
|
2323
|
-
},
|
2324
|
-
"required": [
|
2325
|
-
"type",
|
2326
|
-
"content"
|
2327
|
-
],
|
2328
|
-
"additionalProperties": false
|
2329
|
-
},
|
2330
|
-
"table_row_node": {
|
2331
|
-
"type": "object",
|
2332
|
-
"properties": {
|
2333
|
-
"type": {
|
2334
|
-
"enum": [
|
2335
|
-
"tableRow"
|
2336
|
-
]
|
2337
|
-
},
|
2338
|
-
"content": {
|
2339
|
-
"type": "array",
|
2340
|
-
"items": {
|
2341
|
-
"anyOf": [
|
2342
|
-
{
|
2343
|
-
"$ref": "#/definitions/table_cell_node"
|
2344
|
-
},
|
2345
|
-
{
|
2346
|
-
"$ref": "#/definitions/table_header_node"
|
2347
|
-
}
|
2348
|
-
]
|
2349
|
-
}
|
1965
|
+
"$ref": "#/definitions/table_cell_content"
|
2350
1966
|
}
|
2351
1967
|
},
|
2352
|
-
"
|
2353
|
-
|
2354
|
-
"content"
|
2355
|
-
],
|
2356
|
-
"additionalProperties": false
|
1968
|
+
"additionalProperties": false,
|
1969
|
+
"required": ["type", "content"]
|
2357
1970
|
},
|
2358
1971
|
"table_cell_content": {
|
2359
1972
|
"type": "array",
|
2360
1973
|
"items": {
|
2361
1974
|
"anyOf": [
|
2362
|
-
{
|
2363
|
-
"$ref": "#/definitions/codeBlock_with_no_marks_node"
|
2364
|
-
},
|
2365
|
-
{
|
2366
|
-
"$ref": "#/definitions/blockCard_node"
|
2367
|
-
},
|
2368
1975
|
{
|
2369
1976
|
"$ref": "#/definitions/paragraph_with_no_marks_node"
|
2370
1977
|
},
|
@@ -2372,19 +1979,19 @@
|
|
2372
1979
|
"$ref": "#/definitions/paragraph_with_alignment_node"
|
2373
1980
|
},
|
2374
1981
|
{
|
2375
|
-
"$ref": "#/definitions/
|
1982
|
+
"$ref": "#/definitions/panel_node"
|
2376
1983
|
},
|
2377
1984
|
{
|
2378
|
-
"$ref": "#/definitions/
|
1985
|
+
"$ref": "#/definitions/blockquote_node"
|
2379
1986
|
},
|
2380
1987
|
{
|
2381
|
-
"$ref": "#/definitions/
|
1988
|
+
"$ref": "#/definitions/orderedList_node"
|
2382
1989
|
},
|
2383
1990
|
{
|
2384
1991
|
"$ref": "#/definitions/bulletList_node"
|
2385
1992
|
},
|
2386
1993
|
{
|
2387
|
-
"$ref": "#/definitions/
|
1994
|
+
"$ref": "#/definitions/rule_node"
|
2388
1995
|
},
|
2389
1996
|
{
|
2390
1997
|
"$ref": "#/definitions/heading_with_no_marks_node"
|
@@ -2396,26 +2003,32 @@
|
|
2396
2003
|
"$ref": "#/definitions/heading_with_indentation_node"
|
2397
2004
|
},
|
2398
2005
|
{
|
2399
|
-
"$ref": "#/definitions/
|
2006
|
+
"$ref": "#/definitions/codeBlock_with_no_marks_node"
|
2400
2007
|
},
|
2401
2008
|
{
|
2402
|
-
"$ref": "#/definitions/
|
2009
|
+
"$ref": "#/definitions/mediaSingle_caption_node"
|
2403
2010
|
},
|
2404
2011
|
{
|
2405
|
-
"$ref": "#/definitions/
|
2012
|
+
"$ref": "#/definitions/mediaSingle_full_node"
|
2406
2013
|
},
|
2407
2014
|
{
|
2408
|
-
"$ref": "#/definitions/
|
2015
|
+
"$ref": "#/definitions/mediaGroup_node"
|
2409
2016
|
},
|
2410
2017
|
{
|
2411
|
-
"$ref": "#/definitions/
|
2018
|
+
"$ref": "#/definitions/decisionList_node"
|
2412
2019
|
},
|
2413
2020
|
{
|
2414
|
-
"$ref": "#/definitions/
|
2021
|
+
"$ref": "#/definitions/taskList_node"
|
2022
|
+
},
|
2023
|
+
{
|
2024
|
+
"$ref": "#/definitions/blockCard_node"
|
2415
2025
|
},
|
2416
2026
|
{
|
2417
2027
|
"$ref": "#/definitions/embedCard_node"
|
2418
2028
|
},
|
2029
|
+
{
|
2030
|
+
"$ref": "#/definitions/extension_with_marks_node"
|
2031
|
+
},
|
2419
2032
|
{
|
2420
2033
|
"$ref": "#/definitions/nestedExpand_with_no_marks_node"
|
2421
2034
|
}
|
@@ -2423,154 +2036,169 @@
|
|
2423
2036
|
},
|
2424
2037
|
"minItems": 1
|
2425
2038
|
},
|
2426
|
-
"
|
2039
|
+
"table_row_node": {
|
2427
2040
|
"type": "object",
|
2428
2041
|
"properties": {
|
2429
2042
|
"type": {
|
2430
|
-
"enum": [
|
2431
|
-
"tableCell"
|
2432
|
-
]
|
2433
|
-
},
|
2434
|
-
"attrs": {
|
2435
|
-
"type": "object",
|
2436
|
-
"properties": {
|
2437
|
-
"colspan": {
|
2438
|
-
"type": "number"
|
2439
|
-
},
|
2440
|
-
"rowspan": {
|
2441
|
-
"type": "number"
|
2442
|
-
},
|
2443
|
-
"colwidth": {
|
2444
|
-
"type": "array",
|
2445
|
-
"items": {
|
2446
|
-
"type": "number"
|
2447
|
-
}
|
2448
|
-
},
|
2449
|
-
"background": {
|
2450
|
-
"type": "string"
|
2451
|
-
}
|
2452
|
-
},
|
2453
|
-
"additionalProperties": false
|
2043
|
+
"enum": ["tableRow"]
|
2454
2044
|
},
|
2455
2045
|
"content": {
|
2456
|
-
"
|
2046
|
+
"type": "array",
|
2047
|
+
"items": {
|
2048
|
+
"anyOf": [
|
2049
|
+
{
|
2050
|
+
"$ref": "#/definitions/table_cell_node"
|
2051
|
+
},
|
2052
|
+
{
|
2053
|
+
"$ref": "#/definitions/table_header_node"
|
2054
|
+
}
|
2055
|
+
]
|
2056
|
+
}
|
2457
2057
|
}
|
2458
2058
|
},
|
2459
|
-
"
|
2460
|
-
|
2461
|
-
"content"
|
2462
|
-
],
|
2463
|
-
"additionalProperties": false
|
2059
|
+
"additionalProperties": false,
|
2060
|
+
"required": ["type", "content"]
|
2464
2061
|
},
|
2465
|
-
"
|
2062
|
+
"table_node": {
|
2466
2063
|
"type": "object",
|
2467
2064
|
"properties": {
|
2468
2065
|
"type": {
|
2469
|
-
"enum": [
|
2470
|
-
|
2471
|
-
|
2066
|
+
"enum": ["table"]
|
2067
|
+
},
|
2068
|
+
"marks": {
|
2069
|
+
"type": "array",
|
2070
|
+
"items": {
|
2071
|
+
"$ref": "#/definitions/fragment_mark"
|
2072
|
+
}
|
2472
2073
|
},
|
2473
2074
|
"attrs": {
|
2474
2075
|
"type": "object",
|
2475
2076
|
"properties": {
|
2476
|
-
"
|
2477
|
-
"
|
2077
|
+
"displayMode": {
|
2078
|
+
"enum": ["default", "fixed"]
|
2478
2079
|
},
|
2479
|
-
"
|
2480
|
-
"type": "
|
2080
|
+
"isNumberColumnEnabled": {
|
2081
|
+
"type": "boolean"
|
2481
2082
|
},
|
2482
|
-
"
|
2483
|
-
"
|
2484
|
-
|
2485
|
-
"
|
2486
|
-
|
2083
|
+
"layout": {
|
2084
|
+
"enum": [
|
2085
|
+
"wide",
|
2086
|
+
"full-width",
|
2087
|
+
"center",
|
2088
|
+
"align-end",
|
2089
|
+
"align-start",
|
2090
|
+
"default"
|
2091
|
+
]
|
2487
2092
|
},
|
2488
|
-
"
|
2489
|
-
"type": "string"
|
2093
|
+
"localId": {
|
2094
|
+
"type": "string",
|
2095
|
+
"minLength": 1
|
2096
|
+
},
|
2097
|
+
"width": {
|
2098
|
+
"type": "number"
|
2490
2099
|
}
|
2491
2100
|
},
|
2492
2101
|
"additionalProperties": false
|
2493
2102
|
},
|
2494
2103
|
"content": {
|
2495
|
-
"
|
2104
|
+
"type": "array",
|
2105
|
+
"items": {
|
2106
|
+
"$ref": "#/definitions/table_row_node"
|
2107
|
+
},
|
2108
|
+
"minItems": 1
|
2496
2109
|
}
|
2497
2110
|
},
|
2498
|
-
"
|
2499
|
-
|
2500
|
-
"content"
|
2501
|
-
],
|
2502
|
-
"additionalProperties": false
|
2111
|
+
"additionalProperties": false,
|
2112
|
+
"required": ["type", "content"]
|
2503
2113
|
},
|
2504
2114
|
"non_nestable_block_content": {
|
2505
2115
|
"anyOf": [
|
2506
|
-
{
|
2507
|
-
"$ref": "#/definitions/codeBlock_with_no_marks_node"
|
2508
|
-
},
|
2509
|
-
{
|
2510
|
-
"$ref": "#/definitions/blockCard_node"
|
2511
|
-
},
|
2512
2116
|
{
|
2513
2117
|
"$ref": "#/definitions/paragraph_with_no_marks_node"
|
2514
2118
|
},
|
2515
2119
|
{
|
2516
|
-
"$ref": "#/definitions/
|
2120
|
+
"$ref": "#/definitions/panel_node"
|
2517
2121
|
},
|
2518
2122
|
{
|
2519
|
-
"$ref": "#/definitions/
|
2123
|
+
"$ref": "#/definitions/blockquote_node"
|
2520
2124
|
},
|
2521
2125
|
{
|
2522
|
-
"$ref": "#/definitions/
|
2126
|
+
"$ref": "#/definitions/orderedList_node"
|
2523
2127
|
},
|
2524
2128
|
{
|
2525
2129
|
"$ref": "#/definitions/bulletList_node"
|
2526
2130
|
},
|
2527
2131
|
{
|
2528
|
-
"$ref": "#/definitions/
|
2132
|
+
"$ref": "#/definitions/rule_node"
|
2529
2133
|
},
|
2530
2134
|
{
|
2531
2135
|
"$ref": "#/definitions/heading_with_no_marks_node"
|
2532
2136
|
},
|
2137
|
+
{
|
2138
|
+
"$ref": "#/definitions/codeBlock_with_no_marks_node"
|
2139
|
+
},
|
2533
2140
|
{
|
2534
2141
|
"$ref": "#/definitions/mediaGroup_node"
|
2535
2142
|
},
|
2536
2143
|
{
|
2537
|
-
"$ref": "#/definitions/
|
2144
|
+
"$ref": "#/definitions/mediaSingle_caption_node"
|
2538
2145
|
},
|
2539
2146
|
{
|
2540
|
-
"$ref": "#/definitions/
|
2147
|
+
"$ref": "#/definitions/mediaSingle_full_node"
|
2541
2148
|
},
|
2542
2149
|
{
|
2543
|
-
"$ref": "#/definitions/
|
2150
|
+
"$ref": "#/definitions/decisionList_node"
|
2544
2151
|
},
|
2545
2152
|
{
|
2546
|
-
"$ref": "#/definitions/
|
2153
|
+
"$ref": "#/definitions/taskList_node"
|
2547
2154
|
},
|
2548
2155
|
{
|
2549
|
-
"$ref": "#/definitions/
|
2156
|
+
"$ref": "#/definitions/table_node"
|
2157
|
+
},
|
2158
|
+
{
|
2159
|
+
"$ref": "#/definitions/blockCard_node"
|
2550
2160
|
},
|
2551
2161
|
{
|
2552
2162
|
"$ref": "#/definitions/embedCard_node"
|
2553
2163
|
},
|
2554
2164
|
{
|
2555
|
-
"$ref": "#/definitions/
|
2165
|
+
"$ref": "#/definitions/extension_with_marks_node"
|
2556
2166
|
}
|
2557
2167
|
]
|
2558
2168
|
},
|
2559
|
-
"
|
2169
|
+
"bodiedExtension_node": {
|
2560
2170
|
"type": "object",
|
2561
2171
|
"properties": {
|
2562
2172
|
"type": {
|
2563
|
-
"enum": [
|
2564
|
-
|
2565
|
-
|
2173
|
+
"enum": ["bodiedExtension"]
|
2174
|
+
},
|
2175
|
+
"marks": {
|
2176
|
+
"type": "array"
|
2566
2177
|
},
|
2567
2178
|
"attrs": {
|
2568
2179
|
"type": "object",
|
2569
2180
|
"properties": {
|
2570
|
-
"
|
2181
|
+
"extensionKey": {
|
2182
|
+
"minLength": 1,
|
2183
|
+
"type": "string"
|
2184
|
+
},
|
2185
|
+
"extensionType": {
|
2186
|
+
"minLength": 1,
|
2187
|
+
"type": "string"
|
2188
|
+
},
|
2189
|
+
"parameters": {},
|
2190
|
+
"text": {
|
2191
|
+
"type": "string"
|
2192
|
+
},
|
2193
|
+
"layout": {
|
2194
|
+
"enum": ["wide", "full-width", "default"]
|
2195
|
+
},
|
2196
|
+
"localId": {
|
2197
|
+
"minLength": 1,
|
2571
2198
|
"type": "string"
|
2572
2199
|
}
|
2573
2200
|
},
|
2201
|
+
"required": ["extensionKey", "extensionType"],
|
2574
2202
|
"additionalProperties": false
|
2575
2203
|
},
|
2576
2204
|
"content": {
|
@@ -2579,39 +2207,15 @@
|
|
2579
2207
|
"$ref": "#/definitions/non_nestable_block_content"
|
2580
2208
|
},
|
2581
2209
|
"minItems": 1
|
2582
|
-
},
|
2583
|
-
"marks": {
|
2584
|
-
"type": "array"
|
2585
2210
|
}
|
2586
2211
|
},
|
2587
|
-
"
|
2588
|
-
|
2589
|
-
"attrs",
|
2590
|
-
"content"
|
2591
|
-
],
|
2592
|
-
"additionalProperties": false
|
2593
|
-
},
|
2594
|
-
"expand_with_no_mark_node": {
|
2595
|
-
"allOf": [
|
2596
|
-
{
|
2597
|
-
"$ref": "#/definitions/expand_node"
|
2598
|
-
},
|
2599
|
-
{
|
2600
|
-
"type": "object",
|
2601
|
-
"properties": {
|
2602
|
-
"marks": {
|
2603
|
-
"type": "array",
|
2604
|
-
"maxItems": 0
|
2605
|
-
}
|
2606
|
-
},
|
2607
|
-
"additionalProperties": true
|
2608
|
-
}
|
2609
|
-
]
|
2212
|
+
"additionalProperties": false,
|
2213
|
+
"required": ["type", "attrs", "content"]
|
2610
2214
|
},
|
2611
|
-
"
|
2215
|
+
"bodiedExtension_with_marks_node": {
|
2612
2216
|
"allOf": [
|
2613
2217
|
{
|
2614
|
-
"$ref": "#/definitions/
|
2218
|
+
"$ref": "#/definitions/bodiedExtension_node"
|
2615
2219
|
},
|
2616
2220
|
{
|
2617
2221
|
"type": "object",
|
@@ -2619,7 +2223,14 @@
|
|
2619
2223
|
"marks": {
|
2620
2224
|
"type": "array",
|
2621
2225
|
"items": {
|
2622
|
-
"
|
2226
|
+
"anyOf": [
|
2227
|
+
{
|
2228
|
+
"$ref": "#/definitions/dataConsumer_mark"
|
2229
|
+
},
|
2230
|
+
{
|
2231
|
+
"$ref": "#/definitions/fragment_mark"
|
2232
|
+
}
|
2233
|
+
]
|
2623
2234
|
}
|
2624
2235
|
}
|
2625
2236
|
},
|
@@ -2627,50 +2238,24 @@
|
|
2627
2238
|
}
|
2628
2239
|
]
|
2629
2240
|
},
|
2630
|
-
"
|
2241
|
+
"expand_node": {
|
2631
2242
|
"type": "object",
|
2632
2243
|
"properties": {
|
2633
2244
|
"type": {
|
2634
|
-
"enum": [
|
2635
|
-
|
2636
|
-
|
2245
|
+
"enum": ["expand"]
|
2246
|
+
},
|
2247
|
+
"marks": {
|
2248
|
+
"type": "array"
|
2637
2249
|
},
|
2638
2250
|
"attrs": {
|
2639
2251
|
"type": "object",
|
2640
2252
|
"properties": {
|
2641
|
-
"
|
2642
|
-
"type": "string",
|
2643
|
-
"minLength": 1
|
2644
|
-
},
|
2645
|
-
"extensionType": {
|
2646
|
-
"type": "string",
|
2647
|
-
"minLength": 1
|
2648
|
-
},
|
2649
|
-
"parameters": {},
|
2650
|
-
"text": {
|
2253
|
+
"title": {
|
2651
2254
|
"type": "string"
|
2652
|
-
},
|
2653
|
-
"layout": {
|
2654
|
-
"enum": [
|
2655
|
-
"wide",
|
2656
|
-
"full-width",
|
2657
|
-
"default"
|
2658
|
-
]
|
2659
|
-
},
|
2660
|
-
"localId": {
|
2661
|
-
"type": "string",
|
2662
|
-
"minLength": 1
|
2663
2255
|
}
|
2664
2256
|
},
|
2665
|
-
"required": [
|
2666
|
-
"extensionKey",
|
2667
|
-
"extensionType"
|
2668
|
-
],
|
2669
2257
|
"additionalProperties": false
|
2670
2258
|
},
|
2671
|
-
"marks": {
|
2672
|
-
"type": "array"
|
2673
|
-
},
|
2674
2259
|
"content": {
|
2675
2260
|
"type": "array",
|
2676
2261
|
"items": {
|
@@ -2679,17 +2264,30 @@
|
|
2679
2264
|
"minItems": 1
|
2680
2265
|
}
|
2681
2266
|
},
|
2682
|
-
"
|
2683
|
-
|
2684
|
-
"attrs",
|
2685
|
-
"content"
|
2686
|
-
],
|
2687
|
-
"additionalProperties": false
|
2267
|
+
"additionalProperties": false,
|
2268
|
+
"required": ["type", "content", "attrs"]
|
2688
2269
|
},
|
2689
|
-
"
|
2270
|
+
"expand_with_no_mark_node": {
|
2690
2271
|
"allOf": [
|
2691
2272
|
{
|
2692
|
-
"$ref": "#/definitions/
|
2273
|
+
"$ref": "#/definitions/expand_node"
|
2274
|
+
},
|
2275
|
+
{
|
2276
|
+
"type": "object",
|
2277
|
+
"properties": {
|
2278
|
+
"marks": {
|
2279
|
+
"type": "array",
|
2280
|
+
"maxItems": 0
|
2281
|
+
}
|
2282
|
+
},
|
2283
|
+
"additionalProperties": true
|
2284
|
+
}
|
2285
|
+
]
|
2286
|
+
},
|
2287
|
+
"expand_with_breakout_mark_node": {
|
2288
|
+
"allOf": [
|
2289
|
+
{
|
2290
|
+
"$ref": "#/definitions/expand_node"
|
2693
2291
|
},
|
2694
2292
|
{
|
2695
2293
|
"type": "object",
|
@@ -2697,14 +2295,7 @@
|
|
2697
2295
|
"marks": {
|
2698
2296
|
"type": "array",
|
2699
2297
|
"items": {
|
2700
|
-
"
|
2701
|
-
{
|
2702
|
-
"$ref": "#/definitions/dataConsumer_mark"
|
2703
|
-
},
|
2704
|
-
{
|
2705
|
-
"$ref": "#/definitions/fragment_mark"
|
2706
|
-
}
|
2707
|
-
]
|
2298
|
+
"$ref": "#/definitions/breakout_mark"
|
2708
2299
|
}
|
2709
2300
|
}
|
2710
2301
|
},
|
@@ -2714,14 +2305,17 @@
|
|
2714
2305
|
},
|
2715
2306
|
"block_content": {
|
2716
2307
|
"anyOf": [
|
2308
|
+
{
|
2309
|
+
"$ref": "#/definitions/blockCard_node"
|
2310
|
+
},
|
2717
2311
|
{
|
2718
2312
|
"$ref": "#/definitions/codeBlock_with_no_marks_node"
|
2719
2313
|
},
|
2720
2314
|
{
|
2721
|
-
"$ref": "#/definitions/
|
2315
|
+
"$ref": "#/definitions/mediaSingle_caption_node"
|
2722
2316
|
},
|
2723
2317
|
{
|
2724
|
-
"$ref": "#/definitions/
|
2318
|
+
"$ref": "#/definitions/mediaSingle_full_node"
|
2725
2319
|
},
|
2726
2320
|
{
|
2727
2321
|
"$ref": "#/definitions/paragraph_with_alignment_node"
|
@@ -2730,58 +2324,55 @@
|
|
2730
2324
|
"$ref": "#/definitions/paragraph_with_indentation_node"
|
2731
2325
|
},
|
2732
2326
|
{
|
2733
|
-
"$ref": "#/definitions/
|
2734
|
-
},
|
2735
|
-
{
|
2736
|
-
"$ref": "#/definitions/mediaSingle_full_node"
|
2327
|
+
"$ref": "#/definitions/paragraph_with_no_marks_node"
|
2737
2328
|
},
|
2738
2329
|
{
|
2739
2330
|
"$ref": "#/definitions/taskList_node"
|
2740
2331
|
},
|
2741
2332
|
{
|
2742
|
-
"$ref": "#/definitions/
|
2333
|
+
"$ref": "#/definitions/orderedList_node"
|
2743
2334
|
},
|
2744
2335
|
{
|
2745
|
-
"$ref": "#/definitions/
|
2336
|
+
"$ref": "#/definitions/bulletList_node"
|
2746
2337
|
},
|
2747
2338
|
{
|
2748
|
-
"$ref": "#/definitions/
|
2339
|
+
"$ref": "#/definitions/blockquote_node"
|
2749
2340
|
},
|
2750
2341
|
{
|
2751
|
-
"$ref": "#/definitions/
|
2342
|
+
"$ref": "#/definitions/decisionList_node"
|
2752
2343
|
},
|
2753
2344
|
{
|
2754
|
-
"$ref": "#/definitions/
|
2345
|
+
"$ref": "#/definitions/embedCard_node"
|
2755
2346
|
},
|
2756
2347
|
{
|
2757
|
-
"$ref": "#/definitions/
|
2348
|
+
"$ref": "#/definitions/extension_with_marks_node"
|
2758
2349
|
},
|
2759
2350
|
{
|
2760
|
-
"$ref": "#/definitions/
|
2351
|
+
"$ref": "#/definitions/heading_with_indentation_node"
|
2761
2352
|
},
|
2762
2353
|
{
|
2763
|
-
"$ref": "#/definitions/
|
2354
|
+
"$ref": "#/definitions/heading_with_no_marks_node"
|
2764
2355
|
},
|
2765
2356
|
{
|
2766
|
-
"$ref": "#/definitions/
|
2357
|
+
"$ref": "#/definitions/heading_with_alignment_node"
|
2767
2358
|
},
|
2768
2359
|
{
|
2769
|
-
"$ref": "#/definitions/
|
2360
|
+
"$ref": "#/definitions/mediaGroup_node"
|
2770
2361
|
},
|
2771
2362
|
{
|
2772
|
-
"$ref": "#/definitions/
|
2363
|
+
"$ref": "#/definitions/rule_node"
|
2773
2364
|
},
|
2774
2365
|
{
|
2775
|
-
"$ref": "#/definitions/
|
2366
|
+
"$ref": "#/definitions/panel_node"
|
2776
2367
|
},
|
2777
2368
|
{
|
2778
2369
|
"$ref": "#/definitions/table_node"
|
2779
2370
|
},
|
2780
2371
|
{
|
2781
|
-
"$ref": "#/definitions/
|
2372
|
+
"$ref": "#/definitions/bodiedExtension_with_marks_node"
|
2782
2373
|
},
|
2783
2374
|
{
|
2784
|
-
"$ref": "#/definitions/
|
2375
|
+
"$ref": "#/definitions/expand_with_no_mark_node"
|
2785
2376
|
}
|
2786
2377
|
]
|
2787
2378
|
},
|
@@ -2789,9 +2380,7 @@
|
|
2789
2380
|
"type": "object",
|
2790
2381
|
"properties": {
|
2791
2382
|
"type": {
|
2792
|
-
"enum": [
|
2793
|
-
"layoutColumn"
|
2794
|
-
]
|
2383
|
+
"enum": ["layoutColumn"]
|
2795
2384
|
},
|
2796
2385
|
"attrs": {
|
2797
2386
|
"type": "object",
|
@@ -2802,9 +2391,7 @@
|
|
2802
2391
|
"maximum": 100
|
2803
2392
|
}
|
2804
2393
|
},
|
2805
|
-
"required": [
|
2806
|
-
"width"
|
2807
|
-
],
|
2394
|
+
"required": ["width"],
|
2808
2395
|
"additionalProperties": false
|
2809
2396
|
},
|
2810
2397
|
"content": {
|
@@ -2815,20 +2402,14 @@
|
|
2815
2402
|
"minItems": 1
|
2816
2403
|
}
|
2817
2404
|
},
|
2818
|
-
"
|
2819
|
-
|
2820
|
-
"attrs",
|
2821
|
-
"content"
|
2822
|
-
],
|
2823
|
-
"additionalProperties": false
|
2405
|
+
"additionalProperties": false,
|
2406
|
+
"required": ["type", "attrs", "content"]
|
2824
2407
|
},
|
2825
2408
|
"layoutSection_node": {
|
2826
2409
|
"type": "object",
|
2827
2410
|
"properties": {
|
2828
2411
|
"type": {
|
2829
|
-
"enum": [
|
2830
|
-
"layoutSection"
|
2831
|
-
]
|
2412
|
+
"enum": ["layoutSection"]
|
2832
2413
|
},
|
2833
2414
|
"marks": {
|
2834
2415
|
"type": "array",
|
@@ -2843,11 +2424,8 @@
|
|
2843
2424
|
}
|
2844
2425
|
}
|
2845
2426
|
},
|
2846
|
-
"
|
2847
|
-
|
2848
|
-
"content"
|
2849
|
-
],
|
2850
|
-
"additionalProperties": false
|
2427
|
+
"additionalProperties": false,
|
2428
|
+
"required": ["type", "content"]
|
2851
2429
|
},
|
2852
2430
|
"layoutSection_full_node": {
|
2853
2431
|
"allOf": [
|
@@ -2857,11 +2435,6 @@
|
|
2857
2435
|
{
|
2858
2436
|
"type": "object",
|
2859
2437
|
"properties": {
|
2860
|
-
"type": {
|
2861
|
-
"enum": [
|
2862
|
-
"layoutSection"
|
2863
|
-
]
|
2864
|
-
},
|
2865
2438
|
"marks": {
|
2866
2439
|
"type": "array",
|
2867
2440
|
"items": {
|
@@ -2875,12 +2448,12 @@
|
|
2875
2448
|
},
|
2876
2449
|
"minItems": 2,
|
2877
2450
|
"maxItems": 3
|
2451
|
+
},
|
2452
|
+
"type": {
|
2453
|
+
"enum": ["layoutSection"]
|
2878
2454
|
}
|
2879
2455
|
},
|
2880
|
-
"required": [
|
2881
|
-
"type",
|
2882
|
-
"content"
|
2883
|
-
],
|
2456
|
+
"required": ["type", "content"],
|
2884
2457
|
"additionalProperties": false
|
2885
2458
|
}
|
2886
2459
|
]
|
@@ -2893,11 +2466,6 @@
|
|
2893
2466
|
{
|
2894
2467
|
"type": "object",
|
2895
2468
|
"properties": {
|
2896
|
-
"type": {
|
2897
|
-
"enum": [
|
2898
|
-
"layoutSection"
|
2899
|
-
]
|
2900
|
-
},
|
2901
2469
|
"marks": {
|
2902
2470
|
"type": "array",
|
2903
2471
|
"items": {
|
@@ -2911,12 +2479,12 @@
|
|
2911
2479
|
},
|
2912
2480
|
"minItems": 1,
|
2913
2481
|
"maxItems": 3
|
2482
|
+
},
|
2483
|
+
"type": {
|
2484
|
+
"enum": ["layoutSection"]
|
2914
2485
|
}
|
2915
2486
|
},
|
2916
|
-
"required": [
|
2917
|
-
"type",
|
2918
|
-
"content"
|
2919
|
-
],
|
2487
|
+
"required": ["type", "content"],
|
2920
2488
|
"additionalProperties": false
|
2921
2489
|
}
|
2922
2490
|
]
|
@@ -2925,99 +2493,95 @@
|
|
2925
2493
|
"type": "object",
|
2926
2494
|
"properties": {
|
2927
2495
|
"type": {
|
2928
|
-
"enum": [
|
2929
|
-
"extensionFrame"
|
2930
|
-
]
|
2496
|
+
"enum": ["extensionFrame"]
|
2931
2497
|
},
|
2932
|
-
"
|
2498
|
+
"marks": {
|
2933
2499
|
"type": "array",
|
2934
2500
|
"items": {
|
2935
2501
|
"anyOf": [
|
2936
2502
|
{
|
2937
|
-
"$ref": "#/definitions/
|
2503
|
+
"$ref": "#/definitions/dataConsumer_mark"
|
2938
2504
|
},
|
2939
2505
|
{
|
2940
|
-
"$ref": "#/definitions/
|
2941
|
-
}
|
2506
|
+
"$ref": "#/definitions/fragment_mark"
|
2507
|
+
}
|
2508
|
+
]
|
2509
|
+
}
|
2510
|
+
},
|
2511
|
+
"content": {
|
2512
|
+
"type": "array",
|
2513
|
+
"items": {
|
2514
|
+
"anyOf": [
|
2942
2515
|
{
|
2943
2516
|
"$ref": "#/definitions/paragraph_with_no_marks_node"
|
2944
2517
|
},
|
2945
2518
|
{
|
2946
|
-
"$ref": "#/definitions/
|
2519
|
+
"$ref": "#/definitions/panel_node"
|
2947
2520
|
},
|
2948
2521
|
{
|
2949
|
-
"$ref": "#/definitions/
|
2522
|
+
"$ref": "#/definitions/blockquote_node"
|
2950
2523
|
},
|
2951
2524
|
{
|
2952
|
-
"$ref": "#/definitions/
|
2525
|
+
"$ref": "#/definitions/orderedList_node"
|
2953
2526
|
},
|
2954
2527
|
{
|
2955
2528
|
"$ref": "#/definitions/bulletList_node"
|
2956
2529
|
},
|
2957
2530
|
{
|
2958
|
-
"$ref": "#/definitions/
|
2531
|
+
"$ref": "#/definitions/rule_node"
|
2959
2532
|
},
|
2960
2533
|
{
|
2961
2534
|
"$ref": "#/definitions/heading_with_no_marks_node"
|
2962
2535
|
},
|
2963
2536
|
{
|
2964
|
-
"$ref": "#/definitions/
|
2537
|
+
"$ref": "#/definitions/codeBlock_with_no_marks_node"
|
2965
2538
|
},
|
2966
2539
|
{
|
2967
|
-
"$ref": "#/definitions/
|
2540
|
+
"$ref": "#/definitions/mediaGroup_node"
|
2968
2541
|
},
|
2969
2542
|
{
|
2970
|
-
"$ref": "#/definitions/
|
2543
|
+
"$ref": "#/definitions/mediaSingle_full_node"
|
2971
2544
|
},
|
2972
2545
|
{
|
2973
|
-
"$ref": "#/definitions/
|
2546
|
+
"$ref": "#/definitions/mediaSingle_caption_node"
|
2974
2547
|
},
|
2975
2548
|
{
|
2976
|
-
"$ref": "#/definitions/
|
2549
|
+
"$ref": "#/definitions/decisionList_node"
|
2977
2550
|
},
|
2978
2551
|
{
|
2979
|
-
"$ref": "#/definitions/
|
2552
|
+
"$ref": "#/definitions/taskList_node"
|
2980
2553
|
},
|
2981
2554
|
{
|
2982
|
-
"$ref": "#/definitions/
|
2555
|
+
"$ref": "#/definitions/table_node"
|
2983
2556
|
},
|
2984
2557
|
{
|
2985
|
-
"$ref": "#/definitions/
|
2558
|
+
"$ref": "#/definitions/extension_with_marks_node"
|
2986
2559
|
},
|
2987
2560
|
{
|
2988
2561
|
"$ref": "#/definitions/bodiedExtension_with_marks_node"
|
2989
|
-
}
|
2990
|
-
]
|
2991
|
-
},
|
2992
|
-
"minItems": 1
|
2993
|
-
},
|
2994
|
-
"marks": {
|
2995
|
-
"type": "array",
|
2996
|
-
"items": {
|
2997
|
-
"anyOf": [
|
2562
|
+
},
|
2998
2563
|
{
|
2999
|
-
"$ref": "#/definitions/
|
2564
|
+
"$ref": "#/definitions/blockCard_node"
|
3000
2565
|
},
|
3001
2566
|
{
|
3002
|
-
"$ref": "#/definitions/
|
2567
|
+
"$ref": "#/definitions/embedCard_node"
|
3003
2568
|
}
|
3004
2569
|
]
|
3005
|
-
}
|
2570
|
+
},
|
2571
|
+
"minItems": 1
|
3006
2572
|
}
|
3007
2573
|
},
|
3008
|
-
"
|
3009
|
-
|
3010
|
-
"content"
|
3011
|
-
],
|
3012
|
-
"additionalProperties": false
|
2574
|
+
"additionalProperties": false,
|
2575
|
+
"required": ["type", "content"]
|
3013
2576
|
},
|
3014
2577
|
"multiBodiedExtension_node": {
|
3015
2578
|
"type": "object",
|
3016
2579
|
"properties": {
|
3017
2580
|
"type": {
|
3018
|
-
"enum": [
|
3019
|
-
|
3020
|
-
|
2581
|
+
"enum": ["multiBodiedExtension"]
|
2582
|
+
},
|
2583
|
+
"marks": {
|
2584
|
+
"type": "array"
|
3021
2585
|
},
|
3022
2586
|
"attrs": {
|
3023
2587
|
"type": "object",
|
@@ -3035,26 +2599,16 @@
|
|
3035
2599
|
"type": "string"
|
3036
2600
|
},
|
3037
2601
|
"layout": {
|
3038
|
-
"enum": [
|
3039
|
-
"wide",
|
3040
|
-
"full-width",
|
3041
|
-
"default"
|
3042
|
-
]
|
2602
|
+
"enum": ["default", "wide", "full-width"]
|
3043
2603
|
},
|
3044
2604
|
"localId": {
|
3045
2605
|
"type": "string",
|
3046
2606
|
"minLength": 1
|
3047
2607
|
}
|
3048
2608
|
},
|
3049
|
-
"required": [
|
3050
|
-
"extensionKey",
|
3051
|
-
"extensionType"
|
3052
|
-
],
|
2609
|
+
"required": ["extensionKey", "extensionType"],
|
3053
2610
|
"additionalProperties": false
|
3054
2611
|
},
|
3055
|
-
"marks": {
|
3056
|
-
"type": "array"
|
3057
|
-
},
|
3058
2612
|
"content": {
|
3059
2613
|
"type": "array",
|
3060
2614
|
"items": {
|
@@ -3062,41 +2616,33 @@
|
|
3062
2616
|
}
|
3063
2617
|
}
|
3064
2618
|
},
|
3065
|
-
"
|
3066
|
-
|
3067
|
-
"attrs",
|
3068
|
-
"content"
|
3069
|
-
],
|
3070
|
-
"additionalProperties": false
|
2619
|
+
"additionalProperties": false,
|
2620
|
+
"required": ["type", "attrs", "content"]
|
3071
2621
|
},
|
3072
2622
|
"doc_node": {
|
3073
2623
|
"type": "object",
|
3074
2624
|
"properties": {
|
3075
|
-
"version": {
|
3076
|
-
"enum": [
|
3077
|
-
1
|
3078
|
-
]
|
3079
|
-
},
|
3080
2625
|
"type": {
|
3081
|
-
"enum": [
|
3082
|
-
"doc"
|
3083
|
-
]
|
2626
|
+
"enum": ["doc"]
|
3084
2627
|
},
|
3085
2628
|
"content": {
|
3086
2629
|
"type": "array",
|
3087
2630
|
"items": {
|
3088
2631
|
"anyOf": [
|
3089
2632
|
{
|
3090
|
-
"$ref": "#/definitions/
|
2633
|
+
"$ref": "#/definitions/blockCard_node"
|
3091
2634
|
},
|
3092
2635
|
{
|
3093
2636
|
"$ref": "#/definitions/codeBlock_with_marks_node"
|
3094
2637
|
},
|
3095
2638
|
{
|
3096
|
-
"$ref": "#/definitions/
|
2639
|
+
"$ref": "#/definitions/codeBlock_with_no_marks_node"
|
3097
2640
|
},
|
3098
2641
|
{
|
3099
|
-
"$ref": "#/definitions/
|
2642
|
+
"$ref": "#/definitions/mediaSingle_caption_node"
|
2643
|
+
},
|
2644
|
+
{
|
2645
|
+
"$ref": "#/definitions/mediaSingle_full_node"
|
3100
2646
|
},
|
3101
2647
|
{
|
3102
2648
|
"$ref": "#/definitions/paragraph_with_alignment_node"
|
@@ -3105,52 +2651,52 @@
|
|
3105
2651
|
"$ref": "#/definitions/paragraph_with_indentation_node"
|
3106
2652
|
},
|
3107
2653
|
{
|
3108
|
-
"$ref": "#/definitions/
|
2654
|
+
"$ref": "#/definitions/paragraph_with_no_marks_node"
|
3109
2655
|
},
|
3110
2656
|
{
|
3111
|
-
"$ref": "#/definitions/
|
2657
|
+
"$ref": "#/definitions/taskList_node"
|
3112
2658
|
},
|
3113
2659
|
{
|
3114
|
-
"$ref": "#/definitions/
|
2660
|
+
"$ref": "#/definitions/orderedList_node"
|
3115
2661
|
},
|
3116
2662
|
{
|
3117
2663
|
"$ref": "#/definitions/bulletList_node"
|
3118
2664
|
},
|
3119
2665
|
{
|
3120
|
-
"$ref": "#/definitions/
|
2666
|
+
"$ref": "#/definitions/blockquote_node"
|
3121
2667
|
},
|
3122
2668
|
{
|
3123
|
-
"$ref": "#/definitions/
|
2669
|
+
"$ref": "#/definitions/decisionList_node"
|
3124
2670
|
},
|
3125
2671
|
{
|
3126
|
-
"$ref": "#/definitions/
|
2672
|
+
"$ref": "#/definitions/embedCard_node"
|
3127
2673
|
},
|
3128
2674
|
{
|
3129
|
-
"$ref": "#/definitions/
|
2675
|
+
"$ref": "#/definitions/extension_with_marks_node"
|
3130
2676
|
},
|
3131
2677
|
{
|
3132
|
-
"$ref": "#/definitions/
|
2678
|
+
"$ref": "#/definitions/heading_with_indentation_node"
|
3133
2679
|
},
|
3134
2680
|
{
|
3135
|
-
"$ref": "#/definitions/
|
2681
|
+
"$ref": "#/definitions/heading_with_no_marks_node"
|
3136
2682
|
},
|
3137
2683
|
{
|
3138
|
-
"$ref": "#/definitions/
|
2684
|
+
"$ref": "#/definitions/heading_with_alignment_node"
|
3139
2685
|
},
|
3140
2686
|
{
|
3141
|
-
"$ref": "#/definitions/
|
2687
|
+
"$ref": "#/definitions/mediaGroup_node"
|
3142
2688
|
},
|
3143
2689
|
{
|
3144
|
-
"$ref": "#/definitions/
|
2690
|
+
"$ref": "#/definitions/rule_node"
|
3145
2691
|
},
|
3146
2692
|
{
|
3147
|
-
"$ref": "#/definitions/
|
2693
|
+
"$ref": "#/definitions/panel_node"
|
3148
2694
|
},
|
3149
2695
|
{
|
3150
|
-
"$ref": "#/definitions/
|
2696
|
+
"$ref": "#/definitions/table_node"
|
3151
2697
|
},
|
3152
2698
|
{
|
3153
|
-
"$ref": "#/definitions/
|
2699
|
+
"$ref": "#/definitions/bodiedExtension_with_marks_node"
|
3154
2700
|
},
|
3155
2701
|
{
|
3156
2702
|
"$ref": "#/definitions/expand_with_no_mark_node"
|
@@ -3158,9 +2704,6 @@
|
|
3158
2704
|
{
|
3159
2705
|
"$ref": "#/definitions/expand_with_breakout_mark_node"
|
3160
2706
|
},
|
3161
|
-
{
|
3162
|
-
"$ref": "#/definitions/bodiedExtension_with_marks_node"
|
3163
|
-
},
|
3164
2707
|
{
|
3165
2708
|
"$ref": "#/definitions/layoutSection_full_node"
|
3166
2709
|
},
|
@@ -3172,14 +2715,13 @@
|
|
3172
2715
|
}
|
3173
2716
|
]
|
3174
2717
|
}
|
2718
|
+
},
|
2719
|
+
"version": {
|
2720
|
+
"enum": [1]
|
3175
2721
|
}
|
3176
2722
|
},
|
3177
|
-
"
|
3178
|
-
|
3179
|
-
"type",
|
3180
|
-
"content"
|
3181
|
-
],
|
3182
|
-
"additionalProperties": false
|
2723
|
+
"additionalProperties": false,
|
2724
|
+
"required": ["version", "type", "content"]
|
3183
2725
|
}
|
3184
2726
|
}
|
3185
2727
|
}
|