@imferno/schema 3.0.2-beta.05272ca → 3.0.2-beta.0ebead2

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@imferno/schema",
3
- "version": "3.0.2-beta.05272ca",
3
+ "version": "3.0.2-beta.0ebead2",
4
4
  "description": "JSON Schema definitions for SMPTE ST 2067 IMF types — validates imferno export output",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -101,11 +101,32 @@
101
101
  "volumeIndex"
102
102
  ],
103
103
  "properties": {
104
+ "length": {
105
+ "description": "`<Length>` in bytes, when present.",
106
+ "default": null,
107
+ "type": [
108
+ "integer",
109
+ "null"
110
+ ],
111
+ "format": "uint64",
112
+ "minimum": 0.0
113
+ },
114
+ "offset": {
115
+ "description": "`<Offset>` in bytes, when present.",
116
+ "default": null,
117
+ "type": [
118
+ "integer",
119
+ "null"
120
+ ],
121
+ "format": "uint64",
122
+ "minimum": 0.0
123
+ },
104
124
  "path": {
105
125
  "description": "File path relative to the IMP root directory.",
106
126
  "type": "string"
107
127
  },
108
128
  "volumeIndex": {
129
+ "description": "`<VolumeIndex>`; 1 when absent.",
109
130
  "type": "integer",
110
131
  "format": "uint32",
111
132
  "minimum": 0.0
@@ -946,6 +946,7 @@
946
946
  }
947
947
  },
948
948
  "ExtensionProperties": {
949
+ "description": "The CPL's `ExtensionProperties`: ApplicationIdentification (the Application IDs of every ST 2067-2 instance, space-separated), MaxCLL and MaxFALL.",
949
950
  "type": "object",
950
951
  "properties": {
951
952
  "ApplicationIdentification": {
@@ -975,6 +976,37 @@
975
976
  }
976
977
  }
977
978
  },
979
+ "ExtensionSequence": {
980
+ "description": "A Sequence of a kind imferno does not model (ST 2067-3 §6.9.3 Extension Sequence). Every Sequence derives from SequenceType, so its Id, TrackId and Resources are kept; the element is named by `name` (local name) and `namespace` (namespace URI; null when the element has no namespace).",
981
+ "type": "object",
982
+ "required": [
983
+ "Id",
984
+ "ResourceList",
985
+ "TrackId"
986
+ ],
987
+ "properties": {
988
+ "Id": {
989
+ "$ref": "#/definitions/ImfUuid"
990
+ },
991
+ "Name": {
992
+ "default": "",
993
+ "type": "string"
994
+ },
995
+ "Namespace": {
996
+ "default": null,
997
+ "type": [
998
+ "string",
999
+ "null"
1000
+ ]
1001
+ },
1002
+ "ResourceList": {
1003
+ "$ref": "#/definitions/ResourceList"
1004
+ },
1005
+ "TrackId": {
1006
+ "$ref": "#/definitions/ImfUuid"
1007
+ }
1008
+ }
1009
+ },
978
1010
  "ForcedNarrativeSequence": {
979
1011
  "type": "object",
980
1012
  "required": [
@@ -1014,7 +1046,7 @@
1014
1046
  }
1015
1047
  },
1016
1048
  "IABChannelSubDescriptor": {
1017
- "description": "Presence-only stub for ST 2067-201:2026 Annex E `IABChannelSubDescriptor`.\n\nThe 2026 spec defines the full item set in Table E.1 (`IABBedMetaID`, `IABChannelID`, `IABAudioDescription`, `IABAudioDescriptionText`); imferno's CPL parser only needs to count occurrences to fire the `IabChannelSubDescriptorRecommended` warning, so the inner shape is intentionally permissive — any nested content deserialises into the catch-all map without affecting presence.",
1049
+ "description": "Presence-only stub for ST 2067-201:2026 Annex E `IABChannelSubDescriptor`.\n\nThe 2026 spec defines the full item set in Table E.1 (`IABBedMetaID`, `IABChannelID`, `IABAudioDescription`, `IABAudioDescriptionText`); imferno's CPL parser only needs to count occurrences to fire the `IabChannelSubDescriptorRecommended` notice, so the inner shape is intentionally permissive — any nested content deserialises into the catch-all map without affecting presence.",
1018
1050
  "type": "object",
1019
1051
  "properties": {
1020
1052
  "IABBedMetaID": {
@@ -1080,14 +1112,12 @@
1080
1112
  ]
1081
1113
  },
1082
1114
  "ElectrospatialFormulation": {
1083
- "description": "ST 2067-201 §5.9: ElectrospatialFormulation shall NOT be present.",
1115
+ "description": "ST 2067-201 §5.9: if present, ElectrospatialFormulation shall be 15 (multi-channel mode default). Kept as written: RegXML writes the enumeration as its register symbol (`ElectroSpatialFormulation_MultiChannelMode`), some writers as the number. See [`IABEssenceDescriptor::electrospatial_formulation_value`].",
1084
1116
  "default": null,
1085
1117
  "type": [
1086
- "integer",
1118
+ "string",
1087
1119
  "null"
1088
- ],
1089
- "format": "uint32",
1090
- "minimum": 0.0
1120
+ ]
1091
1121
  },
1092
1122
  "InstanceID": {
1093
1123
  "default": null,
@@ -1244,6 +1274,14 @@
1244
1274
  "description": "ISXD (Immersive Sound XML Data) essence descriptor — Dolby Atmos sidecar format",
1245
1275
  "type": "object",
1246
1276
  "properties": {
1277
+ "ContainerFormat": {
1278
+ "description": "ST 2067-202 §9.1: the Essence Container UL shall be the Frame Wrapped ISXD Container UL (Table 3).",
1279
+ "default": null,
1280
+ "type": [
1281
+ "string",
1282
+ "null"
1283
+ ]
1284
+ },
1247
1285
  "DataEssenceCoding": {
1248
1286
  "default": null,
1249
1287
  "type": [
@@ -2325,6 +2363,17 @@
2325
2363
  }
2326
2364
  ]
2327
2365
  },
2366
+ "LeftEye": {
2367
+ "description": "`LeftEye` of a `cc:StereoImageTrackFileResourceType` resource (ST 2067-2:2013, :2016 and :2020). A stereo resource carries its SourceEncoding and TrackFileId per eye, not on the resource itself.",
2368
+ "anyOf": [
2369
+ {
2370
+ "$ref": "#/definitions/StereoEye"
2371
+ },
2372
+ {
2373
+ "type": "null"
2374
+ }
2375
+ ]
2376
+ },
2328
2377
  "Marker": {
2329
2378
  "default": [],
2330
2379
  "type": "array",
@@ -2341,6 +2390,17 @@
2341
2390
  "format": "uint64",
2342
2391
  "minimum": 0.0
2343
2392
  },
2393
+ "RightEye": {
2394
+ "description": "`RightEye` of a `cc:StereoImageTrackFileResourceType` resource.",
2395
+ "anyOf": [
2396
+ {
2397
+ "$ref": "#/definitions/StereoEye"
2398
+ },
2399
+ {
2400
+ "type": "null"
2401
+ }
2402
+ ]
2403
+ },
2344
2404
  "SourceDuration": {
2345
2405
  "default": null,
2346
2406
  "type": [
@@ -2416,6 +2476,14 @@
2416
2476
  "SequenceList": {
2417
2477
  "type": "object",
2418
2478
  "properties": {
2479
+ "ExtensionSequence": {
2480
+ "description": "Sequences whose element imferno does not model (ST 2067-3 §6.9.3 Extension Sequences, e.g. ST 2067-203 `MGASADMSignalSequence` or ST 2067-2 `CommentarySequence`), in document order. Filled by [`parse_cpl`] from the source XML so their EssenceDescriptor and Track File references resolve; no other rules are applied to them.",
2481
+ "default": [],
2482
+ "type": "array",
2483
+ "items": {
2484
+ "$ref": "#/definitions/ExtensionSequence"
2485
+ }
2486
+ },
2419
2487
  "ForcedNarrativeSequence": {
2420
2488
  "default": [],
2421
2489
  "type": "array",
@@ -2517,6 +2585,63 @@
2517
2585
  }
2518
2586
  }
2519
2587
  },
2588
+ "StereoEye": {
2589
+ "description": "One eye of a stereo resource: a `cpl:TrackFileResourceType` (ST 2067-2). Only the track file reference fields are kept; the eye's timing fields are checked by the XSD layer.",
2590
+ "type": "object",
2591
+ "properties": {
2592
+ "Hash": {
2593
+ "default": null,
2594
+ "type": [
2595
+ "string",
2596
+ "null"
2597
+ ]
2598
+ },
2599
+ "Id": {
2600
+ "default": null,
2601
+ "anyOf": [
2602
+ {
2603
+ "$ref": "#/definitions/ImfUuid"
2604
+ },
2605
+ {
2606
+ "type": "null"
2607
+ }
2608
+ ]
2609
+ },
2610
+ "KeyId": {
2611
+ "default": null,
2612
+ "anyOf": [
2613
+ {
2614
+ "$ref": "#/definitions/ImfUuid"
2615
+ },
2616
+ {
2617
+ "type": "null"
2618
+ }
2619
+ ]
2620
+ },
2621
+ "SourceEncoding": {
2622
+ "default": null,
2623
+ "anyOf": [
2624
+ {
2625
+ "$ref": "#/definitions/ImfUuid"
2626
+ },
2627
+ {
2628
+ "type": "null"
2629
+ }
2630
+ ]
2631
+ },
2632
+ "TrackFileId": {
2633
+ "default": null,
2634
+ "anyOf": [
2635
+ {
2636
+ "$ref": "#/definitions/ImfUuid"
2637
+ },
2638
+ {
2639
+ "type": "null"
2640
+ }
2641
+ ]
2642
+ }
2643
+ }
2644
+ },
2520
2645
  "SubtitlesSequence": {
2521
2646
  "type": "object",
2522
2647
  "required": [
@@ -2648,6 +2773,13 @@
2648
2773
  "Jpeg2000Ht"
2649
2774
  ]
2650
2775
  },
2776
+ {
2777
+ "description": "The HT-J2K Picture Coding Scheme node label (03010800, a NODE in the SMPTE Labels register). ST 2067-21:2023/2026 §6.2.5 require the leaf label 03010801 ([`VideoCodec::Jpeg2000Ht`]) instead.",
2778
+ "type": "string",
2779
+ "enum": [
2780
+ "Jpeg2000HtNode"
2781
+ ]
2782
+ },
2651
2783
  {
2652
2784
  "description": "VC-5 (SMPTE ST 2117)",
2653
2785
  "type": "string",
@@ -19,6 +19,13 @@
19
19
  "package": {
20
20
  "$ref": "#/definitions/PackageSummary"
21
21
  },
22
+ "ruleWarnings": {
23
+ "description": "Keys of the `rules` option that select no rule (typos, unknown editions); they were ignored. Absent when every key matched.",
24
+ "type": "array",
25
+ "items": {
26
+ "$ref": "#/definitions/RuleValidationWarning"
27
+ }
28
+ },
22
29
  "validation": {
23
30
  "$ref": "#/definitions/ValidationReport"
24
31
  }
@@ -521,6 +528,85 @@
521
528
  }
522
529
  }
523
530
  },
531
+ "RuleValidationReason": {
532
+ "oneOf": [
533
+ {
534
+ "description": "`source:<variant>` — `<variant>` isn't a known [`IssueSource`].",
535
+ "type": "object",
536
+ "required": [
537
+ "kind",
538
+ "variant"
539
+ ],
540
+ "properties": {
541
+ "kind": {
542
+ "type": "string",
543
+ "enum": [
544
+ "unknown_source"
545
+ ]
546
+ },
547
+ "variant": {
548
+ "type": "string"
549
+ }
550
+ }
551
+ },
552
+ {
553
+ "description": "The key matches no rule, edition or spec of the catalogue.",
554
+ "type": "object",
555
+ "required": [
556
+ "kind"
557
+ ],
558
+ "properties": {
559
+ "kind": {
560
+ "type": "string",
561
+ "enum": [
562
+ "matches_nothing"
563
+ ]
564
+ }
565
+ }
566
+ },
567
+ {
568
+ "description": "The key uses syntax the matcher doesn't support (e.g. `XSD/*`).",
569
+ "type": "object",
570
+ "required": [
571
+ "hint",
572
+ "kind"
573
+ ],
574
+ "properties": {
575
+ "hint": {
576
+ "type": "string"
577
+ },
578
+ "kind": {
579
+ "type": "string",
580
+ "enum": [
581
+ "unsupported_pattern"
582
+ ]
583
+ }
584
+ }
585
+ }
586
+ ]
587
+ },
588
+ "RuleValidationWarning": {
589
+ "description": "A diagnostic about a `RulesConfig` key that the engine couldn't match.\n\nProduced by [`RulesConfig::validate`]. Operators can use these at config-load time to catch typos before any validation work runs.",
590
+ "type": "object",
591
+ "required": [
592
+ "key",
593
+ "reason"
594
+ ],
595
+ "properties": {
596
+ "key": {
597
+ "description": "The configured key that triggered the warning.",
598
+ "type": "string"
599
+ },
600
+ "reason": {
601
+ "description": "Why it triggered.",
602
+ "allOf": [
603
+ {
604
+ "$ref": "#/definitions/RuleValidationReason"
605
+ }
606
+ ]
607
+ }
608
+ }
609
+ },
524
610
  "Severity": {
525
611
  "description": "Severity level of validation issues",
526
612
  "oneOf": [
@@ -841,6 +927,7 @@
841
927
  "errors",
842
928
  "info",
843
929
  "is_compliant",
930
+ "is_fully_validated",
844
931
  "is_playable",
845
932
  "profile",
846
933
  "timestamp",
@@ -872,6 +959,10 @@
872
959
  "description": "Whether the package is compliant with base SMPTE standards",
873
960
  "type": "boolean"
874
961
  },
962
+ "is_fully_validated": {
963
+ "description": "Whether everything in the package was validated. False when a finding says part of it was not (e.g. `IMFERNO:Cpl/ExtensionSequenceNotValidated` for S-ADM audio): then `is_compliant` only covers what was checked. A rule override that switches such a finding `off` moves it to `suppressed` but keeps this false.",
964
+ "type": "boolean"
965
+ },
875
966
  "is_playable": {
876
967
  "description": "Whether the package is playable despite issues",
877
968
  "type": "boolean"
@@ -589,11 +589,32 @@
589
589
  "volumeIndex"
590
590
  ],
591
591
  "properties": {
592
+ "length": {
593
+ "description": "`<Length>` in bytes, when present.",
594
+ "default": null,
595
+ "type": [
596
+ "integer",
597
+ "null"
598
+ ],
599
+ "format": "uint64",
600
+ "minimum": 0.0
601
+ },
602
+ "offset": {
603
+ "description": "`<Offset>` in bytes, when present.",
604
+ "default": null,
605
+ "type": [
606
+ "integer",
607
+ "null"
608
+ ],
609
+ "format": "uint64",
610
+ "minimum": 0.0
611
+ },
592
612
  "path": {
593
613
  "description": "File path relative to the IMP root directory.",
594
614
  "type": "string"
595
615
  },
596
616
  "volumeIndex": {
617
+ "description": "`<VolumeIndex>`; 1 when absent.",
597
618
  "type": "integer",
598
619
  "format": "uint32",
599
620
  "minimum": 0.0
@@ -1165,6 +1186,7 @@
1165
1186
  }
1166
1187
  },
1167
1188
  "ExtensionProperties": {
1189
+ "description": "The CPL's `ExtensionProperties`: ApplicationIdentification (the Application IDs of every ST 2067-2 instance, space-separated), MaxCLL and MaxFALL.",
1168
1190
  "type": "object",
1169
1191
  "properties": {
1170
1192
  "ApplicationIdentification": {
@@ -1194,6 +1216,37 @@
1194
1216
  }
1195
1217
  }
1196
1218
  },
1219
+ "ExtensionSequence": {
1220
+ "description": "A Sequence of a kind imferno does not model (ST 2067-3 §6.9.3 Extension Sequence). Every Sequence derives from SequenceType, so its Id, TrackId and Resources are kept; the element is named by `name` (local name) and `namespace` (namespace URI; null when the element has no namespace).",
1221
+ "type": "object",
1222
+ "required": [
1223
+ "Id",
1224
+ "ResourceList",
1225
+ "TrackId"
1226
+ ],
1227
+ "properties": {
1228
+ "Id": {
1229
+ "$ref": "#/definitions/ImfUuid"
1230
+ },
1231
+ "Name": {
1232
+ "default": "",
1233
+ "type": "string"
1234
+ },
1235
+ "Namespace": {
1236
+ "default": null,
1237
+ "type": [
1238
+ "string",
1239
+ "null"
1240
+ ]
1241
+ },
1242
+ "ResourceList": {
1243
+ "$ref": "#/definitions/ResourceList"
1244
+ },
1245
+ "TrackId": {
1246
+ "$ref": "#/definitions/ImfUuid"
1247
+ }
1248
+ }
1249
+ },
1197
1250
  "ForcedNarrativeSequence": {
1198
1251
  "type": "object",
1199
1252
  "required": [
@@ -1252,7 +1305,7 @@
1252
1305
  }
1253
1306
  },
1254
1307
  "IABChannelSubDescriptor": {
1255
- "description": "Presence-only stub for ST 2067-201:2026 Annex E `IABChannelSubDescriptor`.\n\nThe 2026 spec defines the full item set in Table E.1 (`IABBedMetaID`, `IABChannelID`, `IABAudioDescription`, `IABAudioDescriptionText`); imferno's CPL parser only needs to count occurrences to fire the `IabChannelSubDescriptorRecommended` warning, so the inner shape is intentionally permissive — any nested content deserialises into the catch-all map without affecting presence.",
1308
+ "description": "Presence-only stub for ST 2067-201:2026 Annex E `IABChannelSubDescriptor`.\n\nThe 2026 spec defines the full item set in Table E.1 (`IABBedMetaID`, `IABChannelID`, `IABAudioDescription`, `IABAudioDescriptionText`); imferno's CPL parser only needs to count occurrences to fire the `IabChannelSubDescriptorRecommended` notice, so the inner shape is intentionally permissive — any nested content deserialises into the catch-all map without affecting presence.",
1256
1309
  "type": "object",
1257
1310
  "properties": {
1258
1311
  "IABBedMetaID": {
@@ -1318,14 +1371,12 @@
1318
1371
  ]
1319
1372
  },
1320
1373
  "ElectrospatialFormulation": {
1321
- "description": "ST 2067-201 §5.9: ElectrospatialFormulation shall NOT be present.",
1374
+ "description": "ST 2067-201 §5.9: if present, ElectrospatialFormulation shall be 15 (multi-channel mode default). Kept as written: RegXML writes the enumeration as its register symbol (`ElectroSpatialFormulation_MultiChannelMode`), some writers as the number. See [`IABEssenceDescriptor::electrospatial_formulation_value`].",
1322
1375
  "default": null,
1323
1376
  "type": [
1324
- "integer",
1377
+ "string",
1325
1378
  "null"
1326
- ],
1327
- "format": "uint32",
1328
- "minimum": 0.0
1379
+ ]
1329
1380
  },
1330
1381
  "InstanceID": {
1331
1382
  "default": null,
@@ -1482,6 +1533,14 @@
1482
1533
  "description": "ISXD (Immersive Sound XML Data) essence descriptor — Dolby Atmos sidecar format",
1483
1534
  "type": "object",
1484
1535
  "properties": {
1536
+ "ContainerFormat": {
1537
+ "description": "ST 2067-202 §9.1: the Essence Container UL shall be the Frame Wrapped ISXD Container UL (Table 3).",
1538
+ "default": null,
1539
+ "type": [
1540
+ "string",
1541
+ "null"
1542
+ ]
1543
+ },
1485
1544
  "DataEssenceCoding": {
1486
1545
  "default": null,
1487
1546
  "type": [
@@ -2813,6 +2872,17 @@
2813
2872
  }
2814
2873
  ]
2815
2874
  },
2875
+ "LeftEye": {
2876
+ "description": "`LeftEye` of a `cc:StereoImageTrackFileResourceType` resource (ST 2067-2:2013, :2016 and :2020). A stereo resource carries its SourceEncoding and TrackFileId per eye, not on the resource itself.",
2877
+ "anyOf": [
2878
+ {
2879
+ "$ref": "#/definitions/StereoEye"
2880
+ },
2881
+ {
2882
+ "type": "null"
2883
+ }
2884
+ ]
2885
+ },
2816
2886
  "Marker": {
2817
2887
  "default": [],
2818
2888
  "type": "array",
@@ -2829,6 +2899,17 @@
2829
2899
  "format": "uint64",
2830
2900
  "minimum": 0.0
2831
2901
  },
2902
+ "RightEye": {
2903
+ "description": "`RightEye` of a `cc:StereoImageTrackFileResourceType` resource.",
2904
+ "anyOf": [
2905
+ {
2906
+ "$ref": "#/definitions/StereoEye"
2907
+ },
2908
+ {
2909
+ "type": "null"
2910
+ }
2911
+ ]
2912
+ },
2832
2913
  "SourceDuration": {
2833
2914
  "default": null,
2834
2915
  "type": [
@@ -2904,6 +2985,14 @@
2904
2985
  "SequenceList": {
2905
2986
  "type": "object",
2906
2987
  "properties": {
2988
+ "ExtensionSequence": {
2989
+ "description": "Sequences whose element imferno does not model (ST 2067-3 §6.9.3 Extension Sequences, e.g. ST 2067-203 `MGASADMSignalSequence` or ST 2067-2 `CommentarySequence`), in document order. Filled by [`parse_cpl`] from the source XML so their EssenceDescriptor and Track File references resolve; no other rules are applied to them.",
2990
+ "default": [],
2991
+ "type": "array",
2992
+ "items": {
2993
+ "$ref": "#/definitions/ExtensionSequence"
2994
+ }
2995
+ },
2907
2996
  "ForcedNarrativeSequence": {
2908
2997
  "default": [],
2909
2998
  "type": "array",
@@ -3081,6 +3170,63 @@
3081
3170
  }
3082
3171
  }
3083
3172
  },
3173
+ "StereoEye": {
3174
+ "description": "One eye of a stereo resource: a `cpl:TrackFileResourceType` (ST 2067-2). Only the track file reference fields are kept; the eye's timing fields are checked by the XSD layer.",
3175
+ "type": "object",
3176
+ "properties": {
3177
+ "Hash": {
3178
+ "default": null,
3179
+ "type": [
3180
+ "string",
3181
+ "null"
3182
+ ]
3183
+ },
3184
+ "Id": {
3185
+ "default": null,
3186
+ "anyOf": [
3187
+ {
3188
+ "$ref": "#/definitions/ImfUuid"
3189
+ },
3190
+ {
3191
+ "type": "null"
3192
+ }
3193
+ ]
3194
+ },
3195
+ "KeyId": {
3196
+ "default": null,
3197
+ "anyOf": [
3198
+ {
3199
+ "$ref": "#/definitions/ImfUuid"
3200
+ },
3201
+ {
3202
+ "type": "null"
3203
+ }
3204
+ ]
3205
+ },
3206
+ "SourceEncoding": {
3207
+ "default": null,
3208
+ "anyOf": [
3209
+ {
3210
+ "$ref": "#/definitions/ImfUuid"
3211
+ },
3212
+ {
3213
+ "type": "null"
3214
+ }
3215
+ ]
3216
+ },
3217
+ "TrackFileId": {
3218
+ "default": null,
3219
+ "anyOf": [
3220
+ {
3221
+ "$ref": "#/definitions/ImfUuid"
3222
+ },
3223
+ {
3224
+ "type": "null"
3225
+ }
3226
+ ]
3227
+ }
3228
+ }
3229
+ },
3084
3230
  "SubtitlesSequence": {
3085
3231
  "type": "object",
3086
3232
  "required": [
@@ -3212,6 +3358,13 @@
3212
3358
  "Jpeg2000Ht"
3213
3359
  ]
3214
3360
  },
3361
+ {
3362
+ "description": "The HT-J2K Picture Coding Scheme node label (03010800, a NODE in the SMPTE Labels register). ST 2067-21:2023/2026 §6.2.5 require the leaf label 03010801 ([`VideoCodec::Jpeg2000Ht`]) instead.",
3363
+ "type": "string",
3364
+ "enum": [
3365
+ "Jpeg2000HtNode"
3366
+ ]
3367
+ },
3215
3368
  {
3216
3369
  "description": "VC-5 (SMPTE ST 2117)",
3217
3370
  "type": "string",
@@ -8,6 +8,7 @@
8
8
  "errors",
9
9
  "info",
10
10
  "is_compliant",
11
+ "is_fully_validated",
11
12
  "is_playable",
12
13
  "profile",
13
14
  "timestamp",
@@ -39,6 +40,10 @@
39
40
  "description": "Whether the package is compliant with base SMPTE standards",
40
41
  "type": "boolean"
41
42
  },
43
+ "is_fully_validated": {
44
+ "description": "Whether everything in the package was validated. False when a finding says part of it was not (e.g. `IMFERNO:Cpl/ExtensionSequenceNotValidated` for S-ADM audio): then `is_compliant` only covers what was checked. A rule override that switches such a finding `off` moves it to `suppressed` but keeps this false.",
45
+ "type": "boolean"
46
+ },
42
47
  "is_playable": {
43
48
  "description": "Whether the package is playable despite issues",
44
49
  "type": "boolean"
@@ -660,11 +660,32 @@
660
660
  "volumeIndex"
661
661
  ],
662
662
  "properties": {
663
+ "length": {
664
+ "description": "`<Length>` in bytes, when present.",
665
+ "default": null,
666
+ "type": [
667
+ "integer",
668
+ "null"
669
+ ],
670
+ "format": "uint64",
671
+ "minimum": 0.0
672
+ },
673
+ "offset": {
674
+ "description": "`<Offset>` in bytes, when present.",
675
+ "default": null,
676
+ "type": [
677
+ "integer",
678
+ "null"
679
+ ],
680
+ "format": "uint64",
681
+ "minimum": 0.0
682
+ },
663
683
  "path": {
664
684
  "description": "File path relative to the IMP root directory.",
665
685
  "type": "string"
666
686
  },
667
687
  "volumeIndex": {
688
+ "description": "`<VolumeIndex>`; 1 when absent.",
668
689
  "type": "integer",
669
690
  "format": "uint32",
670
691
  "minimum": 0.0
@@ -1236,6 +1257,7 @@
1236
1257
  }
1237
1258
  },
1238
1259
  "ExtensionProperties": {
1260
+ "description": "The CPL's `ExtensionProperties`: ApplicationIdentification (the Application IDs of every ST 2067-2 instance, space-separated), MaxCLL and MaxFALL.",
1239
1261
  "type": "object",
1240
1262
  "properties": {
1241
1263
  "ApplicationIdentification": {
@@ -1265,6 +1287,37 @@
1265
1287
  }
1266
1288
  }
1267
1289
  },
1290
+ "ExtensionSequence": {
1291
+ "description": "A Sequence of a kind imferno does not model (ST 2067-3 §6.9.3 Extension Sequence). Every Sequence derives from SequenceType, so its Id, TrackId and Resources are kept; the element is named by `name` (local name) and `namespace` (namespace URI; null when the element has no namespace).",
1292
+ "type": "object",
1293
+ "required": [
1294
+ "Id",
1295
+ "ResourceList",
1296
+ "TrackId"
1297
+ ],
1298
+ "properties": {
1299
+ "Id": {
1300
+ "$ref": "#/definitions/ImfUuid"
1301
+ },
1302
+ "Name": {
1303
+ "default": "",
1304
+ "type": "string"
1305
+ },
1306
+ "Namespace": {
1307
+ "default": null,
1308
+ "type": [
1309
+ "string",
1310
+ "null"
1311
+ ]
1312
+ },
1313
+ "ResourceList": {
1314
+ "$ref": "#/definitions/ResourceList"
1315
+ },
1316
+ "TrackId": {
1317
+ "$ref": "#/definitions/ImfUuid"
1318
+ }
1319
+ }
1320
+ },
1268
1321
  "ForcedNarrativeSequence": {
1269
1322
  "type": "object",
1270
1323
  "required": [
@@ -1323,7 +1376,7 @@
1323
1376
  }
1324
1377
  },
1325
1378
  "IABChannelSubDescriptor": {
1326
- "description": "Presence-only stub for ST 2067-201:2026 Annex E `IABChannelSubDescriptor`.\n\nThe 2026 spec defines the full item set in Table E.1 (`IABBedMetaID`, `IABChannelID`, `IABAudioDescription`, `IABAudioDescriptionText`); imferno's CPL parser only needs to count occurrences to fire the `IabChannelSubDescriptorRecommended` warning, so the inner shape is intentionally permissive — any nested content deserialises into the catch-all map without affecting presence.",
1379
+ "description": "Presence-only stub for ST 2067-201:2026 Annex E `IABChannelSubDescriptor`.\n\nThe 2026 spec defines the full item set in Table E.1 (`IABBedMetaID`, `IABChannelID`, `IABAudioDescription`, `IABAudioDescriptionText`); imferno's CPL parser only needs to count occurrences to fire the `IabChannelSubDescriptorRecommended` notice, so the inner shape is intentionally permissive — any nested content deserialises into the catch-all map without affecting presence.",
1327
1380
  "type": "object",
1328
1381
  "properties": {
1329
1382
  "IABBedMetaID": {
@@ -1389,14 +1442,12 @@
1389
1442
  ]
1390
1443
  },
1391
1444
  "ElectrospatialFormulation": {
1392
- "description": "ST 2067-201 §5.9: ElectrospatialFormulation shall NOT be present.",
1445
+ "description": "ST 2067-201 §5.9: if present, ElectrospatialFormulation shall be 15 (multi-channel mode default). Kept as written: RegXML writes the enumeration as its register symbol (`ElectroSpatialFormulation_MultiChannelMode`), some writers as the number. See [`IABEssenceDescriptor::electrospatial_formulation_value`].",
1393
1446
  "default": null,
1394
1447
  "type": [
1395
- "integer",
1448
+ "string",
1396
1449
  "null"
1397
- ],
1398
- "format": "uint32",
1399
- "minimum": 0.0
1450
+ ]
1400
1451
  },
1401
1452
  "InstanceID": {
1402
1453
  "default": null,
@@ -1553,6 +1604,14 @@
1553
1604
  "description": "ISXD (Immersive Sound XML Data) essence descriptor — Dolby Atmos sidecar format",
1554
1605
  "type": "object",
1555
1606
  "properties": {
1607
+ "ContainerFormat": {
1608
+ "description": "ST 2067-202 §9.1: the Essence Container UL shall be the Frame Wrapped ISXD Container UL (Table 3).",
1609
+ "default": null,
1610
+ "type": [
1611
+ "string",
1612
+ "null"
1613
+ ]
1614
+ },
1556
1615
  "DataEssenceCoding": {
1557
1616
  "default": null,
1558
1617
  "type": [
@@ -3072,6 +3131,17 @@
3072
3131
  }
3073
3132
  ]
3074
3133
  },
3134
+ "LeftEye": {
3135
+ "description": "`LeftEye` of a `cc:StereoImageTrackFileResourceType` resource (ST 2067-2:2013, :2016 and :2020). A stereo resource carries its SourceEncoding and TrackFileId per eye, not on the resource itself.",
3136
+ "anyOf": [
3137
+ {
3138
+ "$ref": "#/definitions/StereoEye"
3139
+ },
3140
+ {
3141
+ "type": "null"
3142
+ }
3143
+ ]
3144
+ },
3075
3145
  "Marker": {
3076
3146
  "default": [],
3077
3147
  "type": "array",
@@ -3088,6 +3158,17 @@
3088
3158
  "format": "uint64",
3089
3159
  "minimum": 0.0
3090
3160
  },
3161
+ "RightEye": {
3162
+ "description": "`RightEye` of a `cc:StereoImageTrackFileResourceType` resource.",
3163
+ "anyOf": [
3164
+ {
3165
+ "$ref": "#/definitions/StereoEye"
3166
+ },
3167
+ {
3168
+ "type": "null"
3169
+ }
3170
+ ]
3171
+ },
3091
3172
  "SourceDuration": {
3092
3173
  "default": null,
3093
3174
  "type": [
@@ -3242,6 +3323,14 @@
3242
3323
  "SequenceList": {
3243
3324
  "type": "object",
3244
3325
  "properties": {
3326
+ "ExtensionSequence": {
3327
+ "description": "Sequences whose element imferno does not model (ST 2067-3 §6.9.3 Extension Sequences, e.g. ST 2067-203 `MGASADMSignalSequence` or ST 2067-2 `CommentarySequence`), in document order. Filled by [`parse_cpl`] from the source XML so their EssenceDescriptor and Track File references resolve; no other rules are applied to them.",
3328
+ "default": [],
3329
+ "type": "array",
3330
+ "items": {
3331
+ "$ref": "#/definitions/ExtensionSequence"
3332
+ }
3333
+ },
3245
3334
  "ForcedNarrativeSequence": {
3246
3335
  "default": [],
3247
3336
  "type": "array",
@@ -3548,6 +3637,63 @@
3548
3637
  }
3549
3638
  ]
3550
3639
  },
3640
+ "StereoEye": {
3641
+ "description": "One eye of a stereo resource: a `cpl:TrackFileResourceType` (ST 2067-2). Only the track file reference fields are kept; the eye's timing fields are checked by the XSD layer.",
3642
+ "type": "object",
3643
+ "properties": {
3644
+ "Hash": {
3645
+ "default": null,
3646
+ "type": [
3647
+ "string",
3648
+ "null"
3649
+ ]
3650
+ },
3651
+ "Id": {
3652
+ "default": null,
3653
+ "anyOf": [
3654
+ {
3655
+ "$ref": "#/definitions/ImfUuid"
3656
+ },
3657
+ {
3658
+ "type": "null"
3659
+ }
3660
+ ]
3661
+ },
3662
+ "KeyId": {
3663
+ "default": null,
3664
+ "anyOf": [
3665
+ {
3666
+ "$ref": "#/definitions/ImfUuid"
3667
+ },
3668
+ {
3669
+ "type": "null"
3670
+ }
3671
+ ]
3672
+ },
3673
+ "SourceEncoding": {
3674
+ "default": null,
3675
+ "anyOf": [
3676
+ {
3677
+ "$ref": "#/definitions/ImfUuid"
3678
+ },
3679
+ {
3680
+ "type": "null"
3681
+ }
3682
+ ]
3683
+ },
3684
+ "TrackFileId": {
3685
+ "default": null,
3686
+ "anyOf": [
3687
+ {
3688
+ "$ref": "#/definitions/ImfUuid"
3689
+ },
3690
+ {
3691
+ "type": "null"
3692
+ }
3693
+ ]
3694
+ }
3695
+ }
3696
+ },
3551
3697
  "Strength": {
3552
3698
  "description": "Normative strength of a rule in an edition's text.",
3553
3699
  "oneOf": [
@@ -3810,6 +3956,7 @@
3810
3956
  "errors",
3811
3957
  "info",
3812
3958
  "is_compliant",
3959
+ "is_fully_validated",
3813
3960
  "is_playable",
3814
3961
  "profile",
3815
3962
  "timestamp",
@@ -3841,6 +3988,10 @@
3841
3988
  "description": "Whether the package is compliant with base SMPTE standards",
3842
3989
  "type": "boolean"
3843
3990
  },
3991
+ "is_fully_validated": {
3992
+ "description": "Whether everything in the package was validated. False when a finding says part of it was not (e.g. `IMFERNO:Cpl/ExtensionSequenceNotValidated` for S-ADM audio): then `is_compliant` only covers what was checked. A rule override that switches such a finding `off` moves it to `suppressed` but keeps this false.",
3993
+ "type": "boolean"
3994
+ },
3844
3995
  "is_playable": {
3845
3996
  "description": "Whether the package is playable despite issues",
3846
3997
  "type": "boolean"
@@ -3918,6 +4069,13 @@
3918
4069
  "Jpeg2000Ht"
3919
4070
  ]
3920
4071
  },
4072
+ {
4073
+ "description": "The HT-J2K Picture Coding Scheme node label (03010800, a NODE in the SMPTE Labels register). ST 2067-21:2023/2026 §6.2.5 require the leaf label 03010801 ([`VideoCodec::Jpeg2000Ht`]) instead.",
4074
+ "type": "string",
4075
+ "enum": [
4076
+ "Jpeg2000HtNode"
4077
+ ]
4078
+ },
3921
4079
  {
3922
4080
  "description": "VC-5 (SMPTE ST 2117)",
3923
4081
  "type": "string",