@rathnasgala2/schemas 3.25.0 → 3.25.1

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.
@@ -142,8 +142,8 @@
142
142
  {
143
143
  "contract": "problem",
144
144
  "schemaId": "urn:gala:schema:problem:2.0.0",
145
- "schemaSha256": "60d1d34ef306b20e228e3895e2894795f0c35292c0554e77001058d3f62dae30",
146
- "ruleCount": 120,
145
+ "schemaSha256": "f70ff3808035167a7a51e86b9df68ace36b8641009d86b5c3b9b76efa383339d",
146
+ "ruleCount": 134,
147
147
  "validExample": "examples/valid/problem/canonical.json",
148
148
  "boundaryFixture": "fixtures/boundary/problem/root.json",
149
149
  "unknownFieldFixture": "fixtures/unknown-field/problem/root.json"
@@ -191879,6 +191879,328 @@
191879
191879
  "caseId": "problem-unknown-334359b90efed75d"
191880
191880
  }
191881
191881
  },
191882
+ {
191883
+ "contract": "problem",
191884
+ "ruleId": "problem:#/properties/details:additionalProperties",
191885
+ "schemaPointer": "#/properties/details",
191886
+ "keyword": "additionalProperties",
191887
+ "valid": {
191888
+ "file": "examples/valid/problem/rules.json",
191889
+ "caseId": "problem-valid-86763b9cdec57c80"
191890
+ },
191891
+ "boundary": {
191892
+ "file": "fixtures/boundary/problem/rules.json",
191893
+ "caseId": "problem-boundary-f8f1abc7f642af61"
191894
+ },
191895
+ "invalid": {
191896
+ "file": "fixtures/invalid/problem/REQUEST_FIELD_UNKNOWN/cases.json",
191897
+ "caseId": "problem-invalid-68e082013a1149d4",
191898
+ "expectedCode": "REQUEST_FIELD_UNKNOWN"
191899
+ },
191900
+ "unknownField": {
191901
+ "file": "fixtures/unknown-field/problem/rules.json",
191902
+ "caseId": "problem-unknown-86763b9cdec57c80"
191903
+ }
191904
+ },
191905
+ {
191906
+ "contract": "problem",
191907
+ "ruleId": "problem:#/properties/details:required:candidatePageCount",
191908
+ "schemaPointer": "#/properties/details",
191909
+ "keyword": "required",
191910
+ "valid": {
191911
+ "file": "examples/valid/problem/rules.json",
191912
+ "caseId": "problem-valid-86763b9cdec57c80"
191913
+ },
191914
+ "boundary": {
191915
+ "file": "fixtures/boundary/problem/rules.json",
191916
+ "caseId": "problem-boundary-f8f1abc7f642af61"
191917
+ },
191918
+ "invalid": {
191919
+ "file": "fixtures/invalid/problem/SCHEMA_REQUIRED_FIELD_MISSING/cases.json",
191920
+ "caseId": "problem-invalid-bd1fceb907f8bd21",
191921
+ "expectedCode": "SCHEMA_REQUIRED_FIELD_MISSING"
191922
+ },
191923
+ "unknownField": {
191924
+ "file": "fixtures/unknown-field/problem/rules.json",
191925
+ "caseId": "problem-unknown-86763b9cdec57c80"
191926
+ }
191927
+ },
191928
+ {
191929
+ "contract": "problem",
191930
+ "ruleId": "problem:#/properties/details:required:lostPageCount",
191931
+ "schemaPointer": "#/properties/details",
191932
+ "keyword": "required",
191933
+ "valid": {
191934
+ "file": "examples/valid/problem/rules.json",
191935
+ "caseId": "problem-valid-86763b9cdec57c80"
191936
+ },
191937
+ "boundary": {
191938
+ "file": "fixtures/boundary/problem/rules.json",
191939
+ "caseId": "problem-boundary-f8f1abc7f642af61"
191940
+ },
191941
+ "invalid": {
191942
+ "file": "fixtures/invalid/problem/SCHEMA_REQUIRED_FIELD_MISSING/cases.json",
191943
+ "caseId": "problem-invalid-33608a9f3f44e46b",
191944
+ "expectedCode": "SCHEMA_REQUIRED_FIELD_MISSING"
191945
+ },
191946
+ "unknownField": {
191947
+ "file": "fixtures/unknown-field/problem/rules.json",
191948
+ "caseId": "problem-unknown-86763b9cdec57c80"
191949
+ }
191950
+ },
191951
+ {
191952
+ "contract": "problem",
191953
+ "ruleId": "problem:#/properties/details:required:permittedLoss",
191954
+ "schemaPointer": "#/properties/details",
191955
+ "keyword": "required",
191956
+ "valid": {
191957
+ "file": "examples/valid/problem/rules.json",
191958
+ "caseId": "problem-valid-86763b9cdec57c80"
191959
+ },
191960
+ "boundary": {
191961
+ "file": "fixtures/boundary/problem/rules.json",
191962
+ "caseId": "problem-boundary-f8f1abc7f642af61"
191963
+ },
191964
+ "invalid": {
191965
+ "file": "fixtures/invalid/problem/SCHEMA_REQUIRED_FIELD_MISSING/cases.json",
191966
+ "caseId": "problem-invalid-75f244b0640d4bd7",
191967
+ "expectedCode": "SCHEMA_REQUIRED_FIELD_MISSING"
191968
+ },
191969
+ "unknownField": {
191970
+ "file": "fixtures/unknown-field/problem/rules.json",
191971
+ "caseId": "problem-unknown-86763b9cdec57c80"
191972
+ }
191973
+ },
191974
+ {
191975
+ "contract": "problem",
191976
+ "ruleId": "problem:#/properties/details:required:previousPageCount",
191977
+ "schemaPointer": "#/properties/details",
191978
+ "keyword": "required",
191979
+ "valid": {
191980
+ "file": "examples/valid/problem/rules.json",
191981
+ "caseId": "problem-valid-86763b9cdec57c80"
191982
+ },
191983
+ "boundary": {
191984
+ "file": "fixtures/boundary/problem/rules.json",
191985
+ "caseId": "problem-boundary-f8f1abc7f642af61"
191986
+ },
191987
+ "invalid": {
191988
+ "file": "fixtures/invalid/problem/SCHEMA_REQUIRED_FIELD_MISSING/cases.json",
191989
+ "caseId": "problem-invalid-01ec69f5fac5689d",
191990
+ "expectedCode": "SCHEMA_REQUIRED_FIELD_MISSING"
191991
+ },
191992
+ "unknownField": {
191993
+ "file": "fixtures/unknown-field/problem/rules.json",
191994
+ "caseId": "problem-unknown-86763b9cdec57c80"
191995
+ }
191996
+ },
191997
+ {
191998
+ "contract": "problem",
191999
+ "ruleId": "problem:#/properties/details:type",
192000
+ "schemaPointer": "#/properties/details",
192001
+ "keyword": "type",
192002
+ "valid": {
192003
+ "file": "examples/valid/problem/rules.json",
192004
+ "caseId": "problem-valid-86763b9cdec57c80"
192005
+ },
192006
+ "boundary": {
192007
+ "file": "fixtures/boundary/problem/rules.json",
192008
+ "caseId": "problem-boundary-f8f1abc7f642af61"
192009
+ },
192010
+ "invalid": {
192011
+ "file": "fixtures/invalid/problem/SCHEMA_TYPE_INVALID/cases.json",
192012
+ "caseId": "problem-invalid-1e1f1520799c5463",
192013
+ "expectedCode": "SCHEMA_TYPE_INVALID"
192014
+ },
192015
+ "unknownField": {
192016
+ "file": "fixtures/unknown-field/problem/rules.json",
192017
+ "caseId": "problem-unknown-86763b9cdec57c80"
192018
+ }
192019
+ },
192020
+ {
192021
+ "contract": "problem",
192022
+ "ruleId": "problem:#/properties/details/properties/candidatePageCount:minimum",
192023
+ "schemaPointer": "#/properties/details/properties/candidatePageCount",
192024
+ "keyword": "minimum",
192025
+ "valid": {
192026
+ "file": "examples/valid/problem/rules.json",
192027
+ "caseId": "problem-valid-8f57e4a8f2f6ecd2"
192028
+ },
192029
+ "boundary": {
192030
+ "file": "fixtures/boundary/problem/rules.json",
192031
+ "caseId": "problem-boundary-09cb2280abbee9a7"
192032
+ },
192033
+ "invalid": {
192034
+ "file": "fixtures/invalid/problem/SCHEMA_NUMBER_TOO_SMALL/cases.json",
192035
+ "caseId": "problem-invalid-6bbdd131e6892af9",
192036
+ "expectedCode": "SCHEMA_NUMBER_TOO_SMALL"
192037
+ },
192038
+ "unknownField": {
192039
+ "file": "fixtures/unknown-field/problem/rules.json",
192040
+ "caseId": "problem-unknown-86763b9cdec57c80"
192041
+ }
192042
+ },
192043
+ {
192044
+ "contract": "problem",
192045
+ "ruleId": "problem:#/properties/details/properties/candidatePageCount:type",
192046
+ "schemaPointer": "#/properties/details/properties/candidatePageCount",
192047
+ "keyword": "type",
192048
+ "valid": {
192049
+ "file": "examples/valid/problem/rules.json",
192050
+ "caseId": "problem-valid-8f57e4a8f2f6ecd2"
192051
+ },
192052
+ "boundary": {
192053
+ "file": "fixtures/boundary/problem/rules.json",
192054
+ "caseId": "problem-boundary-09cb2280abbee9a7"
192055
+ },
192056
+ "invalid": {
192057
+ "file": "fixtures/invalid/problem/SCHEMA_TYPE_INVALID/cases.json",
192058
+ "caseId": "problem-invalid-d16d6da16eede20e",
192059
+ "expectedCode": "SCHEMA_TYPE_INVALID"
192060
+ },
192061
+ "unknownField": {
192062
+ "file": "fixtures/unknown-field/problem/rules.json",
192063
+ "caseId": "problem-unknown-86763b9cdec57c80"
192064
+ }
192065
+ },
192066
+ {
192067
+ "contract": "problem",
192068
+ "ruleId": "problem:#/properties/details/properties/lostPageCount:minimum",
192069
+ "schemaPointer": "#/properties/details/properties/lostPageCount",
192070
+ "keyword": "minimum",
192071
+ "valid": {
192072
+ "file": "examples/valid/problem/rules.json",
192073
+ "caseId": "problem-valid-995e76dea8a4415b"
192074
+ },
192075
+ "boundary": {
192076
+ "file": "fixtures/boundary/problem/rules.json",
192077
+ "caseId": "problem-boundary-1f1fe39321750633"
192078
+ },
192079
+ "invalid": {
192080
+ "file": "fixtures/invalid/problem/SCHEMA_NUMBER_TOO_SMALL/cases.json",
192081
+ "caseId": "problem-invalid-98908ee711d9a038",
192082
+ "expectedCode": "SCHEMA_NUMBER_TOO_SMALL"
192083
+ },
192084
+ "unknownField": {
192085
+ "file": "fixtures/unknown-field/problem/rules.json",
192086
+ "caseId": "problem-unknown-86763b9cdec57c80"
192087
+ }
192088
+ },
192089
+ {
192090
+ "contract": "problem",
192091
+ "ruleId": "problem:#/properties/details/properties/lostPageCount:type",
192092
+ "schemaPointer": "#/properties/details/properties/lostPageCount",
192093
+ "keyword": "type",
192094
+ "valid": {
192095
+ "file": "examples/valid/problem/rules.json",
192096
+ "caseId": "problem-valid-995e76dea8a4415b"
192097
+ },
192098
+ "boundary": {
192099
+ "file": "fixtures/boundary/problem/rules.json",
192100
+ "caseId": "problem-boundary-1f1fe39321750633"
192101
+ },
192102
+ "invalid": {
192103
+ "file": "fixtures/invalid/problem/SCHEMA_TYPE_INVALID/cases.json",
192104
+ "caseId": "problem-invalid-9c09cd356db995c2",
192105
+ "expectedCode": "SCHEMA_TYPE_INVALID"
192106
+ },
192107
+ "unknownField": {
192108
+ "file": "fixtures/unknown-field/problem/rules.json",
192109
+ "caseId": "problem-unknown-86763b9cdec57c80"
192110
+ }
192111
+ },
192112
+ {
192113
+ "contract": "problem",
192114
+ "ruleId": "problem:#/properties/details/properties/permittedLoss:minimum",
192115
+ "schemaPointer": "#/properties/details/properties/permittedLoss",
192116
+ "keyword": "minimum",
192117
+ "valid": {
192118
+ "file": "examples/valid/problem/rules.json",
192119
+ "caseId": "problem-valid-e0eb781ab8f51a3d"
192120
+ },
192121
+ "boundary": {
192122
+ "file": "fixtures/boundary/problem/rules.json",
192123
+ "caseId": "problem-boundary-658b179603b56799"
192124
+ },
192125
+ "invalid": {
192126
+ "file": "fixtures/invalid/problem/SCHEMA_NUMBER_TOO_SMALL/cases.json",
192127
+ "caseId": "problem-invalid-93e91f1206fae520",
192128
+ "expectedCode": "SCHEMA_NUMBER_TOO_SMALL"
192129
+ },
192130
+ "unknownField": {
192131
+ "file": "fixtures/unknown-field/problem/rules.json",
192132
+ "caseId": "problem-unknown-86763b9cdec57c80"
192133
+ }
192134
+ },
192135
+ {
192136
+ "contract": "problem",
192137
+ "ruleId": "problem:#/properties/details/properties/permittedLoss:type",
192138
+ "schemaPointer": "#/properties/details/properties/permittedLoss",
192139
+ "keyword": "type",
192140
+ "valid": {
192141
+ "file": "examples/valid/problem/rules.json",
192142
+ "caseId": "problem-valid-e0eb781ab8f51a3d"
192143
+ },
192144
+ "boundary": {
192145
+ "file": "fixtures/boundary/problem/rules.json",
192146
+ "caseId": "problem-boundary-658b179603b56799"
192147
+ },
192148
+ "invalid": {
192149
+ "file": "fixtures/invalid/problem/SCHEMA_TYPE_INVALID/cases.json",
192150
+ "caseId": "problem-invalid-275fc58bfb59b27d",
192151
+ "expectedCode": "SCHEMA_TYPE_INVALID"
192152
+ },
192153
+ "unknownField": {
192154
+ "file": "fixtures/unknown-field/problem/rules.json",
192155
+ "caseId": "problem-unknown-86763b9cdec57c80"
192156
+ }
192157
+ },
192158
+ {
192159
+ "contract": "problem",
192160
+ "ruleId": "problem:#/properties/details/properties/previousPageCount:minimum",
192161
+ "schemaPointer": "#/properties/details/properties/previousPageCount",
192162
+ "keyword": "minimum",
192163
+ "valid": {
192164
+ "file": "examples/valid/problem/rules.json",
192165
+ "caseId": "problem-valid-6e166504353f996a"
192166
+ },
192167
+ "boundary": {
192168
+ "file": "fixtures/boundary/problem/rules.json",
192169
+ "caseId": "problem-boundary-ba0c67bb38d5ed32"
192170
+ },
192171
+ "invalid": {
192172
+ "file": "fixtures/invalid/problem/SCHEMA_NUMBER_TOO_SMALL/cases.json",
192173
+ "caseId": "problem-invalid-7abfeac9e03f88d3",
192174
+ "expectedCode": "SCHEMA_NUMBER_TOO_SMALL"
192175
+ },
192176
+ "unknownField": {
192177
+ "file": "fixtures/unknown-field/problem/rules.json",
192178
+ "caseId": "problem-unknown-86763b9cdec57c80"
192179
+ }
192180
+ },
192181
+ {
192182
+ "contract": "problem",
192183
+ "ruleId": "problem:#/properties/details/properties/previousPageCount:type",
192184
+ "schemaPointer": "#/properties/details/properties/previousPageCount",
192185
+ "keyword": "type",
192186
+ "valid": {
192187
+ "file": "examples/valid/problem/rules.json",
192188
+ "caseId": "problem-valid-6e166504353f996a"
192189
+ },
192190
+ "boundary": {
192191
+ "file": "fixtures/boundary/problem/rules.json",
192192
+ "caseId": "problem-boundary-ba0c67bb38d5ed32"
192193
+ },
192194
+ "invalid": {
192195
+ "file": "fixtures/invalid/problem/SCHEMA_TYPE_INVALID/cases.json",
192196
+ "caseId": "problem-invalid-7433a30849eaf46e",
192197
+ "expectedCode": "SCHEMA_TYPE_INVALID"
192198
+ },
192199
+ "unknownField": {
192200
+ "file": "fixtures/unknown-field/problem/rules.json",
192201
+ "caseId": "problem-unknown-86763b9cdec57c80"
192202
+ }
192203
+ },
191882
192204
  {
191883
192205
  "contract": "problem",
191884
192206
  "ruleId": "problem:#/properties/domainState:maxLength",
@@ -126,6 +126,36 @@
126
126
  },
127
127
  "expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
128
128
  },
129
+ {
130
+ "caseId": "problem-unknown-86763b9cdec57c80",
131
+ "coveredRuleIds": [
132
+ "problem:#/properties/details/properties/candidatePageCount:minimum",
133
+ "problem:#/properties/details/properties/candidatePageCount:type",
134
+ "problem:#/properties/details/properties/lostPageCount:minimum",
135
+ "problem:#/properties/details/properties/lostPageCount:type",
136
+ "problem:#/properties/details/properties/permittedLoss:minimum",
137
+ "problem:#/properties/details/properties/permittedLoss:type",
138
+ "problem:#/properties/details/properties/previousPageCount:minimum",
139
+ "problem:#/properties/details/properties/previousPageCount:type",
140
+ "problem:#/properties/details:additionalProperties",
141
+ "problem:#/properties/details:required:candidatePageCount",
142
+ "problem:#/properties/details:required:lostPageCount",
143
+ "problem:#/properties/details:required:permittedLoss",
144
+ "problem:#/properties/details:required:previousPageCount",
145
+ "problem:#/properties/details:type"
146
+ ],
147
+ "schemaId": "urn:gala:schema:problem:2.0.0",
148
+ "schemaPointer": "#/properties/details",
149
+ "keyword": "additionalProperties",
150
+ "instance": {
151
+ "previousPageCount": 0,
152
+ "candidatePageCount": 0,
153
+ "lostPageCount": 0,
154
+ "permittedLoss": 0,
155
+ "unexpected": true
156
+ },
157
+ "expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
158
+ },
129
159
  {
130
160
  "caseId": "problem-unknown-d807190cb4d170d1",
131
161
  "coveredRuleIds": [