@rathnasgala2/schemas 3.2.0 → 3.3.0

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.
Files changed (42) hide show
  1. package/README.md +12 -9
  2. package/THIRD_PARTY_LICENSES.json +1 -1
  3. package/diagnostics/diagnostic-map.json +138 -0
  4. package/docs/catalogs/app-components.json +589 -1
  5. package/docs/catalogs/app-routes.json +327 -11
  6. package/docs/catalogs/schema-inventory.json +5 -5
  7. package/examples/valid/appearance/rules.json +22 -0
  8. package/examples/valid/build-input/rules.json +136 -0
  9. package/examples/valid/content-frontmatter/rules.json +108 -0
  10. package/fixtures/boundary/appearance/rules.json +22 -0
  11. package/fixtures/boundary/build-input/rules.json +136 -0
  12. package/fixtures/boundary/content-frontmatter/rules.json +108 -0
  13. package/fixtures/invalid/appearance/REQUEST_FIELD_UNKNOWN/cases.json +9 -0
  14. package/fixtures/invalid/appearance/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +9 -0
  15. package/fixtures/invalid/appearance/SCHEMA_TYPE_INVALID/cases.json +20 -0
  16. package/fixtures/invalid/build-input/REQUEST_FIELD_UNKNOWN/cases.json +47 -0
  17. package/fixtures/invalid/build-input/SCHEMA_CONSTANT_INVALID/cases.json +11 -0
  18. package/fixtures/invalid/build-input/SCHEMA_ENUM_INVALID/cases.json +22 -0
  19. package/fixtures/invalid/build-input/SCHEMA_NEGATED_RULE_MATCHED/cases.json +11 -0
  20. package/fixtures/invalid/build-input/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +173 -0
  21. package/fixtures/invalid/build-input/SCHEMA_TYPE_INVALID/cases.json +40 -0
  22. package/fixtures/invalid/content-frontmatter/REQUEST_FIELD_UNKNOWN/cases.json +38 -0
  23. package/fixtures/invalid/content-frontmatter/SCHEMA_CONSTANT_INVALID/cases.json +11 -0
  24. package/fixtures/invalid/content-frontmatter/SCHEMA_ENUM_INVALID/cases.json +22 -0
  25. package/fixtures/invalid/content-frontmatter/SCHEMA_NEGATED_RULE_MATCHED/cases.json +9 -0
  26. package/fixtures/invalid/content-frontmatter/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +164 -0
  27. package/fixtures/invalid/content-frontmatter/SCHEMA_TYPE_INVALID/cases.json +20 -0
  28. package/fixtures/manifest.json +1064 -6
  29. package/fixtures/unknown-field/appearance/rules.json +14 -0
  30. package/fixtures/unknown-field/build-input/rules.json +69 -0
  31. package/fixtures/unknown-field/content-frontmatter/rules.json +55 -0
  32. package/generated/browser/validator-core.mjs +3 -3
  33. package/generated/typescript/contracts/appearance.d.ts +5 -0
  34. package/generated/typescript/contracts/build-input.d.ts +21 -2
  35. package/generated/typescript/contracts/content-frontmatter.d.ts +14 -1
  36. package/openapi/http-catalog.json +537 -9
  37. package/openapi/openapi.yaml +17627 -4276
  38. package/package.json +1 -1
  39. package/sbom.cdx.json +23 -23
  40. package/schemas/appearance.schema.json +8 -0
  41. package/schemas/build-input.schema.json +44 -3
  42. package/schemas/content-frontmatter.schema.json +32 -1
@@ -16,8 +16,8 @@
16
16
  {
17
17
  "contract": "appearance",
18
18
  "schemaId": "urn:gala:schema:appearance:2.0.0",
19
- "schemaSha256": "0bd3b9332b25deec625de3d4fb65bd0717a434502fe90b58a6081f7d43459ea9",
20
- "ruleCount": 119,
19
+ "schemaSha256": "574c79362d2eb9c8eaf430c40efae6e12b2b3ecdef07a22eba5de1658b6e4f44",
20
+ "ruleCount": 123,
21
21
  "validExample": "examples/valid/appearance/canonical.json",
22
22
  "boundaryFixture": "fixtures/boundary/appearance/root.json",
23
23
  "unknownFieldFixture": "fixtures/unknown-field/appearance/root.json"
@@ -43,8 +43,8 @@
43
43
  {
44
44
  "contract": "build-input",
45
45
  "schemaId": "urn:gala:schema:build-input:2.0.0",
46
- "schemaSha256": "0a8f2b34b96b70a9d6c3086effb5249c8392c862d018af8a358ce08e94a25f6f",
47
- "ruleCount": 507,
46
+ "schemaSha256": "e98464effe228ea33a5e739b0543dd776b9863ecf4fca7bf73ebd4f579ed162b",
47
+ "ruleCount": 530,
48
48
  "validExample": "examples/valid/build-input/canonical.json",
49
49
  "boundaryFixture": "fixtures/boundary/build-input/root.json",
50
50
  "unknownFieldFixture": "fixtures/unknown-field/build-input/root.json"
@@ -61,8 +61,8 @@
61
61
  {
62
62
  "contract": "content-frontmatter",
63
63
  "schemaId": "urn:gala:schema:content-frontmatter:2.0.0",
64
- "schemaSha256": "d033644fd188af7d55c596a7c910b2c9ca9a1c8d8d8b092860f04eec8a5273a0",
65
- "ruleCount": 126,
64
+ "schemaSha256": "b8fb8172fff5ff361d51b5af5e1444b42953e585beaf7e9e4aa46675b20b7e65",
65
+ "ruleCount": 145,
66
66
  "validExample": "examples/valid/content-frontmatter/canonical.json",
67
67
  "boundaryFixture": "fixtures/boundary/content-frontmatter/root.json",
68
68
  "unknownFieldFixture": "fixtures/unknown-field/content-frontmatter/root.json"
@@ -28052,6 +28052,98 @@
28052
28052
  "caseId": "appearance-unknown-334359b90efed75d"
28053
28053
  }
28054
28054
  },
28055
+ {
28056
+ "contract": "appearance",
28057
+ "ruleId": "appearance:#/$defs/attribution:additionalProperties",
28058
+ "schemaPointer": "#/$defs/attribution",
28059
+ "keyword": "additionalProperties",
28060
+ "valid": {
28061
+ "file": "examples/valid/appearance/rules.json",
28062
+ "caseId": "appearance-valid-6ea96ad6b6acb54c"
28063
+ },
28064
+ "boundary": {
28065
+ "file": "fixtures/boundary/appearance/rules.json",
28066
+ "caseId": "appearance-boundary-c04d9798ab31050f"
28067
+ },
28068
+ "invalid": {
28069
+ "file": "fixtures/invalid/appearance/REQUEST_FIELD_UNKNOWN/cases.json",
28070
+ "caseId": "appearance-invalid-976379a26582b512",
28071
+ "expectedCode": "REQUEST_FIELD_UNKNOWN"
28072
+ },
28073
+ "unknownField": {
28074
+ "file": "fixtures/unknown-field/appearance/rules.json",
28075
+ "caseId": "appearance-unknown-6ea96ad6b6acb54c"
28076
+ }
28077
+ },
28078
+ {
28079
+ "contract": "appearance",
28080
+ "ruleId": "appearance:#/$defs/attribution:required:showMadeWith",
28081
+ "schemaPointer": "#/$defs/attribution",
28082
+ "keyword": "required",
28083
+ "valid": {
28084
+ "file": "examples/valid/appearance/rules.json",
28085
+ "caseId": "appearance-valid-6ea96ad6b6acb54c"
28086
+ },
28087
+ "boundary": {
28088
+ "file": "fixtures/boundary/appearance/rules.json",
28089
+ "caseId": "appearance-boundary-c04d9798ab31050f"
28090
+ },
28091
+ "invalid": {
28092
+ "file": "fixtures/invalid/appearance/SCHEMA_REQUIRED_FIELD_MISSING/cases.json",
28093
+ "caseId": "appearance-invalid-76b0a04f3dc0e8cf",
28094
+ "expectedCode": "SCHEMA_REQUIRED_FIELD_MISSING"
28095
+ },
28096
+ "unknownField": {
28097
+ "file": "fixtures/unknown-field/appearance/rules.json",
28098
+ "caseId": "appearance-unknown-6ea96ad6b6acb54c"
28099
+ }
28100
+ },
28101
+ {
28102
+ "contract": "appearance",
28103
+ "ruleId": "appearance:#/$defs/attribution:type",
28104
+ "schemaPointer": "#/$defs/attribution",
28105
+ "keyword": "type",
28106
+ "valid": {
28107
+ "file": "examples/valid/appearance/rules.json",
28108
+ "caseId": "appearance-valid-6ea96ad6b6acb54c"
28109
+ },
28110
+ "boundary": {
28111
+ "file": "fixtures/boundary/appearance/rules.json",
28112
+ "caseId": "appearance-boundary-c04d9798ab31050f"
28113
+ },
28114
+ "invalid": {
28115
+ "file": "fixtures/invalid/appearance/SCHEMA_TYPE_INVALID/cases.json",
28116
+ "caseId": "appearance-invalid-f74b3f0d46491c95",
28117
+ "expectedCode": "SCHEMA_TYPE_INVALID"
28118
+ },
28119
+ "unknownField": {
28120
+ "file": "fixtures/unknown-field/appearance/rules.json",
28121
+ "caseId": "appearance-unknown-6ea96ad6b6acb54c"
28122
+ }
28123
+ },
28124
+ {
28125
+ "contract": "appearance",
28126
+ "ruleId": "appearance:#/$defs/attribution/properties/showMadeWith:type",
28127
+ "schemaPointer": "#/$defs/attribution/properties/showMadeWith",
28128
+ "keyword": "type",
28129
+ "valid": {
28130
+ "file": "examples/valid/appearance/rules.json",
28131
+ "caseId": "appearance-valid-a9b5a16426e7de30"
28132
+ },
28133
+ "boundary": {
28134
+ "file": "fixtures/boundary/appearance/rules.json",
28135
+ "caseId": "appearance-boundary-a29e2f8877d5e225"
28136
+ },
28137
+ "invalid": {
28138
+ "file": "fixtures/invalid/appearance/SCHEMA_TYPE_INVALID/cases.json",
28139
+ "caseId": "appearance-invalid-344bd5f30662f9e0",
28140
+ "expectedCode": "SCHEMA_TYPE_INVALID"
28141
+ },
28142
+ "unknownField": {
28143
+ "file": "fixtures/unknown-field/appearance/rules.json",
28144
+ "caseId": "appearance-unknown-6ea96ad6b6acb54c"
28145
+ }
28146
+ },
28055
28147
  {
28056
28148
  "contract": "appearance",
28057
28149
  "ruleId": "appearance:#/$defs/bcp47:format",
@@ -44781,6 +44873,98 @@
44781
44873
  "caseId": "build-input-unknown-0478d92973992dc2"
44782
44874
  }
44783
44875
  },
44876
+ {
44877
+ "contract": "build-input",
44878
+ "ruleId": "build-input:#/$defs/attribution:additionalProperties",
44879
+ "schemaPointer": "#/$defs/attribution",
44880
+ "keyword": "additionalProperties",
44881
+ "valid": {
44882
+ "file": "examples/valid/build-input/rules.json",
44883
+ "caseId": "build-input-valid-6ea96ad6b6acb54c"
44884
+ },
44885
+ "boundary": {
44886
+ "file": "fixtures/boundary/build-input/rules.json",
44887
+ "caseId": "build-input-boundary-c04d9798ab31050f"
44888
+ },
44889
+ "invalid": {
44890
+ "file": "fixtures/invalid/build-input/REQUEST_FIELD_UNKNOWN/cases.json",
44891
+ "caseId": "build-input-invalid-6b9ebafb7d1d90e9",
44892
+ "expectedCode": "REQUEST_FIELD_UNKNOWN"
44893
+ },
44894
+ "unknownField": {
44895
+ "file": "fixtures/unknown-field/build-input/rules.json",
44896
+ "caseId": "build-input-unknown-6ea96ad6b6acb54c"
44897
+ }
44898
+ },
44899
+ {
44900
+ "contract": "build-input",
44901
+ "ruleId": "build-input:#/$defs/attribution:required:showMadeWith",
44902
+ "schemaPointer": "#/$defs/attribution",
44903
+ "keyword": "required",
44904
+ "valid": {
44905
+ "file": "examples/valid/build-input/rules.json",
44906
+ "caseId": "build-input-valid-6ea96ad6b6acb54c"
44907
+ },
44908
+ "boundary": {
44909
+ "file": "fixtures/boundary/build-input/rules.json",
44910
+ "caseId": "build-input-boundary-c04d9798ab31050f"
44911
+ },
44912
+ "invalid": {
44913
+ "file": "fixtures/invalid/build-input/SCHEMA_REQUIRED_FIELD_MISSING/cases.json",
44914
+ "caseId": "build-input-invalid-35cf56fd595033f6",
44915
+ "expectedCode": "SCHEMA_REQUIRED_FIELD_MISSING"
44916
+ },
44917
+ "unknownField": {
44918
+ "file": "fixtures/unknown-field/build-input/rules.json",
44919
+ "caseId": "build-input-unknown-6ea96ad6b6acb54c"
44920
+ }
44921
+ },
44922
+ {
44923
+ "contract": "build-input",
44924
+ "ruleId": "build-input:#/$defs/attribution:type",
44925
+ "schemaPointer": "#/$defs/attribution",
44926
+ "keyword": "type",
44927
+ "valid": {
44928
+ "file": "examples/valid/build-input/rules.json",
44929
+ "caseId": "build-input-valid-6ea96ad6b6acb54c"
44930
+ },
44931
+ "boundary": {
44932
+ "file": "fixtures/boundary/build-input/rules.json",
44933
+ "caseId": "build-input-boundary-c04d9798ab31050f"
44934
+ },
44935
+ "invalid": {
44936
+ "file": "fixtures/invalid/build-input/SCHEMA_TYPE_INVALID/cases.json",
44937
+ "caseId": "build-input-invalid-e87f446fa0651f9c",
44938
+ "expectedCode": "SCHEMA_TYPE_INVALID"
44939
+ },
44940
+ "unknownField": {
44941
+ "file": "fixtures/unknown-field/build-input/rules.json",
44942
+ "caseId": "build-input-unknown-6ea96ad6b6acb54c"
44943
+ }
44944
+ },
44945
+ {
44946
+ "contract": "build-input",
44947
+ "ruleId": "build-input:#/$defs/attribution/properties/showMadeWith:type",
44948
+ "schemaPointer": "#/$defs/attribution/properties/showMadeWith",
44949
+ "keyword": "type",
44950
+ "valid": {
44951
+ "file": "examples/valid/build-input/rules.json",
44952
+ "caseId": "build-input-valid-a9b5a16426e7de30"
44953
+ },
44954
+ "boundary": {
44955
+ "file": "fixtures/boundary/build-input/rules.json",
44956
+ "caseId": "build-input-boundary-a29e2f8877d5e225"
44957
+ },
44958
+ "invalid": {
44959
+ "file": "fixtures/invalid/build-input/SCHEMA_TYPE_INVALID/cases.json",
44960
+ "caseId": "build-input-invalid-2f906980ab3e6e88",
44961
+ "expectedCode": "SCHEMA_TYPE_INVALID"
44962
+ },
44963
+ "unknownField": {
44964
+ "file": "fixtures/unknown-field/build-input/rules.json",
44965
+ "caseId": "build-input-unknown-6ea96ad6b6acb54c"
44966
+ }
44967
+ },
44784
44968
  {
44785
44969
  "contract": "build-input",
44786
44970
  "ruleId": "build-input:#/$defs/authoredAdapterIdentity:additionalProperties",
@@ -47497,6 +47681,328 @@
47497
47681
  "caseId": "build-input-unknown-02227031e6046759"
47498
47682
  }
47499
47683
  },
47684
+ {
47685
+ "contract": "build-input",
47686
+ "ruleId": "build-input:#/$defs/contentEdition:additionalProperties",
47687
+ "schemaPointer": "#/$defs/contentEdition",
47688
+ "keyword": "additionalProperties",
47689
+ "valid": {
47690
+ "file": "examples/valid/build-input/rules.json",
47691
+ "caseId": "build-input-valid-7d80f5971b255b6b"
47692
+ },
47693
+ "boundary": {
47694
+ "file": "fixtures/boundary/build-input/rules.json",
47695
+ "caseId": "build-input-boundary-455587ce7b24cfcd"
47696
+ },
47697
+ "invalid": {
47698
+ "file": "fixtures/invalid/build-input/REQUEST_FIELD_UNKNOWN/cases.json",
47699
+ "caseId": "build-input-invalid-8448263b3309ea30",
47700
+ "expectedCode": "REQUEST_FIELD_UNKNOWN"
47701
+ },
47702
+ "unknownField": {
47703
+ "file": "fixtures/unknown-field/build-input/rules.json",
47704
+ "caseId": "build-input-unknown-7d80f5971b255b6b"
47705
+ }
47706
+ },
47707
+ {
47708
+ "contract": "build-input",
47709
+ "ruleId": "build-input:#/$defs/contentEdition:required:approvedAt",
47710
+ "schemaPointer": "#/$defs/contentEdition",
47711
+ "keyword": "required",
47712
+ "valid": {
47713
+ "file": "examples/valid/build-input/rules.json",
47714
+ "caseId": "build-input-valid-7d80f5971b255b6b"
47715
+ },
47716
+ "boundary": {
47717
+ "file": "fixtures/boundary/build-input/rules.json",
47718
+ "caseId": "build-input-boundary-455587ce7b24cfcd"
47719
+ },
47720
+ "invalid": {
47721
+ "file": "fixtures/invalid/build-input/SCHEMA_REQUIRED_FIELD_MISSING/cases.json",
47722
+ "caseId": "build-input-invalid-15d01521dd8ab442",
47723
+ "expectedCode": "SCHEMA_REQUIRED_FIELD_MISSING"
47724
+ },
47725
+ "unknownField": {
47726
+ "file": "fixtures/unknown-field/build-input/rules.json",
47727
+ "caseId": "build-input-unknown-7d80f5971b255b6b"
47728
+ }
47729
+ },
47730
+ {
47731
+ "contract": "build-input",
47732
+ "ruleId": "build-input:#/$defs/contentEdition:required:generation",
47733
+ "schemaPointer": "#/$defs/contentEdition",
47734
+ "keyword": "required",
47735
+ "valid": {
47736
+ "file": "examples/valid/build-input/rules.json",
47737
+ "caseId": "build-input-valid-7d80f5971b255b6b"
47738
+ },
47739
+ "boundary": {
47740
+ "file": "fixtures/boundary/build-input/rules.json",
47741
+ "caseId": "build-input-boundary-455587ce7b24cfcd"
47742
+ },
47743
+ "invalid": {
47744
+ "file": "fixtures/invalid/build-input/SCHEMA_REQUIRED_FIELD_MISSING/cases.json",
47745
+ "caseId": "build-input-invalid-c79cac324522202a",
47746
+ "expectedCode": "SCHEMA_REQUIRED_FIELD_MISSING"
47747
+ },
47748
+ "unknownField": {
47749
+ "file": "fixtures/unknown-field/build-input/rules.json",
47750
+ "caseId": "build-input-unknown-7d80f5971b255b6b"
47751
+ }
47752
+ },
47753
+ {
47754
+ "contract": "build-input",
47755
+ "ruleId": "build-input:#/$defs/contentEdition:required:kind",
47756
+ "schemaPointer": "#/$defs/contentEdition",
47757
+ "keyword": "required",
47758
+ "valid": {
47759
+ "file": "examples/valid/build-input/rules.json",
47760
+ "caseId": "build-input-valid-7d80f5971b255b6b"
47761
+ },
47762
+ "boundary": {
47763
+ "file": "fixtures/boundary/build-input/rules.json",
47764
+ "caseId": "build-input-boundary-455587ce7b24cfcd"
47765
+ },
47766
+ "invalid": {
47767
+ "file": "fixtures/invalid/build-input/SCHEMA_REQUIRED_FIELD_MISSING/cases.json",
47768
+ "caseId": "build-input-invalid-c20c78d61d728bb8",
47769
+ "expectedCode": "SCHEMA_REQUIRED_FIELD_MISSING"
47770
+ },
47771
+ "unknownField": {
47772
+ "file": "fixtures/unknown-field/build-input/rules.json",
47773
+ "caseId": "build-input-unknown-7d80f5971b255b6b"
47774
+ }
47775
+ },
47776
+ {
47777
+ "contract": "build-input",
47778
+ "ruleId": "build-input:#/$defs/contentEdition:required:of",
47779
+ "schemaPointer": "#/$defs/contentEdition",
47780
+ "keyword": "required",
47781
+ "valid": {
47782
+ "file": "examples/valid/build-input/rules.json",
47783
+ "caseId": "build-input-valid-7d80f5971b255b6b"
47784
+ },
47785
+ "boundary": {
47786
+ "file": "fixtures/boundary/build-input/rules.json",
47787
+ "caseId": "build-input-boundary-455587ce7b24cfcd"
47788
+ },
47789
+ "invalid": {
47790
+ "file": "fixtures/invalid/build-input/SCHEMA_REQUIRED_FIELD_MISSING/cases.json",
47791
+ "caseId": "build-input-invalid-0b8f082091755577",
47792
+ "expectedCode": "SCHEMA_REQUIRED_FIELD_MISSING"
47793
+ },
47794
+ "unknownField": {
47795
+ "file": "fixtures/unknown-field/build-input/rules.json",
47796
+ "caseId": "build-input-unknown-7d80f5971b255b6b"
47797
+ }
47798
+ },
47799
+ {
47800
+ "contract": "build-input",
47801
+ "ruleId": "build-input:#/$defs/contentEdition:required:sourceDigest",
47802
+ "schemaPointer": "#/$defs/contentEdition",
47803
+ "keyword": "required",
47804
+ "valid": {
47805
+ "file": "examples/valid/build-input/rules.json",
47806
+ "caseId": "build-input-valid-7d80f5971b255b6b"
47807
+ },
47808
+ "boundary": {
47809
+ "file": "fixtures/boundary/build-input/rules.json",
47810
+ "caseId": "build-input-boundary-455587ce7b24cfcd"
47811
+ },
47812
+ "invalid": {
47813
+ "file": "fixtures/invalid/build-input/SCHEMA_REQUIRED_FIELD_MISSING/cases.json",
47814
+ "caseId": "build-input-invalid-0c75bd279ac634b6",
47815
+ "expectedCode": "SCHEMA_REQUIRED_FIELD_MISSING"
47816
+ },
47817
+ "unknownField": {
47818
+ "file": "fixtures/unknown-field/build-input/rules.json",
47819
+ "caseId": "build-input-unknown-7d80f5971b255b6b"
47820
+ }
47821
+ },
47822
+ {
47823
+ "contract": "build-input",
47824
+ "ruleId": "build-input:#/$defs/contentEdition:type",
47825
+ "schemaPointer": "#/$defs/contentEdition",
47826
+ "keyword": "type",
47827
+ "valid": {
47828
+ "file": "examples/valid/build-input/rules.json",
47829
+ "caseId": "build-input-valid-7d80f5971b255b6b"
47830
+ },
47831
+ "boundary": {
47832
+ "file": "fixtures/boundary/build-input/rules.json",
47833
+ "caseId": "build-input-boundary-455587ce7b24cfcd"
47834
+ },
47835
+ "invalid": {
47836
+ "file": "fixtures/invalid/build-input/SCHEMA_TYPE_INVALID/cases.json",
47837
+ "caseId": "build-input-invalid-435704af67c029c9",
47838
+ "expectedCode": "SCHEMA_TYPE_INVALID"
47839
+ },
47840
+ "unknownField": {
47841
+ "file": "fixtures/unknown-field/build-input/rules.json",
47842
+ "caseId": "build-input-unknown-7d80f5971b255b6b"
47843
+ }
47844
+ },
47845
+ {
47846
+ "contract": "build-input",
47847
+ "ruleId": "build-input:#/$defs/contentEdition/properties/generation:additionalProperties",
47848
+ "schemaPointer": "#/$defs/contentEdition/properties/generation",
47849
+ "keyword": "additionalProperties",
47850
+ "valid": {
47851
+ "file": "examples/valid/build-input/rules.json",
47852
+ "caseId": "build-input-valid-da9503c538e8a030"
47853
+ },
47854
+ "boundary": {
47855
+ "file": "fixtures/boundary/build-input/rules.json",
47856
+ "caseId": "build-input-boundary-983b4ca85cc9a328"
47857
+ },
47858
+ "invalid": {
47859
+ "file": "fixtures/invalid/build-input/REQUEST_FIELD_UNKNOWN/cases.json",
47860
+ "caseId": "build-input-invalid-8c3c5cdd228d00f0",
47861
+ "expectedCode": "REQUEST_FIELD_UNKNOWN"
47862
+ },
47863
+ "unknownField": {
47864
+ "file": "fixtures/unknown-field/build-input/rules.json",
47865
+ "caseId": "build-input-unknown-da9503c538e8a030"
47866
+ }
47867
+ },
47868
+ {
47869
+ "contract": "build-input",
47870
+ "ruleId": "build-input:#/$defs/contentEdition/properties/generation:required:generationId",
47871
+ "schemaPointer": "#/$defs/contentEdition/properties/generation",
47872
+ "keyword": "required",
47873
+ "valid": {
47874
+ "file": "examples/valid/build-input/rules.json",
47875
+ "caseId": "build-input-valid-da9503c538e8a030"
47876
+ },
47877
+ "boundary": {
47878
+ "file": "fixtures/boundary/build-input/rules.json",
47879
+ "caseId": "build-input-boundary-983b4ca85cc9a328"
47880
+ },
47881
+ "invalid": {
47882
+ "file": "fixtures/invalid/build-input/SCHEMA_REQUIRED_FIELD_MISSING/cases.json",
47883
+ "caseId": "build-input-invalid-037dfdaab2f6c7e6",
47884
+ "expectedCode": "SCHEMA_REQUIRED_FIELD_MISSING"
47885
+ },
47886
+ "unknownField": {
47887
+ "file": "fixtures/unknown-field/build-input/rules.json",
47888
+ "caseId": "build-input-unknown-da9503c538e8a030"
47889
+ }
47890
+ },
47891
+ {
47892
+ "contract": "build-input",
47893
+ "ruleId": "build-input:#/$defs/contentEdition/properties/generation:required:model",
47894
+ "schemaPointer": "#/$defs/contentEdition/properties/generation",
47895
+ "keyword": "required",
47896
+ "valid": {
47897
+ "file": "examples/valid/build-input/rules.json",
47898
+ "caseId": "build-input-valid-da9503c538e8a030"
47899
+ },
47900
+ "boundary": {
47901
+ "file": "fixtures/boundary/build-input/rules.json",
47902
+ "caseId": "build-input-boundary-983b4ca85cc9a328"
47903
+ },
47904
+ "invalid": {
47905
+ "file": "fixtures/invalid/build-input/SCHEMA_REQUIRED_FIELD_MISSING/cases.json",
47906
+ "caseId": "build-input-invalid-973d8c6059bef11b",
47907
+ "expectedCode": "SCHEMA_REQUIRED_FIELD_MISSING"
47908
+ },
47909
+ "unknownField": {
47910
+ "file": "fixtures/unknown-field/build-input/rules.json",
47911
+ "caseId": "build-input-unknown-da9503c538e8a030"
47912
+ }
47913
+ },
47914
+ {
47915
+ "contract": "build-input",
47916
+ "ruleId": "build-input:#/$defs/contentEdition/properties/generation:required:provider",
47917
+ "schemaPointer": "#/$defs/contentEdition/properties/generation",
47918
+ "keyword": "required",
47919
+ "valid": {
47920
+ "file": "examples/valid/build-input/rules.json",
47921
+ "caseId": "build-input-valid-da9503c538e8a030"
47922
+ },
47923
+ "boundary": {
47924
+ "file": "fixtures/boundary/build-input/rules.json",
47925
+ "caseId": "build-input-boundary-983b4ca85cc9a328"
47926
+ },
47927
+ "invalid": {
47928
+ "file": "fixtures/invalid/build-input/SCHEMA_REQUIRED_FIELD_MISSING/cases.json",
47929
+ "caseId": "build-input-invalid-75609026109ac259",
47930
+ "expectedCode": "SCHEMA_REQUIRED_FIELD_MISSING"
47931
+ },
47932
+ "unknownField": {
47933
+ "file": "fixtures/unknown-field/build-input/rules.json",
47934
+ "caseId": "build-input-unknown-da9503c538e8a030"
47935
+ }
47936
+ },
47937
+ {
47938
+ "contract": "build-input",
47939
+ "ruleId": "build-input:#/$defs/contentEdition/properties/generation:type",
47940
+ "schemaPointer": "#/$defs/contentEdition/properties/generation",
47941
+ "keyword": "type",
47942
+ "valid": {
47943
+ "file": "examples/valid/build-input/rules.json",
47944
+ "caseId": "build-input-valid-da9503c538e8a030"
47945
+ },
47946
+ "boundary": {
47947
+ "file": "fixtures/boundary/build-input/rules.json",
47948
+ "caseId": "build-input-boundary-983b4ca85cc9a328"
47949
+ },
47950
+ "invalid": {
47951
+ "file": "fixtures/invalid/build-input/SCHEMA_TYPE_INVALID/cases.json",
47952
+ "caseId": "build-input-invalid-4626b3914dad4796",
47953
+ "expectedCode": "SCHEMA_TYPE_INVALID"
47954
+ },
47955
+ "unknownField": {
47956
+ "file": "fixtures/unknown-field/build-input/rules.json",
47957
+ "caseId": "build-input-unknown-da9503c538e8a030"
47958
+ }
47959
+ },
47960
+ {
47961
+ "contract": "build-input",
47962
+ "ruleId": "build-input:#/$defs/contentEdition/properties/generation/properties/provider:enum",
47963
+ "schemaPointer": "#/$defs/contentEdition/properties/generation/properties/provider",
47964
+ "keyword": "enum",
47965
+ "valid": {
47966
+ "file": "examples/valid/build-input/rules.json",
47967
+ "caseId": "build-input-valid-1896e443ab3512b4"
47968
+ },
47969
+ "boundary": {
47970
+ "file": "fixtures/boundary/build-input/rules.json",
47971
+ "caseId": "build-input-boundary-f3c162ed365ccf8a"
47972
+ },
47973
+ "invalid": {
47974
+ "file": "fixtures/invalid/build-input/SCHEMA_ENUM_INVALID/cases.json",
47975
+ "caseId": "build-input-invalid-db5a519a0fddd4e6",
47976
+ "expectedCode": "SCHEMA_ENUM_INVALID"
47977
+ },
47978
+ "unknownField": {
47979
+ "file": "fixtures/unknown-field/build-input/rules.json",
47980
+ "caseId": "build-input-unknown-da9503c538e8a030"
47981
+ }
47982
+ },
47983
+ {
47984
+ "contract": "build-input",
47985
+ "ruleId": "build-input:#/$defs/contentEdition/properties/kind:enum",
47986
+ "schemaPointer": "#/$defs/contentEdition/properties/kind",
47987
+ "keyword": "enum",
47988
+ "valid": {
47989
+ "file": "examples/valid/build-input/rules.json",
47990
+ "caseId": "build-input-valid-ede9f831b6828fc7"
47991
+ },
47992
+ "boundary": {
47993
+ "file": "fixtures/boundary/build-input/rules.json",
47994
+ "caseId": "build-input-boundary-55347195cea55a13"
47995
+ },
47996
+ "invalid": {
47997
+ "file": "fixtures/invalid/build-input/SCHEMA_ENUM_INVALID/cases.json",
47998
+ "caseId": "build-input-invalid-5fde04a8df08690f",
47999
+ "expectedCode": "SCHEMA_ENUM_INVALID"
48000
+ },
48001
+ "unknownField": {
48002
+ "file": "fixtures/unknown-field/build-input/rules.json",
48003
+ "caseId": "build-input-unknown-7d80f5971b255b6b"
48004
+ }
48005
+ },
47500
48006
  {
47501
48007
  "contract": "build-input",
47502
48008
  "ruleId": "build-input:#/$defs/contentFrontmatterNormalized:additionalProperties",
@@ -47819,6 +48325,121 @@
47819
48325
  "caseId": "build-input-unknown-fc3cc67b44d0a9c0"
47820
48326
  }
47821
48327
  },
48328
+ {
48329
+ "contract": "build-input",
48330
+ "ruleId": "build-input:#/$defs/contentFrontmatterNormalized/allOf/0/else:not",
48331
+ "schemaPointer": "#/$defs/contentFrontmatterNormalized/allOf/0/else",
48332
+ "keyword": "not",
48333
+ "valid": {
48334
+ "file": "examples/valid/build-input/rules.json",
48335
+ "caseId": "build-input-valid-3b68bec10a09058c"
48336
+ },
48337
+ "boundary": {
48338
+ "file": "fixtures/boundary/build-input/rules.json",
48339
+ "caseId": "build-input-boundary-e6067e0630c097fd"
48340
+ },
48341
+ "invalid": {
48342
+ "file": "fixtures/invalid/build-input/SCHEMA_NEGATED_RULE_MATCHED/cases.json",
48343
+ "caseId": "build-input-invalid-8d303846ba00bad5",
48344
+ "expectedCode": "SCHEMA_NEGATED_RULE_MATCHED"
48345
+ },
48346
+ "unknownField": {
48347
+ "file": "fixtures/unknown-field/build-input/rules.json",
48348
+ "caseId": "build-input-unknown-fc3cc67b44d0a9c0"
48349
+ }
48350
+ },
48351
+ {
48352
+ "contract": "build-input",
48353
+ "ruleId": "build-input:#/$defs/contentFrontmatterNormalized/allOf/0/else/not:required:edition",
48354
+ "schemaPointer": "#/$defs/contentFrontmatterNormalized/allOf/0/else/not",
48355
+ "keyword": "required",
48356
+ "valid": {
48357
+ "file": "examples/valid/build-input/rules.json",
48358
+ "caseId": "build-input-valid-e39d8779aaba6cc4"
48359
+ },
48360
+ "boundary": {
48361
+ "file": "fixtures/boundary/build-input/rules.json",
48362
+ "caseId": "build-input-boundary-519c0f1911b45641"
48363
+ },
48364
+ "invalid": {
48365
+ "file": "fixtures/invalid/build-input/SCHEMA_REQUIRED_FIELD_MISSING/cases.json",
48366
+ "caseId": "build-input-invalid-0fe4321ea21ee4aa",
48367
+ "expectedCode": "SCHEMA_REQUIRED_FIELD_MISSING"
48368
+ },
48369
+ "unknownField": {
48370
+ "file": "fixtures/unknown-field/build-input/rules.json",
48371
+ "caseId": "build-input-unknown-fc3cc67b44d0a9c0"
48372
+ }
48373
+ },
48374
+ {
48375
+ "contract": "build-input",
48376
+ "ruleId": "build-input:#/$defs/contentFrontmatterNormalized/allOf/0/if:required:kind",
48377
+ "schemaPointer": "#/$defs/contentFrontmatterNormalized/allOf/0/if",
48378
+ "keyword": "required",
48379
+ "valid": {
48380
+ "file": "examples/valid/build-input/rules.json",
48381
+ "caseId": "build-input-valid-03a277f1397930ff"
48382
+ },
48383
+ "boundary": {
48384
+ "file": "fixtures/boundary/build-input/rules.json",
48385
+ "caseId": "build-input-boundary-9dbdfcdb20d9fc5d"
48386
+ },
48387
+ "invalid": {
48388
+ "file": "fixtures/invalid/build-input/SCHEMA_REQUIRED_FIELD_MISSING/cases.json",
48389
+ "caseId": "build-input-invalid-e7e729a536b1d6d5",
48390
+ "expectedCode": "SCHEMA_REQUIRED_FIELD_MISSING"
48391
+ },
48392
+ "unknownField": {
48393
+ "file": "fixtures/unknown-field/build-input/rules.json",
48394
+ "caseId": "build-input-unknown-fc3cc67b44d0a9c0"
48395
+ }
48396
+ },
48397
+ {
48398
+ "contract": "build-input",
48399
+ "ruleId": "build-input:#/$defs/contentFrontmatterNormalized/allOf/0/if/properties/kind:const",
48400
+ "schemaPointer": "#/$defs/contentFrontmatterNormalized/allOf/0/if/properties/kind",
48401
+ "keyword": "const",
48402
+ "valid": {
48403
+ "file": "examples/valid/build-input/rules.json",
48404
+ "caseId": "build-input-valid-270a8e7e1bbbc9a6"
48405
+ },
48406
+ "boundary": {
48407
+ "file": "fixtures/boundary/build-input/rules.json",
48408
+ "caseId": "build-input-boundary-710a0539bd0f1411"
48409
+ },
48410
+ "invalid": {
48411
+ "file": "fixtures/invalid/build-input/SCHEMA_CONSTANT_INVALID/cases.json",
48412
+ "caseId": "build-input-invalid-f38695ef3b514a8f",
48413
+ "expectedCode": "SCHEMA_CONSTANT_INVALID"
48414
+ },
48415
+ "unknownField": {
48416
+ "file": "fixtures/unknown-field/build-input/rules.json",
48417
+ "caseId": "build-input-unknown-fc3cc67b44d0a9c0"
48418
+ }
48419
+ },
48420
+ {
48421
+ "contract": "build-input",
48422
+ "ruleId": "build-input:#/$defs/contentFrontmatterNormalized/allOf/0/then:required:edition",
48423
+ "schemaPointer": "#/$defs/contentFrontmatterNormalized/allOf/0/then",
48424
+ "keyword": "required",
48425
+ "valid": {
48426
+ "file": "examples/valid/build-input/rules.json",
48427
+ "caseId": "build-input-valid-6760fe9d233bec39"
48428
+ },
48429
+ "boundary": {
48430
+ "file": "fixtures/boundary/build-input/rules.json",
48431
+ "caseId": "build-input-boundary-698f09f77fcb4ef9"
48432
+ },
48433
+ "invalid": {
48434
+ "file": "fixtures/invalid/build-input/SCHEMA_REQUIRED_FIELD_MISSING/cases.json",
48435
+ "caseId": "build-input-invalid-09753ed41ea59545",
48436
+ "expectedCode": "SCHEMA_REQUIRED_FIELD_MISSING"
48437
+ },
48438
+ "unknownField": {
48439
+ "file": "fixtures/unknown-field/build-input/rules.json",
48440
+ "caseId": "build-input-unknown-fc3cc67b44d0a9c0"
48441
+ }
48442
+ },
47822
48443
  {
47823
48444
  "contract": "build-input",
47824
48445
  "ruleId": "build-input:#/$defs/contentFrontmatterNormalized/properties/authorIds:maxItems",
@@ -65463,6 +66084,328 @@
65463
66084
  "caseId": "content-frontmatter-unknown-334359b90efed75d"
65464
66085
  }
65465
66086
  },
66087
+ {
66088
+ "contract": "content-frontmatter",
66089
+ "ruleId": "content-frontmatter:#/$defs/contentEdition:additionalProperties",
66090
+ "schemaPointer": "#/$defs/contentEdition",
66091
+ "keyword": "additionalProperties",
66092
+ "valid": {
66093
+ "file": "examples/valid/content-frontmatter/rules.json",
66094
+ "caseId": "content-frontmatter-valid-7d80f5971b255b6b"
66095
+ },
66096
+ "boundary": {
66097
+ "file": "fixtures/boundary/content-frontmatter/rules.json",
66098
+ "caseId": "content-frontmatter-boundary-455587ce7b24cfcd"
66099
+ },
66100
+ "invalid": {
66101
+ "file": "fixtures/invalid/content-frontmatter/REQUEST_FIELD_UNKNOWN/cases.json",
66102
+ "caseId": "content-frontmatter-invalid-74f8169f2f3889a9",
66103
+ "expectedCode": "REQUEST_FIELD_UNKNOWN"
66104
+ },
66105
+ "unknownField": {
66106
+ "file": "fixtures/unknown-field/content-frontmatter/rules.json",
66107
+ "caseId": "content-frontmatter-unknown-7d80f5971b255b6b"
66108
+ }
66109
+ },
66110
+ {
66111
+ "contract": "content-frontmatter",
66112
+ "ruleId": "content-frontmatter:#/$defs/contentEdition:required:approvedAt",
66113
+ "schemaPointer": "#/$defs/contentEdition",
66114
+ "keyword": "required",
66115
+ "valid": {
66116
+ "file": "examples/valid/content-frontmatter/rules.json",
66117
+ "caseId": "content-frontmatter-valid-7d80f5971b255b6b"
66118
+ },
66119
+ "boundary": {
66120
+ "file": "fixtures/boundary/content-frontmatter/rules.json",
66121
+ "caseId": "content-frontmatter-boundary-455587ce7b24cfcd"
66122
+ },
66123
+ "invalid": {
66124
+ "file": "fixtures/invalid/content-frontmatter/SCHEMA_REQUIRED_FIELD_MISSING/cases.json",
66125
+ "caseId": "content-frontmatter-invalid-06fbec508d0d1ba2",
66126
+ "expectedCode": "SCHEMA_REQUIRED_FIELD_MISSING"
66127
+ },
66128
+ "unknownField": {
66129
+ "file": "fixtures/unknown-field/content-frontmatter/rules.json",
66130
+ "caseId": "content-frontmatter-unknown-7d80f5971b255b6b"
66131
+ }
66132
+ },
66133
+ {
66134
+ "contract": "content-frontmatter",
66135
+ "ruleId": "content-frontmatter:#/$defs/contentEdition:required:generation",
66136
+ "schemaPointer": "#/$defs/contentEdition",
66137
+ "keyword": "required",
66138
+ "valid": {
66139
+ "file": "examples/valid/content-frontmatter/rules.json",
66140
+ "caseId": "content-frontmatter-valid-7d80f5971b255b6b"
66141
+ },
66142
+ "boundary": {
66143
+ "file": "fixtures/boundary/content-frontmatter/rules.json",
66144
+ "caseId": "content-frontmatter-boundary-455587ce7b24cfcd"
66145
+ },
66146
+ "invalid": {
66147
+ "file": "fixtures/invalid/content-frontmatter/SCHEMA_REQUIRED_FIELD_MISSING/cases.json",
66148
+ "caseId": "content-frontmatter-invalid-3621fe7218887bda",
66149
+ "expectedCode": "SCHEMA_REQUIRED_FIELD_MISSING"
66150
+ },
66151
+ "unknownField": {
66152
+ "file": "fixtures/unknown-field/content-frontmatter/rules.json",
66153
+ "caseId": "content-frontmatter-unknown-7d80f5971b255b6b"
66154
+ }
66155
+ },
66156
+ {
66157
+ "contract": "content-frontmatter",
66158
+ "ruleId": "content-frontmatter:#/$defs/contentEdition:required:kind",
66159
+ "schemaPointer": "#/$defs/contentEdition",
66160
+ "keyword": "required",
66161
+ "valid": {
66162
+ "file": "examples/valid/content-frontmatter/rules.json",
66163
+ "caseId": "content-frontmatter-valid-7d80f5971b255b6b"
66164
+ },
66165
+ "boundary": {
66166
+ "file": "fixtures/boundary/content-frontmatter/rules.json",
66167
+ "caseId": "content-frontmatter-boundary-455587ce7b24cfcd"
66168
+ },
66169
+ "invalid": {
66170
+ "file": "fixtures/invalid/content-frontmatter/SCHEMA_REQUIRED_FIELD_MISSING/cases.json",
66171
+ "caseId": "content-frontmatter-invalid-f04fdd1bd745e601",
66172
+ "expectedCode": "SCHEMA_REQUIRED_FIELD_MISSING"
66173
+ },
66174
+ "unknownField": {
66175
+ "file": "fixtures/unknown-field/content-frontmatter/rules.json",
66176
+ "caseId": "content-frontmatter-unknown-7d80f5971b255b6b"
66177
+ }
66178
+ },
66179
+ {
66180
+ "contract": "content-frontmatter",
66181
+ "ruleId": "content-frontmatter:#/$defs/contentEdition:required:of",
66182
+ "schemaPointer": "#/$defs/contentEdition",
66183
+ "keyword": "required",
66184
+ "valid": {
66185
+ "file": "examples/valid/content-frontmatter/rules.json",
66186
+ "caseId": "content-frontmatter-valid-7d80f5971b255b6b"
66187
+ },
66188
+ "boundary": {
66189
+ "file": "fixtures/boundary/content-frontmatter/rules.json",
66190
+ "caseId": "content-frontmatter-boundary-455587ce7b24cfcd"
66191
+ },
66192
+ "invalid": {
66193
+ "file": "fixtures/invalid/content-frontmatter/SCHEMA_REQUIRED_FIELD_MISSING/cases.json",
66194
+ "caseId": "content-frontmatter-invalid-f8a487c2b1ab81cb",
66195
+ "expectedCode": "SCHEMA_REQUIRED_FIELD_MISSING"
66196
+ },
66197
+ "unknownField": {
66198
+ "file": "fixtures/unknown-field/content-frontmatter/rules.json",
66199
+ "caseId": "content-frontmatter-unknown-7d80f5971b255b6b"
66200
+ }
66201
+ },
66202
+ {
66203
+ "contract": "content-frontmatter",
66204
+ "ruleId": "content-frontmatter:#/$defs/contentEdition:required:sourceDigest",
66205
+ "schemaPointer": "#/$defs/contentEdition",
66206
+ "keyword": "required",
66207
+ "valid": {
66208
+ "file": "examples/valid/content-frontmatter/rules.json",
66209
+ "caseId": "content-frontmatter-valid-7d80f5971b255b6b"
66210
+ },
66211
+ "boundary": {
66212
+ "file": "fixtures/boundary/content-frontmatter/rules.json",
66213
+ "caseId": "content-frontmatter-boundary-455587ce7b24cfcd"
66214
+ },
66215
+ "invalid": {
66216
+ "file": "fixtures/invalid/content-frontmatter/SCHEMA_REQUIRED_FIELD_MISSING/cases.json",
66217
+ "caseId": "content-frontmatter-invalid-66209325a4d47300",
66218
+ "expectedCode": "SCHEMA_REQUIRED_FIELD_MISSING"
66219
+ },
66220
+ "unknownField": {
66221
+ "file": "fixtures/unknown-field/content-frontmatter/rules.json",
66222
+ "caseId": "content-frontmatter-unknown-7d80f5971b255b6b"
66223
+ }
66224
+ },
66225
+ {
66226
+ "contract": "content-frontmatter",
66227
+ "ruleId": "content-frontmatter:#/$defs/contentEdition:type",
66228
+ "schemaPointer": "#/$defs/contentEdition",
66229
+ "keyword": "type",
66230
+ "valid": {
66231
+ "file": "examples/valid/content-frontmatter/rules.json",
66232
+ "caseId": "content-frontmatter-valid-7d80f5971b255b6b"
66233
+ },
66234
+ "boundary": {
66235
+ "file": "fixtures/boundary/content-frontmatter/rules.json",
66236
+ "caseId": "content-frontmatter-boundary-455587ce7b24cfcd"
66237
+ },
66238
+ "invalid": {
66239
+ "file": "fixtures/invalid/content-frontmatter/SCHEMA_TYPE_INVALID/cases.json",
66240
+ "caseId": "content-frontmatter-invalid-bb2238b3e4e53990",
66241
+ "expectedCode": "SCHEMA_TYPE_INVALID"
66242
+ },
66243
+ "unknownField": {
66244
+ "file": "fixtures/unknown-field/content-frontmatter/rules.json",
66245
+ "caseId": "content-frontmatter-unknown-7d80f5971b255b6b"
66246
+ }
66247
+ },
66248
+ {
66249
+ "contract": "content-frontmatter",
66250
+ "ruleId": "content-frontmatter:#/$defs/contentEdition/properties/generation:additionalProperties",
66251
+ "schemaPointer": "#/$defs/contentEdition/properties/generation",
66252
+ "keyword": "additionalProperties",
66253
+ "valid": {
66254
+ "file": "examples/valid/content-frontmatter/rules.json",
66255
+ "caseId": "content-frontmatter-valid-da9503c538e8a030"
66256
+ },
66257
+ "boundary": {
66258
+ "file": "fixtures/boundary/content-frontmatter/rules.json",
66259
+ "caseId": "content-frontmatter-boundary-983b4ca85cc9a328"
66260
+ },
66261
+ "invalid": {
66262
+ "file": "fixtures/invalid/content-frontmatter/REQUEST_FIELD_UNKNOWN/cases.json",
66263
+ "caseId": "content-frontmatter-invalid-61131d532fb42f13",
66264
+ "expectedCode": "REQUEST_FIELD_UNKNOWN"
66265
+ },
66266
+ "unknownField": {
66267
+ "file": "fixtures/unknown-field/content-frontmatter/rules.json",
66268
+ "caseId": "content-frontmatter-unknown-da9503c538e8a030"
66269
+ }
66270
+ },
66271
+ {
66272
+ "contract": "content-frontmatter",
66273
+ "ruleId": "content-frontmatter:#/$defs/contentEdition/properties/generation:required:generationId",
66274
+ "schemaPointer": "#/$defs/contentEdition/properties/generation",
66275
+ "keyword": "required",
66276
+ "valid": {
66277
+ "file": "examples/valid/content-frontmatter/rules.json",
66278
+ "caseId": "content-frontmatter-valid-da9503c538e8a030"
66279
+ },
66280
+ "boundary": {
66281
+ "file": "fixtures/boundary/content-frontmatter/rules.json",
66282
+ "caseId": "content-frontmatter-boundary-983b4ca85cc9a328"
66283
+ },
66284
+ "invalid": {
66285
+ "file": "fixtures/invalid/content-frontmatter/SCHEMA_REQUIRED_FIELD_MISSING/cases.json",
66286
+ "caseId": "content-frontmatter-invalid-518711a285edc402",
66287
+ "expectedCode": "SCHEMA_REQUIRED_FIELD_MISSING"
66288
+ },
66289
+ "unknownField": {
66290
+ "file": "fixtures/unknown-field/content-frontmatter/rules.json",
66291
+ "caseId": "content-frontmatter-unknown-da9503c538e8a030"
66292
+ }
66293
+ },
66294
+ {
66295
+ "contract": "content-frontmatter",
66296
+ "ruleId": "content-frontmatter:#/$defs/contentEdition/properties/generation:required:model",
66297
+ "schemaPointer": "#/$defs/contentEdition/properties/generation",
66298
+ "keyword": "required",
66299
+ "valid": {
66300
+ "file": "examples/valid/content-frontmatter/rules.json",
66301
+ "caseId": "content-frontmatter-valid-da9503c538e8a030"
66302
+ },
66303
+ "boundary": {
66304
+ "file": "fixtures/boundary/content-frontmatter/rules.json",
66305
+ "caseId": "content-frontmatter-boundary-983b4ca85cc9a328"
66306
+ },
66307
+ "invalid": {
66308
+ "file": "fixtures/invalid/content-frontmatter/SCHEMA_REQUIRED_FIELD_MISSING/cases.json",
66309
+ "caseId": "content-frontmatter-invalid-1cce74bde869b810",
66310
+ "expectedCode": "SCHEMA_REQUIRED_FIELD_MISSING"
66311
+ },
66312
+ "unknownField": {
66313
+ "file": "fixtures/unknown-field/content-frontmatter/rules.json",
66314
+ "caseId": "content-frontmatter-unknown-da9503c538e8a030"
66315
+ }
66316
+ },
66317
+ {
66318
+ "contract": "content-frontmatter",
66319
+ "ruleId": "content-frontmatter:#/$defs/contentEdition/properties/generation:required:provider",
66320
+ "schemaPointer": "#/$defs/contentEdition/properties/generation",
66321
+ "keyword": "required",
66322
+ "valid": {
66323
+ "file": "examples/valid/content-frontmatter/rules.json",
66324
+ "caseId": "content-frontmatter-valid-da9503c538e8a030"
66325
+ },
66326
+ "boundary": {
66327
+ "file": "fixtures/boundary/content-frontmatter/rules.json",
66328
+ "caseId": "content-frontmatter-boundary-983b4ca85cc9a328"
66329
+ },
66330
+ "invalid": {
66331
+ "file": "fixtures/invalid/content-frontmatter/SCHEMA_REQUIRED_FIELD_MISSING/cases.json",
66332
+ "caseId": "content-frontmatter-invalid-8ca7558c87ac3b0f",
66333
+ "expectedCode": "SCHEMA_REQUIRED_FIELD_MISSING"
66334
+ },
66335
+ "unknownField": {
66336
+ "file": "fixtures/unknown-field/content-frontmatter/rules.json",
66337
+ "caseId": "content-frontmatter-unknown-da9503c538e8a030"
66338
+ }
66339
+ },
66340
+ {
66341
+ "contract": "content-frontmatter",
66342
+ "ruleId": "content-frontmatter:#/$defs/contentEdition/properties/generation:type",
66343
+ "schemaPointer": "#/$defs/contentEdition/properties/generation",
66344
+ "keyword": "type",
66345
+ "valid": {
66346
+ "file": "examples/valid/content-frontmatter/rules.json",
66347
+ "caseId": "content-frontmatter-valid-da9503c538e8a030"
66348
+ },
66349
+ "boundary": {
66350
+ "file": "fixtures/boundary/content-frontmatter/rules.json",
66351
+ "caseId": "content-frontmatter-boundary-983b4ca85cc9a328"
66352
+ },
66353
+ "invalid": {
66354
+ "file": "fixtures/invalid/content-frontmatter/SCHEMA_TYPE_INVALID/cases.json",
66355
+ "caseId": "content-frontmatter-invalid-2282848ac2fde699",
66356
+ "expectedCode": "SCHEMA_TYPE_INVALID"
66357
+ },
66358
+ "unknownField": {
66359
+ "file": "fixtures/unknown-field/content-frontmatter/rules.json",
66360
+ "caseId": "content-frontmatter-unknown-da9503c538e8a030"
66361
+ }
66362
+ },
66363
+ {
66364
+ "contract": "content-frontmatter",
66365
+ "ruleId": "content-frontmatter:#/$defs/contentEdition/properties/generation/properties/provider:enum",
66366
+ "schemaPointer": "#/$defs/contentEdition/properties/generation/properties/provider",
66367
+ "keyword": "enum",
66368
+ "valid": {
66369
+ "file": "examples/valid/content-frontmatter/rules.json",
66370
+ "caseId": "content-frontmatter-valid-1896e443ab3512b4"
66371
+ },
66372
+ "boundary": {
66373
+ "file": "fixtures/boundary/content-frontmatter/rules.json",
66374
+ "caseId": "content-frontmatter-boundary-f3c162ed365ccf8a"
66375
+ },
66376
+ "invalid": {
66377
+ "file": "fixtures/invalid/content-frontmatter/SCHEMA_ENUM_INVALID/cases.json",
66378
+ "caseId": "content-frontmatter-invalid-85516cd0906e1809",
66379
+ "expectedCode": "SCHEMA_ENUM_INVALID"
66380
+ },
66381
+ "unknownField": {
66382
+ "file": "fixtures/unknown-field/content-frontmatter/rules.json",
66383
+ "caseId": "content-frontmatter-unknown-da9503c538e8a030"
66384
+ }
66385
+ },
66386
+ {
66387
+ "contract": "content-frontmatter",
66388
+ "ruleId": "content-frontmatter:#/$defs/contentEdition/properties/kind:enum",
66389
+ "schemaPointer": "#/$defs/contentEdition/properties/kind",
66390
+ "keyword": "enum",
66391
+ "valid": {
66392
+ "file": "examples/valid/content-frontmatter/rules.json",
66393
+ "caseId": "content-frontmatter-valid-ede9f831b6828fc7"
66394
+ },
66395
+ "boundary": {
66396
+ "file": "fixtures/boundary/content-frontmatter/rules.json",
66397
+ "caseId": "content-frontmatter-boundary-55347195cea55a13"
66398
+ },
66399
+ "invalid": {
66400
+ "file": "fixtures/invalid/content-frontmatter/SCHEMA_ENUM_INVALID/cases.json",
66401
+ "caseId": "content-frontmatter-invalid-56a9de6038fafe47",
66402
+ "expectedCode": "SCHEMA_ENUM_INVALID"
66403
+ },
66404
+ "unknownField": {
66405
+ "file": "fixtures/unknown-field/content-frontmatter/rules.json",
66406
+ "caseId": "content-frontmatter-unknown-7d80f5971b255b6b"
66407
+ }
66408
+ },
65466
66409
  {
65467
66410
  "contract": "content-frontmatter",
65468
66411
  "ruleId": "content-frontmatter:#/$defs/digest:pattern",
@@ -67263,6 +68206,121 @@
67263
68206
  "caseId": "content-frontmatter-unknown-334359b90efed75d"
67264
68207
  }
67265
68208
  },
68209
+ {
68210
+ "contract": "content-frontmatter",
68211
+ "ruleId": "content-frontmatter:#/allOf/1/else:not",
68212
+ "schemaPointer": "#/allOf/1/else",
68213
+ "keyword": "not",
68214
+ "valid": {
68215
+ "file": "examples/valid/content-frontmatter/rules.json",
68216
+ "caseId": "content-frontmatter-valid-ec8be3c8f5e5a610"
68217
+ },
68218
+ "boundary": {
68219
+ "file": "fixtures/boundary/content-frontmatter/rules.json",
68220
+ "caseId": "content-frontmatter-boundary-f8c3edd5a419db40"
68221
+ },
68222
+ "invalid": {
68223
+ "file": "fixtures/invalid/content-frontmatter/SCHEMA_NEGATED_RULE_MATCHED/cases.json",
68224
+ "caseId": "content-frontmatter-invalid-4c56068b5540d39e",
68225
+ "expectedCode": "SCHEMA_NEGATED_RULE_MATCHED"
68226
+ },
68227
+ "unknownField": {
68228
+ "file": "fixtures/unknown-field/content-frontmatter/rules.json",
68229
+ "caseId": "content-frontmatter-unknown-334359b90efed75d"
68230
+ }
68231
+ },
68232
+ {
68233
+ "contract": "content-frontmatter",
68234
+ "ruleId": "content-frontmatter:#/allOf/1/else/not:required:edition",
68235
+ "schemaPointer": "#/allOf/1/else/not",
68236
+ "keyword": "required",
68237
+ "valid": {
68238
+ "file": "examples/valid/content-frontmatter/rules.json",
68239
+ "caseId": "content-frontmatter-valid-4bc633fbfeb7b4be"
68240
+ },
68241
+ "boundary": {
68242
+ "file": "fixtures/boundary/content-frontmatter/rules.json",
68243
+ "caseId": "content-frontmatter-boundary-8c325aade4629c73"
68244
+ },
68245
+ "invalid": {
68246
+ "file": "fixtures/invalid/content-frontmatter/SCHEMA_REQUIRED_FIELD_MISSING/cases.json",
68247
+ "caseId": "content-frontmatter-invalid-fe05af606d0d2794",
68248
+ "expectedCode": "SCHEMA_REQUIRED_FIELD_MISSING"
68249
+ },
68250
+ "unknownField": {
68251
+ "file": "fixtures/unknown-field/content-frontmatter/rules.json",
68252
+ "caseId": "content-frontmatter-unknown-334359b90efed75d"
68253
+ }
68254
+ },
68255
+ {
68256
+ "contract": "content-frontmatter",
68257
+ "ruleId": "content-frontmatter:#/allOf/1/if:required:kind",
68258
+ "schemaPointer": "#/allOf/1/if",
68259
+ "keyword": "required",
68260
+ "valid": {
68261
+ "file": "examples/valid/content-frontmatter/rules.json",
68262
+ "caseId": "content-frontmatter-valid-4006681c0072c6b0"
68263
+ },
68264
+ "boundary": {
68265
+ "file": "fixtures/boundary/content-frontmatter/rules.json",
68266
+ "caseId": "content-frontmatter-boundary-a9786bf2ff7495f9"
68267
+ },
68268
+ "invalid": {
68269
+ "file": "fixtures/invalid/content-frontmatter/SCHEMA_REQUIRED_FIELD_MISSING/cases.json",
68270
+ "caseId": "content-frontmatter-invalid-e736bf012d175edb",
68271
+ "expectedCode": "SCHEMA_REQUIRED_FIELD_MISSING"
68272
+ },
68273
+ "unknownField": {
68274
+ "file": "fixtures/unknown-field/content-frontmatter/rules.json",
68275
+ "caseId": "content-frontmatter-unknown-334359b90efed75d"
68276
+ }
68277
+ },
68278
+ {
68279
+ "contract": "content-frontmatter",
68280
+ "ruleId": "content-frontmatter:#/allOf/1/if/properties/kind:const",
68281
+ "schemaPointer": "#/allOf/1/if/properties/kind",
68282
+ "keyword": "const",
68283
+ "valid": {
68284
+ "file": "examples/valid/content-frontmatter/rules.json",
68285
+ "caseId": "content-frontmatter-valid-80136d912f2549de"
68286
+ },
68287
+ "boundary": {
68288
+ "file": "fixtures/boundary/content-frontmatter/rules.json",
68289
+ "caseId": "content-frontmatter-boundary-ca98c1318bb2c380"
68290
+ },
68291
+ "invalid": {
68292
+ "file": "fixtures/invalid/content-frontmatter/SCHEMA_CONSTANT_INVALID/cases.json",
68293
+ "caseId": "content-frontmatter-invalid-623683b1e332c043",
68294
+ "expectedCode": "SCHEMA_CONSTANT_INVALID"
68295
+ },
68296
+ "unknownField": {
68297
+ "file": "fixtures/unknown-field/content-frontmatter/rules.json",
68298
+ "caseId": "content-frontmatter-unknown-334359b90efed75d"
68299
+ }
68300
+ },
68301
+ {
68302
+ "contract": "content-frontmatter",
68303
+ "ruleId": "content-frontmatter:#/allOf/1/then:required:edition",
68304
+ "schemaPointer": "#/allOf/1/then",
68305
+ "keyword": "required",
68306
+ "valid": {
68307
+ "file": "examples/valid/content-frontmatter/rules.json",
68308
+ "caseId": "content-frontmatter-valid-d3f9fa11b7419433"
68309
+ },
68310
+ "boundary": {
68311
+ "file": "fixtures/boundary/content-frontmatter/rules.json",
68312
+ "caseId": "content-frontmatter-boundary-af03cd29a234b87f"
68313
+ },
68314
+ "invalid": {
68315
+ "file": "fixtures/invalid/content-frontmatter/SCHEMA_REQUIRED_FIELD_MISSING/cases.json",
68316
+ "caseId": "content-frontmatter-invalid-086a61217ec24fe7",
68317
+ "expectedCode": "SCHEMA_REQUIRED_FIELD_MISSING"
68318
+ },
68319
+ "unknownField": {
68320
+ "file": "fixtures/unknown-field/content-frontmatter/rules.json",
68321
+ "caseId": "content-frontmatter-unknown-334359b90efed75d"
68322
+ }
68323
+ },
67266
68324
  {
67267
68325
  "contract": "content-frontmatter",
67268
68326
  "ruleId": "content-frontmatter:#/properties/authors:maxItems",