@imferno/schema 3.0.2-fix-review-extension-sequences.ee00c2e → 3.0.2-fix-review-package-loading.6a7557b
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-fix-review-
|
|
3
|
+
"version": "3.0.2-fix-review-package-loading.6a7557b",
|
|
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",
|
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,37 +975,6 @@
|
|
|
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, `None` when unbound).",
|
|
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
|
-
},
|
|
1009
978
|
"ForcedNarrativeSequence": {
|
|
1010
979
|
"type": "object",
|
|
1011
980
|
"required": [
|
|
@@ -2469,14 +2438,6 @@
|
|
|
2469
2438
|
"SequenceList": {
|
|
2470
2439
|
"type": "object",
|
|
2471
2440
|
"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
|
-
},
|
|
2480
2441
|
"ForcedNarrativeSequence": {
|
|
2481
2442
|
"default": [],
|
|
2482
2443
|
"type": "array",
|
package/schemas/imf-report.json
CHANGED
|
@@ -927,7 +927,6 @@
|
|
|
927
927
|
"errors",
|
|
928
928
|
"info",
|
|
929
929
|
"is_compliant",
|
|
930
|
-
"is_fully_validated",
|
|
931
930
|
"is_playable",
|
|
932
931
|
"profile",
|
|
933
932
|
"timestamp",
|
|
@@ -959,10 +958,6 @@
|
|
|
959
958
|
"description": "Whether the package is compliant with base SMPTE standards",
|
|
960
959
|
"type": "boolean"
|
|
961
960
|
},
|
|
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.",
|
|
964
|
-
"type": "boolean"
|
|
965
|
-
},
|
|
966
961
|
"is_playable": {
|
|
967
962
|
"description": "Whether the package is playable despite issues",
|
|
968
963
|
"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,37 +1215,6 @@
|
|
|
1194
1215
|
}
|
|
1195
1216
|
}
|
|
1196
1217
|
},
|
|
1197
|
-
"ExtensionSequence": {
|
|
1198
|
-
"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, `None` when unbound).",
|
|
1199
|
-
"type": "object",
|
|
1200
|
-
"required": [
|
|
1201
|
-
"Id",
|
|
1202
|
-
"ResourceList",
|
|
1203
|
-
"TrackId"
|
|
1204
|
-
],
|
|
1205
|
-
"properties": {
|
|
1206
|
-
"Id": {
|
|
1207
|
-
"$ref": "#/definitions/ImfUuid"
|
|
1208
|
-
},
|
|
1209
|
-
"Name": {
|
|
1210
|
-
"default": "",
|
|
1211
|
-
"type": "string"
|
|
1212
|
-
},
|
|
1213
|
-
"Namespace": {
|
|
1214
|
-
"default": null,
|
|
1215
|
-
"type": [
|
|
1216
|
-
"string",
|
|
1217
|
-
"null"
|
|
1218
|
-
]
|
|
1219
|
-
},
|
|
1220
|
-
"ResourceList": {
|
|
1221
|
-
"$ref": "#/definitions/ResourceList"
|
|
1222
|
-
},
|
|
1223
|
-
"TrackId": {
|
|
1224
|
-
"$ref": "#/definitions/ImfUuid"
|
|
1225
|
-
}
|
|
1226
|
-
}
|
|
1227
|
-
},
|
|
1228
1218
|
"ForcedNarrativeSequence": {
|
|
1229
1219
|
"type": "object",
|
|
1230
1220
|
"required": [
|
|
@@ -2957,14 +2947,6 @@
|
|
|
2957
2947
|
"SequenceList": {
|
|
2958
2948
|
"type": "object",
|
|
2959
2949
|
"properties": {
|
|
2960
|
-
"ExtensionSequence": {
|
|
2961
|
-
"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.",
|
|
2962
|
-
"default": [],
|
|
2963
|
-
"type": "array",
|
|
2964
|
-
"items": {
|
|
2965
|
-
"$ref": "#/definitions/ExtensionSequence"
|
|
2966
|
-
}
|
|
2967
|
-
},
|
|
2968
2950
|
"ForcedNarrativeSequence": {
|
|
2969
2951
|
"default": [],
|
|
2970
2952
|
"type": "array",
|
|
@@ -8,7 +8,6 @@
|
|
|
8
8
|
"errors",
|
|
9
9
|
"info",
|
|
10
10
|
"is_compliant",
|
|
11
|
-
"is_fully_validated",
|
|
12
11
|
"is_playable",
|
|
13
12
|
"profile",
|
|
14
13
|
"timestamp",
|
|
@@ -40,10 +39,6 @@
|
|
|
40
39
|
"description": "Whether the package is compliant with base SMPTE standards",
|
|
41
40
|
"type": "boolean"
|
|
42
41
|
},
|
|
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.",
|
|
45
|
-
"type": "boolean"
|
|
46
|
-
},
|
|
47
42
|
"is_playable": {
|
|
48
43
|
"description": "Whether the package is playable despite issues",
|
|
49
44
|
"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,37 +1286,6 @@
|
|
|
1265
1286
|
}
|
|
1266
1287
|
}
|
|
1267
1288
|
},
|
|
1268
|
-
"ExtensionSequence": {
|
|
1269
|
-
"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, `None` when unbound).",
|
|
1270
|
-
"type": "object",
|
|
1271
|
-
"required": [
|
|
1272
|
-
"Id",
|
|
1273
|
-
"ResourceList",
|
|
1274
|
-
"TrackId"
|
|
1275
|
-
],
|
|
1276
|
-
"properties": {
|
|
1277
|
-
"Id": {
|
|
1278
|
-
"$ref": "#/definitions/ImfUuid"
|
|
1279
|
-
},
|
|
1280
|
-
"Name": {
|
|
1281
|
-
"default": "",
|
|
1282
|
-
"type": "string"
|
|
1283
|
-
},
|
|
1284
|
-
"Namespace": {
|
|
1285
|
-
"default": null,
|
|
1286
|
-
"type": [
|
|
1287
|
-
"string",
|
|
1288
|
-
"null"
|
|
1289
|
-
]
|
|
1290
|
-
},
|
|
1291
|
-
"ResourceList": {
|
|
1292
|
-
"$ref": "#/definitions/ResourceList"
|
|
1293
|
-
},
|
|
1294
|
-
"TrackId": {
|
|
1295
|
-
"$ref": "#/definitions/ImfUuid"
|
|
1296
|
-
}
|
|
1297
|
-
}
|
|
1298
|
-
},
|
|
1299
1289
|
"ForcedNarrativeSequence": {
|
|
1300
1290
|
"type": "object",
|
|
1301
1291
|
"required": [
|
|
@@ -3295,14 +3285,6 @@
|
|
|
3295
3285
|
"SequenceList": {
|
|
3296
3286
|
"type": "object",
|
|
3297
3287
|
"properties": {
|
|
3298
|
-
"ExtensionSequence": {
|
|
3299
|
-
"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.",
|
|
3300
|
-
"default": [],
|
|
3301
|
-
"type": "array",
|
|
3302
|
-
"items": {
|
|
3303
|
-
"$ref": "#/definitions/ExtensionSequence"
|
|
3304
|
-
}
|
|
3305
|
-
},
|
|
3306
3288
|
"ForcedNarrativeSequence": {
|
|
3307
3289
|
"default": [],
|
|
3308
3290
|
"type": "array",
|
|
@@ -3928,7 +3910,6 @@
|
|
|
3928
3910
|
"errors",
|
|
3929
3911
|
"info",
|
|
3930
3912
|
"is_compliant",
|
|
3931
|
-
"is_fully_validated",
|
|
3932
3913
|
"is_playable",
|
|
3933
3914
|
"profile",
|
|
3934
3915
|
"timestamp",
|
|
@@ -3960,10 +3941,6 @@
|
|
|
3960
3941
|
"description": "Whether the package is compliant with base SMPTE standards",
|
|
3961
3942
|
"type": "boolean"
|
|
3962
3943
|
},
|
|
3963
|
-
"is_fully_validated": {
|
|
3964
|
-
"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.",
|
|
3965
|
-
"type": "boolean"
|
|
3966
|
-
},
|
|
3967
3944
|
"is_playable": {
|
|
3968
3945
|
"description": "Whether the package is playable despite issues",
|
|
3969
3946
|
"type": "boolean"
|