@imferno/schema 3.0.2-beta.2427eb9 → 3.0.2-beta.2b20aac
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 +1 -1
- package/schemas/asset-map.json +21 -0
- package/schemas/composition-playlist.json +86 -0
- package/schemas/imf-report.json +263 -8
- package/schemas/imferno-package.json +107 -0
- package/schemas/rules-config.json +1 -1
- package/schemas/validation-report.json +177 -8
- package/schemas/validation-result.json +370 -8
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
|
|
@@ -2325,6 +2325,17 @@
|
|
|
2325
2325
|
}
|
|
2326
2326
|
]
|
|
2327
2327
|
},
|
|
2328
|
+
"LeftEye": {
|
|
2329
|
+
"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.",
|
|
2330
|
+
"anyOf": [
|
|
2331
|
+
{
|
|
2332
|
+
"$ref": "#/definitions/StereoEye"
|
|
2333
|
+
},
|
|
2334
|
+
{
|
|
2335
|
+
"type": "null"
|
|
2336
|
+
}
|
|
2337
|
+
]
|
|
2338
|
+
},
|
|
2328
2339
|
"Marker": {
|
|
2329
2340
|
"default": [],
|
|
2330
2341
|
"type": "array",
|
|
@@ -2341,6 +2352,17 @@
|
|
|
2341
2352
|
"format": "uint64",
|
|
2342
2353
|
"minimum": 0.0
|
|
2343
2354
|
},
|
|
2355
|
+
"RightEye": {
|
|
2356
|
+
"description": "`RightEye` of a `cc:StereoImageTrackFileResourceType` resource.",
|
|
2357
|
+
"anyOf": [
|
|
2358
|
+
{
|
|
2359
|
+
"$ref": "#/definitions/StereoEye"
|
|
2360
|
+
},
|
|
2361
|
+
{
|
|
2362
|
+
"type": "null"
|
|
2363
|
+
}
|
|
2364
|
+
]
|
|
2365
|
+
},
|
|
2344
2366
|
"SourceDuration": {
|
|
2345
2367
|
"default": null,
|
|
2346
2368
|
"type": [
|
|
@@ -2517,6 +2539,63 @@
|
|
|
2517
2539
|
}
|
|
2518
2540
|
}
|
|
2519
2541
|
},
|
|
2542
|
+
"StereoEye": {
|
|
2543
|
+
"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.",
|
|
2544
|
+
"type": "object",
|
|
2545
|
+
"properties": {
|
|
2546
|
+
"Hash": {
|
|
2547
|
+
"default": null,
|
|
2548
|
+
"type": [
|
|
2549
|
+
"string",
|
|
2550
|
+
"null"
|
|
2551
|
+
]
|
|
2552
|
+
},
|
|
2553
|
+
"Id": {
|
|
2554
|
+
"default": null,
|
|
2555
|
+
"anyOf": [
|
|
2556
|
+
{
|
|
2557
|
+
"$ref": "#/definitions/ImfUuid"
|
|
2558
|
+
},
|
|
2559
|
+
{
|
|
2560
|
+
"type": "null"
|
|
2561
|
+
}
|
|
2562
|
+
]
|
|
2563
|
+
},
|
|
2564
|
+
"KeyId": {
|
|
2565
|
+
"default": null,
|
|
2566
|
+
"anyOf": [
|
|
2567
|
+
{
|
|
2568
|
+
"$ref": "#/definitions/ImfUuid"
|
|
2569
|
+
},
|
|
2570
|
+
{
|
|
2571
|
+
"type": "null"
|
|
2572
|
+
}
|
|
2573
|
+
]
|
|
2574
|
+
},
|
|
2575
|
+
"SourceEncoding": {
|
|
2576
|
+
"default": null,
|
|
2577
|
+
"anyOf": [
|
|
2578
|
+
{
|
|
2579
|
+
"$ref": "#/definitions/ImfUuid"
|
|
2580
|
+
},
|
|
2581
|
+
{
|
|
2582
|
+
"type": "null"
|
|
2583
|
+
}
|
|
2584
|
+
]
|
|
2585
|
+
},
|
|
2586
|
+
"TrackFileId": {
|
|
2587
|
+
"default": null,
|
|
2588
|
+
"anyOf": [
|
|
2589
|
+
{
|
|
2590
|
+
"$ref": "#/definitions/ImfUuid"
|
|
2591
|
+
},
|
|
2592
|
+
{
|
|
2593
|
+
"type": "null"
|
|
2594
|
+
}
|
|
2595
|
+
]
|
|
2596
|
+
}
|
|
2597
|
+
}
|
|
2598
|
+
},
|
|
2520
2599
|
"SubtitlesSequence": {
|
|
2521
2600
|
"type": "object",
|
|
2522
2601
|
"required": [
|
|
@@ -2648,6 +2727,13 @@
|
|
|
2648
2727
|
"Jpeg2000Ht"
|
|
2649
2728
|
]
|
|
2650
2729
|
},
|
|
2730
|
+
{
|
|
2731
|
+
"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.",
|
|
2732
|
+
"type": "string",
|
|
2733
|
+
"enum": [
|
|
2734
|
+
"Jpeg2000HtNode"
|
|
2735
|
+
]
|
|
2736
|
+
},
|
|
2651
2737
|
{
|
|
2652
2738
|
"description": "VC-5 (SMPTE ST 2117)",
|
|
2653
2739
|
"type": "string",
|
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
|
}
|
|
@@ -335,7 +342,7 @@
|
|
|
335
342
|
"format": "uuid"
|
|
336
343
|
},
|
|
337
344
|
"IssueSource": {
|
|
338
|
-
"description": "Which authority produced a validation finding.\n\nEncodes the \"prose vs XSD\" provenance distinction that SMPTE ST 2067-3 §5.1 calls out (\"the prose document takes precedence on conflict\"), so callers can filter, group, or apply per-source severity overrides without inspecting the code string.\n\
|
|
345
|
+
"description": "Which authority produced a validation finding.\n\nEncodes the \"prose vs XSD\" provenance distinction that SMPTE ST 2067-3 §5.1 calls out (\"the prose document takes precedence on conflict\"), so callers can filter, group, or apply per-source severity overrides without inspecting the code string.\n\nDerived from the rule's spec ([`Spec::source`]): `XSD` rules are `XsdLayer`, `IMFERNO` rules `EngineInternal`, SMPTE specs `ProseRule`.",
|
|
339
346
|
"oneOf": [
|
|
340
347
|
{
|
|
341
348
|
"description": "Came from the runtime XSD validator (uppsala). Schema-layer: the structural subset of the spec that the XSD DSL can express.",
|
|
@@ -428,6 +435,13 @@
|
|
|
428
435
|
"format": "uint",
|
|
429
436
|
"minimum": 0.0
|
|
430
437
|
},
|
|
438
|
+
"segment_id": {
|
|
439
|
+
"description": "Segment Id (`urn:uuid:…`) if applicable",
|
|
440
|
+
"type": [
|
|
441
|
+
"string",
|
|
442
|
+
"null"
|
|
443
|
+
]
|
|
444
|
+
},
|
|
431
445
|
"sequence_id": {
|
|
432
446
|
"description": "Sequence UUID if applicable",
|
|
433
447
|
"type": [
|
|
@@ -514,6 +528,85 @@
|
|
|
514
528
|
}
|
|
515
529
|
}
|
|
516
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
|
+
},
|
|
517
610
|
"Severity": {
|
|
518
611
|
"description": "Severity level of validation issues",
|
|
519
612
|
"oneOf": [
|
|
@@ -547,6 +640,135 @@
|
|
|
547
640
|
}
|
|
548
641
|
]
|
|
549
642
|
},
|
|
643
|
+
"Spec": {
|
|
644
|
+
"description": "A document whose rules imferno checks.",
|
|
645
|
+
"oneOf": [
|
|
646
|
+
{
|
|
647
|
+
"description": "SMPTE ST 377-1 — MXF File Format.",
|
|
648
|
+
"type": "string",
|
|
649
|
+
"enum": [
|
|
650
|
+
"ST377-1"
|
|
651
|
+
]
|
|
652
|
+
},
|
|
653
|
+
{
|
|
654
|
+
"description": "SMPTE ST 377-4 — MXF Multichannel Audio Labeling.",
|
|
655
|
+
"type": "string",
|
|
656
|
+
"enum": [
|
|
657
|
+
"ST377-4"
|
|
658
|
+
]
|
|
659
|
+
},
|
|
660
|
+
{
|
|
661
|
+
"description": "SMPTE ST 429-8 — Packing List.",
|
|
662
|
+
"type": "string",
|
|
663
|
+
"enum": [
|
|
664
|
+
"ST429-8"
|
|
665
|
+
]
|
|
666
|
+
},
|
|
667
|
+
{
|
|
668
|
+
"description": "SMPTE ST 429-9 — Asset Mapping and File Segmentation.",
|
|
669
|
+
"type": "string",
|
|
670
|
+
"enum": [
|
|
671
|
+
"ST429-9"
|
|
672
|
+
]
|
|
673
|
+
},
|
|
674
|
+
{
|
|
675
|
+
"description": "SMPTE ST 2067-2 — IMF Core Constraints.",
|
|
676
|
+
"type": "string",
|
|
677
|
+
"enum": [
|
|
678
|
+
"ST2067-2"
|
|
679
|
+
]
|
|
680
|
+
},
|
|
681
|
+
{
|
|
682
|
+
"description": "SMPTE ST 2067-3 — IMF Composition Playlist.",
|
|
683
|
+
"type": "string",
|
|
684
|
+
"enum": [
|
|
685
|
+
"ST2067-3"
|
|
686
|
+
]
|
|
687
|
+
},
|
|
688
|
+
{
|
|
689
|
+
"description": "SMPTE ST 2067-5 — IMF Essence Component.",
|
|
690
|
+
"type": "string",
|
|
691
|
+
"enum": [
|
|
692
|
+
"ST2067-5"
|
|
693
|
+
]
|
|
694
|
+
},
|
|
695
|
+
{
|
|
696
|
+
"description": "SMPTE ST 2067-9 — IMF Sidecar Composition Map.",
|
|
697
|
+
"type": "string",
|
|
698
|
+
"enum": [
|
|
699
|
+
"ST2067-9"
|
|
700
|
+
]
|
|
701
|
+
},
|
|
702
|
+
{
|
|
703
|
+
"description": "SMPTE ST 2067-21 — IMF Application #2E.",
|
|
704
|
+
"type": "string",
|
|
705
|
+
"enum": [
|
|
706
|
+
"ST2067-21"
|
|
707
|
+
]
|
|
708
|
+
},
|
|
709
|
+
{
|
|
710
|
+
"description": "SMPTE ST 2067-201 — IMF IAB Level 0 Plug-in.",
|
|
711
|
+
"type": "string",
|
|
712
|
+
"enum": [
|
|
713
|
+
"ST2067-201"
|
|
714
|
+
]
|
|
715
|
+
},
|
|
716
|
+
{
|
|
717
|
+
"description": "SMPTE ST 2067-202 — IMF ISXD Plug-in.",
|
|
718
|
+
"type": "string",
|
|
719
|
+
"enum": [
|
|
720
|
+
"ST2067-202"
|
|
721
|
+
]
|
|
722
|
+
},
|
|
723
|
+
{
|
|
724
|
+
"description": "The XML Schema layer: findings of the runtime XSD validator against the vendored schema of a document's namespace.",
|
|
725
|
+
"type": "string",
|
|
726
|
+
"enum": [
|
|
727
|
+
"XSD"
|
|
728
|
+
]
|
|
729
|
+
},
|
|
730
|
+
{
|
|
731
|
+
"description": "imferno's own checks (parse failures, package scanning) that no single SMPTE clause defines.",
|
|
732
|
+
"type": "string",
|
|
733
|
+
"enum": [
|
|
734
|
+
"IMFERNO"
|
|
735
|
+
]
|
|
736
|
+
}
|
|
737
|
+
]
|
|
738
|
+
},
|
|
739
|
+
"Strength": {
|
|
740
|
+
"description": "Normative strength of a rule in an edition's text.",
|
|
741
|
+
"oneOf": [
|
|
742
|
+
{
|
|
743
|
+
"description": "A requirement (\"shall\").",
|
|
744
|
+
"type": "string",
|
|
745
|
+
"enum": [
|
|
746
|
+
"shall"
|
|
747
|
+
]
|
|
748
|
+
},
|
|
749
|
+
{
|
|
750
|
+
"description": "A recommendation (\"should\").",
|
|
751
|
+
"type": "string",
|
|
752
|
+
"enum": [
|
|
753
|
+
"should"
|
|
754
|
+
]
|
|
755
|
+
},
|
|
756
|
+
{
|
|
757
|
+
"description": "A permission or an observation (\"may\").",
|
|
758
|
+
"type": "string",
|
|
759
|
+
"enum": [
|
|
760
|
+
"may"
|
|
761
|
+
]
|
|
762
|
+
},
|
|
763
|
+
{
|
|
764
|
+
"description": "Deprecated in this edition.",
|
|
765
|
+
"type": "string",
|
|
766
|
+
"enum": [
|
|
767
|
+
"deprecated"
|
|
768
|
+
]
|
|
769
|
+
}
|
|
770
|
+
]
|
|
771
|
+
},
|
|
550
772
|
"UnreferencedAsset": {
|
|
551
773
|
"type": "object",
|
|
552
774
|
"required": [
|
|
@@ -563,19 +785,25 @@
|
|
|
563
785
|
}
|
|
564
786
|
},
|
|
565
787
|
"ValidationIssue": {
|
|
566
|
-
"description": "A single validation
|
|
788
|
+
"description": "A single validation finding.\n\nCreated only through [`ValidationIssue::from_rule`]: severity, category, clause and display code all come from the rule table row of the edition that was applied.",
|
|
567
789
|
"type": "object",
|
|
568
790
|
"required": [
|
|
569
791
|
"category",
|
|
792
|
+
"clause",
|
|
570
793
|
"code",
|
|
571
794
|
"context",
|
|
795
|
+
"edition",
|
|
572
796
|
"location",
|
|
573
797
|
"message",
|
|
574
|
-
"
|
|
798
|
+
"rule",
|
|
799
|
+
"severity",
|
|
800
|
+
"source",
|
|
801
|
+
"spec",
|
|
802
|
+
"strength"
|
|
575
803
|
],
|
|
576
804
|
"properties": {
|
|
577
805
|
"additional_instances": {
|
|
578
|
-
"description": "Other `Location`s when this issue represents an aggregation of multiple identical-code occurrences (see [`ValidationReport::aggregate`]). Empty for fresh, un-aggregated issues. Skipped during serialisation when empty
|
|
806
|
+
"description": "Other `Location`s when this issue represents an aggregation of multiple identical-code occurrences (see [`ValidationReport::aggregate`]). Empty for fresh, un-aggregated issues. Skipped during serialisation when empty.",
|
|
579
807
|
"type": "array",
|
|
580
808
|
"items": {
|
|
581
809
|
"$ref": "#/definitions/Location"
|
|
@@ -589,8 +817,12 @@
|
|
|
589
817
|
}
|
|
590
818
|
]
|
|
591
819
|
},
|
|
820
|
+
"clause": {
|
|
821
|
+
"description": "Clause of that edition the rule comes from (empty for pseudo-specs without clauses).",
|
|
822
|
+
"type": "string"
|
|
823
|
+
},
|
|
592
824
|
"code": {
|
|
593
|
-
"description": "
|
|
825
|
+
"description": "Display code: `SPEC:EDITION:CLAUSE/Name`, with the edition actually applied (e.g. `ST2067-3:2016:7.2/SegmentDuration`).",
|
|
594
826
|
"type": "string"
|
|
595
827
|
},
|
|
596
828
|
"context": {
|
|
@@ -600,6 +832,10 @@
|
|
|
600
832
|
"type": "string"
|
|
601
833
|
}
|
|
602
834
|
},
|
|
835
|
+
"edition": {
|
|
836
|
+
"description": "Edition of the spec that was applied (`\"2016\"`; empty for single-edition pseudo-specs).",
|
|
837
|
+
"type": "string"
|
|
838
|
+
},
|
|
603
839
|
"location": {
|
|
604
840
|
"description": "Location where issue was found",
|
|
605
841
|
"allOf": [
|
|
@@ -612,8 +848,12 @@
|
|
|
612
848
|
"description": "Human-readable message",
|
|
613
849
|
"type": "string"
|
|
614
850
|
},
|
|
851
|
+
"rule": {
|
|
852
|
+
"description": "Stable, edition-free rule id (`ST2067-3/SegmentDuration`).",
|
|
853
|
+
"type": "string"
|
|
854
|
+
},
|
|
615
855
|
"severity": {
|
|
616
|
-
"description": "Severity level",
|
|
856
|
+
"description": "Severity level (the table default, possibly remapped by a rules config).",
|
|
617
857
|
"allOf": [
|
|
618
858
|
{
|
|
619
859
|
"$ref": "#/definitions/Severity"
|
|
@@ -621,14 +861,29 @@
|
|
|
621
861
|
]
|
|
622
862
|
},
|
|
623
863
|
"source": {
|
|
624
|
-
"description": "Authority that emitted this issue (XSD layer, prose rule, engine internal)
|
|
625
|
-
"default": "EngineInternal",
|
|
864
|
+
"description": "Authority that emitted this issue (XSD layer, prose rule, engine internal), derived from the rule's spec.",
|
|
626
865
|
"allOf": [
|
|
627
866
|
{
|
|
628
867
|
"$ref": "#/definitions/IssueSource"
|
|
629
868
|
}
|
|
630
869
|
]
|
|
631
870
|
},
|
|
871
|
+
"spec": {
|
|
872
|
+
"description": "Spec the rule belongs to.",
|
|
873
|
+
"allOf": [
|
|
874
|
+
{
|
|
875
|
+
"$ref": "#/definitions/Spec"
|
|
876
|
+
}
|
|
877
|
+
]
|
|
878
|
+
},
|
|
879
|
+
"strength": {
|
|
880
|
+
"description": "Normative strength of the rule in that edition.",
|
|
881
|
+
"allOf": [
|
|
882
|
+
{
|
|
883
|
+
"$ref": "#/definitions/Strength"
|
|
884
|
+
}
|
|
885
|
+
]
|
|
886
|
+
},
|
|
632
887
|
"suggestion": {
|
|
633
888
|
"description": "Suggestion for how to fix",
|
|
634
889
|
"type": [
|
|
@@ -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
|
|
@@ -2813,6 +2834,17 @@
|
|
|
2813
2834
|
}
|
|
2814
2835
|
]
|
|
2815
2836
|
},
|
|
2837
|
+
"LeftEye": {
|
|
2838
|
+
"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.",
|
|
2839
|
+
"anyOf": [
|
|
2840
|
+
{
|
|
2841
|
+
"$ref": "#/definitions/StereoEye"
|
|
2842
|
+
},
|
|
2843
|
+
{
|
|
2844
|
+
"type": "null"
|
|
2845
|
+
}
|
|
2846
|
+
]
|
|
2847
|
+
},
|
|
2816
2848
|
"Marker": {
|
|
2817
2849
|
"default": [],
|
|
2818
2850
|
"type": "array",
|
|
@@ -2829,6 +2861,17 @@
|
|
|
2829
2861
|
"format": "uint64",
|
|
2830
2862
|
"minimum": 0.0
|
|
2831
2863
|
},
|
|
2864
|
+
"RightEye": {
|
|
2865
|
+
"description": "`RightEye` of a `cc:StereoImageTrackFileResourceType` resource.",
|
|
2866
|
+
"anyOf": [
|
|
2867
|
+
{
|
|
2868
|
+
"$ref": "#/definitions/StereoEye"
|
|
2869
|
+
},
|
|
2870
|
+
{
|
|
2871
|
+
"type": "null"
|
|
2872
|
+
}
|
|
2873
|
+
]
|
|
2874
|
+
},
|
|
2832
2875
|
"SourceDuration": {
|
|
2833
2876
|
"default": null,
|
|
2834
2877
|
"type": [
|
|
@@ -3081,6 +3124,63 @@
|
|
|
3081
3124
|
}
|
|
3082
3125
|
}
|
|
3083
3126
|
},
|
|
3127
|
+
"StereoEye": {
|
|
3128
|
+
"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.",
|
|
3129
|
+
"type": "object",
|
|
3130
|
+
"properties": {
|
|
3131
|
+
"Hash": {
|
|
3132
|
+
"default": null,
|
|
3133
|
+
"type": [
|
|
3134
|
+
"string",
|
|
3135
|
+
"null"
|
|
3136
|
+
]
|
|
3137
|
+
},
|
|
3138
|
+
"Id": {
|
|
3139
|
+
"default": null,
|
|
3140
|
+
"anyOf": [
|
|
3141
|
+
{
|
|
3142
|
+
"$ref": "#/definitions/ImfUuid"
|
|
3143
|
+
},
|
|
3144
|
+
{
|
|
3145
|
+
"type": "null"
|
|
3146
|
+
}
|
|
3147
|
+
]
|
|
3148
|
+
},
|
|
3149
|
+
"KeyId": {
|
|
3150
|
+
"default": null,
|
|
3151
|
+
"anyOf": [
|
|
3152
|
+
{
|
|
3153
|
+
"$ref": "#/definitions/ImfUuid"
|
|
3154
|
+
},
|
|
3155
|
+
{
|
|
3156
|
+
"type": "null"
|
|
3157
|
+
}
|
|
3158
|
+
]
|
|
3159
|
+
},
|
|
3160
|
+
"SourceEncoding": {
|
|
3161
|
+
"default": null,
|
|
3162
|
+
"anyOf": [
|
|
3163
|
+
{
|
|
3164
|
+
"$ref": "#/definitions/ImfUuid"
|
|
3165
|
+
},
|
|
3166
|
+
{
|
|
3167
|
+
"type": "null"
|
|
3168
|
+
}
|
|
3169
|
+
]
|
|
3170
|
+
},
|
|
3171
|
+
"TrackFileId": {
|
|
3172
|
+
"default": null,
|
|
3173
|
+
"anyOf": [
|
|
3174
|
+
{
|
|
3175
|
+
"$ref": "#/definitions/ImfUuid"
|
|
3176
|
+
},
|
|
3177
|
+
{
|
|
3178
|
+
"type": "null"
|
|
3179
|
+
}
|
|
3180
|
+
]
|
|
3181
|
+
}
|
|
3182
|
+
}
|
|
3183
|
+
},
|
|
3084
3184
|
"SubtitlesSequence": {
|
|
3085
3185
|
"type": "object",
|
|
3086
3186
|
"required": [
|
|
@@ -3212,6 +3312,13 @@
|
|
|
3212
3312
|
"Jpeg2000Ht"
|
|
3213
3313
|
]
|
|
3214
3314
|
},
|
|
3315
|
+
{
|
|
3316
|
+
"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.",
|
|
3317
|
+
"type": "string",
|
|
3318
|
+
"enum": [
|
|
3319
|
+
"Jpeg2000HtNode"
|
|
3320
|
+
]
|
|
3321
|
+
},
|
|
3215
3322
|
{
|
|
3216
3323
|
"description": "VC-5 (SMPTE ST 2117)",
|
|
3217
3324
|
"type": "string",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
3
|
"title": "RulesConfig",
|
|
4
|
-
"description": "ESLint-style per-rule severity overrides
|
|
4
|
+
"description": "ESLint-style per-rule severity overrides (see the module docs for the key forms and their precedence). An empty map (the default) is a no-op.",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"additionalProperties": {
|
|
7
7
|
"$ref": "#/definitions/RuleSeverity"
|