@imferno/schema 3.0.2-beta.43d9cf9 → 3.0.2-beta.4e10253
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
package/schemas/asset-map.json
CHANGED
|
@@ -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
|
|
@@ -975,6 +975,37 @@
|
|
|
975
975
|
}
|
|
976
976
|
}
|
|
977
977
|
},
|
|
978
|
+
"ExtensionSequence": {
|
|
979
|
+
"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).",
|
|
980
|
+
"type": "object",
|
|
981
|
+
"required": [
|
|
982
|
+
"Id",
|
|
983
|
+
"ResourceList",
|
|
984
|
+
"TrackId"
|
|
985
|
+
],
|
|
986
|
+
"properties": {
|
|
987
|
+
"Id": {
|
|
988
|
+
"$ref": "#/definitions/ImfUuid"
|
|
989
|
+
},
|
|
990
|
+
"Name": {
|
|
991
|
+
"default": "",
|
|
992
|
+
"type": "string"
|
|
993
|
+
},
|
|
994
|
+
"Namespace": {
|
|
995
|
+
"default": null,
|
|
996
|
+
"type": [
|
|
997
|
+
"string",
|
|
998
|
+
"null"
|
|
999
|
+
]
|
|
1000
|
+
},
|
|
1001
|
+
"ResourceList": {
|
|
1002
|
+
"$ref": "#/definitions/ResourceList"
|
|
1003
|
+
},
|
|
1004
|
+
"TrackId": {
|
|
1005
|
+
"$ref": "#/definitions/ImfUuid"
|
|
1006
|
+
}
|
|
1007
|
+
}
|
|
1008
|
+
},
|
|
978
1009
|
"ForcedNarrativeSequence": {
|
|
979
1010
|
"type": "object",
|
|
980
1011
|
"required": [
|
|
@@ -2325,6 +2356,17 @@
|
|
|
2325
2356
|
}
|
|
2326
2357
|
]
|
|
2327
2358
|
},
|
|
2359
|
+
"LeftEye": {
|
|
2360
|
+
"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.",
|
|
2361
|
+
"anyOf": [
|
|
2362
|
+
{
|
|
2363
|
+
"$ref": "#/definitions/StereoEye"
|
|
2364
|
+
},
|
|
2365
|
+
{
|
|
2366
|
+
"type": "null"
|
|
2367
|
+
}
|
|
2368
|
+
]
|
|
2369
|
+
},
|
|
2328
2370
|
"Marker": {
|
|
2329
2371
|
"default": [],
|
|
2330
2372
|
"type": "array",
|
|
@@ -2341,6 +2383,17 @@
|
|
|
2341
2383
|
"format": "uint64",
|
|
2342
2384
|
"minimum": 0.0
|
|
2343
2385
|
},
|
|
2386
|
+
"RightEye": {
|
|
2387
|
+
"description": "`RightEye` of a `cc:StereoImageTrackFileResourceType` resource.",
|
|
2388
|
+
"anyOf": [
|
|
2389
|
+
{
|
|
2390
|
+
"$ref": "#/definitions/StereoEye"
|
|
2391
|
+
},
|
|
2392
|
+
{
|
|
2393
|
+
"type": "null"
|
|
2394
|
+
}
|
|
2395
|
+
]
|
|
2396
|
+
},
|
|
2344
2397
|
"SourceDuration": {
|
|
2345
2398
|
"default": null,
|
|
2346
2399
|
"type": [
|
|
@@ -2416,6 +2469,14 @@
|
|
|
2416
2469
|
"SequenceList": {
|
|
2417
2470
|
"type": "object",
|
|
2418
2471
|
"properties": {
|
|
2472
|
+
"ExtensionSequence": {
|
|
2473
|
+
"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.",
|
|
2474
|
+
"default": [],
|
|
2475
|
+
"type": "array",
|
|
2476
|
+
"items": {
|
|
2477
|
+
"$ref": "#/definitions/ExtensionSequence"
|
|
2478
|
+
}
|
|
2479
|
+
},
|
|
2419
2480
|
"ForcedNarrativeSequence": {
|
|
2420
2481
|
"default": [],
|
|
2421
2482
|
"type": "array",
|
|
@@ -2517,6 +2578,63 @@
|
|
|
2517
2578
|
}
|
|
2518
2579
|
}
|
|
2519
2580
|
},
|
|
2581
|
+
"StereoEye": {
|
|
2582
|
+
"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.",
|
|
2583
|
+
"type": "object",
|
|
2584
|
+
"properties": {
|
|
2585
|
+
"Hash": {
|
|
2586
|
+
"default": null,
|
|
2587
|
+
"type": [
|
|
2588
|
+
"string",
|
|
2589
|
+
"null"
|
|
2590
|
+
]
|
|
2591
|
+
},
|
|
2592
|
+
"Id": {
|
|
2593
|
+
"default": null,
|
|
2594
|
+
"anyOf": [
|
|
2595
|
+
{
|
|
2596
|
+
"$ref": "#/definitions/ImfUuid"
|
|
2597
|
+
},
|
|
2598
|
+
{
|
|
2599
|
+
"type": "null"
|
|
2600
|
+
}
|
|
2601
|
+
]
|
|
2602
|
+
},
|
|
2603
|
+
"KeyId": {
|
|
2604
|
+
"default": null,
|
|
2605
|
+
"anyOf": [
|
|
2606
|
+
{
|
|
2607
|
+
"$ref": "#/definitions/ImfUuid"
|
|
2608
|
+
},
|
|
2609
|
+
{
|
|
2610
|
+
"type": "null"
|
|
2611
|
+
}
|
|
2612
|
+
]
|
|
2613
|
+
},
|
|
2614
|
+
"SourceEncoding": {
|
|
2615
|
+
"default": null,
|
|
2616
|
+
"anyOf": [
|
|
2617
|
+
{
|
|
2618
|
+
"$ref": "#/definitions/ImfUuid"
|
|
2619
|
+
},
|
|
2620
|
+
{
|
|
2621
|
+
"type": "null"
|
|
2622
|
+
}
|
|
2623
|
+
]
|
|
2624
|
+
},
|
|
2625
|
+
"TrackFileId": {
|
|
2626
|
+
"default": null,
|
|
2627
|
+
"anyOf": [
|
|
2628
|
+
{
|
|
2629
|
+
"$ref": "#/definitions/ImfUuid"
|
|
2630
|
+
},
|
|
2631
|
+
{
|
|
2632
|
+
"type": "null"
|
|
2633
|
+
}
|
|
2634
|
+
]
|
|
2635
|
+
}
|
|
2636
|
+
}
|
|
2637
|
+
},
|
|
2520
2638
|
"SubtitlesSequence": {
|
|
2521
2639
|
"type": "object",
|
|
2522
2640
|
"required": [
|
package/schemas/imf-report.json
CHANGED
|
@@ -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
|
|
@@ -1194,6 +1215,37 @@
|
|
|
1194
1215
|
}
|
|
1195
1216
|
}
|
|
1196
1217
|
},
|
|
1218
|
+
"ExtensionSequence": {
|
|
1219
|
+
"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).",
|
|
1220
|
+
"type": "object",
|
|
1221
|
+
"required": [
|
|
1222
|
+
"Id",
|
|
1223
|
+
"ResourceList",
|
|
1224
|
+
"TrackId"
|
|
1225
|
+
],
|
|
1226
|
+
"properties": {
|
|
1227
|
+
"Id": {
|
|
1228
|
+
"$ref": "#/definitions/ImfUuid"
|
|
1229
|
+
},
|
|
1230
|
+
"Name": {
|
|
1231
|
+
"default": "",
|
|
1232
|
+
"type": "string"
|
|
1233
|
+
},
|
|
1234
|
+
"Namespace": {
|
|
1235
|
+
"default": null,
|
|
1236
|
+
"type": [
|
|
1237
|
+
"string",
|
|
1238
|
+
"null"
|
|
1239
|
+
]
|
|
1240
|
+
},
|
|
1241
|
+
"ResourceList": {
|
|
1242
|
+
"$ref": "#/definitions/ResourceList"
|
|
1243
|
+
},
|
|
1244
|
+
"TrackId": {
|
|
1245
|
+
"$ref": "#/definitions/ImfUuid"
|
|
1246
|
+
}
|
|
1247
|
+
}
|
|
1248
|
+
},
|
|
1197
1249
|
"ForcedNarrativeSequence": {
|
|
1198
1250
|
"type": "object",
|
|
1199
1251
|
"required": [
|
|
@@ -2813,6 +2865,17 @@
|
|
|
2813
2865
|
}
|
|
2814
2866
|
]
|
|
2815
2867
|
},
|
|
2868
|
+
"LeftEye": {
|
|
2869
|
+
"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.",
|
|
2870
|
+
"anyOf": [
|
|
2871
|
+
{
|
|
2872
|
+
"$ref": "#/definitions/StereoEye"
|
|
2873
|
+
},
|
|
2874
|
+
{
|
|
2875
|
+
"type": "null"
|
|
2876
|
+
}
|
|
2877
|
+
]
|
|
2878
|
+
},
|
|
2816
2879
|
"Marker": {
|
|
2817
2880
|
"default": [],
|
|
2818
2881
|
"type": "array",
|
|
@@ -2829,6 +2892,17 @@
|
|
|
2829
2892
|
"format": "uint64",
|
|
2830
2893
|
"minimum": 0.0
|
|
2831
2894
|
},
|
|
2895
|
+
"RightEye": {
|
|
2896
|
+
"description": "`RightEye` of a `cc:StereoImageTrackFileResourceType` resource.",
|
|
2897
|
+
"anyOf": [
|
|
2898
|
+
{
|
|
2899
|
+
"$ref": "#/definitions/StereoEye"
|
|
2900
|
+
},
|
|
2901
|
+
{
|
|
2902
|
+
"type": "null"
|
|
2903
|
+
}
|
|
2904
|
+
]
|
|
2905
|
+
},
|
|
2832
2906
|
"SourceDuration": {
|
|
2833
2907
|
"default": null,
|
|
2834
2908
|
"type": [
|
|
@@ -2904,6 +2978,14 @@
|
|
|
2904
2978
|
"SequenceList": {
|
|
2905
2979
|
"type": "object",
|
|
2906
2980
|
"properties": {
|
|
2981
|
+
"ExtensionSequence": {
|
|
2982
|
+
"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.",
|
|
2983
|
+
"default": [],
|
|
2984
|
+
"type": "array",
|
|
2985
|
+
"items": {
|
|
2986
|
+
"$ref": "#/definitions/ExtensionSequence"
|
|
2987
|
+
}
|
|
2988
|
+
},
|
|
2907
2989
|
"ForcedNarrativeSequence": {
|
|
2908
2990
|
"default": [],
|
|
2909
2991
|
"type": "array",
|
|
@@ -3081,6 +3163,63 @@
|
|
|
3081
3163
|
}
|
|
3082
3164
|
}
|
|
3083
3165
|
},
|
|
3166
|
+
"StereoEye": {
|
|
3167
|
+
"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.",
|
|
3168
|
+
"type": "object",
|
|
3169
|
+
"properties": {
|
|
3170
|
+
"Hash": {
|
|
3171
|
+
"default": null,
|
|
3172
|
+
"type": [
|
|
3173
|
+
"string",
|
|
3174
|
+
"null"
|
|
3175
|
+
]
|
|
3176
|
+
},
|
|
3177
|
+
"Id": {
|
|
3178
|
+
"default": null,
|
|
3179
|
+
"anyOf": [
|
|
3180
|
+
{
|
|
3181
|
+
"$ref": "#/definitions/ImfUuid"
|
|
3182
|
+
},
|
|
3183
|
+
{
|
|
3184
|
+
"type": "null"
|
|
3185
|
+
}
|
|
3186
|
+
]
|
|
3187
|
+
},
|
|
3188
|
+
"KeyId": {
|
|
3189
|
+
"default": null,
|
|
3190
|
+
"anyOf": [
|
|
3191
|
+
{
|
|
3192
|
+
"$ref": "#/definitions/ImfUuid"
|
|
3193
|
+
},
|
|
3194
|
+
{
|
|
3195
|
+
"type": "null"
|
|
3196
|
+
}
|
|
3197
|
+
]
|
|
3198
|
+
},
|
|
3199
|
+
"SourceEncoding": {
|
|
3200
|
+
"default": null,
|
|
3201
|
+
"anyOf": [
|
|
3202
|
+
{
|
|
3203
|
+
"$ref": "#/definitions/ImfUuid"
|
|
3204
|
+
},
|
|
3205
|
+
{
|
|
3206
|
+
"type": "null"
|
|
3207
|
+
}
|
|
3208
|
+
]
|
|
3209
|
+
},
|
|
3210
|
+
"TrackFileId": {
|
|
3211
|
+
"default": null,
|
|
3212
|
+
"anyOf": [
|
|
3213
|
+
{
|
|
3214
|
+
"$ref": "#/definitions/ImfUuid"
|
|
3215
|
+
},
|
|
3216
|
+
{
|
|
3217
|
+
"type": "null"
|
|
3218
|
+
}
|
|
3219
|
+
]
|
|
3220
|
+
}
|
|
3221
|
+
}
|
|
3222
|
+
},
|
|
3084
3223
|
"SubtitlesSequence": {
|
|
3085
3224
|
"type": "object",
|
|
3086
3225
|
"required": [
|
|
@@ -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
|
|
@@ -1265,6 +1286,37 @@
|
|
|
1265
1286
|
}
|
|
1266
1287
|
}
|
|
1267
1288
|
},
|
|
1289
|
+
"ExtensionSequence": {
|
|
1290
|
+
"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).",
|
|
1291
|
+
"type": "object",
|
|
1292
|
+
"required": [
|
|
1293
|
+
"Id",
|
|
1294
|
+
"ResourceList",
|
|
1295
|
+
"TrackId"
|
|
1296
|
+
],
|
|
1297
|
+
"properties": {
|
|
1298
|
+
"Id": {
|
|
1299
|
+
"$ref": "#/definitions/ImfUuid"
|
|
1300
|
+
},
|
|
1301
|
+
"Name": {
|
|
1302
|
+
"default": "",
|
|
1303
|
+
"type": "string"
|
|
1304
|
+
},
|
|
1305
|
+
"Namespace": {
|
|
1306
|
+
"default": null,
|
|
1307
|
+
"type": [
|
|
1308
|
+
"string",
|
|
1309
|
+
"null"
|
|
1310
|
+
]
|
|
1311
|
+
},
|
|
1312
|
+
"ResourceList": {
|
|
1313
|
+
"$ref": "#/definitions/ResourceList"
|
|
1314
|
+
},
|
|
1315
|
+
"TrackId": {
|
|
1316
|
+
"$ref": "#/definitions/ImfUuid"
|
|
1317
|
+
}
|
|
1318
|
+
}
|
|
1319
|
+
},
|
|
1268
1320
|
"ForcedNarrativeSequence": {
|
|
1269
1321
|
"type": "object",
|
|
1270
1322
|
"required": [
|
|
@@ -3072,6 +3124,17 @@
|
|
|
3072
3124
|
}
|
|
3073
3125
|
]
|
|
3074
3126
|
},
|
|
3127
|
+
"LeftEye": {
|
|
3128
|
+
"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.",
|
|
3129
|
+
"anyOf": [
|
|
3130
|
+
{
|
|
3131
|
+
"$ref": "#/definitions/StereoEye"
|
|
3132
|
+
},
|
|
3133
|
+
{
|
|
3134
|
+
"type": "null"
|
|
3135
|
+
}
|
|
3136
|
+
]
|
|
3137
|
+
},
|
|
3075
3138
|
"Marker": {
|
|
3076
3139
|
"default": [],
|
|
3077
3140
|
"type": "array",
|
|
@@ -3088,6 +3151,17 @@
|
|
|
3088
3151
|
"format": "uint64",
|
|
3089
3152
|
"minimum": 0.0
|
|
3090
3153
|
},
|
|
3154
|
+
"RightEye": {
|
|
3155
|
+
"description": "`RightEye` of a `cc:StereoImageTrackFileResourceType` resource.",
|
|
3156
|
+
"anyOf": [
|
|
3157
|
+
{
|
|
3158
|
+
"$ref": "#/definitions/StereoEye"
|
|
3159
|
+
},
|
|
3160
|
+
{
|
|
3161
|
+
"type": "null"
|
|
3162
|
+
}
|
|
3163
|
+
]
|
|
3164
|
+
},
|
|
3091
3165
|
"SourceDuration": {
|
|
3092
3166
|
"default": null,
|
|
3093
3167
|
"type": [
|
|
@@ -3242,6 +3316,14 @@
|
|
|
3242
3316
|
"SequenceList": {
|
|
3243
3317
|
"type": "object",
|
|
3244
3318
|
"properties": {
|
|
3319
|
+
"ExtensionSequence": {
|
|
3320
|
+
"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.",
|
|
3321
|
+
"default": [],
|
|
3322
|
+
"type": "array",
|
|
3323
|
+
"items": {
|
|
3324
|
+
"$ref": "#/definitions/ExtensionSequence"
|
|
3325
|
+
}
|
|
3326
|
+
},
|
|
3245
3327
|
"ForcedNarrativeSequence": {
|
|
3246
3328
|
"default": [],
|
|
3247
3329
|
"type": "array",
|
|
@@ -3548,6 +3630,63 @@
|
|
|
3548
3630
|
}
|
|
3549
3631
|
]
|
|
3550
3632
|
},
|
|
3633
|
+
"StereoEye": {
|
|
3634
|
+
"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.",
|
|
3635
|
+
"type": "object",
|
|
3636
|
+
"properties": {
|
|
3637
|
+
"Hash": {
|
|
3638
|
+
"default": null,
|
|
3639
|
+
"type": [
|
|
3640
|
+
"string",
|
|
3641
|
+
"null"
|
|
3642
|
+
]
|
|
3643
|
+
},
|
|
3644
|
+
"Id": {
|
|
3645
|
+
"default": null,
|
|
3646
|
+
"anyOf": [
|
|
3647
|
+
{
|
|
3648
|
+
"$ref": "#/definitions/ImfUuid"
|
|
3649
|
+
},
|
|
3650
|
+
{
|
|
3651
|
+
"type": "null"
|
|
3652
|
+
}
|
|
3653
|
+
]
|
|
3654
|
+
},
|
|
3655
|
+
"KeyId": {
|
|
3656
|
+
"default": null,
|
|
3657
|
+
"anyOf": [
|
|
3658
|
+
{
|
|
3659
|
+
"$ref": "#/definitions/ImfUuid"
|
|
3660
|
+
},
|
|
3661
|
+
{
|
|
3662
|
+
"type": "null"
|
|
3663
|
+
}
|
|
3664
|
+
]
|
|
3665
|
+
},
|
|
3666
|
+
"SourceEncoding": {
|
|
3667
|
+
"default": null,
|
|
3668
|
+
"anyOf": [
|
|
3669
|
+
{
|
|
3670
|
+
"$ref": "#/definitions/ImfUuid"
|
|
3671
|
+
},
|
|
3672
|
+
{
|
|
3673
|
+
"type": "null"
|
|
3674
|
+
}
|
|
3675
|
+
]
|
|
3676
|
+
},
|
|
3677
|
+
"TrackFileId": {
|
|
3678
|
+
"default": null,
|
|
3679
|
+
"anyOf": [
|
|
3680
|
+
{
|
|
3681
|
+
"$ref": "#/definitions/ImfUuid"
|
|
3682
|
+
},
|
|
3683
|
+
{
|
|
3684
|
+
"type": "null"
|
|
3685
|
+
}
|
|
3686
|
+
]
|
|
3687
|
+
}
|
|
3688
|
+
}
|
|
3689
|
+
},
|
|
3551
3690
|
"Strength": {
|
|
3552
3691
|
"description": "Normative strength of a rule in an edition's text.",
|
|
3553
3692
|
"oneOf": [
|
|
@@ -3810,6 +3949,7 @@
|
|
|
3810
3949
|
"errors",
|
|
3811
3950
|
"info",
|
|
3812
3951
|
"is_compliant",
|
|
3952
|
+
"is_fully_validated",
|
|
3813
3953
|
"is_playable",
|
|
3814
3954
|
"profile",
|
|
3815
3955
|
"timestamp",
|
|
@@ -3841,6 +3981,10 @@
|
|
|
3841
3981
|
"description": "Whether the package is compliant with base SMPTE standards",
|
|
3842
3982
|
"type": "boolean"
|
|
3843
3983
|
},
|
|
3984
|
+
"is_fully_validated": {
|
|
3985
|
+
"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.",
|
|
3986
|
+
"type": "boolean"
|
|
3987
|
+
},
|
|
3844
3988
|
"is_playable": {
|
|
3845
3989
|
"description": "Whether the package is playable despite issues",
|
|
3846
3990
|
"type": "boolean"
|