document-content-model 7.9.1 → 7.10.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 (39) hide show
  1. package/dist/codec.d.cts +1 -1
  2. package/dist/codec.d.ts +1 -1
  3. package/dist/{content-B6SPQuuq.d.ts → content-Uiq081CA.d.ts} +8 -1
  4. package/dist/{content-VhC4WCbj.d.cts → content-VC9cnoCv.d.cts} +8 -1
  5. package/dist/content-json-schema-defs.cjs +17 -0
  6. package/dist/content-json-schema-defs.js +17 -0
  7. package/dist/content.cjs +1 -0
  8. package/dist/content.d.cts +1 -1
  9. package/dist/content.d.ts +1 -1
  10. package/dist/content.js +1 -0
  11. package/dist/decompose.d.cts +2 -2
  12. package/dist/decompose.d.ts +2 -2
  13. package/dist/definitions.d.cts +1 -1
  14. package/dist/definitions.d.ts +1 -1
  15. package/dist/factor-styles.cjs +2 -1
  16. package/dist/factor-styles.d.cts +1 -1
  17. package/dist/factor-styles.d.ts +1 -1
  18. package/dist/factor-styles.js +2 -1
  19. package/dist/flatten.d.cts +1 -1
  20. package/dist/flatten.d.ts +1 -1
  21. package/dist/index.cjs +1 -0
  22. package/dist/index.d.cts +4 -4
  23. package/dist/index.d.ts +4 -4
  24. package/dist/index.js +2 -2
  25. package/dist/{package-node-ChC2_Itm.d.cts → package-node-B0czXNHl.d.cts} +2 -1
  26. package/dist/{package-node-mRax-XfS.d.ts → package-node-CnUkCuRc.d.ts} +2 -1
  27. package/dist/package-node.d.cts +1 -1
  28. package/dist/package-node.d.ts +1 -1
  29. package/dist/package.cjs +8 -0
  30. package/dist/package.d.cts +39 -2
  31. package/dist/package.d.ts +39 -2
  32. package/dist/package.js +8 -1
  33. package/dist/schema-io.cjs +2 -2
  34. package/dist/schema-io.d.cts +1 -1
  35. package/dist/schema-io.d.ts +1 -1
  36. package/dist/schema-io.js +2 -2
  37. package/package.json +1 -1
  38. package/schemas/content-document.schema.json +46 -13
  39. package/schemas/document-tree.schema.json +60 -3
@@ -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@7.9.1/schemas/document-tree.schema.json",
3
+ "$id": "https://cdn.jsdelivr.net/npm/document-schema.js@7.10.0/schemas/document-tree.schema.json",
4
4
  "oneOf": [
5
5
  {
6
6
  "type": "object",
@@ -100,6 +100,12 @@
100
100
  "additionalProperties": false
101
101
  }
102
102
  },
103
+ "fonts": {
104
+ "type": "array",
105
+ "items": {
106
+ "$ref": "#/$defs/TreeEmbeddedFont"
107
+ }
108
+ },
103
109
  "styles": {
104
110
  "type": "object",
105
111
  "propertyNames": {
@@ -296,6 +302,12 @@
296
302
  "additionalProperties": false
297
303
  }
298
304
  },
305
+ "fonts": {
306
+ "type": "array",
307
+ "items": {
308
+ "$ref": "#/$defs/TreeEmbeddedFont"
309
+ }
310
+ },
299
311
  "styles": {
300
312
  "type": "object",
301
313
  "propertyNames": {
@@ -492,6 +504,12 @@
492
504
  "additionalProperties": false
493
505
  }
494
506
  },
507
+ "fonts": {
508
+ "type": "array",
509
+ "items": {
510
+ "$ref": "#/$defs/TreeEmbeddedFont"
511
+ }
512
+ },
495
513
  "styles": {
496
514
  "type": "object",
497
515
  "propertyNames": {
@@ -712,6 +730,12 @@
712
730
  "additionalProperties": false
713
731
  }
714
732
  },
733
+ "fonts": {
734
+ "type": "array",
735
+ "items": {
736
+ "$ref": "#/$defs/TreeEmbeddedFont"
737
+ }
738
+ },
715
739
  "styles": {
716
740
  "type": "object",
717
741
  "propertyNames": {
@@ -908,6 +932,12 @@
908
932
  "additionalProperties": false
909
933
  }
910
934
  },
935
+ "fonts": {
936
+ "type": "array",
937
+ "items": {
938
+ "$ref": "#/$defs/TreeEmbeddedFont"
939
+ }
940
+ },
911
941
  "styles": {
912
942
  "type": "object",
913
943
  "propertyNames": {
@@ -1963,7 +1993,7 @@
1963
1993
  ]
1964
1994
  },
1965
1995
  "document": {
1966
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.9.1/schemas/content-document.schema.json"
1996
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.10.0/schemas/content-document.schema.json"
1967
1997
  },
1968
1998
  "frame": {
1969
1999
  "$ref": "#/$defs/Box"
@@ -2352,6 +2382,9 @@
2352
2382
  "paintOrder": {
2353
2383
  "type": "number"
2354
2384
  },
2385
+ "readingOrder": {
2386
+ "type": "number"
2387
+ },
2355
2388
  "sourcePath": {
2356
2389
  "type": "string"
2357
2390
  },
@@ -4283,7 +4316,7 @@
4283
4316
  ]
4284
4317
  },
4285
4318
  "document": {
4286
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.9.1/schemas/content-document.schema.json"
4319
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.10.0/schemas/content-document.schema.json"
4287
4320
  },
4288
4321
  "frame": {
4289
4322
  "$ref": "#/$defs/Box"
@@ -5325,6 +5358,30 @@
5325
5358
  ],
5326
5359
  "additionalProperties": false
5327
5360
  },
5361
+ "TreeEmbeddedFont": {
5362
+ "type": "object",
5363
+ "properties": {
5364
+ "family": {
5365
+ "type": "string"
5366
+ },
5367
+ "bold": {
5368
+ "type": "boolean"
5369
+ },
5370
+ "italic": {
5371
+ "type": "boolean"
5372
+ },
5373
+ "base64": {
5374
+ "type": "string"
5375
+ }
5376
+ },
5377
+ "required": [
5378
+ "family",
5379
+ "bold",
5380
+ "italic",
5381
+ "base64"
5382
+ ],
5383
+ "additionalProperties": false
5384
+ },
5328
5385
  "SymbolTable": {
5329
5386
  "type": "object",
5330
5387
  "properties": {