@imferno/schema 3.0.2-beta.67b6b7d → 3.0.2-beta.6b1e6f0

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-beta.67b6b7d",
3
+ "version": "3.0.2-beta.6b1e6f0",
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",
@@ -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",
@@ -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": [
@@ -2813,6 +2813,17 @@
2813
2813
  }
2814
2814
  ]
2815
2815
  },
2816
+ "LeftEye": {
2817
+ "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.",
2818
+ "anyOf": [
2819
+ {
2820
+ "$ref": "#/definitions/StereoEye"
2821
+ },
2822
+ {
2823
+ "type": "null"
2824
+ }
2825
+ ]
2826
+ },
2816
2827
  "Marker": {
2817
2828
  "default": [],
2818
2829
  "type": "array",
@@ -2829,6 +2840,17 @@
2829
2840
  "format": "uint64",
2830
2841
  "minimum": 0.0
2831
2842
  },
2843
+ "RightEye": {
2844
+ "description": "`RightEye` of a `cc:StereoImageTrackFileResourceType` resource.",
2845
+ "anyOf": [
2846
+ {
2847
+ "$ref": "#/definitions/StereoEye"
2848
+ },
2849
+ {
2850
+ "type": "null"
2851
+ }
2852
+ ]
2853
+ },
2832
2854
  "SourceDuration": {
2833
2855
  "default": null,
2834
2856
  "type": [
@@ -3081,6 +3103,63 @@
3081
3103
  }
3082
3104
  }
3083
3105
  },
3106
+ "StereoEye": {
3107
+ "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.",
3108
+ "type": "object",
3109
+ "properties": {
3110
+ "Hash": {
3111
+ "default": null,
3112
+ "type": [
3113
+ "string",
3114
+ "null"
3115
+ ]
3116
+ },
3117
+ "Id": {
3118
+ "default": null,
3119
+ "anyOf": [
3120
+ {
3121
+ "$ref": "#/definitions/ImfUuid"
3122
+ },
3123
+ {
3124
+ "type": "null"
3125
+ }
3126
+ ]
3127
+ },
3128
+ "KeyId": {
3129
+ "default": null,
3130
+ "anyOf": [
3131
+ {
3132
+ "$ref": "#/definitions/ImfUuid"
3133
+ },
3134
+ {
3135
+ "type": "null"
3136
+ }
3137
+ ]
3138
+ },
3139
+ "SourceEncoding": {
3140
+ "default": null,
3141
+ "anyOf": [
3142
+ {
3143
+ "$ref": "#/definitions/ImfUuid"
3144
+ },
3145
+ {
3146
+ "type": "null"
3147
+ }
3148
+ ]
3149
+ },
3150
+ "TrackFileId": {
3151
+ "default": null,
3152
+ "anyOf": [
3153
+ {
3154
+ "$ref": "#/definitions/ImfUuid"
3155
+ },
3156
+ {
3157
+ "type": "null"
3158
+ }
3159
+ ]
3160
+ }
3161
+ }
3162
+ },
3084
3163
  "SubtitlesSequence": {
3085
3164
  "type": "object",
3086
3165
  "required": [
@@ -3212,6 +3291,13 @@
3212
3291
  "Jpeg2000Ht"
3213
3292
  ]
3214
3293
  },
3294
+ {
3295
+ "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.",
3296
+ "type": "string",
3297
+ "enum": [
3298
+ "Jpeg2000HtNode"
3299
+ ]
3300
+ },
3215
3301
  {
3216
3302
  "description": "VC-5 (SMPTE ST 2117)",
3217
3303
  "type": "string",
@@ -3072,6 +3072,17 @@
3072
3072
  }
3073
3073
  ]
3074
3074
  },
3075
+ "LeftEye": {
3076
+ "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.",
3077
+ "anyOf": [
3078
+ {
3079
+ "$ref": "#/definitions/StereoEye"
3080
+ },
3081
+ {
3082
+ "type": "null"
3083
+ }
3084
+ ]
3085
+ },
3075
3086
  "Marker": {
3076
3087
  "default": [],
3077
3088
  "type": "array",
@@ -3088,6 +3099,17 @@
3088
3099
  "format": "uint64",
3089
3100
  "minimum": 0.0
3090
3101
  },
3102
+ "RightEye": {
3103
+ "description": "`RightEye` of a `cc:StereoImageTrackFileResourceType` resource.",
3104
+ "anyOf": [
3105
+ {
3106
+ "$ref": "#/definitions/StereoEye"
3107
+ },
3108
+ {
3109
+ "type": "null"
3110
+ }
3111
+ ]
3112
+ },
3091
3113
  "SourceDuration": {
3092
3114
  "default": null,
3093
3115
  "type": [
@@ -3548,6 +3570,63 @@
3548
3570
  }
3549
3571
  ]
3550
3572
  },
3573
+ "StereoEye": {
3574
+ "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.",
3575
+ "type": "object",
3576
+ "properties": {
3577
+ "Hash": {
3578
+ "default": null,
3579
+ "type": [
3580
+ "string",
3581
+ "null"
3582
+ ]
3583
+ },
3584
+ "Id": {
3585
+ "default": null,
3586
+ "anyOf": [
3587
+ {
3588
+ "$ref": "#/definitions/ImfUuid"
3589
+ },
3590
+ {
3591
+ "type": "null"
3592
+ }
3593
+ ]
3594
+ },
3595
+ "KeyId": {
3596
+ "default": null,
3597
+ "anyOf": [
3598
+ {
3599
+ "$ref": "#/definitions/ImfUuid"
3600
+ },
3601
+ {
3602
+ "type": "null"
3603
+ }
3604
+ ]
3605
+ },
3606
+ "SourceEncoding": {
3607
+ "default": null,
3608
+ "anyOf": [
3609
+ {
3610
+ "$ref": "#/definitions/ImfUuid"
3611
+ },
3612
+ {
3613
+ "type": "null"
3614
+ }
3615
+ ]
3616
+ },
3617
+ "TrackFileId": {
3618
+ "default": null,
3619
+ "anyOf": [
3620
+ {
3621
+ "$ref": "#/definitions/ImfUuid"
3622
+ },
3623
+ {
3624
+ "type": "null"
3625
+ }
3626
+ ]
3627
+ }
3628
+ }
3629
+ },
3551
3630
  "Strength": {
3552
3631
  "description": "Normative strength of a rule in an edition's text.",
3553
3632
  "oneOf": [
@@ -3918,6 +3997,13 @@
3918
3997
  "Jpeg2000Ht"
3919
3998
  ]
3920
3999
  },
4000
+ {
4001
+ "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.",
4002
+ "type": "string",
4003
+ "enum": [
4004
+ "Jpeg2000HtNode"
4005
+ ]
4006
+ },
3921
4007
  {
3922
4008
  "description": "VC-5 (SMPTE ST 2117)",
3923
4009
  "type": "string",