document-content-model 4.3.3 → 7.6.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.
Files changed (96) hide show
  1. package/README.md +274 -95
  2. package/dist/border-weight.cjs +26 -0
  3. package/dist/border-weight.d.cts +12 -0
  4. package/dist/border-weight.d.ts +12 -0
  5. package/dist/border-weight.js +23 -0
  6. package/dist/codec.d.cts +1 -1
  7. package/dist/codec.d.ts +1 -1
  8. package/dist/{construct-CdQuI9f5.d.cts → construct-GVdTKrE7.d.cts} +245 -5
  9. package/dist/{construct-CdQuI9f5.d.ts → construct-GVdTKrE7.d.ts} +245 -5
  10. package/dist/construct.cjs +13 -6
  11. package/dist/construct.d.cts +1 -1
  12. package/dist/construct.d.ts +1 -1
  13. package/dist/construct.js +13 -6
  14. package/dist/content-BCOxY0Eb.d.ts +10273 -0
  15. package/dist/content-BzkhrS6P.d.cts +10273 -0
  16. package/dist/content-json-schema-defs.cjs +1056 -189
  17. package/dist/content-json-schema-defs.js +1056 -189
  18. package/dist/content.cjs +514 -36
  19. package/dist/content.d.cts +2 -2
  20. package/dist/content.d.ts +2 -2
  21. package/dist/content.js +488 -37
  22. package/dist/decompose.cjs +7 -17
  23. package/dist/decompose.d.cts +5 -5
  24. package/dist/decompose.d.ts +5 -5
  25. package/dist/decompose.js +7 -17
  26. package/dist/definitions.cjs +5 -1
  27. package/dist/definitions.d.cts +37 -1
  28. package/dist/definitions.d.ts +37 -1
  29. package/dist/definitions.js +5 -1
  30. package/dist/factor-styles.cjs +14 -8
  31. package/dist/factor-styles.d.cts +6 -6
  32. package/dist/factor-styles.d.ts +6 -6
  33. package/dist/factor-styles.js +15 -9
  34. package/dist/flatten.cjs +5 -5
  35. package/dist/flatten.d.cts +4 -4
  36. package/dist/flatten.d.ts +4 -4
  37. package/dist/flatten.js +5 -5
  38. package/dist/font-port.d.cts +2 -2
  39. package/dist/font-port.d.ts +2 -2
  40. package/dist/index.cjs +54 -14
  41. package/dist/index.d.cts +14 -12
  42. package/dist/index.d.ts +14 -12
  43. package/dist/index.js +12 -10
  44. package/dist/{math-BlG8Tjk-.d.cts → math-BScHxedi.d.cts} +97 -14
  45. package/dist/{math-BlG8Tjk-.d.ts → math-BScHxedi.d.ts} +97 -14
  46. package/dist/math-layout.d.cts +6 -6
  47. package/dist/math-layout.d.ts +6 -6
  48. package/dist/math.cjs +32 -6
  49. package/dist/math.d.cts +2 -2
  50. package/dist/math.d.ts +2 -2
  51. package/dist/math.js +29 -7
  52. package/dist/{mathml-B1oTCtzc.d.cts → mathml-Czqc1mdZ.d.cts} +3 -3
  53. package/dist/{mathml-B1oTCtzc.d.ts → mathml-Czqc1mdZ.d.ts} +3 -3
  54. package/dist/mathml.cjs +9 -2
  55. package/dist/mathml.d.cts +1 -1
  56. package/dist/mathml.d.ts +1 -1
  57. package/dist/mathml.js +9 -2
  58. package/dist/metadata.cjs +12 -1
  59. package/dist/metadata.d.cts +13 -0
  60. package/dist/metadata.d.ts +13 -0
  61. package/dist/metadata.js +12 -1
  62. package/dist/package-node-C4mh1hLY.d.ts +1989 -0
  63. package/dist/package-node-RQMDBzwd.d.cts +1989 -0
  64. package/dist/package-node.cjs +21 -21
  65. package/dist/package-node.d.cts +2 -2
  66. package/dist/package-node.d.ts +2 -2
  67. package/dist/package-node.js +14 -14
  68. package/dist/package.cjs +5 -3
  69. package/dist/package.d.cts +253 -8
  70. package/dist/package.d.ts +253 -8
  71. package/dist/package.js +5 -3
  72. package/dist/schema-io.cjs +21 -11
  73. package/dist/schema-io.d.cts +13 -9
  74. package/dist/schema-io.d.ts +13 -9
  75. package/dist/schema-io.js +21 -12
  76. package/dist/source-Bas5ol6f.d.cts +43 -0
  77. package/dist/source-Bas5ol6f.d.ts +43 -0
  78. package/dist/source.cjs +27 -0
  79. package/dist/source.d.cts +2 -0
  80. package/dist/source.d.ts +2 -0
  81. package/dist/source.js +25 -0
  82. package/dist/style-D06NwxAJ.d.cts +29 -0
  83. package/dist/style-D06NwxAJ.d.ts +29 -0
  84. package/dist/style.cjs +2 -0
  85. package/dist/style.d.cts +2 -24
  86. package/dist/style.d.ts +2 -24
  87. package/dist/style.js +2 -1
  88. package/dist/text-layout.d.cts +1 -1
  89. package/dist/text-layout.d.ts +1 -1
  90. package/package.json +28 -29
  91. package/schemas/content-document.schema.json +6623 -1694
  92. package/schemas/{document-package.schema.json → document-tree.schema.json} +1826 -143
  93. package/dist/content-B7b_P3FC.d.cts +0 -2481
  94. package/dist/content-Dn7uoJFG.d.ts +0 -2481
  95. package/dist/package-node-CC-FE2zS.d.cts +0 -459
  96. package/dist/package-node-DxdparRh.d.ts +0 -459
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://cdn.jsdelivr.net/npm/document-schema.js@4.3.3/schemas/document-package.schema.json",
3
+ "$id": "https://cdn.jsdelivr.net/npm/document-schema.js@7.6.0/schemas/document-tree.schema.json",
4
4
  "oneOf": [
5
5
  {
6
6
  "type": "object",
@@ -38,6 +38,40 @@
38
38
  },
39
39
  "modifiedIso": {
40
40
  "type": "string"
41
+ },
42
+ "lastPrintedIso": {
43
+ "type": "string"
44
+ },
45
+ "language": {
46
+ "type": "string"
47
+ },
48
+ "direction": {
49
+ "type": "string",
50
+ "enum": [
51
+ "ltr",
52
+ "rtl"
53
+ ]
54
+ },
55
+ "publisher": {
56
+ "type": "string"
57
+ },
58
+ "contributor": {
59
+ "type": "string"
60
+ },
61
+ "rights": {
62
+ "type": "string"
63
+ },
64
+ "identifier": {
65
+ "type": "string"
66
+ },
67
+ "comments": {
68
+ "type": "string"
69
+ },
70
+ "company": {
71
+ "type": "string"
72
+ },
73
+ "manager": {
74
+ "type": "string"
41
75
  }
42
76
  },
43
77
  "additionalProperties": false
@@ -111,6 +145,45 @@
111
145
  "$ref": "#/$defs/DefinitionEntry"
112
146
  }
113
147
  },
148
+ "source": {
149
+ "type": "object",
150
+ "propertyNames": {
151
+ "type": "string"
152
+ },
153
+ "additionalProperties": {
154
+ "type": "object",
155
+ "properties": {
156
+ "format": {
157
+ "type": "string",
158
+ "enum": [
159
+ "docx",
160
+ "pptx",
161
+ "xlsx",
162
+ "odt",
163
+ "ods",
164
+ "odp",
165
+ "odg",
166
+ "odm",
167
+ "odb",
168
+ "odf",
169
+ "markdown",
170
+ "pdf",
171
+ "epub",
172
+ "rtf",
173
+ "wpd"
174
+ ]
175
+ },
176
+ "xml": {
177
+ "type": "string"
178
+ }
179
+ },
180
+ "required": [
181
+ "format",
182
+ "xml"
183
+ ],
184
+ "additionalProperties": false
185
+ }
186
+ },
114
187
  "children": {
115
188
  "type": "array",
116
189
  "items": {
@@ -161,6 +234,40 @@
161
234
  },
162
235
  "modifiedIso": {
163
236
  "type": "string"
237
+ },
238
+ "lastPrintedIso": {
239
+ "type": "string"
240
+ },
241
+ "language": {
242
+ "type": "string"
243
+ },
244
+ "direction": {
245
+ "type": "string",
246
+ "enum": [
247
+ "ltr",
248
+ "rtl"
249
+ ]
250
+ },
251
+ "publisher": {
252
+ "type": "string"
253
+ },
254
+ "contributor": {
255
+ "type": "string"
256
+ },
257
+ "rights": {
258
+ "type": "string"
259
+ },
260
+ "identifier": {
261
+ "type": "string"
262
+ },
263
+ "comments": {
264
+ "type": "string"
265
+ },
266
+ "company": {
267
+ "type": "string"
268
+ },
269
+ "manager": {
270
+ "type": "string"
164
271
  }
165
272
  },
166
273
  "additionalProperties": false
@@ -234,6 +341,45 @@
234
341
  "$ref": "#/$defs/DefinitionEntry"
235
342
  }
236
343
  },
344
+ "source": {
345
+ "type": "object",
346
+ "propertyNames": {
347
+ "type": "string"
348
+ },
349
+ "additionalProperties": {
350
+ "type": "object",
351
+ "properties": {
352
+ "format": {
353
+ "type": "string",
354
+ "enum": [
355
+ "docx",
356
+ "pptx",
357
+ "xlsx",
358
+ "odt",
359
+ "ods",
360
+ "odp",
361
+ "odg",
362
+ "odm",
363
+ "odb",
364
+ "odf",
365
+ "markdown",
366
+ "pdf",
367
+ "epub",
368
+ "rtf",
369
+ "wpd"
370
+ ]
371
+ },
372
+ "xml": {
373
+ "type": "string"
374
+ }
375
+ },
376
+ "required": [
377
+ "format",
378
+ "xml"
379
+ ],
380
+ "additionalProperties": false
381
+ }
382
+ },
237
383
  "children": {
238
384
  "type": "array",
239
385
  "items": {
@@ -284,6 +430,40 @@
284
430
  },
285
431
  "modifiedIso": {
286
432
  "type": "string"
433
+ },
434
+ "lastPrintedIso": {
435
+ "type": "string"
436
+ },
437
+ "language": {
438
+ "type": "string"
439
+ },
440
+ "direction": {
441
+ "type": "string",
442
+ "enum": [
443
+ "ltr",
444
+ "rtl"
445
+ ]
446
+ },
447
+ "publisher": {
448
+ "type": "string"
449
+ },
450
+ "contributor": {
451
+ "type": "string"
452
+ },
453
+ "rights": {
454
+ "type": "string"
455
+ },
456
+ "identifier": {
457
+ "type": "string"
458
+ },
459
+ "comments": {
460
+ "type": "string"
461
+ },
462
+ "company": {
463
+ "type": "string"
464
+ },
465
+ "manager": {
466
+ "type": "string"
287
467
  }
288
468
  },
289
469
  "additionalProperties": false
@@ -357,6 +537,45 @@
357
537
  "$ref": "#/$defs/DefinitionEntry"
358
538
  }
359
539
  },
540
+ "source": {
541
+ "type": "object",
542
+ "propertyNames": {
543
+ "type": "string"
544
+ },
545
+ "additionalProperties": {
546
+ "type": "object",
547
+ "properties": {
548
+ "format": {
549
+ "type": "string",
550
+ "enum": [
551
+ "docx",
552
+ "pptx",
553
+ "xlsx",
554
+ "odt",
555
+ "ods",
556
+ "odp",
557
+ "odg",
558
+ "odm",
559
+ "odb",
560
+ "odf",
561
+ "markdown",
562
+ "pdf",
563
+ "epub",
564
+ "rtf",
565
+ "wpd"
566
+ ]
567
+ },
568
+ "xml": {
569
+ "type": "string"
570
+ }
571
+ },
572
+ "required": [
573
+ "format",
574
+ "xml"
575
+ ],
576
+ "additionalProperties": false
577
+ }
578
+ },
360
579
  "children": {
361
580
  "type": "array",
362
581
  "items": {
@@ -407,6 +626,40 @@
407
626
  },
408
627
  "modifiedIso": {
409
628
  "type": "string"
629
+ },
630
+ "lastPrintedIso": {
631
+ "type": "string"
632
+ },
633
+ "language": {
634
+ "type": "string"
635
+ },
636
+ "direction": {
637
+ "type": "string",
638
+ "enum": [
639
+ "ltr",
640
+ "rtl"
641
+ ]
642
+ },
643
+ "publisher": {
644
+ "type": "string"
645
+ },
646
+ "contributor": {
647
+ "type": "string"
648
+ },
649
+ "rights": {
650
+ "type": "string"
651
+ },
652
+ "identifier": {
653
+ "type": "string"
654
+ },
655
+ "comments": {
656
+ "type": "string"
657
+ },
658
+ "company": {
659
+ "type": "string"
660
+ },
661
+ "manager": {
662
+ "type": "string"
410
663
  }
411
664
  },
412
665
  "additionalProperties": false
@@ -480,6 +733,45 @@
480
733
  "$ref": "#/$defs/DefinitionEntry"
481
734
  }
482
735
  },
736
+ "source": {
737
+ "type": "object",
738
+ "propertyNames": {
739
+ "type": "string"
740
+ },
741
+ "additionalProperties": {
742
+ "type": "object",
743
+ "properties": {
744
+ "format": {
745
+ "type": "string",
746
+ "enum": [
747
+ "docx",
748
+ "pptx",
749
+ "xlsx",
750
+ "odt",
751
+ "ods",
752
+ "odp",
753
+ "odg",
754
+ "odm",
755
+ "odb",
756
+ "odf",
757
+ "markdown",
758
+ "pdf",
759
+ "epub",
760
+ "rtf",
761
+ "wpd"
762
+ ]
763
+ },
764
+ "xml": {
765
+ "type": "string"
766
+ }
767
+ },
768
+ "required": [
769
+ "format",
770
+ "xml"
771
+ ],
772
+ "additionalProperties": false
773
+ }
774
+ },
483
775
  "children": {
484
776
  "type": "array",
485
777
  "items": {
@@ -530,6 +822,40 @@
530
822
  },
531
823
  "modifiedIso": {
532
824
  "type": "string"
825
+ },
826
+ "lastPrintedIso": {
827
+ "type": "string"
828
+ },
829
+ "language": {
830
+ "type": "string"
831
+ },
832
+ "direction": {
833
+ "type": "string",
834
+ "enum": [
835
+ "ltr",
836
+ "rtl"
837
+ ]
838
+ },
839
+ "publisher": {
840
+ "type": "string"
841
+ },
842
+ "contributor": {
843
+ "type": "string"
844
+ },
845
+ "rights": {
846
+ "type": "string"
847
+ },
848
+ "identifier": {
849
+ "type": "string"
850
+ },
851
+ "comments": {
852
+ "type": "string"
853
+ },
854
+ "company": {
855
+ "type": "string"
856
+ },
857
+ "manager": {
858
+ "type": "string"
533
859
  }
534
860
  },
535
861
  "additionalProperties": false
@@ -603,6 +929,45 @@
603
929
  "$ref": "#/$defs/DefinitionEntry"
604
930
  }
605
931
  },
932
+ "source": {
933
+ "type": "object",
934
+ "propertyNames": {
935
+ "type": "string"
936
+ },
937
+ "additionalProperties": {
938
+ "type": "object",
939
+ "properties": {
940
+ "format": {
941
+ "type": "string",
942
+ "enum": [
943
+ "docx",
944
+ "pptx",
945
+ "xlsx",
946
+ "odt",
947
+ "ods",
948
+ "odp",
949
+ "odg",
950
+ "odm",
951
+ "odb",
952
+ "odf",
953
+ "markdown",
954
+ "pdf",
955
+ "epub",
956
+ "rtf",
957
+ "wpd"
958
+ ]
959
+ },
960
+ "xml": {
961
+ "type": "string"
962
+ }
963
+ },
964
+ "required": [
965
+ "format",
966
+ "xml"
967
+ ],
968
+ "additionalProperties": false
969
+ }
970
+ },
606
971
  "children": {
607
972
  "minItems": 1,
608
973
  "maxItems": 1,
@@ -714,6 +1079,39 @@
714
1079
  "justify"
715
1080
  ]
716
1081
  },
1082
+ "SourceResidue": {
1083
+ "type": "object",
1084
+ "properties": {
1085
+ "format": {
1086
+ "type": "string",
1087
+ "enum": [
1088
+ "docx",
1089
+ "pptx",
1090
+ "xlsx",
1091
+ "odt",
1092
+ "ods",
1093
+ "odp",
1094
+ "odg",
1095
+ "odm",
1096
+ "odb",
1097
+ "odf",
1098
+ "markdown",
1099
+ "pdf",
1100
+ "epub",
1101
+ "rtf",
1102
+ "wpd"
1103
+ ]
1104
+ },
1105
+ "xml": {
1106
+ "type": "string"
1107
+ }
1108
+ },
1109
+ "required": [
1110
+ "format",
1111
+ "xml"
1112
+ ],
1113
+ "additionalProperties": false
1114
+ },
717
1115
  "ContentStrokeStyle": {
718
1116
  "type": "string",
719
1117
  "enum": [
@@ -757,49 +1155,191 @@
757
1155
  },
758
1156
  "bottom": {
759
1157
  "$ref": "#/$defs/ContentBorder"
1158
+ },
1159
+ "diagonalUp": {
1160
+ "$ref": "#/$defs/ContentBorder"
1161
+ },
1162
+ "diagonalDown": {
1163
+ "$ref": "#/$defs/ContentBorder"
760
1164
  }
761
1165
  },
762
1166
  "additionalProperties": false
763
1167
  },
764
- "ContentListMembership": {
1168
+ "ContentParagraphBorders": {
765
1169
  "type": "object",
766
1170
  "properties": {
767
- "numId": {
768
- "type": "string"
1171
+ "left": {
1172
+ "$ref": "#/$defs/ContentBorder"
769
1173
  },
770
- "level": {
771
- "type": "integer",
772
- "minimum": 0,
773
- "maximum": 9007199254740991
1174
+ "right": {
1175
+ "$ref": "#/$defs/ContentBorder"
1176
+ },
1177
+ "top": {
1178
+ "$ref": "#/$defs/ContentBorder"
1179
+ },
1180
+ "bottom": {
1181
+ "$ref": "#/$defs/ContentBorder"
774
1182
  }
775
1183
  },
776
- "required": [
777
- "level"
778
- ],
779
1184
  "additionalProperties": false
780
1185
  },
781
- "ContentRun": {
782
- "type": "object",
783
- "properties": {
784
- "text": {
785
- "type": "string"
786
- },
787
- "bold": {
788
- "type": "boolean"
789
- },
790
- "italic": {
791
- "type": "boolean"
792
- },
793
- "underline": {
794
- "type": "boolean"
795
- },
796
- "strike": {
797
- "type": "boolean"
798
- },
799
- "fontFamily": {
800
- "type": "string"
801
- },
802
- "sizePt": {
1186
+ "ContentCellPatternType": {
1187
+ "type": "string",
1188
+ "enum": [
1189
+ "percent5",
1190
+ "percent10",
1191
+ "percent12",
1192
+ "percent15",
1193
+ "percent20",
1194
+ "percent25",
1195
+ "percent30",
1196
+ "percent35",
1197
+ "percent37",
1198
+ "percent40",
1199
+ "percent45",
1200
+ "percent50",
1201
+ "percent55",
1202
+ "percent60",
1203
+ "percent62",
1204
+ "percent65",
1205
+ "percent70",
1206
+ "percent75",
1207
+ "percent80",
1208
+ "percent85",
1209
+ "percent87",
1210
+ "percent90",
1211
+ "percent95",
1212
+ "horizontalStripe",
1213
+ "verticalStripe",
1214
+ "diagonalStripe",
1215
+ "reverseDiagonalStripe",
1216
+ "horizontalCross",
1217
+ "diagonalCross",
1218
+ "thinHorizontalStripe",
1219
+ "thinVerticalStripe",
1220
+ "thinDiagonalStripe",
1221
+ "thinReverseDiagonalStripe",
1222
+ "thinHorizontalCross",
1223
+ "thinDiagonalCross",
1224
+ "mediumGray",
1225
+ "darkGray",
1226
+ "lightGray",
1227
+ "darkHorizontal",
1228
+ "darkVertical",
1229
+ "darkDown",
1230
+ "darkUp",
1231
+ "darkGrid",
1232
+ "darkTrellis",
1233
+ "lightHorizontal",
1234
+ "lightVertical",
1235
+ "lightDown",
1236
+ "lightUp",
1237
+ "lightGrid",
1238
+ "lightTrellis",
1239
+ "gray125",
1240
+ "gray0625"
1241
+ ]
1242
+ },
1243
+ "ContentCellFill": {
1244
+ "oneOf": [
1245
+ {
1246
+ "type": "object",
1247
+ "properties": {
1248
+ "kind": {
1249
+ "type": "string",
1250
+ "const": "solid"
1251
+ },
1252
+ "color": {
1253
+ "$ref": "#/$defs/Color"
1254
+ }
1255
+ },
1256
+ "required": [
1257
+ "kind",
1258
+ "color"
1259
+ ],
1260
+ "additionalProperties": false
1261
+ },
1262
+ {
1263
+ "type": "object",
1264
+ "properties": {
1265
+ "kind": {
1266
+ "type": "string",
1267
+ "const": "pattern"
1268
+ },
1269
+ "patternType": {
1270
+ "$ref": "#/$defs/ContentCellPatternType"
1271
+ },
1272
+ "foregroundColor": {
1273
+ "$ref": "#/$defs/Color"
1274
+ },
1275
+ "backgroundColor": {
1276
+ "$ref": "#/$defs/Color"
1277
+ }
1278
+ },
1279
+ "required": [
1280
+ "kind",
1281
+ "patternType"
1282
+ ],
1283
+ "additionalProperties": false
1284
+ }
1285
+ ]
1286
+ },
1287
+ "ContentListMembership": {
1288
+ "type": "object",
1289
+ "properties": {
1290
+ "numId": {
1291
+ "type": "string"
1292
+ },
1293
+ "level": {
1294
+ "type": "integer",
1295
+ "minimum": 0,
1296
+ "maximum": 9007199254740991
1297
+ },
1298
+ "checked": {
1299
+ "type": "boolean"
1300
+ },
1301
+ "itemId": {
1302
+ "type": "string"
1303
+ },
1304
+ "format": {
1305
+ "type": "string",
1306
+ "enum": [
1307
+ "bullet",
1308
+ "decimal",
1309
+ "lowerLetter",
1310
+ "upperLetter",
1311
+ "lowerRoman",
1312
+ "upperRoman"
1313
+ ]
1314
+ }
1315
+ },
1316
+ "required": [
1317
+ "level"
1318
+ ],
1319
+ "additionalProperties": false
1320
+ },
1321
+ "ContentRun": {
1322
+ "type": "object",
1323
+ "properties": {
1324
+ "text": {
1325
+ "type": "string"
1326
+ },
1327
+ "bold": {
1328
+ "type": "boolean"
1329
+ },
1330
+ "italic": {
1331
+ "type": "boolean"
1332
+ },
1333
+ "underline": {
1334
+ "type": "boolean"
1335
+ },
1336
+ "strike": {
1337
+ "type": "boolean"
1338
+ },
1339
+ "fontFamily": {
1340
+ "type": "string"
1341
+ },
1342
+ "sizePt": {
803
1343
  "type": "number",
804
1344
  "exclusiveMinimum": 0
805
1345
  },
@@ -809,9 +1349,26 @@
809
1349
  "hyperlink": {
810
1350
  "type": "string"
811
1351
  },
1352
+ "verticalAlign": {
1353
+ "type": "string",
1354
+ "enum": [
1355
+ "superscript",
1356
+ "subscript"
1357
+ ]
1358
+ },
1359
+ "direction": {
1360
+ "type": "string",
1361
+ "enum": [
1362
+ "ltr",
1363
+ "rtl"
1364
+ ]
1365
+ },
812
1366
  "sourcePath": {
813
1367
  "type": "string"
814
1368
  },
1369
+ "source": {
1370
+ "$ref": "#/$defs/SourceResidue"
1371
+ },
815
1372
  "frames": {
816
1373
  "type": "array",
817
1374
  "items": {
@@ -824,6 +1381,30 @@
824
1381
  ],
825
1382
  "additionalProperties": false
826
1383
  },
1384
+ "RunConstructExtent": {
1385
+ "type": "object",
1386
+ "properties": {
1387
+ "descriptor": {
1388
+ "$ref": "#/$defs/ConstructDescriptor"
1389
+ },
1390
+ "startRun": {
1391
+ "type": "integer",
1392
+ "minimum": 0,
1393
+ "maximum": 9007199254740991
1394
+ },
1395
+ "endRun": {
1396
+ "type": "integer",
1397
+ "minimum": 0,
1398
+ "maximum": 9007199254740991
1399
+ }
1400
+ },
1401
+ "required": [
1402
+ "descriptor",
1403
+ "startRun",
1404
+ "endRun"
1405
+ ],
1406
+ "additionalProperties": false
1407
+ },
827
1408
  "ContentParagraph": {
828
1409
  "type": "object",
829
1410
  "properties": {
@@ -837,9 +1418,21 @@
837
1418
  "$ref": "#/$defs/ContentRun"
838
1419
  }
839
1420
  },
1421
+ "constructs": {
1422
+ "type": "array",
1423
+ "items": {
1424
+ "$ref": "#/$defs/RunConstructExtent"
1425
+ }
1426
+ },
840
1427
  "styleId": {
841
1428
  "type": "string"
842
1429
  },
1430
+ "codeLanguage": {
1431
+ "type": "string"
1432
+ },
1433
+ "preformatted": {
1434
+ "type": "boolean"
1435
+ },
843
1436
  "headingLevel": {
844
1437
  "type": "integer",
845
1438
  "exclusiveMinimum": 0,
@@ -864,12 +1457,34 @@
864
1457
  "indentLeftPt": {
865
1458
  "type": "number"
866
1459
  },
1460
+ "indentRightPt": {
1461
+ "type": "number"
1462
+ },
867
1463
  "indentFirstLinePt": {
868
1464
  "type": "number"
869
1465
  },
1466
+ "direction": {
1467
+ "type": "string",
1468
+ "enum": [
1469
+ "ltr",
1470
+ "rtl"
1471
+ ]
1472
+ },
1473
+ "pageBreakBefore": {
1474
+ "type": "boolean"
1475
+ },
1476
+ "pageBreakAfter": {
1477
+ "type": "boolean"
1478
+ },
1479
+ "borders": {
1480
+ "$ref": "#/$defs/ContentParagraphBorders"
1481
+ },
870
1482
  "sourcePath": {
871
1483
  "type": "string"
872
1484
  },
1485
+ "source": {
1486
+ "$ref": "#/$defs/SourceResidue"
1487
+ },
873
1488
  "frames": {
874
1489
  "type": "array",
875
1490
  "items": {
@@ -883,6 +1498,88 @@
883
1498
  ],
884
1499
  "additionalProperties": false
885
1500
  },
1501
+ "ContentFloatOrigin": {
1502
+ "type": "string",
1503
+ "enum": [
1504
+ "page",
1505
+ "margin",
1506
+ "leftMargin",
1507
+ "rightMargin",
1508
+ "topMargin",
1509
+ "bottomMargin",
1510
+ "insideMargin",
1511
+ "outsideMargin",
1512
+ "column",
1513
+ "character",
1514
+ "paragraph",
1515
+ "line",
1516
+ "frame"
1517
+ ]
1518
+ },
1519
+ "ContentFloatAlign": {
1520
+ "type": "string",
1521
+ "enum": [
1522
+ "left",
1523
+ "right",
1524
+ "top",
1525
+ "bottom",
1526
+ "center",
1527
+ "inside",
1528
+ "outside"
1529
+ ]
1530
+ },
1531
+ "ContentFloatAxis": {
1532
+ "anyOf": [
1533
+ {
1534
+ "type": "object",
1535
+ "properties": {
1536
+ "relativeTo": {
1537
+ "$ref": "#/$defs/ContentFloatOrigin"
1538
+ },
1539
+ "offsetPt": {
1540
+ "type": "number"
1541
+ }
1542
+ },
1543
+ "required": [
1544
+ "relativeTo",
1545
+ "offsetPt"
1546
+ ],
1547
+ "additionalProperties": false
1548
+ },
1549
+ {
1550
+ "type": "object",
1551
+ "properties": {
1552
+ "relativeTo": {
1553
+ "$ref": "#/$defs/ContentFloatOrigin"
1554
+ },
1555
+ "align": {
1556
+ "$ref": "#/$defs/ContentFloatAlign"
1557
+ }
1558
+ },
1559
+ "required": [
1560
+ "relativeTo",
1561
+ "align"
1562
+ ],
1563
+ "additionalProperties": false
1564
+ }
1565
+ ]
1566
+ },
1567
+ "ContentFloatPosition": {
1568
+ "type": "object",
1569
+ "properties": {
1570
+ "horizontal": {
1571
+ "$ref": "#/$defs/ContentFloatAxis"
1572
+ },
1573
+ "vertical": {
1574
+ "$ref": "#/$defs/ContentFloatAxis"
1575
+ }
1576
+ },
1577
+ "required": [
1578
+ "horizontal",
1579
+ "vertical"
1580
+ ],
1581
+ "additionalProperties": false
1582
+ },
886
1583
  "ContentImageBlock": {
887
1584
  "type": "object",
888
1585
  "properties": {
@@ -894,7 +1591,9 @@
894
1591
  "type": "string",
895
1592
  "enum": [
896
1593
  "png",
897
- "jpeg"
1594
+ "jpeg",
1595
+ "svg",
1596
+ "gif"
898
1597
  ]
899
1598
  },
900
1599
  "base64": {
@@ -911,9 +1610,15 @@
911
1610
  "altText": {
912
1611
  "type": "string"
913
1612
  },
1613
+ "floatPosition": {
1614
+ "$ref": "#/$defs/ContentFloatPosition"
1615
+ },
914
1616
  "sourcePath": {
915
1617
  "type": "string"
916
1618
  },
1619
+ "source": {
1620
+ "$ref": "#/$defs/SourceResidue"
1621
+ },
917
1622
  "frames": {
918
1623
  "type": "array",
919
1624
  "items": {
@@ -940,6 +1645,9 @@
940
1645
  "sourcePath": {
941
1646
  "type": "string"
942
1647
  },
1648
+ "source": {
1649
+ "$ref": "#/$defs/SourceResidue"
1650
+ },
943
1651
  "frames": {
944
1652
  "type": "array",
945
1653
  "items": {
@@ -972,14 +1680,28 @@
972
1680
  "maximum": 9007199254740991
973
1681
  },
974
1682
  "background": {
975
- "$ref": "#/$defs/Color"
1683
+ "$ref": "#/$defs/ContentCellFill"
976
1684
  },
977
1685
  "borders": {
978
1686
  "$ref": "#/$defs/ContentCellBorders"
979
1687
  },
1688
+ "verticalAlign": {
1689
+ "type": "string",
1690
+ "enum": [
1691
+ "top",
1692
+ "center",
1693
+ "bottom"
1694
+ ]
1695
+ },
1696
+ "formula": {
1697
+ "type": "string"
1698
+ },
980
1699
  "sourcePath": {
981
1700
  "type": "string"
982
1701
  },
1702
+ "source": {
1703
+ "$ref": "#/$defs/SourceResidue"
1704
+ },
983
1705
  "frames": {
984
1706
  "type": "array",
985
1707
  "items": {
@@ -1004,6 +1726,13 @@
1004
1726
  "heightPt": {
1005
1727
  "type": "number",
1006
1728
  "exclusiveMinimum": 0
1729
+ },
1730
+ "direction": {
1731
+ "type": "string",
1732
+ "enum": [
1733
+ "ltr",
1734
+ "rtl"
1735
+ ]
1007
1736
  }
1008
1737
  },
1009
1738
  "required": [
@@ -1028,12 +1757,15 @@
1028
1757
  "type": "array",
1029
1758
  "items": {
1030
1759
  "type": "number",
1031
- "exclusiveMinimum": 0
1760
+ "minimum": 0
1032
1761
  }
1033
1762
  },
1034
1763
  "sourcePath": {
1035
1764
  "type": "string"
1036
1765
  },
1766
+ "source": {
1767
+ "$ref": "#/$defs/SourceResidue"
1768
+ },
1037
1769
  "frames": {
1038
1770
  "type": "array",
1039
1771
  "items": {
@@ -1062,11 +1794,12 @@
1062
1794
  "wordprocessing",
1063
1795
  "presentation",
1064
1796
  "spreadsheet",
1065
- "drawing"
1797
+ "drawing",
1798
+ "chart"
1066
1799
  ]
1067
1800
  },
1068
1801
  "document": {
1069
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@4.3.3/schemas/content-document.schema.json"
1802
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.6.0/schemas/content-document.schema.json"
1070
1803
  },
1071
1804
  "frame": {
1072
1805
  "$ref": "#/$defs/Box"
@@ -1074,6 +1807,9 @@
1074
1807
  "sourcePath": {
1075
1808
  "type": "string"
1076
1809
  },
1810
+ "source": {
1811
+ "$ref": "#/$defs/SourceResidue"
1812
+ },
1077
1813
  "frames": {
1078
1814
  "type": "array",
1079
1815
  "items": {
@@ -1160,7 +1896,7 @@
1160
1896
  }
1161
1897
  ]
1162
1898
  },
1163
- "PackageBlockLeaf": {
1899
+ "TreeBlockLeaf": {
1164
1900
  "oneOf": [
1165
1901
  {
1166
1902
  "$ref": "#/$defs/ContentParagraph"
@@ -1234,6 +1970,24 @@
1234
1970
  "margins": {
1235
1971
  "$ref": "#/$defs/Margins"
1236
1972
  },
1973
+ "breakType": {
1974
+ "type": "string",
1975
+ "enum": [
1976
+ "nextPage",
1977
+ "continuous",
1978
+ "evenPage",
1979
+ "oddPage"
1980
+ ]
1981
+ },
1982
+ "headers": {
1983
+ "$ref": "#/$defs/ContentPageFurniture"
1984
+ },
1985
+ "footers": {
1986
+ "$ref": "#/$defs/ContentPageFurniture"
1987
+ },
1988
+ "source": {
1989
+ "$ref": "#/$defs/SourceResidue"
1990
+ },
1237
1991
  "kind": {
1238
1992
  "type": "string",
1239
1993
  "const": "section"
@@ -1246,6 +2000,30 @@
1246
2000
  ],
1247
2001
  "additionalProperties": false
1248
2002
  },
2003
+ "ContentPageFurniture": {
2004
+ "type": "object",
2005
+ "properties": {
2006
+ "default": {
2007
+ "type": "array",
2008
+ "items": {
2009
+ "$ref": "#/$defs/ContentBlock"
2010
+ }
2011
+ },
2012
+ "even": {
2013
+ "type": "array",
2014
+ "items": {
2015
+ "$ref": "#/$defs/ContentBlock"
2016
+ }
2017
+ },
2018
+ "first": {
2019
+ "type": "array",
2020
+ "items": {
2021
+ "$ref": "#/$defs/ContentBlock"
2022
+ }
2023
+ }
2024
+ },
2025
+ "additionalProperties": false
2026
+ },
1249
2027
  "SlideDescriptor": {
1250
2028
  "type": "object",
1251
2029
  "properties": {
@@ -1255,6 +2033,9 @@
1255
2033
  "notes": {
1256
2034
  "type": "string"
1257
2035
  },
2036
+ "source": {
2037
+ "$ref": "#/$defs/SourceResidue"
2038
+ },
1258
2039
  "kind": {
1259
2040
  "type": "string",
1260
2041
  "const": "slide"
@@ -1294,6 +2075,21 @@
1294
2075
  "printSettings": {
1295
2076
  "$ref": "#/$defs/ContentSheetPrintSettings"
1296
2077
  },
2078
+ "dataValidations": {
2079
+ "type": "array",
2080
+ "items": {
2081
+ "$ref": "#/$defs/ContentSheetDataValidation"
2082
+ }
2083
+ },
2084
+ "conditionalFormats": {
2085
+ "type": "array",
2086
+ "items": {
2087
+ "$ref": "#/$defs/ContentSheetConditionalFormat"
2088
+ }
2089
+ },
2090
+ "source": {
2091
+ "$ref": "#/$defs/SourceResidue"
2092
+ },
1297
2093
  "kind": {
1298
2094
  "type": "string",
1299
2095
  "const": "sheet"
@@ -1315,6 +2111,9 @@
1315
2111
  "size": {
1316
2112
  "$ref": "#/$defs/PageSize"
1317
2113
  },
2114
+ "source": {
2115
+ "$ref": "#/$defs/SourceResidue"
2116
+ },
1318
2117
  "kind": {
1319
2118
  "type": "string",
1320
2119
  "const": "drawPage"
@@ -1368,6 +2167,9 @@
1368
2167
  "sourcePath": {
1369
2168
  "type": "string"
1370
2169
  },
2170
+ "source": {
2171
+ "$ref": "#/$defs/SourceResidue"
2172
+ },
1371
2173
  "frames": {
1372
2174
  "type": "array",
1373
2175
  "items": {
@@ -1397,9 +2199,21 @@
1397
2199
  "$ref": "#/$defs/ContentRun"
1398
2200
  }
1399
2201
  },
2202
+ "constructs": {
2203
+ "type": "array",
2204
+ "items": {
2205
+ "$ref": "#/$defs/RunConstructExtent"
2206
+ }
2207
+ },
1400
2208
  "styleId": {
1401
2209
  "type": "string"
1402
2210
  },
2211
+ "codeLanguage": {
2212
+ "type": "string"
2213
+ },
2214
+ "preformatted": {
2215
+ "type": "boolean"
2216
+ },
1403
2217
  "headingLevel": {
1404
2218
  "type": "integer",
1405
2219
  "exclusiveMinimum": 0,
@@ -1424,12 +2238,34 @@
1424
2238
  "indentLeftPt": {
1425
2239
  "type": "number"
1426
2240
  },
2241
+ "indentRightPt": {
2242
+ "type": "number"
2243
+ },
1427
2244
  "indentFirstLinePt": {
1428
2245
  "type": "number"
1429
2246
  },
2247
+ "direction": {
2248
+ "type": "string",
2249
+ "enum": [
2250
+ "ltr",
2251
+ "rtl"
2252
+ ]
2253
+ },
2254
+ "pageBreakBefore": {
2255
+ "type": "boolean"
2256
+ },
2257
+ "pageBreakAfter": {
2258
+ "type": "boolean"
2259
+ },
2260
+ "borders": {
2261
+ "$ref": "#/$defs/ContentParagraphBorders"
2262
+ },
1430
2263
  "sourcePath": {
1431
2264
  "type": "string"
1432
2265
  },
2266
+ "source": {
2267
+ "$ref": "#/$defs/SourceResidue"
2268
+ },
1433
2269
  "frames": {
1434
2270
  "type": "array",
1435
2271
  "items": {
@@ -1457,9 +2293,21 @@
1457
2293
  "$ref": "#/$defs/ContentRun"
1458
2294
  }
1459
2295
  },
2296
+ "constructs": {
2297
+ "type": "array",
2298
+ "items": {
2299
+ "$ref": "#/$defs/RunConstructExtent"
2300
+ }
2301
+ },
1460
2302
  "styleId": {
1461
2303
  "type": "string"
1462
2304
  },
2305
+ "codeLanguage": {
2306
+ "type": "string"
2307
+ },
2308
+ "preformatted": {
2309
+ "type": "boolean"
2310
+ },
1463
2311
  "headingLevel": {
1464
2312
  "type": "integer",
1465
2313
  "exclusiveMinimum": 0,
@@ -1484,12 +2332,34 @@
1484
2332
  "indentLeftPt": {
1485
2333
  "type": "number"
1486
2334
  },
2335
+ "indentRightPt": {
2336
+ "type": "number"
2337
+ },
1487
2338
  "indentFirstLinePt": {
1488
2339
  "type": "number"
1489
2340
  },
2341
+ "direction": {
2342
+ "type": "string",
2343
+ "enum": [
2344
+ "ltr",
2345
+ "rtl"
2346
+ ]
2347
+ },
2348
+ "pageBreakBefore": {
2349
+ "type": "boolean"
2350
+ },
2351
+ "pageBreakAfter": {
2352
+ "type": "boolean"
2353
+ },
2354
+ "borders": {
2355
+ "$ref": "#/$defs/ContentParagraphBorders"
2356
+ },
1490
2357
  "sourcePath": {
1491
2358
  "type": "string"
1492
2359
  },
2360
+ "source": {
2361
+ "$ref": "#/$defs/SourceResidue"
2362
+ },
1493
2363
  "frames": {
1494
2364
  "type": "array",
1495
2365
  "items": {
@@ -1526,6 +2396,9 @@
1526
2396
  "displayText": {
1527
2397
  "type": "string"
1528
2398
  },
2399
+ "numberFormatCode": {
2400
+ "type": "string"
2401
+ },
1529
2402
  "runs": {
1530
2403
  "type": "array",
1531
2404
  "items": {
@@ -1543,7 +2416,7 @@
1543
2416
  "maximum": 9007199254740991
1544
2417
  },
1545
2418
  "background": {
1546
- "$ref": "#/$defs/Color"
2419
+ "$ref": "#/$defs/ContentCellFill"
1547
2420
  },
1548
2421
  "borders": {
1549
2422
  "$ref": "#/$defs/ContentCellBorders"
@@ -1565,6 +2438,9 @@
1565
2438
  "sourcePath": {
1566
2439
  "type": "string"
1567
2440
  },
2441
+ "source": {
2442
+ "$ref": "#/$defs/SourceResidue"
2443
+ },
1568
2444
  "frames": {
1569
2445
  "type": "array",
1570
2446
  "items": {
@@ -1874,117 +2750,692 @@
1874
2750
  }
1875
2751
  },
1876
2752
  "required": [
1877
- "width",
1878
- "height"
2753
+ "width",
2754
+ "height"
2755
+ ],
2756
+ "additionalProperties": false
2757
+ },
2758
+ "repeatRows": {
2759
+ "$ref": "#/$defs/ContentSheetRepeatRange"
2760
+ },
2761
+ "repeatColumns": {
2762
+ "$ref": "#/$defs/ContentSheetRepeatRange"
2763
+ },
2764
+ "gridlines": {
2765
+ "type": "boolean"
2766
+ },
2767
+ "headers": {
2768
+ "type": "boolean"
2769
+ },
2770
+ "pageOrder": {
2771
+ "type": "string",
2772
+ "enum": [
2773
+ "downThenOver",
2774
+ "overThenDown"
2775
+ ]
2776
+ },
2777
+ "manualBreaks": {
2778
+ "type": "object",
2779
+ "properties": {
2780
+ "rows": {
2781
+ "type": "array",
2782
+ "items": {
2783
+ "type": "integer",
2784
+ "minimum": 0,
2785
+ "maximum": 9007199254740991
2786
+ }
2787
+ },
2788
+ "columns": {
2789
+ "type": "array",
2790
+ "items": {
2791
+ "type": "integer",
2792
+ "minimum": 0,
2793
+ "maximum": 9007199254740991
2794
+ }
2795
+ }
2796
+ },
2797
+ "required": [
2798
+ "rows",
2799
+ "columns"
2800
+ ],
2801
+ "additionalProperties": false
2802
+ }
2803
+ },
2804
+ "required": [
2805
+ "pageSize",
2806
+ "margins",
2807
+ "gridlines",
2808
+ "headers",
2809
+ "pageOrder"
2810
+ ],
2811
+ "additionalProperties": false
2812
+ },
2813
+ "ContentSheetPrintRange": {
2814
+ "type": "object",
2815
+ "properties": {
2816
+ "startRow": {
2817
+ "type": "integer",
2818
+ "minimum": 0,
2819
+ "maximum": 9007199254740991
2820
+ },
2821
+ "startColumn": {
2822
+ "type": "integer",
2823
+ "minimum": 0,
2824
+ "maximum": 9007199254740991
2825
+ },
2826
+ "endRow": {
2827
+ "type": "integer",
2828
+ "minimum": 0,
2829
+ "maximum": 9007199254740991
2830
+ },
2831
+ "endColumn": {
2832
+ "type": "integer",
2833
+ "minimum": 0,
2834
+ "maximum": 9007199254740991
2835
+ }
2836
+ },
2837
+ "required": [
2838
+ "startRow",
2839
+ "startColumn",
2840
+ "endRow",
2841
+ "endColumn"
2842
+ ],
2843
+ "additionalProperties": false
2844
+ },
2845
+ "ContentSheetRepeatRange": {
2846
+ "type": "object",
2847
+ "properties": {
2848
+ "start": {
2849
+ "type": "integer",
2850
+ "minimum": 0,
2851
+ "maximum": 9007199254740991
2852
+ },
2853
+ "end": {
2854
+ "type": "integer",
2855
+ "minimum": 0,
2856
+ "maximum": 9007199254740991
2857
+ }
2858
+ },
2859
+ "required": [
2860
+ "start",
2861
+ "end"
2862
+ ],
2863
+ "additionalProperties": false
2864
+ },
2865
+ "ContentSheetRange": {
2866
+ "type": "object",
2867
+ "properties": {
2868
+ "startRow": {
2869
+ "type": "integer",
2870
+ "minimum": 0,
2871
+ "maximum": 9007199254740991
2872
+ },
2873
+ "startColumn": {
2874
+ "type": "integer",
2875
+ "minimum": 0,
2876
+ "maximum": 9007199254740991
2877
+ },
2878
+ "endRow": {
2879
+ "type": "integer",
2880
+ "minimum": 0,
2881
+ "maximum": 9007199254740991
2882
+ },
2883
+ "endColumn": {
2884
+ "type": "integer",
2885
+ "minimum": 0,
2886
+ "maximum": 9007199254740991
2887
+ }
2888
+ },
2889
+ "required": [
2890
+ "startRow",
2891
+ "startColumn",
2892
+ "endRow",
2893
+ "endColumn"
2894
+ ],
2895
+ "additionalProperties": false
2896
+ },
2897
+ "SheetRuleOperator": {
2898
+ "type": "string",
2899
+ "enum": [
2900
+ "between",
2901
+ "notBetween",
2902
+ "equal",
2903
+ "notEqual",
2904
+ "greaterThan",
2905
+ "greaterThanOrEqual",
2906
+ "lessThan",
2907
+ "lessThanOrEqual"
2908
+ ]
2909
+ },
2910
+ "ContentSheetDataValidation": {
2911
+ "type": "object",
2912
+ "properties": {
2913
+ "ranges": {
2914
+ "type": "array",
2915
+ "items": {
2916
+ "$ref": "#/$defs/ContentSheetRange"
2917
+ }
2918
+ },
2919
+ "type": {
2920
+ "type": "string",
2921
+ "enum": [
2922
+ "whole",
2923
+ "decimal",
2924
+ "list",
2925
+ "date",
2926
+ "time",
2927
+ "textLength",
2928
+ "custom"
2929
+ ]
2930
+ },
2931
+ "operator": {
2932
+ "$ref": "#/$defs/SheetRuleOperator"
2933
+ },
2934
+ "formula1": {
2935
+ "type": "string"
2936
+ },
2937
+ "formula2": {
2938
+ "type": "string"
2939
+ },
2940
+ "allowBlank": {
2941
+ "type": "boolean"
2942
+ },
2943
+ "showInputMessage": {
2944
+ "type": "boolean"
2945
+ },
2946
+ "promptTitle": {
2947
+ "type": "string"
2948
+ },
2949
+ "prompt": {
2950
+ "type": "string"
2951
+ },
2952
+ "showErrorMessage": {
2953
+ "type": "boolean"
2954
+ },
2955
+ "errorStyle": {
2956
+ "type": "string",
2957
+ "enum": [
2958
+ "stop",
2959
+ "warning",
2960
+ "information"
2961
+ ]
2962
+ },
2963
+ "errorTitle": {
2964
+ "type": "string"
2965
+ },
2966
+ "error": {
2967
+ "type": "string"
2968
+ },
2969
+ "source": {
2970
+ "$ref": "#/$defs/SourceResidue"
2971
+ }
2972
+ },
2973
+ "required": [
2974
+ "ranges",
2975
+ "type"
2976
+ ],
2977
+ "additionalProperties": false
2978
+ },
2979
+ "ContentSheetConditionalFormatStyle": {
2980
+ "type": "object",
2981
+ "properties": {
2982
+ "textColor": {
2983
+ "$ref": "#/$defs/Color"
2984
+ },
2985
+ "background": {
2986
+ "$ref": "#/$defs/Color"
2987
+ },
2988
+ "source": {
2989
+ "$ref": "#/$defs/SourceResidue"
2990
+ }
2991
+ },
2992
+ "additionalProperties": false
2993
+ },
2994
+ "ContentSheetConditionalFormatValue": {
2995
+ "type": "object",
2996
+ "properties": {
2997
+ "type": {
2998
+ "type": "string",
2999
+ "enum": [
3000
+ "num",
3001
+ "percent",
3002
+ "max",
3003
+ "min",
3004
+ "formula",
3005
+ "percentile"
3006
+ ]
3007
+ },
3008
+ "value": {
3009
+ "type": "string"
3010
+ }
3011
+ },
3012
+ "required": [
3013
+ "type"
3014
+ ],
3015
+ "additionalProperties": false
3016
+ },
3017
+ "ContentSheetConditionalFormat": {
3018
+ "oneOf": [
3019
+ {
3020
+ "type": "object",
3021
+ "properties": {
3022
+ "type": {
3023
+ "type": "string",
3024
+ "const": "cellIs"
3025
+ },
3026
+ "ranges": {
3027
+ "type": "array",
3028
+ "items": {
3029
+ "$ref": "#/$defs/ContentSheetRange"
3030
+ }
3031
+ },
3032
+ "priority": {
3033
+ "type": "integer",
3034
+ "minimum": -9007199254740991,
3035
+ "maximum": 9007199254740991
3036
+ },
3037
+ "stopIfTrue": {
3038
+ "type": "boolean"
3039
+ },
3040
+ "source": {
3041
+ "$ref": "#/$defs/SourceResidue"
3042
+ },
3043
+ "operator": {
3044
+ "$ref": "#/$defs/SheetRuleOperator"
3045
+ },
3046
+ "formula1": {
3047
+ "type": "string"
3048
+ },
3049
+ "formula2": {
3050
+ "type": "string"
3051
+ },
3052
+ "style": {
3053
+ "$ref": "#/$defs/ContentSheetConditionalFormatStyle"
3054
+ }
3055
+ },
3056
+ "required": [
3057
+ "type",
3058
+ "ranges",
3059
+ "operator",
3060
+ "formula1"
3061
+ ],
3062
+ "additionalProperties": false
3063
+ },
3064
+ {
3065
+ "type": "object",
3066
+ "properties": {
3067
+ "type": {
3068
+ "type": "string",
3069
+ "enum": [
3070
+ "containsText",
3071
+ "notContainsText",
3072
+ "beginsWith",
3073
+ "endsWith"
3074
+ ]
3075
+ },
3076
+ "ranges": {
3077
+ "type": "array",
3078
+ "items": {
3079
+ "$ref": "#/$defs/ContentSheetRange"
3080
+ }
3081
+ },
3082
+ "priority": {
3083
+ "type": "integer",
3084
+ "minimum": -9007199254740991,
3085
+ "maximum": 9007199254740991
3086
+ },
3087
+ "stopIfTrue": {
3088
+ "type": "boolean"
3089
+ },
3090
+ "source": {
3091
+ "$ref": "#/$defs/SourceResidue"
3092
+ },
3093
+ "text": {
3094
+ "type": "string"
3095
+ },
3096
+ "style": {
3097
+ "$ref": "#/$defs/ContentSheetConditionalFormatStyle"
3098
+ }
3099
+ },
3100
+ "required": [
3101
+ "type",
3102
+ "ranges",
3103
+ "text"
3104
+ ],
3105
+ "additionalProperties": false
3106
+ },
3107
+ {
3108
+ "type": "object",
3109
+ "properties": {
3110
+ "type": {
3111
+ "type": "string",
3112
+ "enum": [
3113
+ "containsBlanks",
3114
+ "notContainsBlanks",
3115
+ "containsErrors",
3116
+ "notContainsErrors",
3117
+ "uniqueValues",
3118
+ "duplicateValues"
3119
+ ]
3120
+ },
3121
+ "ranges": {
3122
+ "type": "array",
3123
+ "items": {
3124
+ "$ref": "#/$defs/ContentSheetRange"
3125
+ }
3126
+ },
3127
+ "priority": {
3128
+ "type": "integer",
3129
+ "minimum": -9007199254740991,
3130
+ "maximum": 9007199254740991
3131
+ },
3132
+ "stopIfTrue": {
3133
+ "type": "boolean"
3134
+ },
3135
+ "source": {
3136
+ "$ref": "#/$defs/SourceResidue"
3137
+ },
3138
+ "style": {
3139
+ "$ref": "#/$defs/ContentSheetConditionalFormatStyle"
3140
+ }
3141
+ },
3142
+ "required": [
3143
+ "type",
3144
+ "ranges"
3145
+ ],
3146
+ "additionalProperties": false
3147
+ },
3148
+ {
3149
+ "type": "object",
3150
+ "properties": {
3151
+ "type": {
3152
+ "type": "string",
3153
+ "const": "top10"
3154
+ },
3155
+ "ranges": {
3156
+ "type": "array",
3157
+ "items": {
3158
+ "$ref": "#/$defs/ContentSheetRange"
3159
+ }
3160
+ },
3161
+ "priority": {
3162
+ "type": "integer",
3163
+ "minimum": -9007199254740991,
3164
+ "maximum": 9007199254740991
3165
+ },
3166
+ "stopIfTrue": {
3167
+ "type": "boolean"
3168
+ },
3169
+ "source": {
3170
+ "$ref": "#/$defs/SourceResidue"
3171
+ },
3172
+ "rank": {
3173
+ "type": "number",
3174
+ "exclusiveMinimum": 0
3175
+ },
3176
+ "percent": {
3177
+ "type": "boolean"
3178
+ },
3179
+ "bottom": {
3180
+ "type": "boolean"
3181
+ },
3182
+ "style": {
3183
+ "$ref": "#/$defs/ContentSheetConditionalFormatStyle"
3184
+ }
3185
+ },
3186
+ "required": [
3187
+ "type",
3188
+ "ranges",
3189
+ "rank"
3190
+ ],
3191
+ "additionalProperties": false
3192
+ },
3193
+ {
3194
+ "type": "object",
3195
+ "properties": {
3196
+ "type": {
3197
+ "type": "string",
3198
+ "const": "aboveAverage"
3199
+ },
3200
+ "ranges": {
3201
+ "type": "array",
3202
+ "items": {
3203
+ "$ref": "#/$defs/ContentSheetRange"
3204
+ }
3205
+ },
3206
+ "priority": {
3207
+ "type": "integer",
3208
+ "minimum": -9007199254740991,
3209
+ "maximum": 9007199254740991
3210
+ },
3211
+ "stopIfTrue": {
3212
+ "type": "boolean"
3213
+ },
3214
+ "source": {
3215
+ "$ref": "#/$defs/SourceResidue"
3216
+ },
3217
+ "aboveAverage": {
3218
+ "type": "boolean"
3219
+ },
3220
+ "equalAverage": {
3221
+ "type": "boolean"
3222
+ },
3223
+ "stdDev": {
3224
+ "type": "integer",
3225
+ "exclusiveMinimum": 0,
3226
+ "maximum": 9007199254740991
3227
+ },
3228
+ "style": {
3229
+ "$ref": "#/$defs/ContentSheetConditionalFormatStyle"
3230
+ }
3231
+ },
3232
+ "required": [
3233
+ "type",
3234
+ "ranges"
3235
+ ],
3236
+ "additionalProperties": false
3237
+ },
3238
+ {
3239
+ "type": "object",
3240
+ "properties": {
3241
+ "type": {
3242
+ "type": "string",
3243
+ "const": "timePeriod"
3244
+ },
3245
+ "ranges": {
3246
+ "type": "array",
3247
+ "items": {
3248
+ "$ref": "#/$defs/ContentSheetRange"
3249
+ }
3250
+ },
3251
+ "priority": {
3252
+ "type": "integer",
3253
+ "minimum": -9007199254740991,
3254
+ "maximum": 9007199254740991
3255
+ },
3256
+ "stopIfTrue": {
3257
+ "type": "boolean"
3258
+ },
3259
+ "source": {
3260
+ "$ref": "#/$defs/SourceResidue"
3261
+ },
3262
+ "timePeriod": {
3263
+ "type": "string",
3264
+ "enum": [
3265
+ "yesterday",
3266
+ "today",
3267
+ "tomorrow",
3268
+ "last7Days",
3269
+ "thisMonth",
3270
+ "lastMonth",
3271
+ "nextMonth",
3272
+ "thisWeek",
3273
+ "lastWeek",
3274
+ "nextWeek",
3275
+ "thisYear",
3276
+ "lastYear",
3277
+ "nextYear"
3278
+ ]
3279
+ },
3280
+ "style": {
3281
+ "$ref": "#/$defs/ContentSheetConditionalFormatStyle"
3282
+ }
3283
+ },
3284
+ "required": [
3285
+ "type",
3286
+ "ranges",
3287
+ "timePeriod"
3288
+ ],
3289
+ "additionalProperties": false
3290
+ },
3291
+ {
3292
+ "type": "object",
3293
+ "properties": {
3294
+ "type": {
3295
+ "type": "string",
3296
+ "const": "colorScale"
3297
+ },
3298
+ "ranges": {
3299
+ "type": "array",
3300
+ "items": {
3301
+ "$ref": "#/$defs/ContentSheetRange"
3302
+ }
3303
+ },
3304
+ "priority": {
3305
+ "type": "integer",
3306
+ "minimum": -9007199254740991,
3307
+ "maximum": 9007199254740991
3308
+ },
3309
+ "stopIfTrue": {
3310
+ "type": "boolean"
3311
+ },
3312
+ "source": {
3313
+ "$ref": "#/$defs/SourceResidue"
3314
+ },
3315
+ "stops": {
3316
+ "minItems": 2,
3317
+ "maxItems": 3,
3318
+ "type": "array",
3319
+ "items": {
3320
+ "type": "object",
3321
+ "properties": {
3322
+ "value": {
3323
+ "$ref": "#/$defs/ContentSheetConditionalFormatValue"
3324
+ },
3325
+ "color": {
3326
+ "$ref": "#/$defs/Color"
3327
+ }
3328
+ },
3329
+ "required": [
3330
+ "value",
3331
+ "color"
3332
+ ],
3333
+ "additionalProperties": false
3334
+ }
3335
+ }
3336
+ },
3337
+ "required": [
3338
+ "type",
3339
+ "ranges",
3340
+ "stops"
3341
+ ],
3342
+ "additionalProperties": false
3343
+ },
3344
+ {
3345
+ "type": "object",
3346
+ "properties": {
3347
+ "type": {
3348
+ "type": "string",
3349
+ "const": "dataBar"
3350
+ },
3351
+ "ranges": {
3352
+ "type": "array",
3353
+ "items": {
3354
+ "$ref": "#/$defs/ContentSheetRange"
3355
+ }
3356
+ },
3357
+ "priority": {
3358
+ "type": "integer",
3359
+ "minimum": -9007199254740991,
3360
+ "maximum": 9007199254740991
3361
+ },
3362
+ "stopIfTrue": {
3363
+ "type": "boolean"
3364
+ },
3365
+ "source": {
3366
+ "$ref": "#/$defs/SourceResidue"
3367
+ },
3368
+ "min": {
3369
+ "$ref": "#/$defs/ContentSheetConditionalFormatValue"
3370
+ },
3371
+ "max": {
3372
+ "$ref": "#/$defs/ContentSheetConditionalFormatValue"
3373
+ },
3374
+ "color": {
3375
+ "$ref": "#/$defs/Color"
3376
+ },
3377
+ "showValue": {
3378
+ "type": "boolean"
3379
+ }
3380
+ },
3381
+ "required": [
3382
+ "type",
3383
+ "ranges",
3384
+ "min",
3385
+ "max",
3386
+ "color"
1879
3387
  ],
1880
3388
  "additionalProperties": false
1881
3389
  },
1882
- "repeatRows": {
1883
- "$ref": "#/$defs/ContentSheetRepeatRange"
1884
- },
1885
- "repeatColumns": {
1886
- "$ref": "#/$defs/ContentSheetRepeatRange"
1887
- },
1888
- "gridlines": {
1889
- "type": "boolean"
1890
- },
1891
- "headers": {
1892
- "type": "boolean"
1893
- },
1894
- "pageOrder": {
1895
- "type": "string",
1896
- "enum": [
1897
- "downThenOver",
1898
- "overThenDown"
1899
- ]
1900
- },
1901
- "manualBreaks": {
3390
+ {
1902
3391
  "type": "object",
1903
3392
  "properties": {
1904
- "rows": {
3393
+ "type": {
3394
+ "type": "string",
3395
+ "const": "iconSet"
3396
+ },
3397
+ "ranges": {
1905
3398
  "type": "array",
1906
3399
  "items": {
1907
- "type": "integer",
1908
- "minimum": 0,
1909
- "maximum": 9007199254740991
3400
+ "$ref": "#/$defs/ContentSheetRange"
1910
3401
  }
1911
3402
  },
1912
- "columns": {
3403
+ "priority": {
3404
+ "type": "integer",
3405
+ "minimum": -9007199254740991,
3406
+ "maximum": 9007199254740991
3407
+ },
3408
+ "stopIfTrue": {
3409
+ "type": "boolean"
3410
+ },
3411
+ "source": {
3412
+ "$ref": "#/$defs/SourceResidue"
3413
+ },
3414
+ "iconSetType": {
3415
+ "type": "string"
3416
+ },
3417
+ "thresholds": {
1913
3418
  "type": "array",
1914
3419
  "items": {
1915
- "type": "integer",
1916
- "minimum": 0,
1917
- "maximum": 9007199254740991
3420
+ "$ref": "#/$defs/ContentSheetConditionalFormatValue"
1918
3421
  }
3422
+ },
3423
+ "reverse": {
3424
+ "type": "boolean"
3425
+ },
3426
+ "showValue": {
3427
+ "type": "boolean"
1919
3428
  }
1920
3429
  },
1921
3430
  "required": [
1922
- "rows",
1923
- "columns"
3431
+ "type",
3432
+ "ranges",
3433
+ "iconSetType",
3434
+ "thresholds"
1924
3435
  ],
1925
3436
  "additionalProperties": false
1926
3437
  }
1927
- },
1928
- "required": [
1929
- "pageSize",
1930
- "margins",
1931
- "gridlines",
1932
- "headers",
1933
- "pageOrder"
1934
- ],
1935
- "additionalProperties": false
1936
- },
1937
- "ContentSheetPrintRange": {
1938
- "type": "object",
1939
- "properties": {
1940
- "startRow": {
1941
- "type": "integer",
1942
- "minimum": 0,
1943
- "maximum": 9007199254740991
1944
- },
1945
- "startColumn": {
1946
- "type": "integer",
1947
- "minimum": 0,
1948
- "maximum": 9007199254740991
1949
- },
1950
- "endRow": {
1951
- "type": "integer",
1952
- "minimum": 0,
1953
- "maximum": 9007199254740991
1954
- },
1955
- "endColumn": {
1956
- "type": "integer",
1957
- "minimum": 0,
1958
- "maximum": 9007199254740991
1959
- }
1960
- },
1961
- "required": [
1962
- "startRow",
1963
- "startColumn",
1964
- "endRow",
1965
- "endColumn"
1966
- ],
1967
- "additionalProperties": false
1968
- },
1969
- "ContentSheetRepeatRange": {
1970
- "type": "object",
1971
- "properties": {
1972
- "start": {
1973
- "type": "integer",
1974
- "minimum": 0,
1975
- "maximum": 9007199254740991
1976
- },
1977
- "end": {
1978
- "type": "integer",
1979
- "minimum": 0,
1980
- "maximum": 9007199254740991
1981
- }
1982
- },
1983
- "required": [
1984
- "start",
1985
- "end"
1986
- ],
1987
- "additionalProperties": false
3438
+ ]
1988
3439
  },
1989
3440
  "ContentSheetImage": {
1990
3441
  "type": "object",
@@ -1997,7 +3448,9 @@
1997
3448
  "type": "string",
1998
3449
  "enum": [
1999
3450
  "png",
2000
- "jpeg"
3451
+ "jpeg",
3452
+ "svg",
3453
+ "gif"
2001
3454
  ]
2002
3455
  },
2003
3456
  "base64": {
@@ -2014,9 +3467,15 @@
2014
3467
  "altText": {
2015
3468
  "type": "string"
2016
3469
  },
3470
+ "floatPosition": {
3471
+ "$ref": "#/$defs/ContentFloatPosition"
3472
+ },
2017
3473
  "sourcePath": {
2018
3474
  "type": "string"
2019
3475
  },
3476
+ "source": {
3477
+ "$ref": "#/$defs/SourceResidue"
3478
+ },
2020
3479
  "frames": {
2021
3480
  "type": "array",
2022
3481
  "items": {
@@ -2053,6 +3512,39 @@
2053
3512
  ],
2054
3513
  "additionalProperties": false
2055
3514
  },
3515
+ "ContentStrokeDash": {
3516
+ "type": "object",
3517
+ "properties": {
3518
+ "dots1": {
3519
+ "type": "integer",
3520
+ "exclusiveMinimum": 0,
3521
+ "maximum": 9007199254740991
3522
+ },
3523
+ "dots1LengthPt": {
3524
+ "type": "number",
3525
+ "exclusiveMinimum": 0
3526
+ },
3527
+ "dots2": {
3528
+ "type": "integer",
3529
+ "exclusiveMinimum": 0,
3530
+ "maximum": 9007199254740991
3531
+ },
3532
+ "dots2LengthPt": {
3533
+ "type": "number",
3534
+ "exclusiveMinimum": 0
3535
+ },
3536
+ "distancePt": {
3537
+ "type": "number",
3538
+ "minimum": 0
3539
+ }
3540
+ },
3541
+ "required": [
3542
+ "dots1",
3543
+ "dots1LengthPt",
3544
+ "distancePt"
3545
+ ],
3546
+ "additionalProperties": false
3547
+ },
2056
3548
  "ContentStroke": {
2057
3549
  "type": "object",
2058
3550
  "properties": {
@@ -2065,6 +3557,14 @@
2065
3557
  },
2066
3558
  "style": {
2067
3559
  "$ref": "#/$defs/ContentStrokeStyle"
3560
+ },
3561
+ "opacity": {
3562
+ "type": "number",
3563
+ "minimum": 0,
3564
+ "maximum": 1
3565
+ },
3566
+ "dashPattern": {
3567
+ "$ref": "#/$defs/ContentStrokeDash"
2068
3568
  }
2069
3569
  },
2070
3570
  "required": [
@@ -2073,6 +3573,122 @@
2073
3573
  ],
2074
3574
  "additionalProperties": false
2075
3575
  },
3576
+ "ContentGradientStyle": {
3577
+ "type": "string",
3578
+ "enum": [
3579
+ "linear",
3580
+ "axial",
3581
+ "radial",
3582
+ "ellipsoid",
3583
+ "square",
3584
+ "rectangular"
3585
+ ]
3586
+ },
3587
+ "ContentGradientFill": {
3588
+ "type": "object",
3589
+ "properties": {
3590
+ "kind": {
3591
+ "type": "string",
3592
+ "const": "gradient"
3593
+ },
3594
+ "style": {
3595
+ "$ref": "#/$defs/ContentGradientStyle"
3596
+ },
3597
+ "startColor": {
3598
+ "$ref": "#/$defs/Color"
3599
+ },
3600
+ "endColor": {
3601
+ "$ref": "#/$defs/Color"
3602
+ },
3603
+ "angleDeg": {
3604
+ "type": "number"
3605
+ }
3606
+ },
3607
+ "required": [
3608
+ "kind",
3609
+ "style",
3610
+ "startColor",
3611
+ "endColor"
3612
+ ],
3613
+ "additionalProperties": false
3614
+ },
3615
+ "ContentHatchStyle": {
3616
+ "type": "string",
3617
+ "enum": [
3618
+ "single",
3619
+ "double",
3620
+ "triple"
3621
+ ]
3622
+ },
3623
+ "ContentHatchFill": {
3624
+ "type": "object",
3625
+ "properties": {
3626
+ "kind": {
3627
+ "type": "string",
3628
+ "const": "hatch"
3629
+ },
3630
+ "style": {
3631
+ "$ref": "#/$defs/ContentHatchStyle"
3632
+ },
3633
+ "color": {
3634
+ "$ref": "#/$defs/Color"
3635
+ },
3636
+ "distancePt": {
3637
+ "type": "number",
3638
+ "minimum": 0
3639
+ },
3640
+ "rotationDeg": {
3641
+ "type": "number"
3642
+ }
3643
+ },
3644
+ "required": [
3645
+ "kind",
3646
+ "style",
3647
+ "color",
3648
+ "distancePt"
3649
+ ],
3650
+ "additionalProperties": false
3651
+ },
3652
+ "ContentBitmapFill": {
3653
+ "type": "object",
3654
+ "properties": {
3655
+ "kind": {
3656
+ "type": "string",
3657
+ "const": "bitmap"
3658
+ },
3659
+ "format": {
3660
+ "type": "string",
3661
+ "enum": [
3662
+ "png",
3663
+ "jpeg",
3664
+ "svg",
3665
+ "gif"
3666
+ ]
3667
+ },
3668
+ "base64": {
3669
+ "type": "string"
3670
+ }
3671
+ },
3672
+ "required": [
3673
+ "kind",
3674
+ "format",
3675
+ "base64"
3676
+ ],
3677
+ "additionalProperties": false
3678
+ },
3679
+ "ContentFillPattern": {
3680
+ "oneOf": [
3681
+ {
3682
+ "$ref": "#/$defs/ContentGradientFill"
3683
+ },
3684
+ {
3685
+ "$ref": "#/$defs/ContentHatchFill"
3686
+ },
3687
+ {
3688
+ "$ref": "#/$defs/ContentBitmapFill"
3689
+ }
3690
+ ]
3691
+ },
2076
3692
  "ContentPathPoint": {
2077
3693
  "type": "object",
2078
3694
  "properties": {
@@ -2176,6 +3792,14 @@
2176
3792
  "fill": {
2177
3793
  "$ref": "#/$defs/Color"
2178
3794
  },
3795
+ "fillPattern": {
3796
+ "$ref": "#/$defs/ContentFillPattern"
3797
+ },
3798
+ "fillOpacity": {
3799
+ "type": "number",
3800
+ "minimum": 0,
3801
+ "maximum": 1
3802
+ },
2179
3803
  "stroke": {
2180
3804
  "$ref": "#/$defs/ContentStroke"
2181
3805
  },
@@ -2185,6 +3809,9 @@
2185
3809
  "sourcePath": {
2186
3810
  "type": "string"
2187
3811
  },
3812
+ "source": {
3813
+ "$ref": "#/$defs/SourceResidue"
3814
+ },
2188
3815
  "frames": {
2189
3816
  "type": "array",
2190
3817
  "items": {
@@ -2214,6 +3841,14 @@
2214
3841
  "fill": {
2215
3842
  "$ref": "#/$defs/Color"
2216
3843
  },
3844
+ "fillPattern": {
3845
+ "$ref": "#/$defs/ContentFillPattern"
3846
+ },
3847
+ "fillOpacity": {
3848
+ "type": "number",
3849
+ "minimum": 0,
3850
+ "maximum": 1
3851
+ },
2217
3852
  "stroke": {
2218
3853
  "$ref": "#/$defs/ContentStroke"
2219
3854
  },
@@ -2223,6 +3858,9 @@
2223
3858
  "sourcePath": {
2224
3859
  "type": "string"
2225
3860
  },
3861
+ "source": {
3862
+ "$ref": "#/$defs/SourceResidue"
3863
+ },
2226
3864
  "frames": {
2227
3865
  "type": "array",
2228
3866
  "items": {
@@ -2258,6 +3896,9 @@
2258
3896
  "sourcePath": {
2259
3897
  "type": "string"
2260
3898
  },
3899
+ "source": {
3900
+ "$ref": "#/$defs/SourceResidue"
3901
+ },
2261
3902
  "frames": {
2262
3903
  "type": "array",
2263
3904
  "items": {
@@ -2295,6 +3936,14 @@
2295
3936
  "fill": {
2296
3937
  "$ref": "#/$defs/Color"
2297
3938
  },
3939
+ "fillPattern": {
3940
+ "$ref": "#/$defs/ContentFillPattern"
3941
+ },
3942
+ "fillOpacity": {
3943
+ "type": "number",
3944
+ "minimum": 0,
3945
+ "maximum": 1
3946
+ },
2298
3947
  "fillRule": {
2299
3948
  "type": "string",
2300
3949
  "enum": [
@@ -2311,6 +3960,9 @@
2311
3960
  "sourcePath": {
2312
3961
  "type": "string"
2313
3962
  },
3963
+ "source": {
3964
+ "$ref": "#/$defs/SourceResidue"
3965
+ },
2314
3966
  "frames": {
2315
3967
  "type": "array",
2316
3968
  "items": {
@@ -2337,11 +3989,12 @@
2337
3989
  "wordprocessing",
2338
3990
  "presentation",
2339
3991
  "spreadsheet",
2340
- "drawing"
3992
+ "drawing",
3993
+ "chart"
2341
3994
  ]
2342
3995
  },
2343
3996
  "document": {
2344
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@4.3.3/schemas/content-document.schema.json"
3997
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.6.0/schemas/content-document.schema.json"
2345
3998
  },
2346
3999
  "frame": {
2347
4000
  "$ref": "#/$defs/Box"
@@ -2361,6 +4014,9 @@
2361
4014
  },
2362
4015
  "offsetYPt": {
2363
4016
  "type": "number"
4017
+ },
4018
+ "source": {
4019
+ "$ref": "#/$defs/SourceResidue"
2364
4020
  }
2365
4021
  },
2366
4022
  "required": [
@@ -2393,7 +4049,7 @@
2393
4049
  "$ref": "#/$defs/SectionConstructGroup"
2394
4050
  },
2395
4051
  {
2396
- "$ref": "#/$defs/PackageBlockLeaf"
4052
+ "$ref": "#/$defs/TreeBlockLeaf"
2397
4053
  }
2398
4054
  ]
2399
4055
  }
@@ -2428,7 +4084,7 @@
2428
4084
  "$ref": "#/$defs/SectionConstructGroup"
2429
4085
  },
2430
4086
  {
2431
- "$ref": "#/$defs/PackageBlockLeaf"
4087
+ "$ref": "#/$defs/TreeBlockLeaf"
2432
4088
  }
2433
4089
  ]
2434
4090
  }
@@ -2460,7 +4116,7 @@
2460
4116
  "$ref": "#/$defs/ShapeConstructGroup"
2461
4117
  },
2462
4118
  {
2463
- "$ref": "#/$defs/PackageBlockLeaf"
4119
+ "$ref": "#/$defs/TreeBlockLeaf"
2464
4120
  }
2465
4121
  ]
2466
4122
  }
@@ -2514,7 +4170,7 @@
2514
4170
  "$ref": "#/$defs/ShapeConstructGroup"
2515
4171
  },
2516
4172
  {
2517
- "$ref": "#/$defs/PackageBlockLeaf"
4173
+ "$ref": "#/$defs/TreeBlockLeaf"
2518
4174
  }
2519
4175
  ]
2520
4176
  }
@@ -2607,7 +4263,7 @@
2607
4263
  "$ref": "#/$defs/SectionConstructGroup"
2608
4264
  },
2609
4265
  {
2610
- "$ref": "#/$defs/PackageBlockLeaf"
4266
+ "$ref": "#/$defs/TreeBlockLeaf"
2611
4267
  }
2612
4268
  ]
2613
4269
  }
@@ -2639,7 +4295,7 @@
2639
4295
  "$ref": "#/$defs/ShapeConstructGroup"
2640
4296
  },
2641
4297
  {
2642
- "$ref": "#/$defs/PackageBlockLeaf"
4298
+ "$ref": "#/$defs/TreeBlockLeaf"
2643
4299
  }
2644
4300
  ]
2645
4301
  }
@@ -2699,6 +4355,9 @@
2699
4355
  "items": {
2700
4356
  "type": "string"
2701
4357
  }
4358
+ },
4359
+ "source": {
4360
+ "$ref": "#/$defs/SourceResidue"
2702
4361
  }
2703
4362
  },
2704
4363
  "required": [
@@ -2719,6 +4378,9 @@
2719
4378
  },
2720
4379
  "cachedResult": {
2721
4380
  "type": "string"
4381
+ },
4382
+ "source": {
4383
+ "$ref": "#/$defs/SourceResidue"
2722
4384
  }
2723
4385
  },
2724
4386
  "required": [
@@ -2748,6 +4410,9 @@
2748
4410
  },
2749
4411
  "definition": {
2750
4412
  "type": "string"
4413
+ },
4414
+ "source": {
4415
+ "$ref": "#/$defs/SourceResidue"
2751
4416
  }
2752
4417
  },
2753
4418
  "required": [
@@ -2807,6 +4472,9 @@
2807
4472
  },
2808
4473
  "title": {
2809
4474
  "type": "string"
4475
+ },
4476
+ "source": {
4477
+ "$ref": "#/$defs/SourceResidue"
2810
4478
  }
2811
4479
  },
2812
4480
  "required": [
@@ -2837,6 +4505,9 @@
2837
4505
  },
2838
4506
  "dateIso": {
2839
4507
  "type": "string"
4508
+ },
4509
+ "source": {
4510
+ "$ref": "#/$defs/SourceResidue"
2840
4511
  }
2841
4512
  },
2842
4513
  "required": [
@@ -2878,8 +4549,11 @@
2878
4549
  "protected": {
2879
4550
  "type": "boolean"
2880
4551
  },
2881
- "source": {
4552
+ "linked": {
2882
4553
  "$ref": "#/$defs/DivisionSource"
4554
+ },
4555
+ "source": {
4556
+ "$ref": "#/$defs/SourceResidue"
2883
4557
  }
2884
4558
  },
2885
4559
  "required": [
@@ -2933,6 +4607,12 @@
2933
4607
  },
2934
4608
  "indentFirstLinePt": {
2935
4609
  "type": "number"
4610
+ },
4611
+ "pageBreakBefore": {
4612
+ "type": "boolean"
4613
+ },
4614
+ "pageBreakAfter": {
4615
+ "type": "boolean"
2936
4616
  }
2937
4617
  },
2938
4618
  "additionalProperties": false
@@ -3155,6 +4835,9 @@
3155
4835
  },
3156
4836
  "provenance": {
3157
4837
  "$ref": "#/$defs/MathProvenance"
4838
+ },
4839
+ "source": {
4840
+ "$ref": "#/$defs/SourceResidue"
3158
4841
  }
3159
4842
  },
3160
4843
  "required": [