@imferno/schema 3.0.2-fix-review-cli-settings.8910c9e → 3.0.2-fix-review-extension-sequences.bf6b634
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-extension-sequences.bf6b634",
|
|
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,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, `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
|
+
},
|
|
978
1009
|
"ForcedNarrativeSequence": {
|
|
979
1010
|
"type": "object",
|
|
980
1011
|
"required": [
|
|
@@ -2416,6 +2447,14 @@
|
|
|
2416
2447
|
"SequenceList": {
|
|
2417
2448
|
"type": "object",
|
|
2418
2449
|
"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
|
+
},
|
|
2419
2458
|
"ForcedNarrativeSequence": {
|
|
2420
2459
|
"default": [],
|
|
2421
2460
|
"type": "array",
|
package/schemas/imf-report.json
CHANGED
|
@@ -19,13 +19,6 @@
|
|
|
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
|
-
},
|
|
29
22
|
"validation": {
|
|
30
23
|
"$ref": "#/definitions/ValidationReport"
|
|
31
24
|
}
|
|
@@ -528,85 +521,6 @@
|
|
|
528
521
|
}
|
|
529
522
|
}
|
|
530
523
|
},
|
|
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
|
-
},
|
|
610
524
|
"Severity": {
|
|
611
525
|
"description": "Severity level of validation issues",
|
|
612
526
|
"oneOf": [
|
|
@@ -1194,6 +1194,37 @@
|
|
|
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
|
+
},
|
|
1197
1228
|
"ForcedNarrativeSequence": {
|
|
1198
1229
|
"type": "object",
|
|
1199
1230
|
"required": [
|
|
@@ -2904,6 +2935,14 @@
|
|
|
2904
2935
|
"SequenceList": {
|
|
2905
2936
|
"type": "object",
|
|
2906
2937
|
"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
|
+
},
|
|
2907
2946
|
"ForcedNarrativeSequence": {
|
|
2908
2947
|
"default": [],
|
|
2909
2948
|
"type": "array",
|
|
@@ -1265,6 +1265,37 @@
|
|
|
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
|
+
},
|
|
1268
1299
|
"ForcedNarrativeSequence": {
|
|
1269
1300
|
"type": "object",
|
|
1270
1301
|
"required": [
|
|
@@ -3242,6 +3273,14 @@
|
|
|
3242
3273
|
"SequenceList": {
|
|
3243
3274
|
"type": "object",
|
|
3244
3275
|
"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
|
+
},
|
|
3245
3284
|
"ForcedNarrativeSequence": {
|
|
3246
3285
|
"default": [],
|
|
3247
3286
|
"type": "array",
|