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