@atlaskit/adf-schema 49.0.6 → 50.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/cjs/index.js +132 -0
- package/dist/cjs/next-schema/generated/nodeTypes.js +140 -1
- package/dist/cjs/next-schema/nodes/blockCard.js +15 -0
- package/dist/cjs/next-schema/nodes/blockquote.js +16 -2
- package/dist/cjs/next-schema/nodes/caption.js +7 -0
- package/dist/cjs/next-schema/nodes/codeBlock.js +5 -0
- package/dist/cjs/next-schema/nodes/date.js +5 -0
- package/dist/cjs/next-schema/nodes/embedCard.js +5 -0
- package/dist/cjs/next-schema/nodes/emoji.js +5 -0
- package/dist/cjs/next-schema/nodes/expand.js +5 -0
- package/dist/cjs/next-schema/nodes/hardBreak.js +5 -0
- package/dist/cjs/next-schema/nodes/inlineCard.js +10 -0
- package/dist/cjs/next-schema/nodes/layoutColumn.js +5 -0
- package/dist/cjs/next-schema/nodes/layoutSection.js +12 -0
- package/dist/cjs/next-schema/nodes/list.js +20 -1
- package/dist/cjs/next-schema/nodes/media.js +10 -0
- package/dist/cjs/next-schema/nodes/mediaInline.js +5 -0
- package/dist/cjs/next-schema/nodes/mediaSingle.js +10 -0
- package/dist/cjs/next-schema/nodes/nestedExpand.js +5 -0
- package/dist/cjs/next-schema/nodes/panel.js +5 -0
- package/dist/cjs/next-schema/nodes/placeholder.js +5 -0
- package/dist/cjs/next-schema/nodes/rule.js +9 -1
- package/dist/cjs/next-schema/nodes/tableNodes.js +17 -0
- package/dist/cjs/schema/index.js +138 -0
- package/dist/cjs/schema/nodes/block-card.js +48 -1
- package/dist/cjs/schema/nodes/blockquote.js +20 -2
- package/dist/cjs/schema/nodes/bullet-list.js +20 -1
- package/dist/cjs/schema/nodes/caption.js +20 -1
- package/dist/cjs/schema/nodes/code-block.js +72 -2
- package/dist/cjs/schema/nodes/date.js +22 -1
- package/dist/cjs/schema/nodes/embed-card.js +36 -1
- package/dist/cjs/schema/nodes/emoji.js +73 -1
- package/dist/cjs/schema/nodes/expand.js +56 -1
- package/dist/cjs/schema/nodes/hard-break.js +18 -1
- package/dist/cjs/schema/nodes/index.js +138 -0
- package/dist/cjs/schema/nodes/inline-card.js +46 -1
- package/dist/cjs/schema/nodes/layout-column.js +37 -1
- package/dist/cjs/schema/nodes/layout-section.js +31 -1
- package/dist/cjs/schema/nodes/list-item.js +34 -1
- package/dist/cjs/schema/nodes/media-inline.js +12 -2
- package/dist/cjs/schema/nodes/media-single.js +22 -2
- package/dist/cjs/schema/nodes/media.js +21 -4
- package/dist/cjs/schema/nodes/nested-expand.js +34 -7
- package/dist/cjs/schema/nodes/ordered-list.js +54 -3
- package/dist/cjs/schema/nodes/panel.js +13 -5
- package/dist/cjs/schema/nodes/placeholder.js +24 -1
- package/dist/cjs/schema/nodes/rule.js +18 -1
- package/dist/cjs/schema/nodes/tableNodes.js +69 -6
- package/dist/cjs/validator-schema/generated/validatorSpec.js +159 -0
- package/dist/es2019/index.js +2 -2
- package/dist/es2019/next-schema/generated/nodeTypes.js +140 -1
- package/dist/es2019/next-schema/nodes/blockCard.js +15 -0
- package/dist/es2019/next-schema/nodes/blockquote.js +16 -2
- package/dist/es2019/next-schema/nodes/caption.js +7 -0
- package/dist/es2019/next-schema/nodes/codeBlock.js +5 -0
- package/dist/es2019/next-schema/nodes/date.js +5 -0
- package/dist/es2019/next-schema/nodes/embedCard.js +5 -0
- package/dist/es2019/next-schema/nodes/emoji.js +5 -0
- package/dist/es2019/next-schema/nodes/expand.js +5 -0
- package/dist/es2019/next-schema/nodes/hardBreak.js +5 -0
- package/dist/es2019/next-schema/nodes/inlineCard.js +10 -0
- package/dist/es2019/next-schema/nodes/layoutColumn.js +5 -0
- package/dist/es2019/next-schema/nodes/layoutSection.js +12 -0
- package/dist/es2019/next-schema/nodes/list.js +20 -1
- package/dist/es2019/next-schema/nodes/media.js +10 -0
- package/dist/es2019/next-schema/nodes/mediaInline.js +5 -0
- package/dist/es2019/next-schema/nodes/mediaSingle.js +10 -0
- package/dist/es2019/next-schema/nodes/nestedExpand.js +5 -0
- package/dist/es2019/next-schema/nodes/panel.js +5 -0
- package/dist/es2019/next-schema/nodes/placeholder.js +5 -0
- package/dist/es2019/next-schema/nodes/rule.js +9 -1
- package/dist/es2019/next-schema/nodes/tableNodes.js +17 -0
- package/dist/es2019/schema/default-schema.js +1 -1
- package/dist/es2019/schema/index.js +1 -1
- package/dist/es2019/schema/nodes/block-card.js +50 -0
- package/dist/es2019/schema/nodes/blockquote.js +19 -1
- package/dist/es2019/schema/nodes/bullet-list.js +19 -0
- package/dist/es2019/schema/nodes/caption.js +19 -0
- package/dist/es2019/schema/nodes/code-block.js +68 -0
- package/dist/es2019/schema/nodes/date.js +19 -0
- package/dist/es2019/schema/nodes/embed-card.js +34 -0
- package/dist/es2019/schema/nodes/emoji.js +71 -0
- package/dist/es2019/schema/nodes/expand.js +59 -0
- package/dist/es2019/schema/nodes/hard-break.js +15 -0
- package/dist/es2019/schema/nodes/index.js +20 -20
- package/dist/es2019/schema/nodes/inline-card.js +45 -0
- package/dist/es2019/schema/nodes/layout-column.js +38 -0
- package/dist/es2019/schema/nodes/layout-section.js +32 -0
- package/dist/es2019/schema/nodes/list-item.js +29 -0
- package/dist/es2019/schema/nodes/media-inline.js +8 -1
- package/dist/es2019/schema/nodes/media-single.js +20 -1
- package/dist/es2019/schema/nodes/media.js +17 -4
- package/dist/es2019/schema/nodes/nested-expand.js +21 -6
- package/dist/es2019/schema/nodes/ordered-list.js +51 -2
- package/dist/es2019/schema/nodes/panel.js +11 -5
- package/dist/es2019/schema/nodes/placeholder.js +23 -0
- package/dist/es2019/schema/nodes/rule.js +15 -0
- package/dist/es2019/schema/nodes/tableNodes.js +59 -3
- package/dist/es2019/validator-schema/generated/validatorSpec.js +159 -0
- package/dist/esm/index.js +2 -2
- package/dist/esm/next-schema/generated/nodeTypes.js +140 -1
- package/dist/esm/next-schema/nodes/blockCard.js +15 -0
- package/dist/esm/next-schema/nodes/blockquote.js +16 -2
- package/dist/esm/next-schema/nodes/caption.js +7 -0
- package/dist/esm/next-schema/nodes/codeBlock.js +5 -0
- package/dist/esm/next-schema/nodes/date.js +5 -0
- package/dist/esm/next-schema/nodes/embedCard.js +5 -0
- package/dist/esm/next-schema/nodes/emoji.js +5 -0
- package/dist/esm/next-schema/nodes/expand.js +5 -0
- package/dist/esm/next-schema/nodes/hardBreak.js +5 -0
- package/dist/esm/next-schema/nodes/inlineCard.js +10 -0
- package/dist/esm/next-schema/nodes/layoutColumn.js +5 -0
- package/dist/esm/next-schema/nodes/layoutSection.js +12 -0
- package/dist/esm/next-schema/nodes/list.js +20 -1
- package/dist/esm/next-schema/nodes/media.js +10 -0
- package/dist/esm/next-schema/nodes/mediaInline.js +5 -0
- package/dist/esm/next-schema/nodes/mediaSingle.js +10 -0
- package/dist/esm/next-schema/nodes/nestedExpand.js +5 -0
- package/dist/esm/next-schema/nodes/panel.js +5 -0
- package/dist/esm/next-schema/nodes/placeholder.js +5 -0
- package/dist/esm/next-schema/nodes/rule.js +9 -1
- package/dist/esm/next-schema/nodes/tableNodes.js +17 -0
- package/dist/esm/schema/default-schema.js +1 -1
- package/dist/esm/schema/index.js +1 -1
- package/dist/esm/schema/nodes/block-card.js +47 -0
- package/dist/esm/schema/nodes/blockquote.js +19 -1
- package/dist/esm/schema/nodes/bullet-list.js +19 -0
- package/dist/esm/schema/nodes/caption.js +19 -0
- package/dist/esm/schema/nodes/code-block.js +71 -1
- package/dist/esm/schema/nodes/date.js +21 -0
- package/dist/esm/schema/nodes/embed-card.js +35 -0
- package/dist/esm/schema/nodes/emoji.js +71 -0
- package/dist/esm/schema/nodes/expand.js +55 -0
- package/dist/esm/schema/nodes/hard-break.js +17 -0
- package/dist/esm/schema/nodes/index.js +20 -20
- package/dist/esm/schema/nodes/inline-card.js +45 -0
- package/dist/esm/schema/nodes/layout-column.js +36 -0
- package/dist/esm/schema/nodes/layout-section.js +30 -0
- package/dist/esm/schema/nodes/list-item.js +33 -0
- package/dist/esm/schema/nodes/media-inline.js +10 -1
- package/dist/esm/schema/nodes/media-single.js +21 -1
- package/dist/esm/schema/nodes/media.js +19 -3
- package/dist/esm/schema/nodes/nested-expand.js +32 -6
- package/dist/esm/schema/nodes/ordered-list.js +53 -2
- package/dist/esm/schema/nodes/panel.js +12 -4
- package/dist/esm/schema/nodes/placeholder.js +23 -0
- package/dist/esm/schema/nodes/rule.js +17 -0
- package/dist/esm/schema/nodes/tableNodes.js +68 -5
- package/dist/esm/validator-schema/generated/validatorSpec.js +159 -0
- package/dist/json-schema/v1/full.json +140 -2
- package/dist/json-schema/v1/stage-0.json +152 -2
- package/dist/types/index.d.ts +2 -2
- package/dist/types/next-schema/generated/nodeTypes.d.ts +72 -0
- package/dist/types/next-schema/groups/nonNestableBlockContentGroup.d.ts +7 -0
- package/dist/types/next-schema/groups/tableCellContentPseudoGroup.d.ts +7 -0
- package/dist/types/next-schema/nodes/blockquote.d.ts +7 -0
- package/dist/types/next-schema/nodes/layoutSection.d.ts +5 -0
- package/dist/types/schema/index.d.ts +1 -1
- package/dist/types/schema/nodes/block-card.d.ts +4 -0
- package/dist/types/schema/nodes/blockquote.d.ts +4 -0
- package/dist/types/schema/nodes/bullet-list.d.ts +1 -0
- package/dist/types/schema/nodes/caption.d.ts +4 -0
- package/dist/types/schema/nodes/code-block.d.ts +2 -0
- package/dist/types/schema/nodes/date.d.ts +2 -0
- package/dist/types/schema/nodes/embed-card.d.ts +2 -0
- package/dist/types/schema/nodes/emoji.d.ts +2 -0
- package/dist/types/schema/nodes/expand.d.ts +2 -0
- package/dist/types/schema/nodes/hard-break.d.ts +2 -0
- package/dist/types/schema/nodes/index.d.ts +20 -20
- package/dist/types/schema/nodes/inline-card.d.ts +1 -0
- package/dist/types/schema/nodes/layout-column.d.ts +2 -0
- package/dist/types/schema/nodes/layout-section.d.ts +4 -0
- package/dist/types/schema/nodes/list-item.d.ts +2 -0
- package/dist/types/schema/nodes/media-inline.d.ts +1 -0
- package/dist/types/schema/nodes/media-single.d.ts +3 -1
- package/dist/types/schema/nodes/media.d.ts +3 -1
- package/dist/types/schema/nodes/nested-expand.d.ts +2 -0
- package/dist/types/schema/nodes/ordered-list.d.ts +2 -0
- package/dist/types/schema/nodes/panel.d.ts +2 -0
- package/dist/types/schema/nodes/placeholder.d.ts +2 -0
- package/dist/types/schema/nodes/rule.d.ts +4 -0
- package/dist/types/schema/nodes/tableNodes.d.ts +6 -0
- package/dist/types/schema/nodes/types/list.d.ts +7 -0
- package/dist/types/schema/nodes/types/rich-media-common.d.ts +1 -0
- package/dist/types/validator-schema/generated/validatorSpec.d.ts +159 -0
- package/json-schema/v1/full.json +140 -2
- package/json-schema/v1/stage-0.json +152 -2
- package/package.json +2 -2
- package/schema-generators/__tests__/unit/adfToValidatorSpec.unit.ts +1 -0
@@ -58,6 +58,10 @@ export declare const blockCard: {
|
|
58
58
|
};
|
59
59
|
attrs: ({
|
60
60
|
props: {
|
61
|
+
localId: {
|
62
|
+
type: string;
|
63
|
+
optional: boolean;
|
64
|
+
};
|
61
65
|
url: {
|
62
66
|
type: string;
|
63
67
|
optional: boolean;
|
@@ -106,6 +110,10 @@ export declare const blockCard: {
|
|
106
110
|
validatorFn: string;
|
107
111
|
optional?: undefined;
|
108
112
|
};
|
113
|
+
localId: {
|
114
|
+
type: string;
|
115
|
+
optional: boolean;
|
116
|
+
};
|
109
117
|
datasource?: undefined;
|
110
118
|
width?: undefined;
|
111
119
|
layout?: undefined;
|
@@ -116,6 +124,10 @@ export declare const blockCard: {
|
|
116
124
|
data: {
|
117
125
|
type: string;
|
118
126
|
};
|
127
|
+
localId: {
|
128
|
+
type: string;
|
129
|
+
optional: boolean;
|
130
|
+
};
|
119
131
|
url?: undefined;
|
120
132
|
datasource?: undefined;
|
121
133
|
width?: undefined;
|
@@ -131,6 +143,15 @@ export declare const blockquote: {
|
|
131
143
|
type: string;
|
132
144
|
values: string[];
|
133
145
|
};
|
146
|
+
attrs: {
|
147
|
+
props: {
|
148
|
+
localId: {
|
149
|
+
type: string;
|
150
|
+
optional: boolean;
|
151
|
+
};
|
152
|
+
};
|
153
|
+
optional: boolean;
|
154
|
+
};
|
134
155
|
content: {
|
135
156
|
type: string;
|
136
157
|
items: string[][];
|
@@ -245,6 +266,15 @@ export declare const bulletList: {
|
|
245
266
|
type: string;
|
246
267
|
values: string[];
|
247
268
|
};
|
269
|
+
attrs: {
|
270
|
+
props: {
|
271
|
+
localId: {
|
272
|
+
type: string;
|
273
|
+
optional: boolean;
|
274
|
+
};
|
275
|
+
};
|
276
|
+
optional: boolean;
|
277
|
+
};
|
248
278
|
content: {
|
249
279
|
type: string;
|
250
280
|
items: string[][];
|
@@ -258,6 +288,15 @@ export declare const caption: {
|
|
258
288
|
type: string;
|
259
289
|
values: string[];
|
260
290
|
};
|
291
|
+
attrs: {
|
292
|
+
props: {
|
293
|
+
localId: {
|
294
|
+
type: string;
|
295
|
+
optional: boolean;
|
296
|
+
};
|
297
|
+
};
|
298
|
+
optional: boolean;
|
299
|
+
};
|
261
300
|
content: {
|
262
301
|
type: string;
|
263
302
|
items: string[][];
|
@@ -290,6 +329,10 @@ export declare const codeBlock: {
|
|
290
329
|
type: string;
|
291
330
|
optional: boolean;
|
292
331
|
};
|
332
|
+
localId: {
|
333
|
+
type: string;
|
334
|
+
optional: boolean;
|
335
|
+
};
|
293
336
|
};
|
294
337
|
optional: boolean;
|
295
338
|
};
|
@@ -356,6 +399,10 @@ export declare const date: {
|
|
356
399
|
minLength: number;
|
357
400
|
type: string;
|
358
401
|
};
|
402
|
+
localId: {
|
403
|
+
type: string;
|
404
|
+
optional: boolean;
|
405
|
+
};
|
359
406
|
};
|
360
407
|
};
|
361
408
|
marks: {
|
@@ -465,6 +512,10 @@ export declare const embedCard: {
|
|
465
512
|
type: string;
|
466
513
|
optional: boolean;
|
467
514
|
};
|
515
|
+
localId: {
|
516
|
+
type: string;
|
517
|
+
optional: boolean;
|
518
|
+
};
|
468
519
|
};
|
469
520
|
};
|
470
521
|
};
|
@@ -488,6 +539,10 @@ export declare const emoji: {
|
|
488
539
|
type: string;
|
489
540
|
optional: boolean;
|
490
541
|
};
|
542
|
+
localId: {
|
543
|
+
type: string;
|
544
|
+
optional: boolean;
|
545
|
+
};
|
491
546
|
};
|
492
547
|
};
|
493
548
|
marks: {
|
@@ -509,6 +564,10 @@ export declare const expand: {
|
|
509
564
|
type: string;
|
510
565
|
optional: boolean;
|
511
566
|
};
|
567
|
+
localId: {
|
568
|
+
type: string;
|
569
|
+
optional: boolean;
|
570
|
+
};
|
512
571
|
};
|
513
572
|
optional: boolean;
|
514
573
|
};
|
@@ -632,6 +691,10 @@ export declare const hardBreak: {
|
|
632
691
|
values: string[];
|
633
692
|
optional: boolean;
|
634
693
|
};
|
694
|
+
localId: {
|
695
|
+
type: string;
|
696
|
+
optional: boolean;
|
697
|
+
};
|
635
698
|
};
|
636
699
|
optional: boolean;
|
637
700
|
};
|
@@ -727,6 +790,10 @@ export declare const inlineCard: {
|
|
727
790
|
type: string;
|
728
791
|
validatorFn: string;
|
729
792
|
};
|
793
|
+
localId: {
|
794
|
+
type: string;
|
795
|
+
optional: boolean;
|
796
|
+
};
|
730
797
|
data?: undefined;
|
731
798
|
};
|
732
799
|
} | {
|
@@ -734,6 +801,10 @@ export declare const inlineCard: {
|
|
734
801
|
data: {
|
735
802
|
type: string;
|
736
803
|
};
|
804
|
+
localId: {
|
805
|
+
type: string;
|
806
|
+
optional: boolean;
|
807
|
+
};
|
737
808
|
url?: undefined;
|
738
809
|
};
|
739
810
|
})[];
|
@@ -805,6 +876,10 @@ export declare const layoutColumn: {
|
|
805
876
|
minimum: number;
|
806
877
|
maximum: number;
|
807
878
|
};
|
879
|
+
localId: {
|
880
|
+
type: string;
|
881
|
+
optional: boolean;
|
882
|
+
};
|
808
883
|
};
|
809
884
|
};
|
810
885
|
content: {
|
@@ -821,6 +896,15 @@ export declare const layoutSection: {
|
|
821
896
|
type: string;
|
822
897
|
values: string[];
|
823
898
|
};
|
899
|
+
attrs: {
|
900
|
+
props: {
|
901
|
+
localId: {
|
902
|
+
type: string;
|
903
|
+
optional: boolean;
|
904
|
+
};
|
905
|
+
};
|
906
|
+
optional: boolean;
|
907
|
+
};
|
824
908
|
content: {
|
825
909
|
type: string;
|
826
910
|
items: string[];
|
@@ -860,6 +944,10 @@ export declare const layoutSection_with_single_column: (string | {
|
|
860
944
|
values: string[];
|
861
945
|
optional: boolean;
|
862
946
|
};
|
947
|
+
localId: {
|
948
|
+
type: string;
|
949
|
+
optional: boolean;
|
950
|
+
};
|
863
951
|
};
|
864
952
|
optional: boolean;
|
865
953
|
};
|
@@ -915,6 +1003,15 @@ export declare const listItem: {
|
|
915
1003
|
type: string;
|
916
1004
|
values: string[];
|
917
1005
|
};
|
1006
|
+
attrs: {
|
1007
|
+
props: {
|
1008
|
+
localId: {
|
1009
|
+
type: string;
|
1010
|
+
optional: boolean;
|
1011
|
+
};
|
1012
|
+
};
|
1013
|
+
optional: boolean;
|
1014
|
+
};
|
918
1015
|
content: {
|
919
1016
|
type: string;
|
920
1017
|
isTupleLike: boolean;
|
@@ -947,6 +1044,10 @@ export declare const media: {
|
|
947
1044
|
type: string;
|
948
1045
|
values: string[];
|
949
1046
|
};
|
1047
|
+
localId: {
|
1048
|
+
type: string;
|
1049
|
+
optional: boolean;
|
1050
|
+
};
|
950
1051
|
id: {
|
951
1052
|
minLength: number;
|
952
1053
|
type: string;
|
@@ -979,6 +1080,10 @@ export declare const media: {
|
|
979
1080
|
type: string;
|
980
1081
|
values: string[];
|
981
1082
|
};
|
1083
|
+
localId: {
|
1084
|
+
type: string;
|
1085
|
+
optional: boolean;
|
1086
|
+
};
|
982
1087
|
alt: {
|
983
1088
|
type: string;
|
984
1089
|
optional: boolean;
|
@@ -1034,6 +1139,10 @@ export declare const mediaInline: {
|
|
1034
1139
|
values: string[];
|
1035
1140
|
optional: boolean;
|
1036
1141
|
};
|
1142
|
+
localId: {
|
1143
|
+
type: string;
|
1144
|
+
optional: boolean;
|
1145
|
+
};
|
1037
1146
|
url: {
|
1038
1147
|
type: string;
|
1039
1148
|
optional: boolean;
|
@@ -1083,6 +1192,10 @@ export declare const mediaSingle: {
|
|
1083
1192
|
};
|
1084
1193
|
attrs: ({
|
1085
1194
|
props: {
|
1195
|
+
localId: {
|
1196
|
+
type: string;
|
1197
|
+
optional: boolean;
|
1198
|
+
};
|
1086
1199
|
width: {
|
1087
1200
|
type: string;
|
1088
1201
|
minimum: number;
|
@@ -1101,6 +1214,10 @@ export declare const mediaSingle: {
|
|
1101
1214
|
};
|
1102
1215
|
} | {
|
1103
1216
|
props: {
|
1217
|
+
localId: {
|
1218
|
+
type: string;
|
1219
|
+
optional: boolean;
|
1220
|
+
};
|
1104
1221
|
width: {
|
1105
1222
|
type: string;
|
1106
1223
|
minimum: number;
|
@@ -1255,6 +1372,10 @@ export declare const nestedExpand: {
|
|
1255
1372
|
type: string;
|
1256
1373
|
optional: boolean;
|
1257
1374
|
};
|
1375
|
+
localId: {
|
1376
|
+
type: string;
|
1377
|
+
optional: boolean;
|
1378
|
+
};
|
1258
1379
|
};
|
1259
1380
|
};
|
1260
1381
|
content: string;
|
@@ -1291,6 +1412,10 @@ export declare const orderedList: {
|
|
1291
1412
|
minimum: number;
|
1292
1413
|
optional: boolean;
|
1293
1414
|
};
|
1415
|
+
localId: {
|
1416
|
+
type: string;
|
1417
|
+
optional: boolean;
|
1418
|
+
};
|
1294
1419
|
};
|
1295
1420
|
optional: boolean;
|
1296
1421
|
};
|
@@ -1329,6 +1454,10 @@ export declare const panel: {
|
|
1329
1454
|
type: string;
|
1330
1455
|
optional: boolean;
|
1331
1456
|
};
|
1457
|
+
localId: {
|
1458
|
+
type: string;
|
1459
|
+
optional: boolean;
|
1460
|
+
};
|
1332
1461
|
};
|
1333
1462
|
};
|
1334
1463
|
content: {
|
@@ -1406,6 +1535,10 @@ export declare const placeholder: {
|
|
1406
1535
|
text: {
|
1407
1536
|
type: string;
|
1408
1537
|
};
|
1538
|
+
localId: {
|
1539
|
+
type: string;
|
1540
|
+
optional: boolean;
|
1541
|
+
};
|
1409
1542
|
};
|
1410
1543
|
};
|
1411
1544
|
};
|
@@ -1416,6 +1549,15 @@ export declare const rule: {
|
|
1416
1549
|
type: string;
|
1417
1550
|
values: string[];
|
1418
1551
|
};
|
1552
|
+
attrs: {
|
1553
|
+
props: {
|
1554
|
+
localId: {
|
1555
|
+
type: string;
|
1556
|
+
optional: boolean;
|
1557
|
+
};
|
1558
|
+
};
|
1559
|
+
optional: boolean;
|
1560
|
+
};
|
1419
1561
|
};
|
1420
1562
|
};
|
1421
1563
|
export declare const status: {
|
@@ -1556,6 +1698,10 @@ export declare const tableCell: {
|
|
1556
1698
|
type: string;
|
1557
1699
|
optional: boolean;
|
1558
1700
|
};
|
1701
|
+
localId: {
|
1702
|
+
type: string;
|
1703
|
+
optional: boolean;
|
1704
|
+
};
|
1559
1705
|
};
|
1560
1706
|
optional: boolean;
|
1561
1707
|
};
|
@@ -1595,6 +1741,10 @@ export declare const tableHeader: {
|
|
1595
1741
|
type: string;
|
1596
1742
|
optional: boolean;
|
1597
1743
|
};
|
1744
|
+
localId: {
|
1745
|
+
type: string;
|
1746
|
+
optional: boolean;
|
1747
|
+
};
|
1598
1748
|
};
|
1599
1749
|
optional: boolean;
|
1600
1750
|
};
|
@@ -1612,6 +1762,15 @@ export declare const tableRow: {
|
|
1612
1762
|
type: string;
|
1613
1763
|
values: string[];
|
1614
1764
|
};
|
1765
|
+
attrs: {
|
1766
|
+
props: {
|
1767
|
+
localId: {
|
1768
|
+
type: string;
|
1769
|
+
optional: boolean;
|
1770
|
+
};
|
1771
|
+
};
|
1772
|
+
optional: boolean;
|
1773
|
+
};
|
1615
1774
|
content: {
|
1616
1775
|
type: string;
|
1617
1776
|
items: string[][];
|
package/json-schema/v1/full.json
CHANGED
@@ -151,6 +151,9 @@
|
|
151
151
|
{
|
152
152
|
"type": "object",
|
153
153
|
"properties": {
|
154
|
+
"localId": {
|
155
|
+
"type": "string"
|
156
|
+
},
|
154
157
|
"url": {
|
155
158
|
"type": "string"
|
156
159
|
},
|
@@ -203,6 +206,9 @@
|
|
203
206
|
"properties": {
|
204
207
|
"url": {
|
205
208
|
"type": "string"
|
209
|
+
},
|
210
|
+
"localId": {
|
211
|
+
"type": "string"
|
206
212
|
}
|
207
213
|
},
|
208
214
|
"required": ["url"],
|
@@ -211,7 +217,10 @@
|
|
211
217
|
{
|
212
218
|
"type": "object",
|
213
219
|
"properties": {
|
214
|
-
"data": {}
|
220
|
+
"data": {},
|
221
|
+
"localId": {
|
222
|
+
"type": "string"
|
223
|
+
}
|
215
224
|
},
|
216
225
|
"required": ["data"],
|
217
226
|
"additionalProperties": false
|
@@ -228,6 +237,15 @@
|
|
228
237
|
"type": {
|
229
238
|
"enum": ["blockquote"]
|
230
239
|
},
|
240
|
+
"attrs": {
|
241
|
+
"type": "object",
|
242
|
+
"properties": {
|
243
|
+
"localId": {
|
244
|
+
"type": "string"
|
245
|
+
}
|
246
|
+
},
|
247
|
+
"additionalProperties": false
|
248
|
+
},
|
231
249
|
"content": {
|
232
250
|
"type": "array",
|
233
251
|
"items": {
|
@@ -391,6 +409,15 @@
|
|
391
409
|
"type": {
|
392
410
|
"enum": ["bulletList"]
|
393
411
|
},
|
412
|
+
"attrs": {
|
413
|
+
"type": "object",
|
414
|
+
"properties": {
|
415
|
+
"localId": {
|
416
|
+
"type": "string"
|
417
|
+
}
|
418
|
+
},
|
419
|
+
"additionalProperties": false
|
420
|
+
},
|
394
421
|
"content": {
|
395
422
|
"type": "array",
|
396
423
|
"items": {
|
@@ -408,6 +435,15 @@
|
|
408
435
|
"type": {
|
409
436
|
"enum": ["caption"]
|
410
437
|
},
|
438
|
+
"attrs": {
|
439
|
+
"type": "object",
|
440
|
+
"properties": {
|
441
|
+
"localId": {
|
442
|
+
"type": "string"
|
443
|
+
}
|
444
|
+
},
|
445
|
+
"additionalProperties": false
|
446
|
+
},
|
411
447
|
"content": {
|
412
448
|
"type": "array",
|
413
449
|
"items": {
|
@@ -503,6 +539,9 @@
|
|
503
539
|
},
|
504
540
|
"uniqueId": {
|
505
541
|
"type": "string"
|
542
|
+
},
|
543
|
+
"localId": {
|
544
|
+
"type": "string"
|
506
545
|
}
|
507
546
|
},
|
508
547
|
"additionalProperties": false
|
@@ -537,6 +576,9 @@
|
|
537
576
|
},
|
538
577
|
"uniqueId": {
|
539
578
|
"type": "string"
|
579
|
+
},
|
580
|
+
"localId": {
|
581
|
+
"type": "string"
|
540
582
|
}
|
541
583
|
},
|
542
584
|
"additionalProperties": false
|
@@ -587,6 +629,9 @@
|
|
587
629
|
"timestamp": {
|
588
630
|
"minLength": 1,
|
589
631
|
"type": "string"
|
632
|
+
},
|
633
|
+
"localId": {
|
634
|
+
"type": "string"
|
590
635
|
}
|
591
636
|
},
|
592
637
|
"required": ["timestamp"],
|
@@ -793,6 +838,9 @@
|
|
793
838
|
},
|
794
839
|
"originalWidth": {
|
795
840
|
"type": "number"
|
841
|
+
},
|
842
|
+
"localId": {
|
843
|
+
"type": "string"
|
796
844
|
}
|
797
845
|
},
|
798
846
|
"required": ["url", "layout"],
|
@@ -819,6 +867,9 @@
|
|
819
867
|
},
|
820
868
|
"text": {
|
821
869
|
"type": "string"
|
870
|
+
},
|
871
|
+
"localId": {
|
872
|
+
"type": "string"
|
822
873
|
}
|
823
874
|
},
|
824
875
|
"required": ["shortName"],
|
@@ -843,6 +894,9 @@
|
|
843
894
|
"properties": {
|
844
895
|
"title": {
|
845
896
|
"type": "string"
|
897
|
+
},
|
898
|
+
"localId": {
|
899
|
+
"type": "string"
|
846
900
|
}
|
847
901
|
},
|
848
902
|
"additionalProperties": false
|
@@ -882,6 +936,9 @@
|
|
882
936
|
"properties": {
|
883
937
|
"title": {
|
884
938
|
"type": "string"
|
939
|
+
},
|
940
|
+
"localId": {
|
941
|
+
"type": "string"
|
885
942
|
}
|
886
943
|
},
|
887
944
|
"additionalProperties": false
|
@@ -1051,6 +1108,9 @@
|
|
1051
1108
|
"properties": {
|
1052
1109
|
"text": {
|
1053
1110
|
"enum": ["\n"]
|
1111
|
+
},
|
1112
|
+
"localId": {
|
1113
|
+
"type": "string"
|
1054
1114
|
}
|
1055
1115
|
},
|
1056
1116
|
"additionalProperties": false
|
@@ -1220,6 +1280,9 @@
|
|
1220
1280
|
"properties": {
|
1221
1281
|
"url": {
|
1222
1282
|
"type": "string"
|
1283
|
+
},
|
1284
|
+
"localId": {
|
1285
|
+
"type": "string"
|
1223
1286
|
}
|
1224
1287
|
},
|
1225
1288
|
"required": ["url"],
|
@@ -1228,7 +1291,10 @@
|
|
1228
1291
|
{
|
1229
1292
|
"type": "object",
|
1230
1293
|
"properties": {
|
1231
|
-
"data": {}
|
1294
|
+
"data": {},
|
1295
|
+
"localId": {
|
1296
|
+
"type": "string"
|
1297
|
+
}
|
1232
1298
|
},
|
1233
1299
|
"required": ["data"],
|
1234
1300
|
"additionalProperties": false
|
@@ -1314,6 +1380,9 @@
|
|
1314
1380
|
"type": "number",
|
1315
1381
|
"minimum": 0,
|
1316
1382
|
"maximum": 100
|
1383
|
+
},
|
1384
|
+
"localId": {
|
1385
|
+
"type": "string"
|
1317
1386
|
}
|
1318
1387
|
},
|
1319
1388
|
"required": ["width"],
|
@@ -1370,6 +1439,15 @@
|
|
1370
1439
|
"$ref": "#/definitions/breakout_mark"
|
1371
1440
|
}
|
1372
1441
|
},
|
1442
|
+
"attrs": {
|
1443
|
+
"type": "object",
|
1444
|
+
"properties": {
|
1445
|
+
"localId": {
|
1446
|
+
"type": "string"
|
1447
|
+
}
|
1448
|
+
},
|
1449
|
+
"additionalProperties": false
|
1450
|
+
},
|
1373
1451
|
"content": {
|
1374
1452
|
"type": "array",
|
1375
1453
|
"items": {
|
@@ -1418,6 +1496,15 @@
|
|
1418
1496
|
"type": {
|
1419
1497
|
"enum": ["listItem"]
|
1420
1498
|
},
|
1499
|
+
"attrs": {
|
1500
|
+
"type": "object",
|
1501
|
+
"properties": {
|
1502
|
+
"localId": {
|
1503
|
+
"type": "string"
|
1504
|
+
}
|
1505
|
+
},
|
1506
|
+
"additionalProperties": false
|
1507
|
+
},
|
1421
1508
|
"content": {
|
1422
1509
|
"type": "array",
|
1423
1510
|
"items": [
|
@@ -1505,6 +1592,9 @@
|
|
1505
1592
|
"type": {
|
1506
1593
|
"enum": ["link", "file"]
|
1507
1594
|
},
|
1595
|
+
"localId": {
|
1596
|
+
"type": "string"
|
1597
|
+
},
|
1508
1598
|
"id": {
|
1509
1599
|
"minLength": 1,
|
1510
1600
|
"type": "string"
|
@@ -1535,6 +1625,9 @@
|
|
1535
1625
|
"type": {
|
1536
1626
|
"enum": ["external"]
|
1537
1627
|
},
|
1628
|
+
"localId": {
|
1629
|
+
"type": "string"
|
1630
|
+
},
|
1538
1631
|
"alt": {
|
1539
1632
|
"type": "string"
|
1540
1633
|
},
|
@@ -1602,6 +1695,9 @@
|
|
1602
1695
|
"type": {
|
1603
1696
|
"enum": ["link", "file", "image"]
|
1604
1697
|
},
|
1698
|
+
"localId": {
|
1699
|
+
"type": "string"
|
1700
|
+
},
|
1605
1701
|
"id": {
|
1606
1702
|
"minLength": 1,
|
1607
1703
|
"type": "string"
|
@@ -1697,6 +1793,9 @@
|
|
1697
1793
|
{
|
1698
1794
|
"type": "object",
|
1699
1795
|
"properties": {
|
1796
|
+
"localId": {
|
1797
|
+
"type": "string"
|
1798
|
+
},
|
1700
1799
|
"width": {
|
1701
1800
|
"type": "number",
|
1702
1801
|
"minimum": 0,
|
@@ -1723,6 +1822,9 @@
|
|
1723
1822
|
{
|
1724
1823
|
"type": "object",
|
1725
1824
|
"properties": {
|
1825
|
+
"localId": {
|
1826
|
+
"type": "string"
|
1827
|
+
},
|
1726
1828
|
"width": {
|
1727
1829
|
"type": "number",
|
1728
1830
|
"minimum": 0
|
@@ -1844,6 +1946,9 @@
|
|
1844
1946
|
"properties": {
|
1845
1947
|
"title": {
|
1846
1948
|
"type": "string"
|
1949
|
+
},
|
1950
|
+
"localId": {
|
1951
|
+
"type": "string"
|
1847
1952
|
}
|
1848
1953
|
},
|
1849
1954
|
"additionalProperties": false
|
@@ -1939,6 +2044,9 @@
|
|
1939
2044
|
"order": {
|
1940
2045
|
"type": "number",
|
1941
2046
|
"minimum": 0
|
2047
|
+
},
|
2048
|
+
"localId": {
|
2049
|
+
"type": "string"
|
1942
2050
|
}
|
1943
2051
|
},
|
1944
2052
|
"additionalProperties": false
|
@@ -1985,6 +2093,9 @@
|
|
1985
2093
|
},
|
1986
2094
|
"panelColor": {
|
1987
2095
|
"type": "string"
|
2096
|
+
},
|
2097
|
+
"localId": {
|
2098
|
+
"type": "string"
|
1988
2099
|
}
|
1989
2100
|
},
|
1990
2101
|
"required": ["panelType"],
|
@@ -2135,6 +2246,9 @@
|
|
2135
2246
|
"properties": {
|
2136
2247
|
"text": {
|
2137
2248
|
"type": "string"
|
2249
|
+
},
|
2250
|
+
"localId": {
|
2251
|
+
"type": "string"
|
2138
2252
|
}
|
2139
2253
|
},
|
2140
2254
|
"required": ["text"],
|
@@ -2149,6 +2263,15 @@
|
|
2149
2263
|
"properties": {
|
2150
2264
|
"type": {
|
2151
2265
|
"enum": ["rule"]
|
2266
|
+
},
|
2267
|
+
"attrs": {
|
2268
|
+
"type": "object",
|
2269
|
+
"properties": {
|
2270
|
+
"localId": {
|
2271
|
+
"type": "string"
|
2272
|
+
}
|
2273
|
+
},
|
2274
|
+
"additionalProperties": false
|
2152
2275
|
}
|
2153
2276
|
},
|
2154
2277
|
"additionalProperties": false,
|
@@ -2315,6 +2438,9 @@
|
|
2315
2438
|
},
|
2316
2439
|
"background": {
|
2317
2440
|
"type": "string"
|
2441
|
+
},
|
2442
|
+
"localId": {
|
2443
|
+
"type": "string"
|
2318
2444
|
}
|
2319
2445
|
},
|
2320
2446
|
"additionalProperties": false
|
@@ -2349,6 +2475,9 @@
|
|
2349
2475
|
},
|
2350
2476
|
"background": {
|
2351
2477
|
"type": "string"
|
2478
|
+
},
|
2479
|
+
"localId": {
|
2480
|
+
"type": "string"
|
2352
2481
|
}
|
2353
2482
|
},
|
2354
2483
|
"additionalProperties": false
|
@@ -2418,6 +2547,15 @@
|
|
2418
2547
|
"type": {
|
2419
2548
|
"enum": ["tableRow"]
|
2420
2549
|
},
|
2550
|
+
"attrs": {
|
2551
|
+
"type": "object",
|
2552
|
+
"properties": {
|
2553
|
+
"localId": {
|
2554
|
+
"type": "string"
|
2555
|
+
}
|
2556
|
+
},
|
2557
|
+
"additionalProperties": false
|
2558
|
+
},
|
2421
2559
|
"content": {
|
2422
2560
|
"type": "array",
|
2423
2561
|
"items": {
|