UNPKG

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