document-content-model 7.7.0 → 7.8.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/{construct-C9cYkjnd.d.cts → construct-GVdTKrE7.d.cts} +3 -3
  4. package/dist/{construct-C9cYkjnd.d.ts → construct-GVdTKrE7.d.ts} +3 -3
  5. package/dist/construct.d.cts +1 -1
  6. package/dist/construct.d.ts +1 -1
  7. package/dist/{content-BIM8bWWt.d.ts → content-DAc4O272.d.ts} +1772 -71
  8. package/dist/{content-DpsxyPMw.d.cts → content-SgKmas45.d.cts} +1772 -71
  9. package/dist/content-json-schema-defs.cjs +126 -15
  10. package/dist/content-json-schema-defs.js +126 -15
  11. package/dist/content.cjs +70 -17
  12. package/dist/content.d.cts +2 -2
  13. package/dist/content.d.ts +2 -2
  14. package/dist/content.js +67 -18
  15. package/dist/decompose.d.cts +2 -2
  16. package/dist/decompose.d.ts +2 -2
  17. package/dist/definitions.d.cts +1 -1
  18. package/dist/definitions.d.ts +1 -1
  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 +4 -4
  25. package/dist/index.d.ts +4 -4
  26. package/dist/index.js +2 -2
  27. package/dist/{package-node-B8LBrCCD.d.ts → package-node-BnFUnaa0.d.ts} +322 -25
  28. package/dist/{package-node-CENJl5PH.d.cts → package-node-DnUyGT61.d.cts} +322 -25
  29. package/dist/package-node.d.cts +1 -1
  30. package/dist/package-node.d.ts +1 -1
  31. package/dist/package.d.cts +28 -1
  32. package/dist/package.d.ts +28 -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 +1138 -13
  39. package/schemas/document-tree.schema.json +208 -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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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,16 @@
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
+ },
1759
2094
  "floatPosition": {
1760
2095
  "type": "object",
1761
2096
  "properties": {
@@ -1987,6 +2322,71 @@
1987
2322
  "additionalProperties": false
1988
2323
  }
1989
2324
  },
2325
+ "origin": {
2326
+ "type": "string",
2327
+ "enum": [
2328
+ "chart",
2329
+ "diagram",
2330
+ "table",
2331
+ "image",
2332
+ "notes",
2333
+ "body"
2334
+ ]
2335
+ },
2336
+ "interpretation": {
2337
+ "type": "object",
2338
+ "properties": {
2339
+ "transcript": {
2340
+ "type": "object",
2341
+ "properties": {
2342
+ "text": {
2343
+ "type": "string"
2344
+ },
2345
+ "confidence": {
2346
+ "type": "string",
2347
+ "enum": [
2348
+ "high",
2349
+ "medium",
2350
+ "low"
2351
+ ]
2352
+ },
2353
+ "mechanism": {
2354
+ "type": "string",
2355
+ "enum": [
2356
+ "deterministic",
2357
+ "model"
2358
+ ]
2359
+ }
2360
+ },
2361
+ "required": [
2362
+ "text",
2363
+ "confidence",
2364
+ "mechanism"
2365
+ ],
2366
+ "additionalProperties": false
2367
+ },
2368
+ "description": {
2369
+ "type": "string"
2370
+ },
2371
+ "by": {
2372
+ "type": "object",
2373
+ "properties": {
2374
+ "model": {
2375
+ "type": "string"
2376
+ },
2377
+ "at": {
2378
+ "type": "string"
2379
+ }
2380
+ },
2381
+ "required": [
2382
+ "model",
2383
+ "at"
2384
+ ],
2385
+ "additionalProperties": false
2386
+ }
2387
+ },
2388
+ "additionalProperties": false
2389
+ },
1990
2390
  "anchorRow": {
1991
2391
  "type": "integer",
1992
2392
  "minimum": 0,
@@ -2229,7 +2629,7 @@
2229
2629
  ]
2230
2630
  },
2231
2631
  "document": {
2232
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.7.0/schemas/content-document.schema.json"
2632
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.8.0/schemas/content-document.schema.json"
2233
2633
  },
2234
2634
  "frame": {
2235
2635
  "type": "object",
@@ -2305,6 +2705,71 @@
2305
2705
  "xml"
2306
2706
  ],
2307
2707
  "additionalProperties": false
2708
+ },
2709
+ "origin": {
2710
+ "type": "string",
2711
+ "enum": [
2712
+ "chart",
2713
+ "diagram",
2714
+ "table",
2715
+ "image",
2716
+ "notes",
2717
+ "body"
2718
+ ]
2719
+ },
2720
+ "interpretation": {
2721
+ "type": "object",
2722
+ "properties": {
2723
+ "transcript": {
2724
+ "type": "object",
2725
+ "properties": {
2726
+ "text": {
2727
+ "type": "string"
2728
+ },
2729
+ "confidence": {
2730
+ "type": "string",
2731
+ "enum": [
2732
+ "high",
2733
+ "medium",
2734
+ "low"
2735
+ ]
2736
+ },
2737
+ "mechanism": {
2738
+ "type": "string",
2739
+ "enum": [
2740
+ "deterministic",
2741
+ "model"
2742
+ ]
2743
+ }
2744
+ },
2745
+ "required": [
2746
+ "text",
2747
+ "confidence",
2748
+ "mechanism"
2749
+ ],
2750
+ "additionalProperties": false
2751
+ },
2752
+ "description": {
2753
+ "type": "string"
2754
+ },
2755
+ "by": {
2756
+ "type": "object",
2757
+ "properties": {
2758
+ "model": {
2759
+ "type": "string"
2760
+ },
2761
+ "at": {
2762
+ "type": "string"
2763
+ }
2764
+ },
2765
+ "required": [
2766
+ "model",
2767
+ "at"
2768
+ ],
2769
+ "additionalProperties": false
2770
+ }
2771
+ },
2772
+ "additionalProperties": false
2308
2773
  }
2309
2774
  },
2310
2775
  "required": [
@@ -4110,6 +4575,71 @@
4110
4575
  "xml"
4111
4576
  ],
4112
4577
  "additionalProperties": false
4578
+ },
4579
+ "origin": {
4580
+ "type": "string",
4581
+ "enum": [
4582
+ "chart",
4583
+ "diagram",
4584
+ "table",
4585
+ "image",
4586
+ "notes",
4587
+ "body"
4588
+ ]
4589
+ },
4590
+ "interpretation": {
4591
+ "type": "object",
4592
+ "properties": {
4593
+ "transcript": {
4594
+ "type": "object",
4595
+ "properties": {
4596
+ "text": {
4597
+ "type": "string"
4598
+ },
4599
+ "confidence": {
4600
+ "type": "string",
4601
+ "enum": [
4602
+ "high",
4603
+ "medium",
4604
+ "low"
4605
+ ]
4606
+ },
4607
+ "mechanism": {
4608
+ "type": "string",
4609
+ "enum": [
4610
+ "deterministic",
4611
+ "model"
4612
+ ]
4613
+ }
4614
+ },
4615
+ "required": [
4616
+ "text",
4617
+ "confidence",
4618
+ "mechanism"
4619
+ ],
4620
+ "additionalProperties": false
4621
+ },
4622
+ "description": {
4623
+ "type": "string"
4624
+ },
4625
+ "by": {
4626
+ "type": "object",
4627
+ "properties": {
4628
+ "model": {
4629
+ "type": "string"
4630
+ },
4631
+ "at": {
4632
+ "type": "string"
4633
+ }
4634
+ },
4635
+ "required": [
4636
+ "model",
4637
+ "at"
4638
+ ],
4639
+ "additionalProperties": false
4640
+ }
4641
+ },
4642
+ "additionalProperties": false
4113
4643
  }
4114
4644
  },
4115
4645
  "required": [
@@ -4390,10 +4920,75 @@
4390
4920
  "additionalProperties": false
4391
4921
  }
4392
4922
  },
4923
+ "origin": {
4924
+ "type": "string",
4925
+ "enum": [
4926
+ "chart",
4927
+ "diagram",
4928
+ "table",
4929
+ "image",
4930
+ "notes",
4931
+ "body"
4932
+ ]
4933
+ },
4934
+ "interpretation": {
4935
+ "type": "object",
4936
+ "properties": {
4937
+ "transcript": {
4938
+ "type": "object",
4939
+ "properties": {
4940
+ "text": {
4941
+ "type": "string"
4942
+ },
4943
+ "confidence": {
4944
+ "type": "string",
4945
+ "enum": [
4946
+ "high",
4947
+ "medium",
4948
+ "low"
4949
+ ]
4950
+ },
4951
+ "mechanism": {
4952
+ "type": "string",
4953
+ "enum": [
4954
+ "deterministic",
4955
+ "model"
4956
+ ]
4957
+ }
4958
+ },
4959
+ "required": [
4960
+ "text",
4961
+ "confidence",
4962
+ "mechanism"
4963
+ ],
4964
+ "additionalProperties": false
4965
+ },
4966
+ "description": {
4967
+ "type": "string"
4968
+ },
4969
+ "by": {
4970
+ "type": "object",
4971
+ "properties": {
4972
+ "model": {
4973
+ "type": "string"
4974
+ },
4975
+ "at": {
4976
+ "type": "string"
4977
+ }
4978
+ },
4979
+ "required": [
4980
+ "model",
4981
+ "at"
4982
+ ],
4983
+ "additionalProperties": false
4984
+ }
4985
+ },
4986
+ "additionalProperties": false
4987
+ },
4393
4988
  "blocks": {
4394
4989
  "type": "array",
4395
4990
  "items": {
4396
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.7.0/schemas/undefined#/$defs/schema2"
4991
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.8.0/schemas/undefined#/$defs/schema2"
4397
4992
  }
4398
4993
  }
4399
4994
  },
@@ -4809,6 +5404,71 @@
4809
5404
  ],
4810
5405
  "additionalProperties": false
4811
5406
  }
5407
+ },
5408
+ "origin": {
5409
+ "type": "string",
5410
+ "enum": [
5411
+ "chart",
5412
+ "diagram",
5413
+ "table",
5414
+ "image",
5415
+ "notes",
5416
+ "body"
5417
+ ]
5418
+ },
5419
+ "interpretation": {
5420
+ "type": "object",
5421
+ "properties": {
5422
+ "transcript": {
5423
+ "type": "object",
5424
+ "properties": {
5425
+ "text": {
5426
+ "type": "string"
5427
+ },
5428
+ "confidence": {
5429
+ "type": "string",
5430
+ "enum": [
5431
+ "high",
5432
+ "medium",
5433
+ "low"
5434
+ ]
5435
+ },
5436
+ "mechanism": {
5437
+ "type": "string",
5438
+ "enum": [
5439
+ "deterministic",
5440
+ "model"
5441
+ ]
5442
+ }
5443
+ },
5444
+ "required": [
5445
+ "text",
5446
+ "confidence",
5447
+ "mechanism"
5448
+ ],
5449
+ "additionalProperties": false
5450
+ },
5451
+ "description": {
5452
+ "type": "string"
5453
+ },
5454
+ "by": {
5455
+ "type": "object",
5456
+ "properties": {
5457
+ "model": {
5458
+ "type": "string"
5459
+ },
5460
+ "at": {
5461
+ "type": "string"
5462
+ }
5463
+ },
5464
+ "required": [
5465
+ "model",
5466
+ "at"
5467
+ ],
5468
+ "additionalProperties": false
5469
+ }
5470
+ },
5471
+ "additionalProperties": false
4812
5472
  }
4813
5473
  },
4814
5474
  "required": [
@@ -5214,6 +5874,71 @@
5214
5874
  ],
5215
5875
  "additionalProperties": false
5216
5876
  }
5877
+ },
5878
+ "origin": {
5879
+ "type": "string",
5880
+ "enum": [
5881
+ "chart",
5882
+ "diagram",
5883
+ "table",
5884
+ "image",
5885
+ "notes",
5886
+ "body"
5887
+ ]
5888
+ },
5889
+ "interpretation": {
5890
+ "type": "object",
5891
+ "properties": {
5892
+ "transcript": {
5893
+ "type": "object",
5894
+ "properties": {
5895
+ "text": {
5896
+ "type": "string"
5897
+ },
5898
+ "confidence": {
5899
+ "type": "string",
5900
+ "enum": [
5901
+ "high",
5902
+ "medium",
5903
+ "low"
5904
+ ]
5905
+ },
5906
+ "mechanism": {
5907
+ "type": "string",
5908
+ "enum": [
5909
+ "deterministic",
5910
+ "model"
5911
+ ]
5912
+ }
5913
+ },
5914
+ "required": [
5915
+ "text",
5916
+ "confidence",
5917
+ "mechanism"
5918
+ ],
5919
+ "additionalProperties": false
5920
+ },
5921
+ "description": {
5922
+ "type": "string"
5923
+ },
5924
+ "by": {
5925
+ "type": "object",
5926
+ "properties": {
5927
+ "model": {
5928
+ "type": "string"
5929
+ },
5930
+ "at": {
5931
+ "type": "string"
5932
+ }
5933
+ },
5934
+ "required": [
5935
+ "model",
5936
+ "at"
5937
+ ],
5938
+ "additionalProperties": false
5939
+ }
5940
+ },
5941
+ "additionalProperties": false
5217
5942
  }
5218
5943
  },
5219
5944
  "required": [
@@ -5421,6 +6146,71 @@
5421
6146
  ],
5422
6147
  "additionalProperties": false
5423
6148
  }
6149
+ },
6150
+ "origin": {
6151
+ "type": "string",
6152
+ "enum": [
6153
+ "chart",
6154
+ "diagram",
6155
+ "table",
6156
+ "image",
6157
+ "notes",
6158
+ "body"
6159
+ ]
6160
+ },
6161
+ "interpretation": {
6162
+ "type": "object",
6163
+ "properties": {
6164
+ "transcript": {
6165
+ "type": "object",
6166
+ "properties": {
6167
+ "text": {
6168
+ "type": "string"
6169
+ },
6170
+ "confidence": {
6171
+ "type": "string",
6172
+ "enum": [
6173
+ "high",
6174
+ "medium",
6175
+ "low"
6176
+ ]
6177
+ },
6178
+ "mechanism": {
6179
+ "type": "string",
6180
+ "enum": [
6181
+ "deterministic",
6182
+ "model"
6183
+ ]
6184
+ }
6185
+ },
6186
+ "required": [
6187
+ "text",
6188
+ "confidence",
6189
+ "mechanism"
6190
+ ],
6191
+ "additionalProperties": false
6192
+ },
6193
+ "description": {
6194
+ "type": "string"
6195
+ },
6196
+ "by": {
6197
+ "type": "object",
6198
+ "properties": {
6199
+ "model": {
6200
+ "type": "string"
6201
+ },
6202
+ "at": {
6203
+ "type": "string"
6204
+ }
6205
+ },
6206
+ "required": [
6207
+ "model",
6208
+ "at"
6209
+ ],
6210
+ "additionalProperties": false
6211
+ }
6212
+ },
6213
+ "additionalProperties": false
5424
6214
  }
5425
6215
  },
5426
6216
  "required": [
@@ -5969,6 +6759,71 @@
5969
6759
  ],
5970
6760
  "additionalProperties": false
5971
6761
  }
6762
+ },
6763
+ "origin": {
6764
+ "type": "string",
6765
+ "enum": [
6766
+ "chart",
6767
+ "diagram",
6768
+ "table",
6769
+ "image",
6770
+ "notes",
6771
+ "body"
6772
+ ]
6773
+ },
6774
+ "interpretation": {
6775
+ "type": "object",
6776
+ "properties": {
6777
+ "transcript": {
6778
+ "type": "object",
6779
+ "properties": {
6780
+ "text": {
6781
+ "type": "string"
6782
+ },
6783
+ "confidence": {
6784
+ "type": "string",
6785
+ "enum": [
6786
+ "high",
6787
+ "medium",
6788
+ "low"
6789
+ ]
6790
+ },
6791
+ "mechanism": {
6792
+ "type": "string",
6793
+ "enum": [
6794
+ "deterministic",
6795
+ "model"
6796
+ ]
6797
+ }
6798
+ },
6799
+ "required": [
6800
+ "text",
6801
+ "confidence",
6802
+ "mechanism"
6803
+ ],
6804
+ "additionalProperties": false
6805
+ },
6806
+ "description": {
6807
+ "type": "string"
6808
+ },
6809
+ "by": {
6810
+ "type": "object",
6811
+ "properties": {
6812
+ "model": {
6813
+ "type": "string"
6814
+ },
6815
+ "at": {
6816
+ "type": "string"
6817
+ }
6818
+ },
6819
+ "required": [
6820
+ "model",
6821
+ "at"
6822
+ ],
6823
+ "additionalProperties": false
6824
+ }
6825
+ },
6826
+ "additionalProperties": false
5972
6827
  }
5973
6828
  },
5974
6829
  "required": [
@@ -6013,6 +6868,71 @@
6013
6868
  "xml"
6014
6869
  ],
6015
6870
  "additionalProperties": false
6871
+ },
6872
+ "origin": {
6873
+ "type": "string",
6874
+ "enum": [
6875
+ "chart",
6876
+ "diagram",
6877
+ "table",
6878
+ "image",
6879
+ "notes",
6880
+ "body"
6881
+ ]
6882
+ },
6883
+ "interpretation": {
6884
+ "type": "object",
6885
+ "properties": {
6886
+ "transcript": {
6887
+ "type": "object",
6888
+ "properties": {
6889
+ "text": {
6890
+ "type": "string"
6891
+ },
6892
+ "confidence": {
6893
+ "type": "string",
6894
+ "enum": [
6895
+ "high",
6896
+ "medium",
6897
+ "low"
6898
+ ]
6899
+ },
6900
+ "mechanism": {
6901
+ "type": "string",
6902
+ "enum": [
6903
+ "deterministic",
6904
+ "model"
6905
+ ]
6906
+ }
6907
+ },
6908
+ "required": [
6909
+ "text",
6910
+ "confidence",
6911
+ "mechanism"
6912
+ ],
6913
+ "additionalProperties": false
6914
+ },
6915
+ "description": {
6916
+ "type": "string"
6917
+ },
6918
+ "by": {
6919
+ "type": "object",
6920
+ "properties": {
6921
+ "model": {
6922
+ "type": "string"
6923
+ },
6924
+ "at": {
6925
+ "type": "string"
6926
+ }
6927
+ },
6928
+ "required": [
6929
+ "model",
6930
+ "at"
6931
+ ],
6932
+ "additionalProperties": false
6933
+ }
6934
+ },
6935
+ "additionalProperties": false
6016
6936
  }
6017
6937
  },
6018
6938
  "required": [
@@ -6509,6 +7429,12 @@
6509
7429
  "items": {
6510
7430
  "$ref": "#/$defs/LayoutFrame"
6511
7431
  }
7432
+ },
7433
+ "origin": {
7434
+ "$ref": "#/$defs/ContentOrigin"
7435
+ },
7436
+ "interpretation": {
7437
+ "$ref": "#/$defs/ContentInterpretation"
6512
7438
  }
6513
7439
  },
6514
7440
  "required": [
@@ -6625,6 +7551,12 @@
6625
7551
  "items": {
6626
7552
  "$ref": "#/$defs/LayoutFrame"
6627
7553
  }
7554
+ },
7555
+ "origin": {
7556
+ "$ref": "#/$defs/ContentOrigin"
7557
+ },
7558
+ "interpretation": {
7559
+ "$ref": "#/$defs/ContentInterpretation"
6628
7560
  }
6629
7561
  },
6630
7562
  "required": [
@@ -6715,6 +7647,71 @@
6715
7647
  ],
6716
7648
  "additionalProperties": false
6717
7649
  },
7650
+ "ContentOrigin": {
7651
+ "type": "string",
7652
+ "enum": [
7653
+ "chart",
7654
+ "diagram",
7655
+ "table",
7656
+ "image",
7657
+ "notes",
7658
+ "body"
7659
+ ]
7660
+ },
7661
+ "ContentInterpretation": {
7662
+ "type": "object",
7663
+ "properties": {
7664
+ "transcript": {
7665
+ "type": "object",
7666
+ "properties": {
7667
+ "text": {
7668
+ "type": "string"
7669
+ },
7670
+ "confidence": {
7671
+ "type": "string",
7672
+ "enum": [
7673
+ "high",
7674
+ "medium",
7675
+ "low"
7676
+ ]
7677
+ },
7678
+ "mechanism": {
7679
+ "type": "string",
7680
+ "enum": [
7681
+ "deterministic",
7682
+ "model"
7683
+ ]
7684
+ }
7685
+ },
7686
+ "required": [
7687
+ "text",
7688
+ "confidence",
7689
+ "mechanism"
7690
+ ],
7691
+ "additionalProperties": false
7692
+ },
7693
+ "description": {
7694
+ "type": "string"
7695
+ },
7696
+ "by": {
7697
+ "type": "object",
7698
+ "properties": {
7699
+ "model": {
7700
+ "type": "string"
7701
+ },
7702
+ "at": {
7703
+ "type": "string"
7704
+ }
7705
+ },
7706
+ "required": [
7707
+ "model",
7708
+ "at"
7709
+ ],
7710
+ "additionalProperties": false
7711
+ }
7712
+ },
7713
+ "additionalProperties": false
7714
+ },
6718
7715
  "ContentImageOriginal": {
6719
7716
  "type": "object",
6720
7717
  "properties": {
@@ -6771,6 +7768,16 @@
6771
7768
  "original": {
6772
7769
  "$ref": "#/$defs/ContentImageOriginal"
6773
7770
  },
7771
+ "anchorRunIndex": {
7772
+ "type": "integer",
7773
+ "minimum": 0,
7774
+ "maximum": 9007199254740991
7775
+ },
7776
+ "anchorOffset": {
7777
+ "type": "integer",
7778
+ "minimum": 0,
7779
+ "maximum": 9007199254740991
7780
+ },
6774
7781
  "floatPosition": {
6775
7782
  "$ref": "#/$defs/ContentFloatPosition"
6776
7783
  },
@@ -6785,6 +7792,12 @@
6785
7792
  "items": {
6786
7793
  "$ref": "#/$defs/LayoutFrame"
6787
7794
  }
7795
+ },
7796
+ "origin": {
7797
+ "$ref": "#/$defs/ContentOrigin"
7798
+ },
7799
+ "interpretation": {
7800
+ "$ref": "#/$defs/ContentInterpretation"
6788
7801
  }
6789
7802
  },
6790
7803
  "required": [
@@ -6814,6 +7827,12 @@
6814
7827
  "items": {
6815
7828
  "$ref": "#/$defs/LayoutFrame"
6816
7829
  }
7830
+ },
7831
+ "origin": {
7832
+ "$ref": "#/$defs/ContentOrigin"
7833
+ },
7834
+ "interpretation": {
7835
+ "$ref": "#/$defs/ContentInterpretation"
6817
7836
  }
6818
7837
  },
6819
7838
  "required": [
@@ -6868,6 +7887,12 @@
6868
7887
  "items": {
6869
7888
  "$ref": "#/$defs/LayoutFrame"
6870
7889
  }
7890
+ },
7891
+ "origin": {
7892
+ "$ref": "#/$defs/ContentOrigin"
7893
+ },
7894
+ "interpretation": {
7895
+ "$ref": "#/$defs/ContentInterpretation"
6871
7896
  }
6872
7897
  },
6873
7898
  "required": [
@@ -6932,6 +7957,12 @@
6932
7957
  "items": {
6933
7958
  "$ref": "#/$defs/LayoutFrame"
6934
7959
  }
7960
+ },
7961
+ "origin": {
7962
+ "$ref": "#/$defs/ContentOrigin"
7963
+ },
7964
+ "interpretation": {
7965
+ "$ref": "#/$defs/ContentInterpretation"
6935
7966
  }
6936
7967
  },
6937
7968
  "required": [
@@ -6960,7 +7991,7 @@
6960
7991
  ]
6961
7992
  },
6962
7993
  "document": {
6963
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.7.0/schemas/content-document.schema.json"
7994
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.8.0/schemas/content-document.schema.json"
6964
7995
  },
6965
7996
  "frame": {
6966
7997
  "$ref": "#/$defs/Box"
@@ -7149,6 +8180,12 @@
7149
8180
  "source": {
7150
8181
  "$ref": "#/$defs/SourceResidue"
7151
8182
  },
8183
+ "origin": {
8184
+ "$ref": "#/$defs/ContentOrigin"
8185
+ },
8186
+ "interpretation": {
8187
+ "$ref": "#/$defs/ContentInterpretation"
8188
+ },
7152
8189
  "kind": {
7153
8190
  "type": "string",
7154
8191
  "const": "section"
@@ -7197,6 +8234,12 @@
7197
8234
  "source": {
7198
8235
  "$ref": "#/$defs/SourceResidue"
7199
8236
  },
8237
+ "origin": {
8238
+ "$ref": "#/$defs/ContentOrigin"
8239
+ },
8240
+ "interpretation": {
8241
+ "$ref": "#/$defs/ContentInterpretation"
8242
+ },
7200
8243
  "kind": {
7201
8244
  "type": "string",
7202
8245
  "const": "slide"
@@ -7251,6 +8294,12 @@
7251
8294
  "source": {
7252
8295
  "$ref": "#/$defs/SourceResidue"
7253
8296
  },
8297
+ "origin": {
8298
+ "$ref": "#/$defs/ContentOrigin"
8299
+ },
8300
+ "interpretation": {
8301
+ "$ref": "#/$defs/ContentInterpretation"
8302
+ },
7254
8303
  "kind": {
7255
8304
  "type": "string",
7256
8305
  "const": "sheet"
@@ -7275,6 +8324,12 @@
7275
8324
  "source": {
7276
8325
  "$ref": "#/$defs/SourceResidue"
7277
8326
  },
8327
+ "origin": {
8328
+ "$ref": "#/$defs/ContentOrigin"
8329
+ },
8330
+ "interpretation": {
8331
+ "$ref": "#/$defs/ContentInterpretation"
8332
+ },
7278
8333
  "kind": {
7279
8334
  "type": "string",
7280
8335
  "const": "drawPage"
@@ -7336,6 +8391,12 @@
7336
8391
  "items": {
7337
8392
  "$ref": "#/$defs/LayoutFrame"
7338
8393
  }
8394
+ },
8395
+ "origin": {
8396
+ "$ref": "#/$defs/ContentOrigin"
8397
+ },
8398
+ "interpretation": {
8399
+ "$ref": "#/$defs/ContentInterpretation"
7339
8400
  }
7340
8401
  },
7341
8402
  "required": [
@@ -7432,6 +8493,12 @@
7432
8493
  "items": {
7433
8494
  "$ref": "#/$defs/LayoutFrame"
7434
8495
  }
8496
+ },
8497
+ "origin": {
8498
+ "$ref": "#/$defs/ContentOrigin"
8499
+ },
8500
+ "interpretation": {
8501
+ "$ref": "#/$defs/ContentInterpretation"
7435
8502
  }
7436
8503
  },
7437
8504
  "required": [
@@ -7526,6 +8593,12 @@
7526
8593
  "items": {
7527
8594
  "$ref": "#/$defs/LayoutFrame"
7528
8595
  }
8596
+ },
8597
+ "origin": {
8598
+ "$ref": "#/$defs/ContentOrigin"
8599
+ },
8600
+ "interpretation": {
8601
+ "$ref": "#/$defs/ContentInterpretation"
7529
8602
  }
7530
8603
  },
7531
8604
  "required": [
@@ -7638,6 +8711,12 @@
7638
8711
  "items": {
7639
8712
  "$ref": "#/$defs/LayoutFrame"
7640
8713
  }
8714
+ },
8715
+ "origin": {
8716
+ "$ref": "#/$defs/ContentOrigin"
8717
+ },
8718
+ "interpretation": {
8719
+ "$ref": "#/$defs/ContentInterpretation"
7641
8720
  }
7642
8721
  },
7643
8722
  "required": [
@@ -8662,6 +9741,16 @@
8662
9741
  "original": {
8663
9742
  "$ref": "#/$defs/ContentImageOriginal"
8664
9743
  },
9744
+ "anchorRunIndex": {
9745
+ "type": "integer",
9746
+ "minimum": 0,
9747
+ "maximum": 9007199254740991
9748
+ },
9749
+ "anchorOffset": {
9750
+ "type": "integer",
9751
+ "minimum": 0,
9752
+ "maximum": 9007199254740991
9753
+ },
8665
9754
  "floatPosition": {
8666
9755
  "$ref": "#/$defs/ContentFloatPosition"
8667
9756
  },
@@ -8677,6 +9766,12 @@
8677
9766
  "$ref": "#/$defs/LayoutFrame"
8678
9767
  }
8679
9768
  },
9769
+ "origin": {
9770
+ "$ref": "#/$defs/ContentOrigin"
9771
+ },
9772
+ "interpretation": {
9773
+ "$ref": "#/$defs/ContentInterpretation"
9774
+ },
8680
9775
  "anchorRow": {
8681
9776
  "type": "integer",
8682
9777
  "minimum": 0,
@@ -9012,6 +10107,12 @@
9012
10107
  "items": {
9013
10108
  "$ref": "#/$defs/LayoutFrame"
9014
10109
  }
10110
+ },
10111
+ "origin": {
10112
+ "$ref": "#/$defs/ContentOrigin"
10113
+ },
10114
+ "interpretation": {
10115
+ "$ref": "#/$defs/ContentInterpretation"
9015
10116
  }
9016
10117
  },
9017
10118
  "required": [
@@ -9061,6 +10162,12 @@
9061
10162
  "items": {
9062
10163
  "$ref": "#/$defs/LayoutFrame"
9063
10164
  }
10165
+ },
10166
+ "origin": {
10167
+ "$ref": "#/$defs/ContentOrigin"
10168
+ },
10169
+ "interpretation": {
10170
+ "$ref": "#/$defs/ContentInterpretation"
9064
10171
  }
9065
10172
  },
9066
10173
  "required": [
@@ -9099,6 +10206,12 @@
9099
10206
  "items": {
9100
10207
  "$ref": "#/$defs/LayoutFrame"
9101
10208
  }
10209
+ },
10210
+ "origin": {
10211
+ "$ref": "#/$defs/ContentOrigin"
10212
+ },
10213
+ "interpretation": {
10214
+ "$ref": "#/$defs/ContentInterpretation"
9102
10215
  }
9103
10216
  },
9104
10217
  "required": [
@@ -9163,6 +10276,12 @@
9163
10276
  "items": {
9164
10277
  "$ref": "#/$defs/LayoutFrame"
9165
10278
  }
10279
+ },
10280
+ "origin": {
10281
+ "$ref": "#/$defs/ContentOrigin"
10282
+ },
10283
+ "interpretation": {
10284
+ "$ref": "#/$defs/ContentInterpretation"
9166
10285
  }
9167
10286
  },
9168
10287
  "required": [
@@ -9189,7 +10308,7 @@
9189
10308
  ]
9190
10309
  },
9191
10310
  "document": {
9192
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.7.0/schemas/content-document.schema.json"
10311
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.8.0/schemas/content-document.schema.json"
9193
10312
  },
9194
10313
  "frame": {
9195
10314
  "$ref": "#/$defs/Box"
@@ -10033,6 +11152,12 @@
10033
11152
  },
10034
11153
  "source": {
10035
11154
  "$ref": "#/$defs/SourceResidue"
11155
+ },
11156
+ "origin": {
11157
+ "$ref": "#/$defs/ContentOrigin"
11158
+ },
11159
+ "interpretation": {
11160
+ "$ref": "#/$defs/ContentInterpretation"
10036
11161
  }
10037
11162
  },
10038
11163
  "required": [