@imferno/schema 3.0.2-fix-review-app2e-image.6d21d8d → 3.0.2-fix-review-cli-settings.7afa2b4

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-app2e-image.6d21d8d",
3
+ "version": "3.0.2-fix-review-cli-settings.7afa2b4",
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",
@@ -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": [