@atlaskit/adf-schema 36.12.2 → 36.12.3
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 +6 -0
- package/dist/cjs/next-schema/nodes/blockCard.js +2 -0
- package/dist/es2019/next-schema/nodes/blockCard.js +2 -0
- package/dist/esm/next-schema/nodes/blockCard.js +2 -0
- package/package.json +2 -2
- package/schema-generators/__tests__/unit/jqueries.md +13 -0
- package/schema-generators/__tests__/unit/json-full-schema.unit.ts +103 -0
package/CHANGELOG.md
CHANGED
@@ -16,6 +16,7 @@ var blockCard = exports.blockCard = (0, _adfSchemaGenerator.adfNode)('blockCard'
|
|
16
16
|
},
|
17
17
|
datasource: {
|
18
18
|
type: 'object',
|
19
|
+
additionalProperties: false,
|
19
20
|
properties: {
|
20
21
|
id: {
|
21
22
|
type: 'string'
|
@@ -24,6 +25,7 @@ var blockCard = exports.blockCard = (0, _adfSchemaGenerator.adfNode)('blockCard'
|
|
24
25
|
parameters: {},
|
25
26
|
views: {
|
26
27
|
items: {
|
28
|
+
additionalProperties: false,
|
27
29
|
properties: {
|
28
30
|
// Empty properties object carried over from original JSON Schema
|
29
31
|
properties: {},
|
@@ -10,6 +10,7 @@ export const blockCard = adfNode('blockCard').define({
|
|
10
10
|
},
|
11
11
|
datasource: {
|
12
12
|
type: 'object',
|
13
|
+
additionalProperties: false,
|
13
14
|
properties: {
|
14
15
|
id: {
|
15
16
|
type: 'string'
|
@@ -18,6 +19,7 @@ export const blockCard = adfNode('blockCard').define({
|
|
18
19
|
parameters: {},
|
19
20
|
views: {
|
20
21
|
items: {
|
22
|
+
additionalProperties: false,
|
21
23
|
properties: {
|
22
24
|
// Empty properties object carried over from original JSON Schema
|
23
25
|
properties: {},
|
@@ -10,6 +10,7 @@ export var blockCard = adfNode('blockCard').define({
|
|
10
10
|
},
|
11
11
|
datasource: {
|
12
12
|
type: 'object',
|
13
|
+
additionalProperties: false,
|
13
14
|
properties: {
|
14
15
|
id: {
|
15
16
|
type: 'string'
|
@@ -18,6 +19,7 @@ export var blockCard = adfNode('blockCard').define({
|
|
18
19
|
parameters: {},
|
19
20
|
views: {
|
20
21
|
items: {
|
22
|
+
additionalProperties: false,
|
21
23
|
properties: {
|
22
24
|
// Empty properties object carried over from original JSON Schema
|
23
25
|
properties: {},
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@atlaskit/adf-schema",
|
3
|
-
"version": "36.12.
|
3
|
+
"version": "36.12.3",
|
4
4
|
"description": "Shared package that contains the ADF-schema (json) and ProseMirror node/mark specs",
|
5
5
|
"publishConfig": {
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
@@ -44,7 +44,7 @@
|
|
44
44
|
},
|
45
45
|
"devDependencies": {
|
46
46
|
"@atlassian/adf-schema-json": "^1.15.0",
|
47
|
-
"@atlaskit/adf-schema-generator": "^1.11.
|
47
|
+
"@atlaskit/adf-schema-generator": "^1.11.2",
|
48
48
|
"@atlaskit/codemod-utils": "^4.2.4",
|
49
49
|
"@atlaskit/json-schema-generator": "^3.3.9",
|
50
50
|
"@babel/cli": "^7.22.9",
|
@@ -179,3 +179,16 @@ A number of nodes have `marks` defined, yet the array is empty. Assuming this is
|
|
179
179
|
.block_content, .nestedExpand_content, .non_nestable_block_content, .table_cell_content, .inline_node,
|
180
180
|
.bodiedExtension_node.properties.marks, .codeBlock_node.properties.marks, .expand_node.properties.marks, .heading_node.properties.marks, .inlineExtension_node.properties.marks, .text_node.properties.marks, .extension_node.properties.marks, .paragraph_node.properties.marks) else . end)' | pbcopy
|
181
181
|
```
|
182
|
+
|
183
|
+
Base level content objects (not nodes) are deleted. `inline` is also deleted, as it is a content object for paragraph.
|
184
|
+
|
185
|
+
`additionalProperties` and `allOf` are deleted as well.
|
186
|
+
|
187
|
+
A number of nodes have `marks` defined, yet the array is empty. Assuming this is redundant, I've removed them.
|
188
|
+
|
189
|
+
```sh
|
190
|
+
cat packages/adf-schema/json-schema/v1/full.json | jq 'walk(if type == "object" then del(
|
191
|
+
.allOf,
|
192
|
+
.block_content, .nestedExpand_content, .non_nestable_block_content, .table_cell_content, .inline_node,
|
193
|
+
.bodiedExtension_node.properties.marks, .codeBlock_node.properties.marks, .expand_node.properties.marks, .heading_node.properties.marks, .inlineExtension_node.properties.marks, .text_node.properties.marks, .extension_node.properties.marks, .paragraph_node.properties.marks) else . end)' | pbcopy
|
194
|
+
```
|
@@ -24,6 +24,7 @@ const jsonWithTypes = {
|
|
24
24
|
},
|
25
25
|
},
|
26
26
|
required: ['type', 'text'],
|
27
|
+
additionalProperties: false,
|
27
28
|
},
|
28
29
|
breakout_mark: {
|
29
30
|
type: 'object',
|
@@ -39,9 +40,11 @@ const jsonWithTypes = {
|
|
39
40
|
},
|
40
41
|
},
|
41
42
|
required: ['mode'],
|
43
|
+
additionalProperties: false,
|
42
44
|
},
|
43
45
|
},
|
44
46
|
required: ['type', 'attrs'],
|
47
|
+
additionalProperties: false,
|
45
48
|
},
|
46
49
|
codeBlock_node: {
|
47
50
|
type: 'object',
|
@@ -60,9 +63,11 @@ const jsonWithTypes = {
|
|
60
63
|
type: 'string',
|
61
64
|
},
|
62
65
|
},
|
66
|
+
additionalProperties: false,
|
63
67
|
},
|
64
68
|
},
|
65
69
|
required: ['type'],
|
70
|
+
additionalProperties: false,
|
66
71
|
},
|
67
72
|
codeBlock_with_no_marks_node: {},
|
68
73
|
codeBlock_with_marks_node: {},
|
@@ -74,6 +79,7 @@ const jsonWithTypes = {
|
|
74
79
|
},
|
75
80
|
},
|
76
81
|
required: ['type'],
|
82
|
+
additionalProperties: false,
|
77
83
|
},
|
78
84
|
code_mark: {
|
79
85
|
type: 'object',
|
@@ -83,6 +89,7 @@ const jsonWithTypes = {
|
|
83
89
|
},
|
84
90
|
},
|
85
91
|
required: ['type'],
|
92
|
+
additionalProperties: false,
|
86
93
|
},
|
87
94
|
strike_mark: {
|
88
95
|
type: 'object',
|
@@ -92,6 +99,7 @@ const jsonWithTypes = {
|
|
92
99
|
},
|
93
100
|
},
|
94
101
|
required: ['type'],
|
102
|
+
additionalProperties: false,
|
95
103
|
},
|
96
104
|
strong_mark: {
|
97
105
|
type: 'object',
|
@@ -101,6 +109,7 @@ const jsonWithTypes = {
|
|
101
109
|
},
|
102
110
|
},
|
103
111
|
required: ['type'],
|
112
|
+
additionalProperties: false,
|
104
113
|
},
|
105
114
|
underline_mark: {
|
106
115
|
type: 'object',
|
@@ -110,6 +119,7 @@ const jsonWithTypes = {
|
|
110
119
|
},
|
111
120
|
},
|
112
121
|
required: ['type'],
|
122
|
+
additionalProperties: false,
|
113
123
|
},
|
114
124
|
link_mark: {
|
115
125
|
type: 'object',
|
@@ -137,9 +147,11 @@ const jsonWithTypes = {
|
|
137
147
|
},
|
138
148
|
},
|
139
149
|
required: ['href'],
|
150
|
+
additionalProperties: false,
|
140
151
|
},
|
141
152
|
},
|
142
153
|
required: ['type', 'attrs'],
|
154
|
+
additionalProperties: false,
|
143
155
|
},
|
144
156
|
subsup_mark: {
|
145
157
|
type: 'object',
|
@@ -155,9 +167,11 @@ const jsonWithTypes = {
|
|
155
167
|
},
|
156
168
|
},
|
157
169
|
required: ['type'],
|
170
|
+
additionalProperties: false,
|
158
171
|
},
|
159
172
|
},
|
160
173
|
required: ['type', 'attrs'],
|
174
|
+
additionalProperties: false,
|
161
175
|
},
|
162
176
|
textColor_mark: {
|
163
177
|
type: 'object',
|
@@ -174,9 +188,11 @@ const jsonWithTypes = {
|
|
174
188
|
},
|
175
189
|
},
|
176
190
|
required: ['color'],
|
191
|
+
additionalProperties: false,
|
177
192
|
},
|
178
193
|
},
|
179
194
|
required: ['type', 'attrs'],
|
195
|
+
additionalProperties: false,
|
180
196
|
},
|
181
197
|
alignment_mark: {
|
182
198
|
type: 'object',
|
@@ -192,9 +208,11 @@ const jsonWithTypes = {
|
|
192
208
|
},
|
193
209
|
},
|
194
210
|
required: ['align'],
|
211
|
+
additionalProperties: false,
|
195
212
|
},
|
196
213
|
},
|
197
214
|
required: ['type', 'attrs'],
|
215
|
+
additionalProperties: false,
|
198
216
|
},
|
199
217
|
indentation_mark: {
|
200
218
|
type: 'object',
|
@@ -212,9 +230,11 @@ const jsonWithTypes = {
|
|
212
230
|
},
|
213
231
|
},
|
214
232
|
required: ['level'],
|
233
|
+
additionalProperties: false,
|
215
234
|
},
|
216
235
|
},
|
217
236
|
required: ['type', 'attrs'],
|
237
|
+
additionalProperties: false,
|
218
238
|
},
|
219
239
|
annotation_mark: {
|
220
240
|
type: 'object',
|
@@ -233,9 +253,11 @@ const jsonWithTypes = {
|
|
233
253
|
},
|
234
254
|
},
|
235
255
|
required: ['id', 'annotationType'],
|
256
|
+
additionalProperties: false,
|
236
257
|
},
|
237
258
|
},
|
238
259
|
required: ['type', 'attrs'],
|
260
|
+
additionalProperties: false,
|
239
261
|
},
|
240
262
|
dataConsumer_mark: {
|
241
263
|
type: 'object',
|
@@ -255,9 +277,11 @@ const jsonWithTypes = {
|
|
255
277
|
},
|
256
278
|
},
|
257
279
|
required: ['sources'],
|
280
|
+
additionalProperties: false,
|
258
281
|
},
|
259
282
|
},
|
260
283
|
required: ['type', 'attrs'],
|
284
|
+
additionalProperties: false,
|
261
285
|
},
|
262
286
|
fragment_mark: {
|
263
287
|
type: 'object',
|
@@ -277,9 +301,11 @@ const jsonWithTypes = {
|
|
277
301
|
},
|
278
302
|
},
|
279
303
|
required: ['localId'],
|
304
|
+
additionalProperties: false,
|
280
305
|
},
|
281
306
|
},
|
282
307
|
required: ['type', 'attrs'],
|
308
|
+
additionalProperties: false,
|
283
309
|
},
|
284
310
|
border_mark: {
|
285
311
|
type: 'object',
|
@@ -301,9 +327,11 @@ const jsonWithTypes = {
|
|
301
327
|
},
|
302
328
|
},
|
303
329
|
required: ['size', 'color'],
|
330
|
+
additionalProperties: false,
|
304
331
|
},
|
305
332
|
},
|
306
333
|
required: ['type', 'attrs'],
|
334
|
+
additionalProperties: false,
|
307
335
|
},
|
308
336
|
backgroundColor_mark: {
|
309
337
|
type: 'object',
|
@@ -320,9 +348,11 @@ const jsonWithTypes = {
|
|
320
348
|
},
|
321
349
|
},
|
322
350
|
required: ['color'],
|
351
|
+
additionalProperties: false,
|
323
352
|
},
|
324
353
|
},
|
325
354
|
required: ['type', 'attrs'],
|
355
|
+
additionalProperties: false,
|
326
356
|
},
|
327
357
|
hardBreak_node: {
|
328
358
|
type: 'object',
|
@@ -337,9 +367,11 @@ const jsonWithTypes = {
|
|
337
367
|
enum: ['\n'],
|
338
368
|
},
|
339
369
|
},
|
370
|
+
additionalProperties: false,
|
340
371
|
},
|
341
372
|
},
|
342
373
|
required: ['type'],
|
374
|
+
additionalProperties: false,
|
343
375
|
},
|
344
376
|
mention_node: {
|
345
377
|
type: 'object',
|
@@ -367,9 +399,11 @@ const jsonWithTypes = {
|
|
367
399
|
},
|
368
400
|
},
|
369
401
|
required: ['id'],
|
402
|
+
additionalProperties: false,
|
370
403
|
},
|
371
404
|
},
|
372
405
|
required: ['type', 'attrs'],
|
406
|
+
additionalProperties: false,
|
373
407
|
},
|
374
408
|
emoji_node: {
|
375
409
|
type: 'object',
|
@@ -390,10 +424,12 @@ const jsonWithTypes = {
|
|
390
424
|
type: 'string',
|
391
425
|
},
|
392
426
|
},
|
427
|
+
additionalProperties: false,
|
393
428
|
required: ['shortName'],
|
394
429
|
},
|
395
430
|
},
|
396
431
|
required: ['type', 'attrs'],
|
432
|
+
additionalProperties: false,
|
397
433
|
},
|
398
434
|
inlineExtension_node: {
|
399
435
|
type: 'object',
|
@@ -422,9 +458,11 @@ const jsonWithTypes = {
|
|
422
458
|
},
|
423
459
|
},
|
424
460
|
required: ['extensionKey', 'extensionType'],
|
461
|
+
additionalProperties: false,
|
425
462
|
},
|
426
463
|
},
|
427
464
|
required: ['type', 'attrs'],
|
465
|
+
additionalProperties: false,
|
428
466
|
},
|
429
467
|
inlineExtension_with_marks_node: {},
|
430
468
|
date_node: {
|
@@ -442,9 +480,11 @@ const jsonWithTypes = {
|
|
442
480
|
},
|
443
481
|
},
|
444
482
|
required: ['timestamp'],
|
483
|
+
additionalProperties: false,
|
445
484
|
},
|
446
485
|
},
|
447
486
|
required: ['type', 'attrs'],
|
487
|
+
additionalProperties: false,
|
448
488
|
},
|
449
489
|
placeholder_node: {
|
450
490
|
type: 'object',
|
@@ -460,9 +500,11 @@ const jsonWithTypes = {
|
|
460
500
|
},
|
461
501
|
},
|
462
502
|
required: ['text'],
|
503
|
+
additionalProperties: false,
|
463
504
|
},
|
464
505
|
},
|
465
506
|
required: ['type', 'attrs'],
|
507
|
+
additionalProperties: false,
|
466
508
|
},
|
467
509
|
blockCard_node: {
|
468
510
|
type: 'object',
|
@@ -496,11 +538,13 @@ const jsonWithTypes = {
|
|
496
538
|
properties: {},
|
497
539
|
},
|
498
540
|
required: ['type'],
|
541
|
+
additionalProperties: false,
|
499
542
|
},
|
500
543
|
minItems: 1,
|
501
544
|
},
|
502
545
|
},
|
503
546
|
required: ['id', 'parameters', 'views'],
|
547
|
+
additionalProperties: false,
|
504
548
|
},
|
505
549
|
width: {
|
506
550
|
type: 'number',
|
@@ -517,6 +561,7 @@ const jsonWithTypes = {
|
|
517
561
|
],
|
518
562
|
},
|
519
563
|
},
|
564
|
+
additionalProperties: false,
|
520
565
|
required: ['datasource'],
|
521
566
|
},
|
522
567
|
{
|
@@ -527,6 +572,7 @@ const jsonWithTypes = {
|
|
527
572
|
},
|
528
573
|
},
|
529
574
|
required: ['url'],
|
575
|
+
additionalProperties: false,
|
530
576
|
},
|
531
577
|
{
|
532
578
|
type: 'object',
|
@@ -534,11 +580,13 @@ const jsonWithTypes = {
|
|
534
580
|
data: {},
|
535
581
|
},
|
536
582
|
required: ['data'],
|
583
|
+
additionalProperties: false,
|
537
584
|
},
|
538
585
|
],
|
539
586
|
},
|
540
587
|
},
|
541
588
|
required: ['type', 'attrs'],
|
589
|
+
additionalProperties: false,
|
542
590
|
},
|
543
591
|
inlineCard_node: {
|
544
592
|
type: 'object',
|
@@ -556,6 +604,7 @@ const jsonWithTypes = {
|
|
556
604
|
},
|
557
605
|
},
|
558
606
|
required: ['url'],
|
607
|
+
additionalProperties: false,
|
559
608
|
},
|
560
609
|
{
|
561
610
|
type: 'object',
|
@@ -563,11 +612,13 @@ const jsonWithTypes = {
|
|
563
612
|
data: {},
|
564
613
|
},
|
565
614
|
required: ['data'],
|
615
|
+
additionalProperties: false,
|
566
616
|
},
|
567
617
|
],
|
568
618
|
},
|
569
619
|
},
|
570
620
|
required: ['type', 'attrs'],
|
621
|
+
additionalProperties: false,
|
571
622
|
},
|
572
623
|
status_node: {
|
573
624
|
type: 'object',
|
@@ -593,9 +644,11 @@ const jsonWithTypes = {
|
|
593
644
|
},
|
594
645
|
},
|
595
646
|
required: ['text', 'color'],
|
647
|
+
additionalProperties: false,
|
596
648
|
},
|
597
649
|
},
|
598
650
|
required: ['type', 'attrs'],
|
651
|
+
additionalProperties: false,
|
599
652
|
},
|
600
653
|
media_node: {
|
601
654
|
type: 'object',
|
@@ -633,6 +686,7 @@ const jsonWithTypes = {
|
|
633
686
|
},
|
634
687
|
},
|
635
688
|
required: ['type', 'id', 'collection'],
|
689
|
+
additionalProperties: false,
|
636
690
|
},
|
637
691
|
{
|
638
692
|
type: 'object',
|
@@ -654,6 +708,7 @@ const jsonWithTypes = {
|
|
654
708
|
},
|
655
709
|
},
|
656
710
|
required: ['type', 'url'],
|
711
|
+
additionalProperties: false,
|
657
712
|
},
|
658
713
|
],
|
659
714
|
},
|
@@ -675,6 +730,7 @@ const jsonWithTypes = {
|
|
675
730
|
},
|
676
731
|
},
|
677
732
|
required: ['type', 'attrs'],
|
733
|
+
additionalProperties: false,
|
678
734
|
},
|
679
735
|
mediaInline_node: {
|
680
736
|
type: 'object',
|
@@ -710,6 +766,7 @@ const jsonWithTypes = {
|
|
710
766
|
type: 'string',
|
711
767
|
},
|
712
768
|
},
|
769
|
+
additionalProperties: false,
|
713
770
|
required: ['id', 'collection'],
|
714
771
|
},
|
715
772
|
marks: {
|
@@ -730,6 +787,7 @@ const jsonWithTypes = {
|
|
730
787
|
},
|
731
788
|
},
|
732
789
|
required: ['type', 'attrs'],
|
790
|
+
additionalProperties: false,
|
733
791
|
},
|
734
792
|
formatted_text_inline_node: {},
|
735
793
|
code_inline_node: {},
|
@@ -747,6 +805,7 @@ const jsonWithTypes = {
|
|
747
805
|
},
|
748
806
|
},
|
749
807
|
required: ['type'],
|
808
|
+
additionalProperties: false,
|
750
809
|
},
|
751
810
|
paragraph_with_no_marks_node: {},
|
752
811
|
paragraph_with_alignment_node: {},
|
@@ -794,6 +853,7 @@ const jsonWithTypes = {
|
|
794
853
|
},
|
795
854
|
},
|
796
855
|
required: ['type', 'content'],
|
856
|
+
additionalProperties: false,
|
797
857
|
},
|
798
858
|
mediaSingle_node: {
|
799
859
|
type: 'object',
|
@@ -826,6 +886,7 @@ const jsonWithTypes = {
|
|
826
886
|
],
|
827
887
|
},
|
828
888
|
},
|
889
|
+
additionalProperties: false,
|
829
890
|
required: ['layout'],
|
830
891
|
},
|
831
892
|
{
|
@@ -851,6 +912,7 @@ const jsonWithTypes = {
|
|
851
912
|
},
|
852
913
|
},
|
853
914
|
required: ['width', 'widthType', 'layout'],
|
915
|
+
additionalProperties: false,
|
854
916
|
},
|
855
917
|
],
|
856
918
|
},
|
@@ -862,6 +924,7 @@ const jsonWithTypes = {
|
|
862
924
|
},
|
863
925
|
},
|
864
926
|
required: ['type'],
|
927
|
+
additionalProperties: true,
|
865
928
|
},
|
866
929
|
mediaSingle_caption_node: {},
|
867
930
|
mediaSingle_full_node: {},
|
@@ -888,9 +951,11 @@ const jsonWithTypes = {
|
|
888
951
|
},
|
889
952
|
},
|
890
953
|
required: ['localId', 'state'],
|
954
|
+
additionalProperties: false,
|
891
955
|
},
|
892
956
|
},
|
893
957
|
required: ['type', 'attrs'],
|
958
|
+
additionalProperties: false,
|
894
959
|
},
|
895
960
|
taskList_node: {
|
896
961
|
type: 'object',
|
@@ -925,9 +990,11 @@ const jsonWithTypes = {
|
|
925
990
|
},
|
926
991
|
},
|
927
992
|
required: ['localId'],
|
993
|
+
additionalProperties: false,
|
928
994
|
},
|
929
995
|
},
|
930
996
|
required: ['type', 'content', 'attrs'],
|
997
|
+
additionalProperties: false,
|
931
998
|
},
|
932
999
|
listItem_node: {
|
933
1000
|
type: 'object',
|
@@ -984,6 +1051,7 @@ const jsonWithTypes = {
|
|
984
1051
|
},
|
985
1052
|
},
|
986
1053
|
required: ['type', 'content'],
|
1054
|
+
additionalProperties: false,
|
987
1055
|
},
|
988
1056
|
bulletList_node: {
|
989
1057
|
type: 'object',
|
@@ -1000,6 +1068,7 @@ const jsonWithTypes = {
|
|
1000
1068
|
},
|
1001
1069
|
},
|
1002
1070
|
required: ['type', 'content'],
|
1071
|
+
additionalProperties: false,
|
1003
1072
|
},
|
1004
1073
|
orderedList_node: {
|
1005
1074
|
type: 'object',
|
@@ -1022,9 +1091,11 @@ const jsonWithTypes = {
|
|
1022
1091
|
minimum: 0,
|
1023
1092
|
},
|
1024
1093
|
},
|
1094
|
+
additionalProperties: false,
|
1025
1095
|
},
|
1026
1096
|
},
|
1027
1097
|
required: ['type', 'content'],
|
1098
|
+
additionalProperties: false,
|
1028
1099
|
},
|
1029
1100
|
heading_node: {
|
1030
1101
|
type: 'object',
|
@@ -1048,9 +1119,11 @@ const jsonWithTypes = {
|
|
1048
1119
|
},
|
1049
1120
|
},
|
1050
1121
|
required: ['level'],
|
1122
|
+
additionalProperties: false,
|
1051
1123
|
},
|
1052
1124
|
},
|
1053
1125
|
required: ['type', 'attrs'],
|
1126
|
+
additionalProperties: false,
|
1054
1127
|
},
|
1055
1128
|
heading_with_no_marks_node: {},
|
1056
1129
|
heading_with_alignment_node: {},
|
@@ -1070,6 +1143,7 @@ const jsonWithTypes = {
|
|
1070
1143
|
},
|
1071
1144
|
},
|
1072
1145
|
required: ['type', 'content'],
|
1146
|
+
additionalProperties: false,
|
1073
1147
|
},
|
1074
1148
|
decisionItem_node: {
|
1075
1149
|
type: 'object',
|
@@ -1094,9 +1168,11 @@ const jsonWithTypes = {
|
|
1094
1168
|
},
|
1095
1169
|
},
|
1096
1170
|
required: ['localId', 'state'],
|
1171
|
+
additionalProperties: false,
|
1097
1172
|
},
|
1098
1173
|
},
|
1099
1174
|
required: ['type', 'attrs'],
|
1175
|
+
additionalProperties: false,
|
1100
1176
|
},
|
1101
1177
|
decisionList_node: {
|
1102
1178
|
type: 'object',
|
@@ -1119,9 +1195,11 @@ const jsonWithTypes = {
|
|
1119
1195
|
},
|
1120
1196
|
},
|
1121
1197
|
required: ['localId'],
|
1198
|
+
additionalProperties: false,
|
1122
1199
|
},
|
1123
1200
|
},
|
1124
1201
|
required: ['type', 'content', 'attrs'],
|
1202
|
+
additionalProperties: false,
|
1125
1203
|
},
|
1126
1204
|
rule_node: {
|
1127
1205
|
type: 'object',
|
@@ -1131,6 +1209,7 @@ const jsonWithTypes = {
|
|
1131
1209
|
},
|
1132
1210
|
},
|
1133
1211
|
required: ['type'],
|
1212
|
+
additionalProperties: false,
|
1134
1213
|
},
|
1135
1214
|
panel_node: {
|
1136
1215
|
type: 'object',
|
@@ -1166,6 +1245,7 @@ const jsonWithTypes = {
|
|
1166
1245
|
},
|
1167
1246
|
},
|
1168
1247
|
required: ['panelType'],
|
1248
|
+
additionalProperties: false,
|
1169
1249
|
},
|
1170
1250
|
content: {
|
1171
1251
|
type: 'array',
|
@@ -1213,6 +1293,7 @@ const jsonWithTypes = {
|
|
1213
1293
|
},
|
1214
1294
|
},
|
1215
1295
|
required: ['type', 'attrs', 'content'],
|
1296
|
+
additionalProperties: false,
|
1216
1297
|
},
|
1217
1298
|
blockquote_node: {
|
1218
1299
|
type: 'object',
|
@@ -1239,6 +1320,7 @@ const jsonWithTypes = {
|
|
1239
1320
|
},
|
1240
1321
|
},
|
1241
1322
|
required: ['type', 'content'],
|
1323
|
+
additionalProperties: false,
|
1242
1324
|
},
|
1243
1325
|
extension_node: {
|
1244
1326
|
type: 'object',
|
@@ -1270,9 +1352,11 @@ const jsonWithTypes = {
|
|
1270
1352
|
},
|
1271
1353
|
},
|
1272
1354
|
required: ['extensionKey', 'extensionType'],
|
1355
|
+
additionalProperties: false,
|
1273
1356
|
},
|
1274
1357
|
},
|
1275
1358
|
required: ['type', 'attrs'],
|
1359
|
+
additionalProperties: false,
|
1276
1360
|
},
|
1277
1361
|
extension_with_marks_node: {},
|
1278
1362
|
embedCard_node: {
|
@@ -1310,10 +1394,12 @@ const jsonWithTypes = {
|
|
1310
1394
|
],
|
1311
1395
|
},
|
1312
1396
|
},
|
1397
|
+
additionalProperties: false,
|
1313
1398
|
required: ['url', 'layout'],
|
1314
1399
|
},
|
1315
1400
|
},
|
1316
1401
|
required: ['type', 'attrs'],
|
1402
|
+
additionalProperties: false,
|
1317
1403
|
},
|
1318
1404
|
nestedExpand_node: {
|
1319
1405
|
type: 'object',
|
@@ -1328,12 +1414,14 @@ const jsonWithTypes = {
|
|
1328
1414
|
type: 'string',
|
1329
1415
|
},
|
1330
1416
|
},
|
1417
|
+
additionalProperties: false,
|
1331
1418
|
},
|
1332
1419
|
content: {
|
1333
1420
|
$ref: '#/definitions/nestedExpand_content',
|
1334
1421
|
},
|
1335
1422
|
},
|
1336
1423
|
required: ['type', 'attrs', 'content'],
|
1424
|
+
additionalProperties: false,
|
1337
1425
|
},
|
1338
1426
|
nestedExpand_with_no_marks_node: {},
|
1339
1427
|
table_node: {
|
@@ -1369,6 +1457,7 @@ const jsonWithTypes = {
|
|
1369
1457
|
enum: ['default', 'fixed'],
|
1370
1458
|
},
|
1371
1459
|
},
|
1460
|
+
additionalProperties: false,
|
1372
1461
|
},
|
1373
1462
|
content: {
|
1374
1463
|
type: 'array',
|
@@ -1385,6 +1474,7 @@ const jsonWithTypes = {
|
|
1385
1474
|
},
|
1386
1475
|
},
|
1387
1476
|
required: ['type', 'content'],
|
1477
|
+
additionalProperties: false,
|
1388
1478
|
},
|
1389
1479
|
table_row_node: {
|
1390
1480
|
type: 'object',
|
@@ -1407,6 +1497,7 @@ const jsonWithTypes = {
|
|
1407
1497
|
},
|
1408
1498
|
},
|
1409
1499
|
required: ['type', 'content'],
|
1500
|
+
additionalProperties: false,
|
1410
1501
|
},
|
1411
1502
|
table_cell_node: {
|
1412
1503
|
type: 'object',
|
@@ -1433,12 +1524,14 @@ const jsonWithTypes = {
|
|
1433
1524
|
type: 'string',
|
1434
1525
|
},
|
1435
1526
|
},
|
1527
|
+
additionalProperties: false,
|
1436
1528
|
},
|
1437
1529
|
content: {
|
1438
1530
|
$ref: '#/definitions/table_cell_content',
|
1439
1531
|
},
|
1440
1532
|
},
|
1441
1533
|
required: ['type', 'content'],
|
1534
|
+
additionalProperties: false,
|
1442
1535
|
},
|
1443
1536
|
table_header_node: {
|
1444
1537
|
type: 'object',
|
@@ -1465,12 +1558,14 @@ const jsonWithTypes = {
|
|
1465
1558
|
type: 'string',
|
1466
1559
|
},
|
1467
1560
|
},
|
1561
|
+
additionalProperties: false,
|
1468
1562
|
},
|
1469
1563
|
content: {
|
1470
1564
|
$ref: '#/definitions/table_cell_content',
|
1471
1565
|
},
|
1472
1566
|
},
|
1473
1567
|
required: ['type', 'content'],
|
1568
|
+
additionalProperties: false,
|
1474
1569
|
},
|
1475
1570
|
expand_node: {
|
1476
1571
|
type: 'object',
|
@@ -1485,6 +1580,7 @@ const jsonWithTypes = {
|
|
1485
1580
|
type: 'string',
|
1486
1581
|
},
|
1487
1582
|
},
|
1583
|
+
additionalProperties: false,
|
1488
1584
|
},
|
1489
1585
|
content: {
|
1490
1586
|
type: 'array',
|
@@ -1495,6 +1591,7 @@ const jsonWithTypes = {
|
|
1495
1591
|
},
|
1496
1592
|
},
|
1497
1593
|
required: ['type', 'attrs', 'content'],
|
1594
|
+
additionalProperties: false,
|
1498
1595
|
},
|
1499
1596
|
expand_with_no_mark_node: {},
|
1500
1597
|
expand_with_breakout_mark_node: {},
|
@@ -1528,6 +1625,7 @@ const jsonWithTypes = {
|
|
1528
1625
|
},
|
1529
1626
|
},
|
1530
1627
|
required: ['extensionKey', 'extensionType'],
|
1628
|
+
additionalProperties: false,
|
1531
1629
|
},
|
1532
1630
|
content: {
|
1533
1631
|
type: 'array',
|
@@ -1538,6 +1636,7 @@ const jsonWithTypes = {
|
|
1538
1636
|
},
|
1539
1637
|
},
|
1540
1638
|
required: ['type', 'attrs', 'content'],
|
1639
|
+
additionalProperties: false,
|
1541
1640
|
},
|
1542
1641
|
bodiedExtension_with_marks_node: {},
|
1543
1642
|
layoutColumn_node: {
|
@@ -1556,6 +1655,7 @@ const jsonWithTypes = {
|
|
1556
1655
|
},
|
1557
1656
|
},
|
1558
1657
|
required: ['width'],
|
1658
|
+
additionalProperties: false,
|
1559
1659
|
},
|
1560
1660
|
content: {
|
1561
1661
|
type: 'array',
|
@@ -1566,6 +1666,7 @@ const jsonWithTypes = {
|
|
1566
1666
|
},
|
1567
1667
|
},
|
1568
1668
|
required: ['type', 'attrs', 'content'],
|
1669
|
+
additionalProperties: false,
|
1569
1670
|
},
|
1570
1671
|
layoutSection_node: {
|
1571
1672
|
type: 'object',
|
@@ -1587,6 +1688,7 @@ const jsonWithTypes = {
|
|
1587
1688
|
},
|
1588
1689
|
},
|
1589
1690
|
required: ['type', 'content'],
|
1691
|
+
additionalProperties: false,
|
1590
1692
|
},
|
1591
1693
|
layoutSection_full_node: {},
|
1592
1694
|
doc_node: {
|
@@ -1685,6 +1787,7 @@ const jsonWithTypes = {
|
|
1685
1787
|
},
|
1686
1788
|
},
|
1687
1789
|
required: ['version', 'type', 'content'],
|
1790
|
+
additionalProperties: false,
|
1688
1791
|
},
|
1689
1792
|
},
|
1690
1793
|
};
|