@atlaskit/adf-schema 51.5.0 → 51.5.2

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