document-model.js 1.5.3 → 1.6.1

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.
@@ -0,0 +1,2061 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://cdn.jsdelivr.net/npm/document-schema.js@1.6.1/schemas/content-document.schema.json",
4
+ "oneOf": [
5
+ {
6
+ "type": "object",
7
+ "properties": {
8
+ "kind": {
9
+ "type": "string",
10
+ "const": "wordprocessing"
11
+ },
12
+ "formatVersion": {
13
+ "type": "number",
14
+ "const": 1
15
+ },
16
+ "metadata": {
17
+ "type": "object",
18
+ "properties": {
19
+ "title": {
20
+ "type": "string"
21
+ },
22
+ "author": {
23
+ "type": "string"
24
+ },
25
+ "subject": {
26
+ "type": "string"
27
+ },
28
+ "keywords": {
29
+ "type": "array",
30
+ "items": {
31
+ "type": "string"
32
+ }
33
+ },
34
+ "creator": {
35
+ "type": "string"
36
+ },
37
+ "producer": {
38
+ "type": "string"
39
+ },
40
+ "createdIso": {
41
+ "type": "string"
42
+ },
43
+ "modifiedIso": {
44
+ "type": "string"
45
+ }
46
+ },
47
+ "additionalProperties": false
48
+ },
49
+ "sections": {
50
+ "type": "array",
51
+ "items": {
52
+ "type": "object",
53
+ "properties": {
54
+ "pageSize": {
55
+ "type": "object",
56
+ "properties": {
57
+ "widthPt": {
58
+ "type": "number",
59
+ "exclusiveMinimum": 0
60
+ },
61
+ "heightPt": {
62
+ "type": "number",
63
+ "exclusiveMinimum": 0
64
+ }
65
+ },
66
+ "required": [
67
+ "widthPt",
68
+ "heightPt"
69
+ ],
70
+ "additionalProperties": false
71
+ },
72
+ "margins": {
73
+ "type": "object",
74
+ "properties": {
75
+ "topPt": {
76
+ "type": "number",
77
+ "minimum": 0
78
+ },
79
+ "rightPt": {
80
+ "type": "number",
81
+ "minimum": 0
82
+ },
83
+ "bottomPt": {
84
+ "type": "number",
85
+ "minimum": 0
86
+ },
87
+ "leftPt": {
88
+ "type": "number",
89
+ "minimum": 0
90
+ }
91
+ },
92
+ "required": [
93
+ "topPt",
94
+ "rightPt",
95
+ "bottomPt",
96
+ "leftPt"
97
+ ],
98
+ "additionalProperties": false
99
+ },
100
+ "blocks": {
101
+ "type": "array",
102
+ "items": {
103
+ "$ref": "#/$defs/ContentBlock"
104
+ }
105
+ }
106
+ },
107
+ "required": [
108
+ "pageSize",
109
+ "margins",
110
+ "blocks"
111
+ ],
112
+ "additionalProperties": false
113
+ }
114
+ }
115
+ },
116
+ "required": [
117
+ "kind",
118
+ "formatVersion",
119
+ "metadata",
120
+ "sections"
121
+ ],
122
+ "additionalProperties": false
123
+ },
124
+ {
125
+ "type": "object",
126
+ "properties": {
127
+ "kind": {
128
+ "type": "string",
129
+ "const": "presentation"
130
+ },
131
+ "formatVersion": {
132
+ "type": "number",
133
+ "const": 1
134
+ },
135
+ "metadata": {
136
+ "type": "object",
137
+ "properties": {
138
+ "title": {
139
+ "type": "string"
140
+ },
141
+ "author": {
142
+ "type": "string"
143
+ },
144
+ "subject": {
145
+ "type": "string"
146
+ },
147
+ "keywords": {
148
+ "type": "array",
149
+ "items": {
150
+ "type": "string"
151
+ }
152
+ },
153
+ "creator": {
154
+ "type": "string"
155
+ },
156
+ "producer": {
157
+ "type": "string"
158
+ },
159
+ "createdIso": {
160
+ "type": "string"
161
+ },
162
+ "modifiedIso": {
163
+ "type": "string"
164
+ }
165
+ },
166
+ "additionalProperties": false
167
+ },
168
+ "slides": {
169
+ "type": "array",
170
+ "items": {
171
+ "type": "object",
172
+ "properties": {
173
+ "size": {
174
+ "type": "object",
175
+ "properties": {
176
+ "widthPt": {
177
+ "type": "number",
178
+ "exclusiveMinimum": 0
179
+ },
180
+ "heightPt": {
181
+ "type": "number",
182
+ "exclusiveMinimum": 0
183
+ }
184
+ },
185
+ "required": [
186
+ "widthPt",
187
+ "heightPt"
188
+ ],
189
+ "additionalProperties": false
190
+ },
191
+ "shapes": {
192
+ "type": "array",
193
+ "items": {
194
+ "type": "object",
195
+ "properties": {
196
+ "name": {
197
+ "type": "string"
198
+ },
199
+ "frame": {
200
+ "type": "object",
201
+ "properties": {
202
+ "xPt": {
203
+ "type": "number"
204
+ },
205
+ "yPt": {
206
+ "type": "number"
207
+ },
208
+ "widthPt": {
209
+ "type": "number",
210
+ "minimum": 0
211
+ },
212
+ "heightPt": {
213
+ "type": "number",
214
+ "minimum": 0
215
+ }
216
+ },
217
+ "required": [
218
+ "xPt",
219
+ "yPt",
220
+ "widthPt",
221
+ "heightPt"
222
+ ],
223
+ "additionalProperties": false
224
+ },
225
+ "rotationDeg": {
226
+ "type": "number"
227
+ },
228
+ "insetLeftPt": {
229
+ "type": "number",
230
+ "minimum": 0
231
+ },
232
+ "insetTopPt": {
233
+ "type": "number",
234
+ "minimum": 0
235
+ },
236
+ "insetRightPt": {
237
+ "type": "number",
238
+ "minimum": 0
239
+ },
240
+ "insetBottomPt": {
241
+ "type": "number",
242
+ "minimum": 0
243
+ },
244
+ "fontScale": {
245
+ "type": "number",
246
+ "exclusiveMinimum": 0
247
+ },
248
+ "lineSpacingReduction": {
249
+ "type": "number",
250
+ "minimum": 0
251
+ },
252
+ "sourcePath": {
253
+ "type": "string"
254
+ },
255
+ "blocks": {
256
+ "type": "array",
257
+ "items": {
258
+ "$ref": "#/$defs/ContentBlock"
259
+ }
260
+ }
261
+ },
262
+ "required": [
263
+ "frame",
264
+ "insetLeftPt",
265
+ "insetTopPt",
266
+ "insetRightPt",
267
+ "insetBottomPt",
268
+ "blocks"
269
+ ],
270
+ "additionalProperties": false
271
+ }
272
+ },
273
+ "notes": {
274
+ "type": "string"
275
+ }
276
+ },
277
+ "required": [
278
+ "size",
279
+ "shapes",
280
+ "notes"
281
+ ],
282
+ "additionalProperties": false
283
+ }
284
+ }
285
+ },
286
+ "required": [
287
+ "kind",
288
+ "formatVersion",
289
+ "metadata",
290
+ "slides"
291
+ ],
292
+ "additionalProperties": false
293
+ },
294
+ {
295
+ "type": "object",
296
+ "properties": {
297
+ "kind": {
298
+ "type": "string",
299
+ "const": "spreadsheet"
300
+ },
301
+ "formatVersion": {
302
+ "type": "number",
303
+ "const": 1
304
+ },
305
+ "metadata": {
306
+ "type": "object",
307
+ "properties": {
308
+ "title": {
309
+ "type": "string"
310
+ },
311
+ "author": {
312
+ "type": "string"
313
+ },
314
+ "subject": {
315
+ "type": "string"
316
+ },
317
+ "keywords": {
318
+ "type": "array",
319
+ "items": {
320
+ "type": "string"
321
+ }
322
+ },
323
+ "creator": {
324
+ "type": "string"
325
+ },
326
+ "producer": {
327
+ "type": "string"
328
+ },
329
+ "createdIso": {
330
+ "type": "string"
331
+ },
332
+ "modifiedIso": {
333
+ "type": "string"
334
+ }
335
+ },
336
+ "additionalProperties": false
337
+ },
338
+ "sheets": {
339
+ "type": "array",
340
+ "items": {
341
+ "type": "object",
342
+ "properties": {
343
+ "name": {
344
+ "type": "string"
345
+ },
346
+ "cells": {
347
+ "type": "array",
348
+ "items": {
349
+ "type": "object",
350
+ "properties": {
351
+ "row": {
352
+ "type": "integer",
353
+ "minimum": 0,
354
+ "maximum": 9007199254740991
355
+ },
356
+ "column": {
357
+ "type": "integer",
358
+ "minimum": 0,
359
+ "maximum": 9007199254740991
360
+ },
361
+ "value": {
362
+ "oneOf": [
363
+ {
364
+ "type": "object",
365
+ "properties": {
366
+ "kind": {
367
+ "type": "string",
368
+ "const": "number"
369
+ },
370
+ "value": {
371
+ "type": "number"
372
+ }
373
+ },
374
+ "required": [
375
+ "kind",
376
+ "value"
377
+ ],
378
+ "additionalProperties": false
379
+ },
380
+ {
381
+ "type": "object",
382
+ "properties": {
383
+ "kind": {
384
+ "type": "string",
385
+ "const": "percentage"
386
+ },
387
+ "value": {
388
+ "type": "number"
389
+ }
390
+ },
391
+ "required": [
392
+ "kind",
393
+ "value"
394
+ ],
395
+ "additionalProperties": false
396
+ },
397
+ {
398
+ "type": "object",
399
+ "properties": {
400
+ "kind": {
401
+ "type": "string",
402
+ "const": "currency"
403
+ },
404
+ "value": {
405
+ "type": "number"
406
+ },
407
+ "currency": {
408
+ "type": "string"
409
+ }
410
+ },
411
+ "required": [
412
+ "kind",
413
+ "value"
414
+ ],
415
+ "additionalProperties": false
416
+ },
417
+ {
418
+ "type": "object",
419
+ "properties": {
420
+ "kind": {
421
+ "type": "string",
422
+ "const": "boolean"
423
+ },
424
+ "value": {
425
+ "type": "boolean"
426
+ }
427
+ },
428
+ "required": [
429
+ "kind",
430
+ "value"
431
+ ],
432
+ "additionalProperties": false
433
+ },
434
+ {
435
+ "type": "object",
436
+ "properties": {
437
+ "kind": {
438
+ "type": "string",
439
+ "const": "date"
440
+ },
441
+ "value": {
442
+ "type": "string"
443
+ }
444
+ },
445
+ "required": [
446
+ "kind",
447
+ "value"
448
+ ],
449
+ "additionalProperties": false
450
+ },
451
+ {
452
+ "type": "object",
453
+ "properties": {
454
+ "kind": {
455
+ "type": "string",
456
+ "const": "time"
457
+ },
458
+ "value": {
459
+ "type": "string"
460
+ }
461
+ },
462
+ "required": [
463
+ "kind",
464
+ "value"
465
+ ],
466
+ "additionalProperties": false
467
+ },
468
+ {
469
+ "type": "object",
470
+ "properties": {
471
+ "kind": {
472
+ "type": "string",
473
+ "const": "string"
474
+ },
475
+ "value": {
476
+ "type": "string"
477
+ }
478
+ },
479
+ "required": [
480
+ "kind",
481
+ "value"
482
+ ],
483
+ "additionalProperties": false
484
+ },
485
+ {
486
+ "type": "object",
487
+ "properties": {
488
+ "kind": {
489
+ "type": "string",
490
+ "const": "error"
491
+ },
492
+ "value": {
493
+ "type": "string"
494
+ }
495
+ },
496
+ "required": [
497
+ "kind",
498
+ "value"
499
+ ],
500
+ "additionalProperties": false
501
+ },
502
+ {
503
+ "type": "object",
504
+ "properties": {
505
+ "kind": {
506
+ "type": "string",
507
+ "const": "empty"
508
+ }
509
+ },
510
+ "required": [
511
+ "kind"
512
+ ],
513
+ "additionalProperties": false
514
+ }
515
+ ]
516
+ },
517
+ "formula": {
518
+ "type": "string"
519
+ },
520
+ "displayText": {
521
+ "type": "string"
522
+ },
523
+ "runs": {
524
+ "type": "array",
525
+ "items": {
526
+ "type": "object",
527
+ "properties": {
528
+ "text": {
529
+ "type": "string"
530
+ },
531
+ "bold": {
532
+ "type": "boolean"
533
+ },
534
+ "italic": {
535
+ "type": "boolean"
536
+ },
537
+ "underline": {
538
+ "type": "boolean"
539
+ },
540
+ "strike": {
541
+ "type": "boolean"
542
+ },
543
+ "fontFamily": {
544
+ "type": "string"
545
+ },
546
+ "sizePt": {
547
+ "type": "number",
548
+ "exclusiveMinimum": 0
549
+ },
550
+ "color": {
551
+ "type": "object",
552
+ "properties": {
553
+ "r": {
554
+ "type": "number",
555
+ "minimum": 0,
556
+ "maximum": 1
557
+ },
558
+ "g": {
559
+ "type": "number",
560
+ "minimum": 0,
561
+ "maximum": 1
562
+ },
563
+ "b": {
564
+ "type": "number",
565
+ "minimum": 0,
566
+ "maximum": 1
567
+ }
568
+ },
569
+ "required": [
570
+ "r",
571
+ "g",
572
+ "b"
573
+ ],
574
+ "additionalProperties": false
575
+ },
576
+ "hyperlink": {
577
+ "type": "string"
578
+ },
579
+ "sourcePath": {
580
+ "type": "string"
581
+ }
582
+ },
583
+ "required": [
584
+ "text"
585
+ ],
586
+ "additionalProperties": false
587
+ }
588
+ },
589
+ "colSpan": {
590
+ "type": "integer",
591
+ "exclusiveMinimum": 0,
592
+ "maximum": 9007199254740991
593
+ },
594
+ "rowSpan": {
595
+ "type": "integer",
596
+ "exclusiveMinimum": 0,
597
+ "maximum": 9007199254740991
598
+ }
599
+ },
600
+ "required": [
601
+ "row",
602
+ "column",
603
+ "value",
604
+ "displayText"
605
+ ],
606
+ "additionalProperties": false
607
+ }
608
+ },
609
+ "columns": {
610
+ "type": "array",
611
+ "items": {
612
+ "type": "object",
613
+ "properties": {
614
+ "index": {
615
+ "type": "integer",
616
+ "minimum": 0,
617
+ "maximum": 9007199254740991
618
+ },
619
+ "widthPt": {
620
+ "type": "number",
621
+ "minimum": 0
622
+ },
623
+ "hidden": {
624
+ "type": "boolean"
625
+ }
626
+ },
627
+ "required": [
628
+ "index",
629
+ "widthPt"
630
+ ],
631
+ "additionalProperties": false
632
+ }
633
+ },
634
+ "rows": {
635
+ "type": "array",
636
+ "items": {
637
+ "type": "object",
638
+ "properties": {
639
+ "index": {
640
+ "type": "integer",
641
+ "minimum": 0,
642
+ "maximum": 9007199254740991
643
+ },
644
+ "heightPt": {
645
+ "type": "number",
646
+ "minimum": 0
647
+ },
648
+ "hidden": {
649
+ "type": "boolean"
650
+ }
651
+ },
652
+ "required": [
653
+ "index",
654
+ "heightPt"
655
+ ],
656
+ "additionalProperties": false
657
+ }
658
+ },
659
+ "images": {
660
+ "type": "array",
661
+ "items": {
662
+ "type": "object",
663
+ "properties": {
664
+ "kind": {
665
+ "type": "string",
666
+ "const": "image"
667
+ },
668
+ "format": {
669
+ "type": "string",
670
+ "enum": [
671
+ "png",
672
+ "jpeg"
673
+ ]
674
+ },
675
+ "base64": {
676
+ "type": "string"
677
+ },
678
+ "widthPt": {
679
+ "type": "number",
680
+ "exclusiveMinimum": 0
681
+ },
682
+ "heightPt": {
683
+ "type": "number",
684
+ "exclusiveMinimum": 0
685
+ },
686
+ "altText": {
687
+ "type": "string"
688
+ },
689
+ "sourcePath": {
690
+ "type": "string"
691
+ },
692
+ "anchorRow": {
693
+ "type": "integer",
694
+ "minimum": 0,
695
+ "maximum": 9007199254740991
696
+ },
697
+ "anchorColumn": {
698
+ "type": "integer",
699
+ "minimum": 0,
700
+ "maximum": 9007199254740991
701
+ },
702
+ "offsetXPt": {
703
+ "type": "number"
704
+ },
705
+ "offsetYPt": {
706
+ "type": "number"
707
+ }
708
+ },
709
+ "required": [
710
+ "kind",
711
+ "format",
712
+ "base64",
713
+ "widthPt",
714
+ "heightPt",
715
+ "anchorRow",
716
+ "anchorColumn",
717
+ "offsetXPt",
718
+ "offsetYPt"
719
+ ],
720
+ "additionalProperties": false
721
+ }
722
+ },
723
+ "printSettings": {
724
+ "type": "object",
725
+ "properties": {
726
+ "pageSize": {
727
+ "type": "object",
728
+ "properties": {
729
+ "widthPt": {
730
+ "type": "number",
731
+ "exclusiveMinimum": 0
732
+ },
733
+ "heightPt": {
734
+ "type": "number",
735
+ "exclusiveMinimum": 0
736
+ }
737
+ },
738
+ "required": [
739
+ "widthPt",
740
+ "heightPt"
741
+ ],
742
+ "additionalProperties": false
743
+ },
744
+ "margins": {
745
+ "type": "object",
746
+ "properties": {
747
+ "topPt": {
748
+ "type": "number",
749
+ "minimum": 0
750
+ },
751
+ "rightPt": {
752
+ "type": "number",
753
+ "minimum": 0
754
+ },
755
+ "bottomPt": {
756
+ "type": "number",
757
+ "minimum": 0
758
+ },
759
+ "leftPt": {
760
+ "type": "number",
761
+ "minimum": 0
762
+ }
763
+ },
764
+ "required": [
765
+ "topPt",
766
+ "rightPt",
767
+ "bottomPt",
768
+ "leftPt"
769
+ ],
770
+ "additionalProperties": false
771
+ },
772
+ "printRange": {
773
+ "type": "object",
774
+ "properties": {
775
+ "startRow": {
776
+ "type": "integer",
777
+ "minimum": 0,
778
+ "maximum": 9007199254740991
779
+ },
780
+ "startColumn": {
781
+ "type": "integer",
782
+ "minimum": 0,
783
+ "maximum": 9007199254740991
784
+ },
785
+ "endRow": {
786
+ "type": "integer",
787
+ "minimum": 0,
788
+ "maximum": 9007199254740991
789
+ },
790
+ "endColumn": {
791
+ "type": "integer",
792
+ "minimum": 0,
793
+ "maximum": 9007199254740991
794
+ }
795
+ },
796
+ "required": [
797
+ "startRow",
798
+ "startColumn",
799
+ "endRow",
800
+ "endColumn"
801
+ ],
802
+ "additionalProperties": false
803
+ },
804
+ "scale": {
805
+ "type": "number",
806
+ "exclusiveMinimum": 0
807
+ },
808
+ "fitToPages": {
809
+ "type": "object",
810
+ "properties": {
811
+ "width": {
812
+ "type": "integer",
813
+ "exclusiveMinimum": 0,
814
+ "maximum": 9007199254740991
815
+ },
816
+ "height": {
817
+ "type": "integer",
818
+ "exclusiveMinimum": 0,
819
+ "maximum": 9007199254740991
820
+ }
821
+ },
822
+ "required": [
823
+ "width",
824
+ "height"
825
+ ],
826
+ "additionalProperties": false
827
+ },
828
+ "repeatRows": {
829
+ "type": "object",
830
+ "properties": {
831
+ "start": {
832
+ "type": "integer",
833
+ "minimum": 0,
834
+ "maximum": 9007199254740991
835
+ },
836
+ "end": {
837
+ "type": "integer",
838
+ "minimum": 0,
839
+ "maximum": 9007199254740991
840
+ }
841
+ },
842
+ "required": [
843
+ "start",
844
+ "end"
845
+ ],
846
+ "additionalProperties": false
847
+ },
848
+ "repeatColumns": {
849
+ "type": "object",
850
+ "properties": {
851
+ "start": {
852
+ "type": "integer",
853
+ "minimum": 0,
854
+ "maximum": 9007199254740991
855
+ },
856
+ "end": {
857
+ "type": "integer",
858
+ "minimum": 0,
859
+ "maximum": 9007199254740991
860
+ }
861
+ },
862
+ "required": [
863
+ "start",
864
+ "end"
865
+ ],
866
+ "additionalProperties": false
867
+ },
868
+ "gridlines": {
869
+ "type": "boolean"
870
+ },
871
+ "headers": {
872
+ "type": "boolean"
873
+ },
874
+ "pageOrder": {
875
+ "type": "string",
876
+ "enum": [
877
+ "downThenOver",
878
+ "overThenDown"
879
+ ]
880
+ },
881
+ "manualBreaks": {
882
+ "type": "object",
883
+ "properties": {
884
+ "rows": {
885
+ "type": "array",
886
+ "items": {
887
+ "type": "integer",
888
+ "minimum": 0,
889
+ "maximum": 9007199254740991
890
+ }
891
+ },
892
+ "columns": {
893
+ "type": "array",
894
+ "items": {
895
+ "type": "integer",
896
+ "minimum": 0,
897
+ "maximum": 9007199254740991
898
+ }
899
+ }
900
+ },
901
+ "required": [
902
+ "rows",
903
+ "columns"
904
+ ],
905
+ "additionalProperties": false
906
+ }
907
+ },
908
+ "required": [
909
+ "pageSize",
910
+ "margins",
911
+ "gridlines",
912
+ "headers",
913
+ "pageOrder"
914
+ ],
915
+ "additionalProperties": false
916
+ },
917
+ "embeddedObjects": {
918
+ "type": "array",
919
+ "items": {
920
+ "type": "object",
921
+ "properties": {
922
+ "objectKind": {
923
+ "type": "string",
924
+ "enum": [
925
+ "formula",
926
+ "wordprocessing",
927
+ "presentation",
928
+ "spreadsheet",
929
+ "drawing"
930
+ ]
931
+ },
932
+ "document": {
933
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@1.6.1/schemas/content-document.schema.json"
934
+ },
935
+ "frame": {
936
+ "$ref": "#/$defs/Box"
937
+ }
938
+ },
939
+ "required": [
940
+ "objectKind",
941
+ "document",
942
+ "frame"
943
+ ],
944
+ "additionalProperties": false
945
+ }
946
+ }
947
+ },
948
+ "required": [
949
+ "name",
950
+ "cells",
951
+ "columns",
952
+ "rows",
953
+ "images",
954
+ "printSettings"
955
+ ],
956
+ "additionalProperties": false
957
+ }
958
+ }
959
+ },
960
+ "required": [
961
+ "kind",
962
+ "formatVersion",
963
+ "metadata",
964
+ "sheets"
965
+ ],
966
+ "additionalProperties": false
967
+ },
968
+ {
969
+ "type": "object",
970
+ "properties": {
971
+ "kind": {
972
+ "type": "string",
973
+ "const": "drawing"
974
+ },
975
+ "formatVersion": {
976
+ "type": "number",
977
+ "const": 1
978
+ },
979
+ "metadata": {
980
+ "type": "object",
981
+ "properties": {
982
+ "title": {
983
+ "type": "string"
984
+ },
985
+ "author": {
986
+ "type": "string"
987
+ },
988
+ "subject": {
989
+ "type": "string"
990
+ },
991
+ "keywords": {
992
+ "type": "array",
993
+ "items": {
994
+ "type": "string"
995
+ }
996
+ },
997
+ "creator": {
998
+ "type": "string"
999
+ },
1000
+ "producer": {
1001
+ "type": "string"
1002
+ },
1003
+ "createdIso": {
1004
+ "type": "string"
1005
+ },
1006
+ "modifiedIso": {
1007
+ "type": "string"
1008
+ }
1009
+ },
1010
+ "additionalProperties": false
1011
+ },
1012
+ "pages": {
1013
+ "type": "array",
1014
+ "items": {
1015
+ "type": "object",
1016
+ "properties": {
1017
+ "size": {
1018
+ "type": "object",
1019
+ "properties": {
1020
+ "widthPt": {
1021
+ "type": "number",
1022
+ "exclusiveMinimum": 0
1023
+ },
1024
+ "heightPt": {
1025
+ "type": "number",
1026
+ "exclusiveMinimum": 0
1027
+ }
1028
+ },
1029
+ "required": [
1030
+ "widthPt",
1031
+ "heightPt"
1032
+ ],
1033
+ "additionalProperties": false
1034
+ },
1035
+ "shapes": {
1036
+ "type": "array",
1037
+ "items": {
1038
+ "type": "object",
1039
+ "properties": {
1040
+ "name": {
1041
+ "type": "string"
1042
+ },
1043
+ "frame": {
1044
+ "type": "object",
1045
+ "properties": {
1046
+ "xPt": {
1047
+ "type": "number"
1048
+ },
1049
+ "yPt": {
1050
+ "type": "number"
1051
+ },
1052
+ "widthPt": {
1053
+ "type": "number",
1054
+ "minimum": 0
1055
+ },
1056
+ "heightPt": {
1057
+ "type": "number",
1058
+ "minimum": 0
1059
+ }
1060
+ },
1061
+ "required": [
1062
+ "xPt",
1063
+ "yPt",
1064
+ "widthPt",
1065
+ "heightPt"
1066
+ ],
1067
+ "additionalProperties": false
1068
+ },
1069
+ "rotationDeg": {
1070
+ "type": "number"
1071
+ },
1072
+ "insetLeftPt": {
1073
+ "type": "number",
1074
+ "minimum": 0
1075
+ },
1076
+ "insetTopPt": {
1077
+ "type": "number",
1078
+ "minimum": 0
1079
+ },
1080
+ "insetRightPt": {
1081
+ "type": "number",
1082
+ "minimum": 0
1083
+ },
1084
+ "insetBottomPt": {
1085
+ "type": "number",
1086
+ "minimum": 0
1087
+ },
1088
+ "fontScale": {
1089
+ "type": "number",
1090
+ "exclusiveMinimum": 0
1091
+ },
1092
+ "lineSpacingReduction": {
1093
+ "type": "number",
1094
+ "minimum": 0
1095
+ },
1096
+ "sourcePath": {
1097
+ "type": "string"
1098
+ },
1099
+ "blocks": {
1100
+ "type": "array",
1101
+ "items": {
1102
+ "$ref": "#/$defs/ContentBlock"
1103
+ }
1104
+ }
1105
+ },
1106
+ "required": [
1107
+ "frame",
1108
+ "insetLeftPt",
1109
+ "insetTopPt",
1110
+ "insetRightPt",
1111
+ "insetBottomPt",
1112
+ "blocks"
1113
+ ],
1114
+ "additionalProperties": false
1115
+ }
1116
+ },
1117
+ "vectors": {
1118
+ "type": "array",
1119
+ "items": {
1120
+ "oneOf": [
1121
+ {
1122
+ "type": "object",
1123
+ "properties": {
1124
+ "kind": {
1125
+ "type": "string",
1126
+ "const": "rect"
1127
+ },
1128
+ "frame": {
1129
+ "type": "object",
1130
+ "properties": {
1131
+ "xPt": {
1132
+ "type": "number"
1133
+ },
1134
+ "yPt": {
1135
+ "type": "number"
1136
+ },
1137
+ "widthPt": {
1138
+ "type": "number",
1139
+ "minimum": 0
1140
+ },
1141
+ "heightPt": {
1142
+ "type": "number",
1143
+ "minimum": 0
1144
+ }
1145
+ },
1146
+ "required": [
1147
+ "xPt",
1148
+ "yPt",
1149
+ "widthPt",
1150
+ "heightPt"
1151
+ ],
1152
+ "additionalProperties": false
1153
+ },
1154
+ "fill": {
1155
+ "type": "object",
1156
+ "properties": {
1157
+ "r": {
1158
+ "type": "number",
1159
+ "minimum": 0,
1160
+ "maximum": 1
1161
+ },
1162
+ "g": {
1163
+ "type": "number",
1164
+ "minimum": 0,
1165
+ "maximum": 1
1166
+ },
1167
+ "b": {
1168
+ "type": "number",
1169
+ "minimum": 0,
1170
+ "maximum": 1
1171
+ }
1172
+ },
1173
+ "required": [
1174
+ "r",
1175
+ "g",
1176
+ "b"
1177
+ ],
1178
+ "additionalProperties": false
1179
+ },
1180
+ "stroke": {
1181
+ "type": "object",
1182
+ "properties": {
1183
+ "color": {
1184
+ "type": "object",
1185
+ "properties": {
1186
+ "r": {
1187
+ "type": "number",
1188
+ "minimum": 0,
1189
+ "maximum": 1
1190
+ },
1191
+ "g": {
1192
+ "type": "number",
1193
+ "minimum": 0,
1194
+ "maximum": 1
1195
+ },
1196
+ "b": {
1197
+ "type": "number",
1198
+ "minimum": 0,
1199
+ "maximum": 1
1200
+ }
1201
+ },
1202
+ "required": [
1203
+ "r",
1204
+ "g",
1205
+ "b"
1206
+ ],
1207
+ "additionalProperties": false
1208
+ },
1209
+ "widthPt": {
1210
+ "type": "number",
1211
+ "exclusiveMinimum": 0
1212
+ }
1213
+ },
1214
+ "required": [
1215
+ "color",
1216
+ "widthPt"
1217
+ ],
1218
+ "additionalProperties": false
1219
+ },
1220
+ "sourcePath": {
1221
+ "type": "string"
1222
+ }
1223
+ },
1224
+ "required": [
1225
+ "kind",
1226
+ "frame"
1227
+ ],
1228
+ "additionalProperties": false
1229
+ },
1230
+ {
1231
+ "type": "object",
1232
+ "properties": {
1233
+ "kind": {
1234
+ "type": "string",
1235
+ "const": "ellipse"
1236
+ },
1237
+ "frame": {
1238
+ "type": "object",
1239
+ "properties": {
1240
+ "xPt": {
1241
+ "type": "number"
1242
+ },
1243
+ "yPt": {
1244
+ "type": "number"
1245
+ },
1246
+ "widthPt": {
1247
+ "type": "number",
1248
+ "minimum": 0
1249
+ },
1250
+ "heightPt": {
1251
+ "type": "number",
1252
+ "minimum": 0
1253
+ }
1254
+ },
1255
+ "required": [
1256
+ "xPt",
1257
+ "yPt",
1258
+ "widthPt",
1259
+ "heightPt"
1260
+ ],
1261
+ "additionalProperties": false
1262
+ },
1263
+ "fill": {
1264
+ "type": "object",
1265
+ "properties": {
1266
+ "r": {
1267
+ "type": "number",
1268
+ "minimum": 0,
1269
+ "maximum": 1
1270
+ },
1271
+ "g": {
1272
+ "type": "number",
1273
+ "minimum": 0,
1274
+ "maximum": 1
1275
+ },
1276
+ "b": {
1277
+ "type": "number",
1278
+ "minimum": 0,
1279
+ "maximum": 1
1280
+ }
1281
+ },
1282
+ "required": [
1283
+ "r",
1284
+ "g",
1285
+ "b"
1286
+ ],
1287
+ "additionalProperties": false
1288
+ },
1289
+ "stroke": {
1290
+ "type": "object",
1291
+ "properties": {
1292
+ "color": {
1293
+ "type": "object",
1294
+ "properties": {
1295
+ "r": {
1296
+ "type": "number",
1297
+ "minimum": 0,
1298
+ "maximum": 1
1299
+ },
1300
+ "g": {
1301
+ "type": "number",
1302
+ "minimum": 0,
1303
+ "maximum": 1
1304
+ },
1305
+ "b": {
1306
+ "type": "number",
1307
+ "minimum": 0,
1308
+ "maximum": 1
1309
+ }
1310
+ },
1311
+ "required": [
1312
+ "r",
1313
+ "g",
1314
+ "b"
1315
+ ],
1316
+ "additionalProperties": false
1317
+ },
1318
+ "widthPt": {
1319
+ "type": "number",
1320
+ "exclusiveMinimum": 0
1321
+ }
1322
+ },
1323
+ "required": [
1324
+ "color",
1325
+ "widthPt"
1326
+ ],
1327
+ "additionalProperties": false
1328
+ },
1329
+ "sourcePath": {
1330
+ "type": "string"
1331
+ }
1332
+ },
1333
+ "required": [
1334
+ "kind",
1335
+ "frame"
1336
+ ],
1337
+ "additionalProperties": false
1338
+ },
1339
+ {
1340
+ "type": "object",
1341
+ "properties": {
1342
+ "kind": {
1343
+ "type": "string",
1344
+ "const": "line"
1345
+ },
1346
+ "from": {
1347
+ "type": "object",
1348
+ "properties": {
1349
+ "xPt": {
1350
+ "type": "number"
1351
+ },
1352
+ "yPt": {
1353
+ "type": "number"
1354
+ }
1355
+ },
1356
+ "required": [
1357
+ "xPt",
1358
+ "yPt"
1359
+ ],
1360
+ "additionalProperties": false
1361
+ },
1362
+ "to": {
1363
+ "type": "object",
1364
+ "properties": {
1365
+ "xPt": {
1366
+ "type": "number"
1367
+ },
1368
+ "yPt": {
1369
+ "type": "number"
1370
+ }
1371
+ },
1372
+ "required": [
1373
+ "xPt",
1374
+ "yPt"
1375
+ ],
1376
+ "additionalProperties": false
1377
+ },
1378
+ "stroke": {
1379
+ "type": "object",
1380
+ "properties": {
1381
+ "color": {
1382
+ "type": "object",
1383
+ "properties": {
1384
+ "r": {
1385
+ "type": "number",
1386
+ "minimum": 0,
1387
+ "maximum": 1
1388
+ },
1389
+ "g": {
1390
+ "type": "number",
1391
+ "minimum": 0,
1392
+ "maximum": 1
1393
+ },
1394
+ "b": {
1395
+ "type": "number",
1396
+ "minimum": 0,
1397
+ "maximum": 1
1398
+ }
1399
+ },
1400
+ "required": [
1401
+ "r",
1402
+ "g",
1403
+ "b"
1404
+ ],
1405
+ "additionalProperties": false
1406
+ },
1407
+ "widthPt": {
1408
+ "type": "number",
1409
+ "exclusiveMinimum": 0
1410
+ }
1411
+ },
1412
+ "required": [
1413
+ "color",
1414
+ "widthPt"
1415
+ ],
1416
+ "additionalProperties": false
1417
+ },
1418
+ "sourcePath": {
1419
+ "type": "string"
1420
+ }
1421
+ },
1422
+ "required": [
1423
+ "kind",
1424
+ "from",
1425
+ "to",
1426
+ "stroke"
1427
+ ],
1428
+ "additionalProperties": false
1429
+ },
1430
+ {
1431
+ "type": "object",
1432
+ "properties": {
1433
+ "kind": {
1434
+ "type": "string",
1435
+ "const": "path"
1436
+ },
1437
+ "frame": {
1438
+ "type": "object",
1439
+ "properties": {
1440
+ "xPt": {
1441
+ "type": "number"
1442
+ },
1443
+ "yPt": {
1444
+ "type": "number"
1445
+ },
1446
+ "widthPt": {
1447
+ "type": "number",
1448
+ "minimum": 0
1449
+ },
1450
+ "heightPt": {
1451
+ "type": "number",
1452
+ "minimum": 0
1453
+ }
1454
+ },
1455
+ "required": [
1456
+ "xPt",
1457
+ "yPt",
1458
+ "widthPt",
1459
+ "heightPt"
1460
+ ],
1461
+ "additionalProperties": false
1462
+ },
1463
+ "subpaths": {
1464
+ "type": "array",
1465
+ "items": {
1466
+ "type": "object",
1467
+ "properties": {
1468
+ "start": {
1469
+ "type": "object",
1470
+ "properties": {
1471
+ "xPt": {
1472
+ "type": "number"
1473
+ },
1474
+ "yPt": {
1475
+ "type": "number"
1476
+ }
1477
+ },
1478
+ "required": [
1479
+ "xPt",
1480
+ "yPt"
1481
+ ],
1482
+ "additionalProperties": false
1483
+ },
1484
+ "segments": {
1485
+ "type": "array",
1486
+ "items": {
1487
+ "oneOf": [
1488
+ {
1489
+ "type": "object",
1490
+ "properties": {
1491
+ "kind": {
1492
+ "type": "string",
1493
+ "const": "line"
1494
+ },
1495
+ "to": {
1496
+ "type": "object",
1497
+ "properties": {
1498
+ "xPt": {
1499
+ "type": "number"
1500
+ },
1501
+ "yPt": {
1502
+ "type": "number"
1503
+ }
1504
+ },
1505
+ "required": [
1506
+ "xPt",
1507
+ "yPt"
1508
+ ],
1509
+ "additionalProperties": false
1510
+ }
1511
+ },
1512
+ "required": [
1513
+ "kind",
1514
+ "to"
1515
+ ],
1516
+ "additionalProperties": false
1517
+ },
1518
+ {
1519
+ "type": "object",
1520
+ "properties": {
1521
+ "kind": {
1522
+ "type": "string",
1523
+ "const": "cubic"
1524
+ },
1525
+ "control1": {
1526
+ "type": "object",
1527
+ "properties": {
1528
+ "xPt": {
1529
+ "type": "number"
1530
+ },
1531
+ "yPt": {
1532
+ "type": "number"
1533
+ }
1534
+ },
1535
+ "required": [
1536
+ "xPt",
1537
+ "yPt"
1538
+ ],
1539
+ "additionalProperties": false
1540
+ },
1541
+ "control2": {
1542
+ "type": "object",
1543
+ "properties": {
1544
+ "xPt": {
1545
+ "type": "number"
1546
+ },
1547
+ "yPt": {
1548
+ "type": "number"
1549
+ }
1550
+ },
1551
+ "required": [
1552
+ "xPt",
1553
+ "yPt"
1554
+ ],
1555
+ "additionalProperties": false
1556
+ },
1557
+ "to": {
1558
+ "type": "object",
1559
+ "properties": {
1560
+ "xPt": {
1561
+ "type": "number"
1562
+ },
1563
+ "yPt": {
1564
+ "type": "number"
1565
+ }
1566
+ },
1567
+ "required": [
1568
+ "xPt",
1569
+ "yPt"
1570
+ ],
1571
+ "additionalProperties": false
1572
+ }
1573
+ },
1574
+ "required": [
1575
+ "kind",
1576
+ "control1",
1577
+ "control2",
1578
+ "to"
1579
+ ],
1580
+ "additionalProperties": false
1581
+ }
1582
+ ]
1583
+ }
1584
+ },
1585
+ "closed": {
1586
+ "type": "boolean"
1587
+ }
1588
+ },
1589
+ "required": [
1590
+ "start",
1591
+ "segments",
1592
+ "closed"
1593
+ ],
1594
+ "additionalProperties": false
1595
+ }
1596
+ },
1597
+ "fill": {
1598
+ "type": "object",
1599
+ "properties": {
1600
+ "r": {
1601
+ "type": "number",
1602
+ "minimum": 0,
1603
+ "maximum": 1
1604
+ },
1605
+ "g": {
1606
+ "type": "number",
1607
+ "minimum": 0,
1608
+ "maximum": 1
1609
+ },
1610
+ "b": {
1611
+ "type": "number",
1612
+ "minimum": 0,
1613
+ "maximum": 1
1614
+ }
1615
+ },
1616
+ "required": [
1617
+ "r",
1618
+ "g",
1619
+ "b"
1620
+ ],
1621
+ "additionalProperties": false
1622
+ },
1623
+ "fillRule": {
1624
+ "type": "string",
1625
+ "enum": [
1626
+ "nonzero",
1627
+ "evenodd"
1628
+ ]
1629
+ },
1630
+ "stroke": {
1631
+ "type": "object",
1632
+ "properties": {
1633
+ "color": {
1634
+ "type": "object",
1635
+ "properties": {
1636
+ "r": {
1637
+ "type": "number",
1638
+ "minimum": 0,
1639
+ "maximum": 1
1640
+ },
1641
+ "g": {
1642
+ "type": "number",
1643
+ "minimum": 0,
1644
+ "maximum": 1
1645
+ },
1646
+ "b": {
1647
+ "type": "number",
1648
+ "minimum": 0,
1649
+ "maximum": 1
1650
+ }
1651
+ },
1652
+ "required": [
1653
+ "r",
1654
+ "g",
1655
+ "b"
1656
+ ],
1657
+ "additionalProperties": false
1658
+ },
1659
+ "widthPt": {
1660
+ "type": "number",
1661
+ "exclusiveMinimum": 0
1662
+ }
1663
+ },
1664
+ "required": [
1665
+ "color",
1666
+ "widthPt"
1667
+ ],
1668
+ "additionalProperties": false
1669
+ },
1670
+ "sourcePath": {
1671
+ "type": "string"
1672
+ }
1673
+ },
1674
+ "required": [
1675
+ "kind",
1676
+ "frame",
1677
+ "subpaths"
1678
+ ],
1679
+ "additionalProperties": false
1680
+ }
1681
+ ]
1682
+ }
1683
+ }
1684
+ },
1685
+ "required": [
1686
+ "size",
1687
+ "shapes",
1688
+ "vectors"
1689
+ ],
1690
+ "additionalProperties": false
1691
+ }
1692
+ }
1693
+ },
1694
+ "required": [
1695
+ "kind",
1696
+ "formatVersion",
1697
+ "metadata",
1698
+ "pages"
1699
+ ],
1700
+ "additionalProperties": false
1701
+ }
1702
+ ],
1703
+ "$defs": {
1704
+ "Color": {
1705
+ "type": "object",
1706
+ "properties": {
1707
+ "r": {
1708
+ "type": "number",
1709
+ "minimum": 0,
1710
+ "maximum": 1
1711
+ },
1712
+ "g": {
1713
+ "type": "number",
1714
+ "minimum": 0,
1715
+ "maximum": 1
1716
+ },
1717
+ "b": {
1718
+ "type": "number",
1719
+ "minimum": 0,
1720
+ "maximum": 1
1721
+ }
1722
+ },
1723
+ "required": [
1724
+ "r",
1725
+ "g",
1726
+ "b"
1727
+ ],
1728
+ "additionalProperties": false
1729
+ },
1730
+ "Box": {
1731
+ "type": "object",
1732
+ "properties": {
1733
+ "xPt": {
1734
+ "type": "number"
1735
+ },
1736
+ "yPt": {
1737
+ "type": "number"
1738
+ },
1739
+ "widthPt": {
1740
+ "type": "number",
1741
+ "minimum": 0
1742
+ },
1743
+ "heightPt": {
1744
+ "type": "number",
1745
+ "minimum": 0
1746
+ }
1747
+ },
1748
+ "required": [
1749
+ "xPt",
1750
+ "yPt",
1751
+ "widthPt",
1752
+ "heightPt"
1753
+ ],
1754
+ "additionalProperties": false
1755
+ },
1756
+ "Alignment": {
1757
+ "type": "string",
1758
+ "enum": [
1759
+ "left",
1760
+ "center",
1761
+ "right",
1762
+ "justify"
1763
+ ]
1764
+ },
1765
+ "ContentListMembership": {
1766
+ "type": "object",
1767
+ "properties": {
1768
+ "numId": {
1769
+ "type": "string"
1770
+ },
1771
+ "level": {
1772
+ "type": "integer",
1773
+ "minimum": 0,
1774
+ "maximum": 9007199254740991
1775
+ }
1776
+ },
1777
+ "required": [
1778
+ "numId",
1779
+ "level"
1780
+ ],
1781
+ "additionalProperties": false
1782
+ },
1783
+ "ContentRun": {
1784
+ "type": "object",
1785
+ "properties": {
1786
+ "text": {
1787
+ "type": "string"
1788
+ },
1789
+ "bold": {
1790
+ "type": "boolean"
1791
+ },
1792
+ "italic": {
1793
+ "type": "boolean"
1794
+ },
1795
+ "underline": {
1796
+ "type": "boolean"
1797
+ },
1798
+ "strike": {
1799
+ "type": "boolean"
1800
+ },
1801
+ "fontFamily": {
1802
+ "type": "string"
1803
+ },
1804
+ "sizePt": {
1805
+ "type": "number",
1806
+ "exclusiveMinimum": 0
1807
+ },
1808
+ "color": {
1809
+ "$ref": "#/$defs/Color"
1810
+ },
1811
+ "hyperlink": {
1812
+ "type": "string"
1813
+ },
1814
+ "sourcePath": {
1815
+ "type": "string"
1816
+ }
1817
+ },
1818
+ "required": [
1819
+ "text"
1820
+ ],
1821
+ "additionalProperties": false
1822
+ },
1823
+ "ContentParagraph": {
1824
+ "type": "object",
1825
+ "properties": {
1826
+ "kind": {
1827
+ "type": "string",
1828
+ "const": "paragraph"
1829
+ },
1830
+ "runs": {
1831
+ "type": "array",
1832
+ "items": {
1833
+ "$ref": "#/$defs/ContentRun"
1834
+ }
1835
+ },
1836
+ "styleId": {
1837
+ "type": "string"
1838
+ },
1839
+ "alignment": {
1840
+ "$ref": "#/$defs/Alignment"
1841
+ },
1842
+ "list": {
1843
+ "$ref": "#/$defs/ContentListMembership"
1844
+ },
1845
+ "spacingBeforePt": {
1846
+ "type": "number"
1847
+ },
1848
+ "spacingAfterPt": {
1849
+ "type": "number"
1850
+ },
1851
+ "lineSpacing": {
1852
+ "type": "number",
1853
+ "exclusiveMinimum": 0
1854
+ },
1855
+ "indentLeftPt": {
1856
+ "type": "number"
1857
+ },
1858
+ "indentFirstLinePt": {
1859
+ "type": "number"
1860
+ },
1861
+ "sourcePath": {
1862
+ "type": "string"
1863
+ }
1864
+ },
1865
+ "required": [
1866
+ "kind",
1867
+ "runs"
1868
+ ],
1869
+ "additionalProperties": false
1870
+ },
1871
+ "ContentImageBlock": {
1872
+ "type": "object",
1873
+ "properties": {
1874
+ "kind": {
1875
+ "type": "string",
1876
+ "const": "image"
1877
+ },
1878
+ "format": {
1879
+ "type": "string",
1880
+ "enum": [
1881
+ "png",
1882
+ "jpeg"
1883
+ ]
1884
+ },
1885
+ "base64": {
1886
+ "type": "string"
1887
+ },
1888
+ "widthPt": {
1889
+ "type": "number",
1890
+ "exclusiveMinimum": 0
1891
+ },
1892
+ "heightPt": {
1893
+ "type": "number",
1894
+ "exclusiveMinimum": 0
1895
+ },
1896
+ "altText": {
1897
+ "type": "string"
1898
+ },
1899
+ "sourcePath": {
1900
+ "type": "string"
1901
+ }
1902
+ },
1903
+ "required": [
1904
+ "kind",
1905
+ "format",
1906
+ "base64",
1907
+ "widthPt",
1908
+ "heightPt"
1909
+ ],
1910
+ "additionalProperties": false
1911
+ },
1912
+ "ContentPageBreak": {
1913
+ "type": "object",
1914
+ "properties": {
1915
+ "kind": {
1916
+ "type": "string",
1917
+ "const": "pageBreak"
1918
+ },
1919
+ "sourcePath": {
1920
+ "type": "string"
1921
+ }
1922
+ },
1923
+ "required": [
1924
+ "kind"
1925
+ ],
1926
+ "additionalProperties": false
1927
+ },
1928
+ "ContentTableCell": {
1929
+ "type": "object",
1930
+ "properties": {
1931
+ "blocks": {
1932
+ "type": "array",
1933
+ "items": {
1934
+ "$ref": "#/$defs/ContentBlock"
1935
+ }
1936
+ },
1937
+ "colSpan": {
1938
+ "type": "integer",
1939
+ "exclusiveMinimum": 0,
1940
+ "maximum": 9007199254740991
1941
+ },
1942
+ "rowSpan": {
1943
+ "type": "integer",
1944
+ "exclusiveMinimum": 0,
1945
+ "maximum": 9007199254740991
1946
+ },
1947
+ "background": {
1948
+ "$ref": "#/$defs/Color"
1949
+ }
1950
+ },
1951
+ "required": [
1952
+ "blocks"
1953
+ ],
1954
+ "additionalProperties": false
1955
+ },
1956
+ "ContentTableRow": {
1957
+ "type": "object",
1958
+ "properties": {
1959
+ "cells": {
1960
+ "type": "array",
1961
+ "items": {
1962
+ "$ref": "#/$defs/ContentTableCell"
1963
+ }
1964
+ },
1965
+ "heightPt": {
1966
+ "type": "number",
1967
+ "exclusiveMinimum": 0
1968
+ }
1969
+ },
1970
+ "required": [
1971
+ "cells"
1972
+ ],
1973
+ "additionalProperties": false
1974
+ },
1975
+ "ContentTable": {
1976
+ "type": "object",
1977
+ "properties": {
1978
+ "kind": {
1979
+ "type": "string",
1980
+ "const": "table"
1981
+ },
1982
+ "rows": {
1983
+ "type": "array",
1984
+ "items": {
1985
+ "$ref": "#/$defs/ContentTableRow"
1986
+ }
1987
+ },
1988
+ "columnWidthsPt": {
1989
+ "type": "array",
1990
+ "items": {
1991
+ "type": "number",
1992
+ "exclusiveMinimum": 0
1993
+ }
1994
+ },
1995
+ "sourcePath": {
1996
+ "type": "string"
1997
+ }
1998
+ },
1999
+ "required": [
2000
+ "kind",
2001
+ "rows",
2002
+ "columnWidthsPt"
2003
+ ],
2004
+ "additionalProperties": false
2005
+ },
2006
+ "ContentEmbeddedObjectBlock": {
2007
+ "type": "object",
2008
+ "properties": {
2009
+ "kind": {
2010
+ "type": "string",
2011
+ "const": "embeddedObject"
2012
+ },
2013
+ "objectKind": {
2014
+ "type": "string",
2015
+ "enum": [
2016
+ "formula",
2017
+ "wordprocessing",
2018
+ "presentation",
2019
+ "spreadsheet",
2020
+ "drawing"
2021
+ ]
2022
+ },
2023
+ "document": {
2024
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@1.6.1/schemas/content-document.schema.json"
2025
+ },
2026
+ "frame": {
2027
+ "$ref": "#/$defs/Box"
2028
+ },
2029
+ "sourcePath": {
2030
+ "type": "string"
2031
+ }
2032
+ },
2033
+ "required": [
2034
+ "kind",
2035
+ "objectKind",
2036
+ "document",
2037
+ "frame"
2038
+ ],
2039
+ "additionalProperties": false
2040
+ },
2041
+ "ContentBlock": {
2042
+ "oneOf": [
2043
+ {
2044
+ "$ref": "#/$defs/ContentParagraph"
2045
+ },
2046
+ {
2047
+ "$ref": "#/$defs/ContentTable"
2048
+ },
2049
+ {
2050
+ "$ref": "#/$defs/ContentImageBlock"
2051
+ },
2052
+ {
2053
+ "$ref": "#/$defs/ContentPageBreak"
2054
+ },
2055
+ {
2056
+ "$ref": "#/$defs/ContentEmbeddedObjectBlock"
2057
+ }
2058
+ ]
2059
+ }
2060
+ }
2061
+ }