@imferno/schema 3.0.2-fix-review-extension-sequences.45e90ea → 3.0.2-fix-review-cli-settings.b024e0d
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-cli-settings.b024e0d",
|
|
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",
|
|
@@ -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": [
|
|
@@ -2447,14 +2416,6 @@
|
|
|
2447
2416
|
"SequenceList": {
|
|
2448
2417
|
"type": "object",
|
|
2449
2418
|
"properties": {
|
|
2450
|
-
"ExtensionSequence": {
|
|
2451
|
-
"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.",
|
|
2452
|
-
"default": [],
|
|
2453
|
-
"type": "array",
|
|
2454
|
-
"items": {
|
|
2455
|
-
"$ref": "#/definitions/ExtensionSequence"
|
|
2456
|
-
}
|
|
2457
|
-
},
|
|
2458
2419
|
"ForcedNarrativeSequence": {
|
|
2459
2420
|
"default": [],
|
|
2460
2421
|
"type": "array",
|
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,7 +927,6 @@
|
|
|
841
927
|
"errors",
|
|
842
928
|
"info",
|
|
843
929
|
"is_compliant",
|
|
844
|
-
"is_fully_validated",
|
|
845
930
|
"is_playable",
|
|
846
931
|
"profile",
|
|
847
932
|
"timestamp",
|
|
@@ -873,10 +958,6 @@
|
|
|
873
958
|
"description": "Whether the package is compliant with base SMPTE standards",
|
|
874
959
|
"type": "boolean"
|
|
875
960
|
},
|
|
876
|
-
"is_fully_validated": {
|
|
877
|
-
"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.",
|
|
878
|
-
"type": "boolean"
|
|
879
|
-
},
|
|
880
961
|
"is_playable": {
|
|
881
962
|
"description": "Whether the package is playable despite issues",
|
|
882
963
|
"type": "boolean"
|
|
@@ -1194,37 +1194,6 @@
|
|
|
1194
1194
|
}
|
|
1195
1195
|
}
|
|
1196
1196
|
},
|
|
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
1197
|
"ForcedNarrativeSequence": {
|
|
1229
1198
|
"type": "object",
|
|
1230
1199
|
"required": [
|
|
@@ -2935,14 +2904,6 @@
|
|
|
2935
2904
|
"SequenceList": {
|
|
2936
2905
|
"type": "object",
|
|
2937
2906
|
"properties": {
|
|
2938
|
-
"ExtensionSequence": {
|
|
2939
|
-
"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.",
|
|
2940
|
-
"default": [],
|
|
2941
|
-
"type": "array",
|
|
2942
|
-
"items": {
|
|
2943
|
-
"$ref": "#/definitions/ExtensionSequence"
|
|
2944
|
-
}
|
|
2945
|
-
},
|
|
2946
2907
|
"ForcedNarrativeSequence": {
|
|
2947
2908
|
"default": [],
|
|
2948
2909
|
"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"
|
|
@@ -1265,37 +1265,6 @@
|
|
|
1265
1265
|
}
|
|
1266
1266
|
}
|
|
1267
1267
|
},
|
|
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
1268
|
"ForcedNarrativeSequence": {
|
|
1300
1269
|
"type": "object",
|
|
1301
1270
|
"required": [
|
|
@@ -3273,14 +3242,6 @@
|
|
|
3273
3242
|
"SequenceList": {
|
|
3274
3243
|
"type": "object",
|
|
3275
3244
|
"properties": {
|
|
3276
|
-
"ExtensionSequence": {
|
|
3277
|
-
"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.",
|
|
3278
|
-
"default": [],
|
|
3279
|
-
"type": "array",
|
|
3280
|
-
"items": {
|
|
3281
|
-
"$ref": "#/definitions/ExtensionSequence"
|
|
3282
|
-
}
|
|
3283
|
-
},
|
|
3284
3245
|
"ForcedNarrativeSequence": {
|
|
3285
3246
|
"default": [],
|
|
3286
3247
|
"type": "array",
|
|
@@ -3849,7 +3810,6 @@
|
|
|
3849
3810
|
"errors",
|
|
3850
3811
|
"info",
|
|
3851
3812
|
"is_compliant",
|
|
3852
|
-
"is_fully_validated",
|
|
3853
3813
|
"is_playable",
|
|
3854
3814
|
"profile",
|
|
3855
3815
|
"timestamp",
|
|
@@ -3881,10 +3841,6 @@
|
|
|
3881
3841
|
"description": "Whether the package is compliant with base SMPTE standards",
|
|
3882
3842
|
"type": "boolean"
|
|
3883
3843
|
},
|
|
3884
|
-
"is_fully_validated": {
|
|
3885
|
-
"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.",
|
|
3886
|
-
"type": "boolean"
|
|
3887
|
-
},
|
|
3888
3844
|
"is_playable": {
|
|
3889
3845
|
"description": "Whether the package is playable despite issues",
|
|
3890
3846
|
"type": "boolean"
|