document-content-model 7.7.0 → 7.9.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 (45) hide show
  1. package/dist/codec.d.cts +1 -1
  2. package/dist/codec.d.ts +1 -1
  3. package/dist/{construct-C9cYkjnd.d.cts → construct-C4XiF8OW.d.cts} +6 -6
  4. package/dist/{construct-C9cYkjnd.d.ts → construct-C4XiF8OW.d.ts} +6 -6
  5. package/dist/construct.d.cts +1 -1
  6. package/dist/construct.d.ts +1 -1
  7. package/dist/{content-BIM8bWWt.d.ts → content-C1hJ6olW.d.ts} +1753 -47
  8. package/dist/{content-DpsxyPMw.d.cts → content-DN5CqH6Y.d.cts} +1753 -47
  9. package/dist/content-json-schema-defs.cjs +128 -15
  10. package/dist/content-json-schema-defs.js +128 -15
  11. package/dist/content.cjs +71 -17
  12. package/dist/content.d.cts +2 -2
  13. package/dist/content.d.ts +2 -2
  14. package/dist/content.js +68 -18
  15. package/dist/decompose.d.cts +2 -2
  16. package/dist/decompose.d.ts +2 -2
  17. package/dist/definitions.d.cts +4 -4
  18. package/dist/definitions.d.ts +4 -4
  19. package/dist/factor-styles.d.cts +1 -1
  20. package/dist/factor-styles.d.ts +1 -1
  21. package/dist/flatten.d.cts +1 -1
  22. package/dist/flatten.d.ts +1 -1
  23. package/dist/index.cjs +4 -0
  24. package/dist/index.d.cts +5 -5
  25. package/dist/index.d.ts +5 -5
  26. package/dist/index.js +2 -2
  27. package/dist/{package-node-B8LBrCCD.d.ts → package-node-B9aFWtrZ.d.ts} +311 -14
  28. package/dist/{package-node-CENJl5PH.d.cts → package-node-DktLHAKG.d.cts} +311 -14
  29. package/dist/package-node.d.cts +1 -1
  30. package/dist/package-node.d.ts +1 -1
  31. package/dist/package.d.cts +33 -6
  32. package/dist/package.d.ts +33 -6
  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/dist/{style-BGMcYrD2.d.cts → style-D06NwxAJ.d.cts} +1 -1
  38. package/dist/{style-BGMcYrD2.d.ts → style-D06NwxAJ.d.ts} +1 -1
  39. package/dist/style.d.cts +1 -1
  40. package/dist/style.d.ts +1 -1
  41. package/dist/text-layout.d.cts +1 -1
  42. package/dist/text-layout.d.ts +1 -1
  43. package/package.json +1 -1
  44. package/schemas/content-document.schema.json +1147 -13
  45. package/schemas/document-tree.schema.json +214 -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.7.0/schemas/content-document.schema.json",
3
+ "$id": "https://cdn.jsdelivr.net/npm/document-schema.js@7.9.0/schemas/content-document.schema.json",
4
4
  "oneOf": [
5
5
  {
6
6
  "type": "object",
@@ -133,7 +133,7 @@
133
133
  "blocks": {
134
134
  "type": "array",
135
135
  "items": {
136
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.7.0/schemas/undefined#/$defs/schema2"
136
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.9.0/schemas/undefined#/$defs/schema2"
137
137
  }
138
138
  },
139
139
  "breakType": {
@@ -151,19 +151,19 @@
151
151
  "default": {
152
152
  "type": "array",
153
153
  "items": {
154
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.7.0/schemas/undefined#/$defs/schema2"
154
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.9.0/schemas/undefined#/$defs/schema2"
155
155
  }
156
156
  },
157
157
  "even": {
158
158
  "type": "array",
159
159
  "items": {
160
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.7.0/schemas/undefined#/$defs/schema2"
160
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.9.0/schemas/undefined#/$defs/schema2"
161
161
  }
162
162
  },
163
163
  "first": {
164
164
  "type": "array",
165
165
  "items": {
166
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.7.0/schemas/undefined#/$defs/schema2"
166
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.9.0/schemas/undefined#/$defs/schema2"
167
167
  }
168
168
  }
169
169
  },
@@ -175,19 +175,19 @@
175
175
  "default": {
176
176
  "type": "array",
177
177
  "items": {
178
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.7.0/schemas/undefined#/$defs/schema2"
178
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.9.0/schemas/undefined#/$defs/schema2"
179
179
  }
180
180
  },
181
181
  "even": {
182
182
  "type": "array",
183
183
  "items": {
184
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.7.0/schemas/undefined#/$defs/schema2"
184
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.9.0/schemas/undefined#/$defs/schema2"
185
185
  }
186
186
  },
187
187
  "first": {
188
188
  "type": "array",
189
189
  "items": {
190
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.7.0/schemas/undefined#/$defs/schema2"
190
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.9.0/schemas/undefined#/$defs/schema2"
191
191
  }
192
192
  }
193
193
  },
@@ -225,6 +225,71 @@
225
225
  "xml"
226
226
  ],
227
227
  "additionalProperties": false
228
+ },
229
+ "origin": {
230
+ "type": "string",
231
+ "enum": [
232
+ "chart",
233
+ "diagram",
234
+ "table",
235
+ "image",
236
+ "notes",
237
+ "body"
238
+ ]
239
+ },
240
+ "interpretation": {
241
+ "type": "object",
242
+ "properties": {
243
+ "transcript": {
244
+ "type": "object",
245
+ "properties": {
246
+ "text": {
247
+ "type": "string"
248
+ },
249
+ "confidence": {
250
+ "type": "string",
251
+ "enum": [
252
+ "high",
253
+ "medium",
254
+ "low"
255
+ ]
256
+ },
257
+ "mechanism": {
258
+ "type": "string",
259
+ "enum": [
260
+ "deterministic",
261
+ "model"
262
+ ]
263
+ }
264
+ },
265
+ "required": [
266
+ "text",
267
+ "confidence",
268
+ "mechanism"
269
+ ],
270
+ "additionalProperties": false
271
+ },
272
+ "description": {
273
+ "type": "string"
274
+ },
275
+ "by": {
276
+ "type": "object",
277
+ "properties": {
278
+ "model": {
279
+ "type": "string"
280
+ },
281
+ "at": {
282
+ "type": "string"
283
+ }
284
+ },
285
+ "required": [
286
+ "model",
287
+ "at"
288
+ ],
289
+ "additionalProperties": false
290
+ }
291
+ },
292
+ "additionalProperties": false
228
293
  }
229
294
  },
230
295
  "required": [
@@ -478,10 +543,75 @@
478
543
  "additionalProperties": false
479
544
  }
480
545
  },
546
+ "origin": {
547
+ "type": "string",
548
+ "enum": [
549
+ "chart",
550
+ "diagram",
551
+ "table",
552
+ "image",
553
+ "notes",
554
+ "body"
555
+ ]
556
+ },
557
+ "interpretation": {
558
+ "type": "object",
559
+ "properties": {
560
+ "transcript": {
561
+ "type": "object",
562
+ "properties": {
563
+ "text": {
564
+ "type": "string"
565
+ },
566
+ "confidence": {
567
+ "type": "string",
568
+ "enum": [
569
+ "high",
570
+ "medium",
571
+ "low"
572
+ ]
573
+ },
574
+ "mechanism": {
575
+ "type": "string",
576
+ "enum": [
577
+ "deterministic",
578
+ "model"
579
+ ]
580
+ }
581
+ },
582
+ "required": [
583
+ "text",
584
+ "confidence",
585
+ "mechanism"
586
+ ],
587
+ "additionalProperties": false
588
+ },
589
+ "description": {
590
+ "type": "string"
591
+ },
592
+ "by": {
593
+ "type": "object",
594
+ "properties": {
595
+ "model": {
596
+ "type": "string"
597
+ },
598
+ "at": {
599
+ "type": "string"
600
+ }
601
+ },
602
+ "required": [
603
+ "model",
604
+ "at"
605
+ ],
606
+ "additionalProperties": false
607
+ }
608
+ },
609
+ "additionalProperties": false
610
+ },
481
611
  "blocks": {
482
612
  "type": "array",
483
613
  "items": {
484
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.7.0/schemas/undefined#/$defs/schema2"
614
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.9.0/schemas/undefined#/$defs/schema2"
485
615
  }
486
616
  }
487
617
  },
@@ -531,6 +661,71 @@
531
661
  "xml"
532
662
  ],
533
663
  "additionalProperties": false
664
+ },
665
+ "origin": {
666
+ "type": "string",
667
+ "enum": [
668
+ "chart",
669
+ "diagram",
670
+ "table",
671
+ "image",
672
+ "notes",
673
+ "body"
674
+ ]
675
+ },
676
+ "interpretation": {
677
+ "type": "object",
678
+ "properties": {
679
+ "transcript": {
680
+ "type": "object",
681
+ "properties": {
682
+ "text": {
683
+ "type": "string"
684
+ },
685
+ "confidence": {
686
+ "type": "string",
687
+ "enum": [
688
+ "high",
689
+ "medium",
690
+ "low"
691
+ ]
692
+ },
693
+ "mechanism": {
694
+ "type": "string",
695
+ "enum": [
696
+ "deterministic",
697
+ "model"
698
+ ]
699
+ }
700
+ },
701
+ "required": [
702
+ "text",
703
+ "confidence",
704
+ "mechanism"
705
+ ],
706
+ "additionalProperties": false
707
+ },
708
+ "description": {
709
+ "type": "string"
710
+ },
711
+ "by": {
712
+ "type": "object",
713
+ "properties": {
714
+ "model": {
715
+ "type": "string"
716
+ },
717
+ "at": {
718
+ "type": "string"
719
+ }
720
+ },
721
+ "required": [
722
+ "model",
723
+ "at"
724
+ ],
725
+ "additionalProperties": false
726
+ }
727
+ },
728
+ "additionalProperties": false
534
729
  }
535
730
  },
536
731
  "required": [
@@ -1034,6 +1229,71 @@
1034
1229
  ],
1035
1230
  "additionalProperties": false
1036
1231
  }
1232
+ },
1233
+ "origin": {
1234
+ "type": "string",
1235
+ "enum": [
1236
+ "chart",
1237
+ "diagram",
1238
+ "table",
1239
+ "image",
1240
+ "notes",
1241
+ "body"
1242
+ ]
1243
+ },
1244
+ "interpretation": {
1245
+ "type": "object",
1246
+ "properties": {
1247
+ "transcript": {
1248
+ "type": "object",
1249
+ "properties": {
1250
+ "text": {
1251
+ "type": "string"
1252
+ },
1253
+ "confidence": {
1254
+ "type": "string",
1255
+ "enum": [
1256
+ "high",
1257
+ "medium",
1258
+ "low"
1259
+ ]
1260
+ },
1261
+ "mechanism": {
1262
+ "type": "string",
1263
+ "enum": [
1264
+ "deterministic",
1265
+ "model"
1266
+ ]
1267
+ }
1268
+ },
1269
+ "required": [
1270
+ "text",
1271
+ "confidence",
1272
+ "mechanism"
1273
+ ],
1274
+ "additionalProperties": false
1275
+ },
1276
+ "description": {
1277
+ "type": "string"
1278
+ },
1279
+ "by": {
1280
+ "type": "object",
1281
+ "properties": {
1282
+ "model": {
1283
+ "type": "string"
1284
+ },
1285
+ "at": {
1286
+ "type": "string"
1287
+ }
1288
+ },
1289
+ "required": [
1290
+ "model",
1291
+ "at"
1292
+ ],
1293
+ "additionalProperties": false
1294
+ }
1295
+ },
1296
+ "additionalProperties": false
1037
1297
  }
1038
1298
  },
1039
1299
  "required": [
@@ -1642,6 +1902,71 @@
1642
1902
  ],
1643
1903
  "additionalProperties": false
1644
1904
  }
1905
+ },
1906
+ "origin": {
1907
+ "type": "string",
1908
+ "enum": [
1909
+ "chart",
1910
+ "diagram",
1911
+ "table",
1912
+ "image",
1913
+ "notes",
1914
+ "body"
1915
+ ]
1916
+ },
1917
+ "interpretation": {
1918
+ "type": "object",
1919
+ "properties": {
1920
+ "transcript": {
1921
+ "type": "object",
1922
+ "properties": {
1923
+ "text": {
1924
+ "type": "string"
1925
+ },
1926
+ "confidence": {
1927
+ "type": "string",
1928
+ "enum": [
1929
+ "high",
1930
+ "medium",
1931
+ "low"
1932
+ ]
1933
+ },
1934
+ "mechanism": {
1935
+ "type": "string",
1936
+ "enum": [
1937
+ "deterministic",
1938
+ "model"
1939
+ ]
1940
+ }
1941
+ },
1942
+ "required": [
1943
+ "text",
1944
+ "confidence",
1945
+ "mechanism"
1946
+ ],
1947
+ "additionalProperties": false
1948
+ },
1949
+ "description": {
1950
+ "type": "string"
1951
+ },
1952
+ "by": {
1953
+ "type": "object",
1954
+ "properties": {
1955
+ "model": {
1956
+ "type": "string"
1957
+ },
1958
+ "at": {
1959
+ "type": "string"
1960
+ }
1961
+ },
1962
+ "required": [
1963
+ "model",
1964
+ "at"
1965
+ ],
1966
+ "additionalProperties": false
1967
+ }
1968
+ },
1969
+ "additionalProperties": false
1645
1970
  }
1646
1971
  },
1647
1972
  "required": [
@@ -1756,6 +2081,19 @@
1756
2081
  ],
1757
2082
  "additionalProperties": false
1758
2083
  },
2084
+ "anchorRunIndex": {
2085
+ "type": "integer",
2086
+ "minimum": 0,
2087
+ "maximum": 9007199254740991
2088
+ },
2089
+ "anchorOffset": {
2090
+ "type": "integer",
2091
+ "minimum": 0,
2092
+ "maximum": 9007199254740991
2093
+ },
2094
+ "caption": {
2095
+ "type": "string"
2096
+ },
1759
2097
  "floatPosition": {
1760
2098
  "type": "object",
1761
2099
  "properties": {
@@ -1987,6 +2325,71 @@
1987
2325
  "additionalProperties": false
1988
2326
  }
1989
2327
  },
2328
+ "origin": {
2329
+ "type": "string",
2330
+ "enum": [
2331
+ "chart",
2332
+ "diagram",
2333
+ "table",
2334
+ "image",
2335
+ "notes",
2336
+ "body"
2337
+ ]
2338
+ },
2339
+ "interpretation": {
2340
+ "type": "object",
2341
+ "properties": {
2342
+ "transcript": {
2343
+ "type": "object",
2344
+ "properties": {
2345
+ "text": {
2346
+ "type": "string"
2347
+ },
2348
+ "confidence": {
2349
+ "type": "string",
2350
+ "enum": [
2351
+ "high",
2352
+ "medium",
2353
+ "low"
2354
+ ]
2355
+ },
2356
+ "mechanism": {
2357
+ "type": "string",
2358
+ "enum": [
2359
+ "deterministic",
2360
+ "model"
2361
+ ]
2362
+ }
2363
+ },
2364
+ "required": [
2365
+ "text",
2366
+ "confidence",
2367
+ "mechanism"
2368
+ ],
2369
+ "additionalProperties": false
2370
+ },
2371
+ "description": {
2372
+ "type": "string"
2373
+ },
2374
+ "by": {
2375
+ "type": "object",
2376
+ "properties": {
2377
+ "model": {
2378
+ "type": "string"
2379
+ },
2380
+ "at": {
2381
+ "type": "string"
2382
+ }
2383
+ },
2384
+ "required": [
2385
+ "model",
2386
+ "at"
2387
+ ],
2388
+ "additionalProperties": false
2389
+ }
2390
+ },
2391
+ "additionalProperties": false
2392
+ },
1990
2393
  "anchorRow": {
1991
2394
  "type": "integer",
1992
2395
  "minimum": 0,
@@ -2229,7 +2632,7 @@
2229
2632
  ]
2230
2633
  },
2231
2634
  "document": {
2232
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.7.0/schemas/content-document.schema.json"
2635
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.9.0/schemas/content-document.schema.json"
2233
2636
  },
2234
2637
  "frame": {
2235
2638
  "type": "object",
@@ -2305,6 +2708,71 @@
2305
2708
  "xml"
2306
2709
  ],
2307
2710
  "additionalProperties": false
2711
+ },
2712
+ "origin": {
2713
+ "type": "string",
2714
+ "enum": [
2715
+ "chart",
2716
+ "diagram",
2717
+ "table",
2718
+ "image",
2719
+ "notes",
2720
+ "body"
2721
+ ]
2722
+ },
2723
+ "interpretation": {
2724
+ "type": "object",
2725
+ "properties": {
2726
+ "transcript": {
2727
+ "type": "object",
2728
+ "properties": {
2729
+ "text": {
2730
+ "type": "string"
2731
+ },
2732
+ "confidence": {
2733
+ "type": "string",
2734
+ "enum": [
2735
+ "high",
2736
+ "medium",
2737
+ "low"
2738
+ ]
2739
+ },
2740
+ "mechanism": {
2741
+ "type": "string",
2742
+ "enum": [
2743
+ "deterministic",
2744
+ "model"
2745
+ ]
2746
+ }
2747
+ },
2748
+ "required": [
2749
+ "text",
2750
+ "confidence",
2751
+ "mechanism"
2752
+ ],
2753
+ "additionalProperties": false
2754
+ },
2755
+ "description": {
2756
+ "type": "string"
2757
+ },
2758
+ "by": {
2759
+ "type": "object",
2760
+ "properties": {
2761
+ "model": {
2762
+ "type": "string"
2763
+ },
2764
+ "at": {
2765
+ "type": "string"
2766
+ }
2767
+ },
2768
+ "required": [
2769
+ "model",
2770
+ "at"
2771
+ ],
2772
+ "additionalProperties": false
2773
+ }
2774
+ },
2775
+ "additionalProperties": false
2308
2776
  }
2309
2777
  },
2310
2778
  "required": [
@@ -4110,6 +4578,71 @@
4110
4578
  "xml"
4111
4579
  ],
4112
4580
  "additionalProperties": false
4581
+ },
4582
+ "origin": {
4583
+ "type": "string",
4584
+ "enum": [
4585
+ "chart",
4586
+ "diagram",
4587
+ "table",
4588
+ "image",
4589
+ "notes",
4590
+ "body"
4591
+ ]
4592
+ },
4593
+ "interpretation": {
4594
+ "type": "object",
4595
+ "properties": {
4596
+ "transcript": {
4597
+ "type": "object",
4598
+ "properties": {
4599
+ "text": {
4600
+ "type": "string"
4601
+ },
4602
+ "confidence": {
4603
+ "type": "string",
4604
+ "enum": [
4605
+ "high",
4606
+ "medium",
4607
+ "low"
4608
+ ]
4609
+ },
4610
+ "mechanism": {
4611
+ "type": "string",
4612
+ "enum": [
4613
+ "deterministic",
4614
+ "model"
4615
+ ]
4616
+ }
4617
+ },
4618
+ "required": [
4619
+ "text",
4620
+ "confidence",
4621
+ "mechanism"
4622
+ ],
4623
+ "additionalProperties": false
4624
+ },
4625
+ "description": {
4626
+ "type": "string"
4627
+ },
4628
+ "by": {
4629
+ "type": "object",
4630
+ "properties": {
4631
+ "model": {
4632
+ "type": "string"
4633
+ },
4634
+ "at": {
4635
+ "type": "string"
4636
+ }
4637
+ },
4638
+ "required": [
4639
+ "model",
4640
+ "at"
4641
+ ],
4642
+ "additionalProperties": false
4643
+ }
4644
+ },
4645
+ "additionalProperties": false
4113
4646
  }
4114
4647
  },
4115
4648
  "required": [
@@ -4390,10 +4923,75 @@
4390
4923
  "additionalProperties": false
4391
4924
  }
4392
4925
  },
4926
+ "origin": {
4927
+ "type": "string",
4928
+ "enum": [
4929
+ "chart",
4930
+ "diagram",
4931
+ "table",
4932
+ "image",
4933
+ "notes",
4934
+ "body"
4935
+ ]
4936
+ },
4937
+ "interpretation": {
4938
+ "type": "object",
4939
+ "properties": {
4940
+ "transcript": {
4941
+ "type": "object",
4942
+ "properties": {
4943
+ "text": {
4944
+ "type": "string"
4945
+ },
4946
+ "confidence": {
4947
+ "type": "string",
4948
+ "enum": [
4949
+ "high",
4950
+ "medium",
4951
+ "low"
4952
+ ]
4953
+ },
4954
+ "mechanism": {
4955
+ "type": "string",
4956
+ "enum": [
4957
+ "deterministic",
4958
+ "model"
4959
+ ]
4960
+ }
4961
+ },
4962
+ "required": [
4963
+ "text",
4964
+ "confidence",
4965
+ "mechanism"
4966
+ ],
4967
+ "additionalProperties": false
4968
+ },
4969
+ "description": {
4970
+ "type": "string"
4971
+ },
4972
+ "by": {
4973
+ "type": "object",
4974
+ "properties": {
4975
+ "model": {
4976
+ "type": "string"
4977
+ },
4978
+ "at": {
4979
+ "type": "string"
4980
+ }
4981
+ },
4982
+ "required": [
4983
+ "model",
4984
+ "at"
4985
+ ],
4986
+ "additionalProperties": false
4987
+ }
4988
+ },
4989
+ "additionalProperties": false
4990
+ },
4393
4991
  "blocks": {
4394
4992
  "type": "array",
4395
4993
  "items": {
4396
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.7.0/schemas/undefined#/$defs/schema2"
4994
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.9.0/schemas/undefined#/$defs/schema2"
4397
4995
  }
4398
4996
  }
4399
4997
  },
@@ -4809,6 +5407,71 @@
4809
5407
  ],
4810
5408
  "additionalProperties": false
4811
5409
  }
5410
+ },
5411
+ "origin": {
5412
+ "type": "string",
5413
+ "enum": [
5414
+ "chart",
5415
+ "diagram",
5416
+ "table",
5417
+ "image",
5418
+ "notes",
5419
+ "body"
5420
+ ]
5421
+ },
5422
+ "interpretation": {
5423
+ "type": "object",
5424
+ "properties": {
5425
+ "transcript": {
5426
+ "type": "object",
5427
+ "properties": {
5428
+ "text": {
5429
+ "type": "string"
5430
+ },
5431
+ "confidence": {
5432
+ "type": "string",
5433
+ "enum": [
5434
+ "high",
5435
+ "medium",
5436
+ "low"
5437
+ ]
5438
+ },
5439
+ "mechanism": {
5440
+ "type": "string",
5441
+ "enum": [
5442
+ "deterministic",
5443
+ "model"
5444
+ ]
5445
+ }
5446
+ },
5447
+ "required": [
5448
+ "text",
5449
+ "confidence",
5450
+ "mechanism"
5451
+ ],
5452
+ "additionalProperties": false
5453
+ },
5454
+ "description": {
5455
+ "type": "string"
5456
+ },
5457
+ "by": {
5458
+ "type": "object",
5459
+ "properties": {
5460
+ "model": {
5461
+ "type": "string"
5462
+ },
5463
+ "at": {
5464
+ "type": "string"
5465
+ }
5466
+ },
5467
+ "required": [
5468
+ "model",
5469
+ "at"
5470
+ ],
5471
+ "additionalProperties": false
5472
+ }
5473
+ },
5474
+ "additionalProperties": false
4812
5475
  }
4813
5476
  },
4814
5477
  "required": [
@@ -5214,6 +5877,71 @@
5214
5877
  ],
5215
5878
  "additionalProperties": false
5216
5879
  }
5880
+ },
5881
+ "origin": {
5882
+ "type": "string",
5883
+ "enum": [
5884
+ "chart",
5885
+ "diagram",
5886
+ "table",
5887
+ "image",
5888
+ "notes",
5889
+ "body"
5890
+ ]
5891
+ },
5892
+ "interpretation": {
5893
+ "type": "object",
5894
+ "properties": {
5895
+ "transcript": {
5896
+ "type": "object",
5897
+ "properties": {
5898
+ "text": {
5899
+ "type": "string"
5900
+ },
5901
+ "confidence": {
5902
+ "type": "string",
5903
+ "enum": [
5904
+ "high",
5905
+ "medium",
5906
+ "low"
5907
+ ]
5908
+ },
5909
+ "mechanism": {
5910
+ "type": "string",
5911
+ "enum": [
5912
+ "deterministic",
5913
+ "model"
5914
+ ]
5915
+ }
5916
+ },
5917
+ "required": [
5918
+ "text",
5919
+ "confidence",
5920
+ "mechanism"
5921
+ ],
5922
+ "additionalProperties": false
5923
+ },
5924
+ "description": {
5925
+ "type": "string"
5926
+ },
5927
+ "by": {
5928
+ "type": "object",
5929
+ "properties": {
5930
+ "model": {
5931
+ "type": "string"
5932
+ },
5933
+ "at": {
5934
+ "type": "string"
5935
+ }
5936
+ },
5937
+ "required": [
5938
+ "model",
5939
+ "at"
5940
+ ],
5941
+ "additionalProperties": false
5942
+ }
5943
+ },
5944
+ "additionalProperties": false
5217
5945
  }
5218
5946
  },
5219
5947
  "required": [
@@ -5421,6 +6149,71 @@
5421
6149
  ],
5422
6150
  "additionalProperties": false
5423
6151
  }
6152
+ },
6153
+ "origin": {
6154
+ "type": "string",
6155
+ "enum": [
6156
+ "chart",
6157
+ "diagram",
6158
+ "table",
6159
+ "image",
6160
+ "notes",
6161
+ "body"
6162
+ ]
6163
+ },
6164
+ "interpretation": {
6165
+ "type": "object",
6166
+ "properties": {
6167
+ "transcript": {
6168
+ "type": "object",
6169
+ "properties": {
6170
+ "text": {
6171
+ "type": "string"
6172
+ },
6173
+ "confidence": {
6174
+ "type": "string",
6175
+ "enum": [
6176
+ "high",
6177
+ "medium",
6178
+ "low"
6179
+ ]
6180
+ },
6181
+ "mechanism": {
6182
+ "type": "string",
6183
+ "enum": [
6184
+ "deterministic",
6185
+ "model"
6186
+ ]
6187
+ }
6188
+ },
6189
+ "required": [
6190
+ "text",
6191
+ "confidence",
6192
+ "mechanism"
6193
+ ],
6194
+ "additionalProperties": false
6195
+ },
6196
+ "description": {
6197
+ "type": "string"
6198
+ },
6199
+ "by": {
6200
+ "type": "object",
6201
+ "properties": {
6202
+ "model": {
6203
+ "type": "string"
6204
+ },
6205
+ "at": {
6206
+ "type": "string"
6207
+ }
6208
+ },
6209
+ "required": [
6210
+ "model",
6211
+ "at"
6212
+ ],
6213
+ "additionalProperties": false
6214
+ }
6215
+ },
6216
+ "additionalProperties": false
5424
6217
  }
5425
6218
  },
5426
6219
  "required": [
@@ -5969,6 +6762,71 @@
5969
6762
  ],
5970
6763
  "additionalProperties": false
5971
6764
  }
6765
+ },
6766
+ "origin": {
6767
+ "type": "string",
6768
+ "enum": [
6769
+ "chart",
6770
+ "diagram",
6771
+ "table",
6772
+ "image",
6773
+ "notes",
6774
+ "body"
6775
+ ]
6776
+ },
6777
+ "interpretation": {
6778
+ "type": "object",
6779
+ "properties": {
6780
+ "transcript": {
6781
+ "type": "object",
6782
+ "properties": {
6783
+ "text": {
6784
+ "type": "string"
6785
+ },
6786
+ "confidence": {
6787
+ "type": "string",
6788
+ "enum": [
6789
+ "high",
6790
+ "medium",
6791
+ "low"
6792
+ ]
6793
+ },
6794
+ "mechanism": {
6795
+ "type": "string",
6796
+ "enum": [
6797
+ "deterministic",
6798
+ "model"
6799
+ ]
6800
+ }
6801
+ },
6802
+ "required": [
6803
+ "text",
6804
+ "confidence",
6805
+ "mechanism"
6806
+ ],
6807
+ "additionalProperties": false
6808
+ },
6809
+ "description": {
6810
+ "type": "string"
6811
+ },
6812
+ "by": {
6813
+ "type": "object",
6814
+ "properties": {
6815
+ "model": {
6816
+ "type": "string"
6817
+ },
6818
+ "at": {
6819
+ "type": "string"
6820
+ }
6821
+ },
6822
+ "required": [
6823
+ "model",
6824
+ "at"
6825
+ ],
6826
+ "additionalProperties": false
6827
+ }
6828
+ },
6829
+ "additionalProperties": false
5972
6830
  }
5973
6831
  },
5974
6832
  "required": [
@@ -6013,6 +6871,71 @@
6013
6871
  "xml"
6014
6872
  ],
6015
6873
  "additionalProperties": false
6874
+ },
6875
+ "origin": {
6876
+ "type": "string",
6877
+ "enum": [
6878
+ "chart",
6879
+ "diagram",
6880
+ "table",
6881
+ "image",
6882
+ "notes",
6883
+ "body"
6884
+ ]
6885
+ },
6886
+ "interpretation": {
6887
+ "type": "object",
6888
+ "properties": {
6889
+ "transcript": {
6890
+ "type": "object",
6891
+ "properties": {
6892
+ "text": {
6893
+ "type": "string"
6894
+ },
6895
+ "confidence": {
6896
+ "type": "string",
6897
+ "enum": [
6898
+ "high",
6899
+ "medium",
6900
+ "low"
6901
+ ]
6902
+ },
6903
+ "mechanism": {
6904
+ "type": "string",
6905
+ "enum": [
6906
+ "deterministic",
6907
+ "model"
6908
+ ]
6909
+ }
6910
+ },
6911
+ "required": [
6912
+ "text",
6913
+ "confidence",
6914
+ "mechanism"
6915
+ ],
6916
+ "additionalProperties": false
6917
+ },
6918
+ "description": {
6919
+ "type": "string"
6920
+ },
6921
+ "by": {
6922
+ "type": "object",
6923
+ "properties": {
6924
+ "model": {
6925
+ "type": "string"
6926
+ },
6927
+ "at": {
6928
+ "type": "string"
6929
+ }
6930
+ },
6931
+ "required": [
6932
+ "model",
6933
+ "at"
6934
+ ],
6935
+ "additionalProperties": false
6936
+ }
6937
+ },
6938
+ "additionalProperties": false
6016
6939
  }
6017
6940
  },
6018
6941
  "required": [
@@ -6509,6 +7432,12 @@
6509
7432
  "items": {
6510
7433
  "$ref": "#/$defs/LayoutFrame"
6511
7434
  }
7435
+ },
7436
+ "origin": {
7437
+ "$ref": "#/$defs/ContentOrigin"
7438
+ },
7439
+ "interpretation": {
7440
+ "$ref": "#/$defs/ContentInterpretation"
6512
7441
  }
6513
7442
  },
6514
7443
  "required": [
@@ -6625,6 +7554,12 @@
6625
7554
  "items": {
6626
7555
  "$ref": "#/$defs/LayoutFrame"
6627
7556
  }
7557
+ },
7558
+ "origin": {
7559
+ "$ref": "#/$defs/ContentOrigin"
7560
+ },
7561
+ "interpretation": {
7562
+ "$ref": "#/$defs/ContentInterpretation"
6628
7563
  }
6629
7564
  },
6630
7565
  "required": [
@@ -6715,6 +7650,71 @@
6715
7650
  ],
6716
7651
  "additionalProperties": false
6717
7652
  },
7653
+ "ContentOrigin": {
7654
+ "type": "string",
7655
+ "enum": [
7656
+ "chart",
7657
+ "diagram",
7658
+ "table",
7659
+ "image",
7660
+ "notes",
7661
+ "body"
7662
+ ]
7663
+ },
7664
+ "ContentInterpretation": {
7665
+ "type": "object",
7666
+ "properties": {
7667
+ "transcript": {
7668
+ "type": "object",
7669
+ "properties": {
7670
+ "text": {
7671
+ "type": "string"
7672
+ },
7673
+ "confidence": {
7674
+ "type": "string",
7675
+ "enum": [
7676
+ "high",
7677
+ "medium",
7678
+ "low"
7679
+ ]
7680
+ },
7681
+ "mechanism": {
7682
+ "type": "string",
7683
+ "enum": [
7684
+ "deterministic",
7685
+ "model"
7686
+ ]
7687
+ }
7688
+ },
7689
+ "required": [
7690
+ "text",
7691
+ "confidence",
7692
+ "mechanism"
7693
+ ],
7694
+ "additionalProperties": false
7695
+ },
7696
+ "description": {
7697
+ "type": "string"
7698
+ },
7699
+ "by": {
7700
+ "type": "object",
7701
+ "properties": {
7702
+ "model": {
7703
+ "type": "string"
7704
+ },
7705
+ "at": {
7706
+ "type": "string"
7707
+ }
7708
+ },
7709
+ "required": [
7710
+ "model",
7711
+ "at"
7712
+ ],
7713
+ "additionalProperties": false
7714
+ }
7715
+ },
7716
+ "additionalProperties": false
7717
+ },
6718
7718
  "ContentImageOriginal": {
6719
7719
  "type": "object",
6720
7720
  "properties": {
@@ -6771,6 +7771,19 @@
6771
7771
  "original": {
6772
7772
  "$ref": "#/$defs/ContentImageOriginal"
6773
7773
  },
7774
+ "anchorRunIndex": {
7775
+ "type": "integer",
7776
+ "minimum": 0,
7777
+ "maximum": 9007199254740991
7778
+ },
7779
+ "anchorOffset": {
7780
+ "type": "integer",
7781
+ "minimum": 0,
7782
+ "maximum": 9007199254740991
7783
+ },
7784
+ "caption": {
7785
+ "type": "string"
7786
+ },
6774
7787
  "floatPosition": {
6775
7788
  "$ref": "#/$defs/ContentFloatPosition"
6776
7789
  },
@@ -6785,6 +7798,12 @@
6785
7798
  "items": {
6786
7799
  "$ref": "#/$defs/LayoutFrame"
6787
7800
  }
7801
+ },
7802
+ "origin": {
7803
+ "$ref": "#/$defs/ContentOrigin"
7804
+ },
7805
+ "interpretation": {
7806
+ "$ref": "#/$defs/ContentInterpretation"
6788
7807
  }
6789
7808
  },
6790
7809
  "required": [
@@ -6814,6 +7833,12 @@
6814
7833
  "items": {
6815
7834
  "$ref": "#/$defs/LayoutFrame"
6816
7835
  }
7836
+ },
7837
+ "origin": {
7838
+ "$ref": "#/$defs/ContentOrigin"
7839
+ },
7840
+ "interpretation": {
7841
+ "$ref": "#/$defs/ContentInterpretation"
6817
7842
  }
6818
7843
  },
6819
7844
  "required": [
@@ -6868,6 +7893,12 @@
6868
7893
  "items": {
6869
7894
  "$ref": "#/$defs/LayoutFrame"
6870
7895
  }
7896
+ },
7897
+ "origin": {
7898
+ "$ref": "#/$defs/ContentOrigin"
7899
+ },
7900
+ "interpretation": {
7901
+ "$ref": "#/$defs/ContentInterpretation"
6871
7902
  }
6872
7903
  },
6873
7904
  "required": [
@@ -6932,6 +7963,12 @@
6932
7963
  "items": {
6933
7964
  "$ref": "#/$defs/LayoutFrame"
6934
7965
  }
7966
+ },
7967
+ "origin": {
7968
+ "$ref": "#/$defs/ContentOrigin"
7969
+ },
7970
+ "interpretation": {
7971
+ "$ref": "#/$defs/ContentInterpretation"
6935
7972
  }
6936
7973
  },
6937
7974
  "required": [
@@ -6960,7 +7997,7 @@
6960
7997
  ]
6961
7998
  },
6962
7999
  "document": {
6963
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.7.0/schemas/content-document.schema.json"
8000
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.9.0/schemas/content-document.schema.json"
6964
8001
  },
6965
8002
  "frame": {
6966
8003
  "$ref": "#/$defs/Box"
@@ -7149,6 +8186,12 @@
7149
8186
  "source": {
7150
8187
  "$ref": "#/$defs/SourceResidue"
7151
8188
  },
8189
+ "origin": {
8190
+ "$ref": "#/$defs/ContentOrigin"
8191
+ },
8192
+ "interpretation": {
8193
+ "$ref": "#/$defs/ContentInterpretation"
8194
+ },
7152
8195
  "kind": {
7153
8196
  "type": "string",
7154
8197
  "const": "section"
@@ -7197,6 +8240,12 @@
7197
8240
  "source": {
7198
8241
  "$ref": "#/$defs/SourceResidue"
7199
8242
  },
8243
+ "origin": {
8244
+ "$ref": "#/$defs/ContentOrigin"
8245
+ },
8246
+ "interpretation": {
8247
+ "$ref": "#/$defs/ContentInterpretation"
8248
+ },
7200
8249
  "kind": {
7201
8250
  "type": "string",
7202
8251
  "const": "slide"
@@ -7251,6 +8300,12 @@
7251
8300
  "source": {
7252
8301
  "$ref": "#/$defs/SourceResidue"
7253
8302
  },
8303
+ "origin": {
8304
+ "$ref": "#/$defs/ContentOrigin"
8305
+ },
8306
+ "interpretation": {
8307
+ "$ref": "#/$defs/ContentInterpretation"
8308
+ },
7254
8309
  "kind": {
7255
8310
  "type": "string",
7256
8311
  "const": "sheet"
@@ -7275,6 +8330,12 @@
7275
8330
  "source": {
7276
8331
  "$ref": "#/$defs/SourceResidue"
7277
8332
  },
8333
+ "origin": {
8334
+ "$ref": "#/$defs/ContentOrigin"
8335
+ },
8336
+ "interpretation": {
8337
+ "$ref": "#/$defs/ContentInterpretation"
8338
+ },
7278
8339
  "kind": {
7279
8340
  "type": "string",
7280
8341
  "const": "drawPage"
@@ -7336,6 +8397,12 @@
7336
8397
  "items": {
7337
8398
  "$ref": "#/$defs/LayoutFrame"
7338
8399
  }
8400
+ },
8401
+ "origin": {
8402
+ "$ref": "#/$defs/ContentOrigin"
8403
+ },
8404
+ "interpretation": {
8405
+ "$ref": "#/$defs/ContentInterpretation"
7339
8406
  }
7340
8407
  },
7341
8408
  "required": [
@@ -7432,6 +8499,12 @@
7432
8499
  "items": {
7433
8500
  "$ref": "#/$defs/LayoutFrame"
7434
8501
  }
8502
+ },
8503
+ "origin": {
8504
+ "$ref": "#/$defs/ContentOrigin"
8505
+ },
8506
+ "interpretation": {
8507
+ "$ref": "#/$defs/ContentInterpretation"
7435
8508
  }
7436
8509
  },
7437
8510
  "required": [
@@ -7526,6 +8599,12 @@
7526
8599
  "items": {
7527
8600
  "$ref": "#/$defs/LayoutFrame"
7528
8601
  }
8602
+ },
8603
+ "origin": {
8604
+ "$ref": "#/$defs/ContentOrigin"
8605
+ },
8606
+ "interpretation": {
8607
+ "$ref": "#/$defs/ContentInterpretation"
7529
8608
  }
7530
8609
  },
7531
8610
  "required": [
@@ -7638,6 +8717,12 @@
7638
8717
  "items": {
7639
8718
  "$ref": "#/$defs/LayoutFrame"
7640
8719
  }
8720
+ },
8721
+ "origin": {
8722
+ "$ref": "#/$defs/ContentOrigin"
8723
+ },
8724
+ "interpretation": {
8725
+ "$ref": "#/$defs/ContentInterpretation"
7641
8726
  }
7642
8727
  },
7643
8728
  "required": [
@@ -8662,6 +9747,19 @@
8662
9747
  "original": {
8663
9748
  "$ref": "#/$defs/ContentImageOriginal"
8664
9749
  },
9750
+ "anchorRunIndex": {
9751
+ "type": "integer",
9752
+ "minimum": 0,
9753
+ "maximum": 9007199254740991
9754
+ },
9755
+ "anchorOffset": {
9756
+ "type": "integer",
9757
+ "minimum": 0,
9758
+ "maximum": 9007199254740991
9759
+ },
9760
+ "caption": {
9761
+ "type": "string"
9762
+ },
8665
9763
  "floatPosition": {
8666
9764
  "$ref": "#/$defs/ContentFloatPosition"
8667
9765
  },
@@ -8677,6 +9775,12 @@
8677
9775
  "$ref": "#/$defs/LayoutFrame"
8678
9776
  }
8679
9777
  },
9778
+ "origin": {
9779
+ "$ref": "#/$defs/ContentOrigin"
9780
+ },
9781
+ "interpretation": {
9782
+ "$ref": "#/$defs/ContentInterpretation"
9783
+ },
8680
9784
  "anchorRow": {
8681
9785
  "type": "integer",
8682
9786
  "minimum": 0,
@@ -9012,6 +10116,12 @@
9012
10116
  "items": {
9013
10117
  "$ref": "#/$defs/LayoutFrame"
9014
10118
  }
10119
+ },
10120
+ "origin": {
10121
+ "$ref": "#/$defs/ContentOrigin"
10122
+ },
10123
+ "interpretation": {
10124
+ "$ref": "#/$defs/ContentInterpretation"
9015
10125
  }
9016
10126
  },
9017
10127
  "required": [
@@ -9061,6 +10171,12 @@
9061
10171
  "items": {
9062
10172
  "$ref": "#/$defs/LayoutFrame"
9063
10173
  }
10174
+ },
10175
+ "origin": {
10176
+ "$ref": "#/$defs/ContentOrigin"
10177
+ },
10178
+ "interpretation": {
10179
+ "$ref": "#/$defs/ContentInterpretation"
9064
10180
  }
9065
10181
  },
9066
10182
  "required": [
@@ -9099,6 +10215,12 @@
9099
10215
  "items": {
9100
10216
  "$ref": "#/$defs/LayoutFrame"
9101
10217
  }
10218
+ },
10219
+ "origin": {
10220
+ "$ref": "#/$defs/ContentOrigin"
10221
+ },
10222
+ "interpretation": {
10223
+ "$ref": "#/$defs/ContentInterpretation"
9102
10224
  }
9103
10225
  },
9104
10226
  "required": [
@@ -9163,6 +10285,12 @@
9163
10285
  "items": {
9164
10286
  "$ref": "#/$defs/LayoutFrame"
9165
10287
  }
10288
+ },
10289
+ "origin": {
10290
+ "$ref": "#/$defs/ContentOrigin"
10291
+ },
10292
+ "interpretation": {
10293
+ "$ref": "#/$defs/ContentInterpretation"
9166
10294
  }
9167
10295
  },
9168
10296
  "required": [
@@ -9189,7 +10317,7 @@
9189
10317
  ]
9190
10318
  },
9191
10319
  "document": {
9192
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.7.0/schemas/content-document.schema.json"
10320
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.9.0/schemas/content-document.schema.json"
9193
10321
  },
9194
10322
  "frame": {
9195
10323
  "$ref": "#/$defs/Box"
@@ -10033,6 +11161,12 @@
10033
11161
  },
10034
11162
  "source": {
10035
11163
  "$ref": "#/$defs/SourceResidue"
11164
+ },
11165
+ "origin": {
11166
+ "$ref": "#/$defs/ContentOrigin"
11167
+ },
11168
+ "interpretation": {
11169
+ "$ref": "#/$defs/ContentInterpretation"
10036
11170
  }
10037
11171
  },
10038
11172
  "required": [