@rathnasgala2/schemas 3.8.0 → 3.9.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.
- package/THIRD_PARTY_LICENSES.json +1 -1
- package/diagnostics/diagnostic-map.json +22 -0
- package/docs/catalogs/schema-inventory.json +3 -3
- package/examples/valid/problem/rules.json +35 -0
- package/fixtures/boundary/problem/rules.json +83 -0
- package/fixtures/invalid/problem/SCHEMA_ARRAY_TOO_LONG/cases.json +13 -0
- package/fixtures/invalid/problem/SCHEMA_ENUM_INVALID/cases.json +11 -0
- package/fixtures/invalid/problem/SCHEMA_STRING_TOO_LONG/cases.json +11 -0
- package/fixtures/invalid/problem/SCHEMA_STRING_TOO_SHORT/cases.json +11 -0
- package/fixtures/invalid/problem/SCHEMA_TYPE_INVALID/cases.json +29 -0
- package/fixtures/manifest.json +182 -2
- package/fixtures/unknown-field/problem/rules.json +8 -0
- package/generated/browser/validator-core.mjs +1 -1
- package/generated/typescript/contracts/problem.d.ts +9 -0
- package/openapi/http-catalog.json +2 -2
- package/openapi/openapi.yaml +41 -1
- package/package.json +1 -1
- package/sbom.cdx.json +23 -23
- package/schemas/problem.schema.json +21 -1
|
@@ -23651,6 +23651,21 @@
|
|
|
23651
23651
|
"problem:#/$defs/extensionKey:type": {
|
|
23652
23652
|
"code": "EXTENSION_KEY_INVALID"
|
|
23653
23653
|
},
|
|
23654
|
+
"problem:#/$defs/fieldError/properties/paths/items:maxLength": {
|
|
23655
|
+
"code": "SCHEMA_STRING_TOO_LONG"
|
|
23656
|
+
},
|
|
23657
|
+
"problem:#/$defs/fieldError/properties/paths/items:minLength": {
|
|
23658
|
+
"code": "SCHEMA_STRING_TOO_SHORT"
|
|
23659
|
+
},
|
|
23660
|
+
"problem:#/$defs/fieldError/properties/paths/items:type": {
|
|
23661
|
+
"code": "SCHEMA_TYPE_INVALID"
|
|
23662
|
+
},
|
|
23663
|
+
"problem:#/$defs/fieldError/properties/paths:maxItems": {
|
|
23664
|
+
"code": "SCHEMA_ARRAY_TOO_LONG"
|
|
23665
|
+
},
|
|
23666
|
+
"problem:#/$defs/fieldError/properties/paths:type": {
|
|
23667
|
+
"code": "SCHEMA_TYPE_INVALID"
|
|
23668
|
+
},
|
|
23654
23669
|
"problem:#/$defs/fieldError/properties/pointer:maxLength": {
|
|
23655
23670
|
"code": "SCHEMA_STRING_TOO_LONG"
|
|
23656
23671
|
},
|
|
@@ -23660,6 +23675,12 @@
|
|
|
23660
23675
|
"problem:#/$defs/fieldError/properties/pointer:type": {
|
|
23661
23676
|
"code": "SCHEMA_TYPE_INVALID"
|
|
23662
23677
|
},
|
|
23678
|
+
"problem:#/$defs/fieldError/properties/reason:enum": {
|
|
23679
|
+
"code": "SCHEMA_ENUM_INVALID"
|
|
23680
|
+
},
|
|
23681
|
+
"problem:#/$defs/fieldError/properties/reason:type": {
|
|
23682
|
+
"code": "SCHEMA_TYPE_INVALID"
|
|
23683
|
+
},
|
|
23663
23684
|
"problem:#/$defs/fieldError:additionalProperties": {
|
|
23664
23685
|
"code": "REQUEST_FIELD_UNKNOWN"
|
|
23665
23686
|
},
|
|
@@ -27685,6 +27706,7 @@
|
|
|
27685
27706
|
"navigation:#/$defs/urn:format": "FORMAT_REDUNDANT_WITH_SIBLING_RULES",
|
|
27686
27707
|
"navigation:#/properties/footerItems:minItems": "ZERO_LOWER_BOUND_REJECTS_NO_INSTANCE",
|
|
27687
27708
|
"navigation:#/properties/items:minItems": "ZERO_LOWER_BOUND_REJECTS_NO_INSTANCE",
|
|
27709
|
+
"problem:#/$defs/fieldError/properties/paths:minItems": "ZERO_LOWER_BOUND_REJECTS_NO_INSTANCE",
|
|
27688
27710
|
"problem:#/$defs/isoCountry:format": "FORMAT_REDUNDANT_WITH_SIBLING_RULES",
|
|
27689
27711
|
"problem:#/$defs/problemUrn:format": "FORMAT_REDUNDANT_WITH_SIBLING_RULES",
|
|
27690
27712
|
"problem:#/$defs/urn:format": "FORMAT_REDUNDANT_WITH_SIBLING_RULES",
|
|
@@ -149,7 +149,7 @@
|
|
|
149
149
|
"version": "2.0.0",
|
|
150
150
|
"path": "schemas/problem.schema.json",
|
|
151
151
|
"materialized": true,
|
|
152
|
-
"sourceDigest": "sha256:
|
|
152
|
+
"sourceDigest": "sha256:0595396f268a16e67b65a9aede276f00b9ef1f8e2699e1be57128703078b21fb",
|
|
153
153
|
"typescriptRootType": "ProblemDocument"
|
|
154
154
|
},
|
|
155
155
|
{
|
|
@@ -219,9 +219,9 @@
|
|
|
219
219
|
"version": "2.0.0",
|
|
220
220
|
"path": "openapi/openapi.yaml",
|
|
221
221
|
"materialized": true,
|
|
222
|
-
"sourceDigest": "sha256:
|
|
222
|
+
"sourceDigest": "sha256:9612379eda4997a04a0e3d0bcb4c3e7d68c5ba76688d4c733ab2b91520a914f7",
|
|
223
223
|
"typescriptRootType": null
|
|
224
224
|
}
|
|
225
225
|
],
|
|
226
|
-
"digest": "sha256:
|
|
226
|
+
"digest": "sha256:2fd4dc177c575975abceda2b102ac049f6dfe2a38eee1012f9884aa6f7dbea4b"
|
|
227
227
|
}
|
|
@@ -209,6 +209,29 @@
|
|
|
209
209
|
"keyword": "format",
|
|
210
210
|
"instance": "https://fixture-1.example.com/"
|
|
211
211
|
},
|
|
212
|
+
{
|
|
213
|
+
"caseId": "problem-valid-62218472356dcd79",
|
|
214
|
+
"coveredRuleIds": [
|
|
215
|
+
"problem:#/$defs/fieldError/properties/paths:maxItems",
|
|
216
|
+
"problem:#/$defs/fieldError/properties/paths:minItems",
|
|
217
|
+
"problem:#/$defs/fieldError/properties/paths:type"
|
|
218
|
+
],
|
|
219
|
+
"schemaId": "urn:gala:schema:problem:2.0.0",
|
|
220
|
+
"schemaPointer": "#/$defs/fieldError/properties/paths",
|
|
221
|
+
"keyword": "maxItems",
|
|
222
|
+
"instance": ["fixture-1"]
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"caseId": "problem-valid-69874411e08745d1",
|
|
226
|
+
"coveredRuleIds": [
|
|
227
|
+
"problem:#/$defs/fieldError/properties/reason:enum",
|
|
228
|
+
"problem:#/$defs/fieldError/properties/reason:type"
|
|
229
|
+
],
|
|
230
|
+
"schemaId": "urn:gala:schema:problem:2.0.0",
|
|
231
|
+
"schemaPointer": "#/$defs/fieldError/properties/reason",
|
|
232
|
+
"keyword": "enum",
|
|
233
|
+
"instance": "AUTHOR_EDITED"
|
|
234
|
+
},
|
|
212
235
|
{
|
|
213
236
|
"caseId": "problem-valid-81e47acb3276faad",
|
|
214
237
|
"coveredRuleIds": [
|
|
@@ -299,6 +322,18 @@
|
|
|
299
322
|
"keyword": "type",
|
|
300
323
|
"instance": false
|
|
301
324
|
},
|
|
325
|
+
{
|
|
326
|
+
"caseId": "problem-valid-caa2e1e5ee158acc",
|
|
327
|
+
"coveredRuleIds": [
|
|
328
|
+
"problem:#/$defs/fieldError/properties/paths/items:maxLength",
|
|
329
|
+
"problem:#/$defs/fieldError/properties/paths/items:minLength",
|
|
330
|
+
"problem:#/$defs/fieldError/properties/paths/items:type"
|
|
331
|
+
],
|
|
332
|
+
"schemaId": "urn:gala:schema:problem:2.0.0",
|
|
333
|
+
"schemaPointer": "#/$defs/fieldError/properties/paths/items",
|
|
334
|
+
"keyword": "maxLength",
|
|
335
|
+
"instance": "fixture-1"
|
|
336
|
+
},
|
|
302
337
|
{
|
|
303
338
|
"caseId": "problem-valid-d6e1b27556616503",
|
|
304
339
|
"coveredRuleIds": [
|
|
@@ -169,6 +169,18 @@
|
|
|
169
169
|
"length": 100
|
|
170
170
|
}
|
|
171
171
|
},
|
|
172
|
+
{
|
|
173
|
+
"caseId": "problem-boundary-538e0d3cb66a8912",
|
|
174
|
+
"coveredRuleIds": ["problem:#/$defs/fieldError/properties/paths:maxItems"],
|
|
175
|
+
"schemaId": "urn:gala:schema:problem:2.0.0",
|
|
176
|
+
"schemaPointer": "#/$defs/fieldError/properties/paths",
|
|
177
|
+
"keyword": "maxItems",
|
|
178
|
+
"recipe": {
|
|
179
|
+
"kind": "schema-array-boundary",
|
|
180
|
+
"schemaPointer": "#/$defs/fieldError/properties/paths",
|
|
181
|
+
"length": 50
|
|
182
|
+
}
|
|
183
|
+
},
|
|
172
184
|
{
|
|
173
185
|
"caseId": "problem-boundary-5b5e96f439400c47",
|
|
174
186
|
"coveredRuleIds": [
|
|
@@ -231,6 +243,17 @@
|
|
|
231
243
|
"keyword": "format",
|
|
232
244
|
"instance": "https://fixture-1.example.com/"
|
|
233
245
|
},
|
|
246
|
+
{
|
|
247
|
+
"caseId": "problem-boundary-653ff392e0a9a9d2",
|
|
248
|
+
"coveredRuleIds": [
|
|
249
|
+
"problem:#/$defs/fieldError/properties/reason:enum",
|
|
250
|
+
"problem:#/$defs/fieldError/properties/reason:type"
|
|
251
|
+
],
|
|
252
|
+
"schemaId": "urn:gala:schema:problem:2.0.0",
|
|
253
|
+
"schemaPointer": "#/$defs/fieldError/properties/reason",
|
|
254
|
+
"keyword": "enum",
|
|
255
|
+
"instance": "AUTHOR_EDITED"
|
|
256
|
+
},
|
|
234
257
|
{
|
|
235
258
|
"caseId": "problem-boundary-6d8e769d019903ac",
|
|
236
259
|
"coveredRuleIds": ["problem:#/$defs/urn:minLength"],
|
|
@@ -255,6 +278,18 @@
|
|
|
255
278
|
"keyword": "format",
|
|
256
279
|
"instance": "fixture-1"
|
|
257
280
|
},
|
|
281
|
+
{
|
|
282
|
+
"caseId": "problem-boundary-7cf6d46ec133d643",
|
|
283
|
+
"coveredRuleIds": ["problem:#/$defs/fieldError/properties/paths:minItems"],
|
|
284
|
+
"schemaId": "urn:gala:schema:problem:2.0.0",
|
|
285
|
+
"schemaPointer": "#/$defs/fieldError/properties/paths",
|
|
286
|
+
"keyword": "minItems",
|
|
287
|
+
"recipe": {
|
|
288
|
+
"kind": "schema-array-boundary",
|
|
289
|
+
"schemaPointer": "#/$defs/fieldError/properties/paths",
|
|
290
|
+
"length": 0
|
|
291
|
+
}
|
|
292
|
+
},
|
|
258
293
|
{
|
|
259
294
|
"caseId": "problem-boundary-7ed4474c367a9950",
|
|
260
295
|
"coveredRuleIds": [
|
|
@@ -319,6 +354,21 @@
|
|
|
319
354
|
"direction": "minimum"
|
|
320
355
|
}
|
|
321
356
|
},
|
|
357
|
+
{
|
|
358
|
+
"caseId": "problem-boundary-92f8b53631f17b61",
|
|
359
|
+
"coveredRuleIds": [
|
|
360
|
+
"problem:#/$defs/fieldError/properties/paths/items:maxLength"
|
|
361
|
+
],
|
|
362
|
+
"schemaId": "urn:gala:schema:problem:2.0.0",
|
|
363
|
+
"schemaPointer": "#/$defs/fieldError/properties/paths/items",
|
|
364
|
+
"keyword": "maxLength",
|
|
365
|
+
"recipe": {
|
|
366
|
+
"kind": "schema-string-boundary",
|
|
367
|
+
"schemaPointer": "#/$defs/fieldError/properties/paths/items",
|
|
368
|
+
"length": 512,
|
|
369
|
+
"direction": "maximum"
|
|
370
|
+
}
|
|
371
|
+
},
|
|
322
372
|
{
|
|
323
373
|
"caseId": "problem-boundary-9513b91bbfc3d7b8",
|
|
324
374
|
"coveredRuleIds": [
|
|
@@ -338,6 +388,14 @@
|
|
|
338
388
|
"keyword": "const",
|
|
339
389
|
"instance": "urn:gala:schema:problem:2.0.0"
|
|
340
390
|
},
|
|
391
|
+
{
|
|
392
|
+
"caseId": "problem-boundary-9cf0ce432b88fcca",
|
|
393
|
+
"coveredRuleIds": ["problem:#/$defs/fieldError/properties/paths:type"],
|
|
394
|
+
"schemaId": "urn:gala:schema:problem:2.0.0",
|
|
395
|
+
"schemaPointer": "#/$defs/fieldError/properties/paths",
|
|
396
|
+
"keyword": "type",
|
|
397
|
+
"instance": ["fixture-1"]
|
|
398
|
+
},
|
|
341
399
|
{
|
|
342
400
|
"caseId": "problem-boundary-9d1652c8539eeeb4",
|
|
343
401
|
"coveredRuleIds": ["problem:#/$defs/fieldError/properties/pointer:type"],
|
|
@@ -354,6 +412,16 @@
|
|
|
354
412
|
"keyword": "type",
|
|
355
413
|
"instance": [{ "pointer": "fixture-1", "code": "FIXTURE" }]
|
|
356
414
|
},
|
|
415
|
+
{
|
|
416
|
+
"caseId": "problem-boundary-a8d854d1aaeaf3b1",
|
|
417
|
+
"coveredRuleIds": [
|
|
418
|
+
"problem:#/$defs/fieldError/properties/paths/items:type"
|
|
419
|
+
],
|
|
420
|
+
"schemaId": "urn:gala:schema:problem:2.0.0",
|
|
421
|
+
"schemaPointer": "#/$defs/fieldError/properties/paths/items",
|
|
422
|
+
"keyword": "type",
|
|
423
|
+
"instance": "fixture-1"
|
|
424
|
+
},
|
|
357
425
|
{
|
|
358
426
|
"caseId": "problem-boundary-a9defb191b0db7c2",
|
|
359
427
|
"coveredRuleIds": [
|
|
@@ -585,6 +653,21 @@
|
|
|
585
653
|
"direction": "maximum"
|
|
586
654
|
}
|
|
587
655
|
},
|
|
656
|
+
{
|
|
657
|
+
"caseId": "problem-boundary-f8e4f1f246c4faf4",
|
|
658
|
+
"coveredRuleIds": [
|
|
659
|
+
"problem:#/$defs/fieldError/properties/paths/items:minLength"
|
|
660
|
+
],
|
|
661
|
+
"schemaId": "urn:gala:schema:problem:2.0.0",
|
|
662
|
+
"schemaPointer": "#/$defs/fieldError/properties/paths/items",
|
|
663
|
+
"keyword": "minLength",
|
|
664
|
+
"recipe": {
|
|
665
|
+
"kind": "schema-string-boundary",
|
|
666
|
+
"schemaPointer": "#/$defs/fieldError/properties/paths/items",
|
|
667
|
+
"length": 1,
|
|
668
|
+
"direction": "minimum"
|
|
669
|
+
}
|
|
670
|
+
},
|
|
588
671
|
{
|
|
589
672
|
"caseId": "problem-boundary-fa8f8d73d7254afa",
|
|
590
673
|
"coveredRuleIds": [
|
|
@@ -1,4 +1,17 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"caseId": "problem-invalid-4ae795114f250c31",
|
|
4
|
+
"coveredRuleIds": ["problem:#/$defs/fieldError/properties/paths:maxItems"],
|
|
5
|
+
"schemaId": "urn:gala:schema:problem:2.0.0",
|
|
6
|
+
"schemaPointer": "#/$defs/fieldError/properties/paths",
|
|
7
|
+
"keyword": "maxItems",
|
|
8
|
+
"recipe": {
|
|
9
|
+
"kind": "schema-array-count",
|
|
10
|
+
"schemaPointer": "#/$defs/fieldError/properties/paths",
|
|
11
|
+
"length": 51
|
|
12
|
+
},
|
|
13
|
+
"expectedCodes": ["SCHEMA_ARRAY_TOO_LONG"]
|
|
14
|
+
},
|
|
2
15
|
{
|
|
3
16
|
"caseId": "problem-invalid-a84c02f9b711f16c",
|
|
4
17
|
"coveredRuleIds": ["problem:#/properties/errors:maxItems"],
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"caseId": "problem-invalid-c944caf60eb2babd",
|
|
4
|
+
"coveredRuleIds": ["problem:#/$defs/fieldError/properties/reason:enum"],
|
|
5
|
+
"schemaId": "urn:gala:schema:problem:2.0.0",
|
|
6
|
+
"schemaPointer": "#/$defs/fieldError/properties/reason",
|
|
7
|
+
"keyword": "enum",
|
|
8
|
+
"instance": "__invalid_enum__",
|
|
9
|
+
"expectedCodes": ["SCHEMA_ENUM_INVALID"]
|
|
10
|
+
}
|
|
11
|
+
]
|
|
@@ -1,4 +1,15 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"caseId": "problem-invalid-079794886ab5dd4d",
|
|
4
|
+
"coveredRuleIds": [
|
|
5
|
+
"problem:#/$defs/fieldError/properties/paths/items:maxLength"
|
|
6
|
+
],
|
|
7
|
+
"schemaId": "urn:gala:schema:problem:2.0.0",
|
|
8
|
+
"schemaPointer": "#/$defs/fieldError/properties/paths/items",
|
|
9
|
+
"keyword": "maxLength",
|
|
10
|
+
"recipe": { "kind": "repeat-string", "value": "a", "count": 513 },
|
|
11
|
+
"expectedCodes": ["SCHEMA_STRING_TOO_LONG"]
|
|
12
|
+
},
|
|
2
13
|
{
|
|
3
14
|
"caseId": "problem-invalid-fbd1092416e2570b",
|
|
4
15
|
"coveredRuleIds": [
|
|
@@ -1,4 +1,15 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"caseId": "problem-invalid-789a2b9a352caea5",
|
|
4
|
+
"coveredRuleIds": [
|
|
5
|
+
"problem:#/$defs/fieldError/properties/paths/items:minLength"
|
|
6
|
+
],
|
|
7
|
+
"schemaId": "urn:gala:schema:problem:2.0.0",
|
|
8
|
+
"schemaPointer": "#/$defs/fieldError/properties/paths/items",
|
|
9
|
+
"keyword": "minLength",
|
|
10
|
+
"instance": "",
|
|
11
|
+
"expectedCodes": ["SCHEMA_STRING_TOO_SHORT"]
|
|
12
|
+
},
|
|
2
13
|
{
|
|
3
14
|
"caseId": "problem-invalid-7b9682224573b367",
|
|
4
15
|
"coveredRuleIds": [
|
|
@@ -8,6 +8,26 @@
|
|
|
8
8
|
"instance": null,
|
|
9
9
|
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
10
10
|
},
|
|
11
|
+
{
|
|
12
|
+
"caseId": "problem-invalid-361b444f240195c2",
|
|
13
|
+
"coveredRuleIds": ["problem:#/$defs/fieldError/properties/reason:type"],
|
|
14
|
+
"schemaId": "urn:gala:schema:problem:2.0.0",
|
|
15
|
+
"schemaPointer": "#/$defs/fieldError/properties/reason",
|
|
16
|
+
"keyword": "type",
|
|
17
|
+
"instance": null,
|
|
18
|
+
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"caseId": "problem-invalid-6729549958d3f9e2",
|
|
22
|
+
"coveredRuleIds": [
|
|
23
|
+
"problem:#/$defs/fieldError/properties/paths/items:type"
|
|
24
|
+
],
|
|
25
|
+
"schemaId": "urn:gala:schema:problem:2.0.0",
|
|
26
|
+
"schemaPointer": "#/$defs/fieldError/properties/paths/items",
|
|
27
|
+
"keyword": "type",
|
|
28
|
+
"instance": null,
|
|
29
|
+
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
30
|
+
},
|
|
11
31
|
{
|
|
12
32
|
"caseId": "problem-invalid-7275fbb8f6f498e7",
|
|
13
33
|
"coveredRuleIds": ["problem:#/$defs/problemCode:type"],
|
|
@@ -79,5 +99,14 @@
|
|
|
79
99
|
"keyword": "type",
|
|
80
100
|
"instance": [],
|
|
81
101
|
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"caseId": "problem-invalid-f7dd9718874abfab",
|
|
105
|
+
"coveredRuleIds": ["problem:#/$defs/fieldError/properties/paths:type"],
|
|
106
|
+
"schemaId": "urn:gala:schema:problem:2.0.0",
|
|
107
|
+
"schemaPointer": "#/$defs/fieldError/properties/paths",
|
|
108
|
+
"keyword": "type",
|
|
109
|
+
"instance": {},
|
|
110
|
+
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
82
111
|
}
|
|
83
112
|
]
|
package/fixtures/manifest.json
CHANGED
|
@@ -133,8 +133,8 @@
|
|
|
133
133
|
{
|
|
134
134
|
"contract": "problem",
|
|
135
135
|
"schemaId": "urn:gala:schema:problem:2.0.0",
|
|
136
|
-
"schemaSha256": "
|
|
137
|
-
"ruleCount":
|
|
136
|
+
"schemaSha256": "0595396f268a16e67b65a9aede276f00b9ef1f8e2699e1be57128703078b21fb",
|
|
137
|
+
"ruleCount": 113,
|
|
138
138
|
"validExample": "examples/valid/problem/canonical.json",
|
|
139
139
|
"boundaryFixture": "fixtures/boundary/problem/root.json",
|
|
140
140
|
"unknownFieldFixture": "fixtures/unknown-field/problem/root.json"
|
|
@@ -183568,6 +183568,140 @@
|
|
|
183568
183568
|
"caseId": "problem-unknown-d807190cb4d170d1"
|
|
183569
183569
|
}
|
|
183570
183570
|
},
|
|
183571
|
+
{
|
|
183572
|
+
"contract": "problem",
|
|
183573
|
+
"ruleId": "problem:#/$defs/fieldError/properties/paths:maxItems",
|
|
183574
|
+
"schemaPointer": "#/$defs/fieldError/properties/paths",
|
|
183575
|
+
"keyword": "maxItems",
|
|
183576
|
+
"valid": {
|
|
183577
|
+
"file": "examples/valid/problem/rules.json",
|
|
183578
|
+
"caseId": "problem-valid-62218472356dcd79"
|
|
183579
|
+
},
|
|
183580
|
+
"boundary": {
|
|
183581
|
+
"file": "fixtures/boundary/problem/rules.json",
|
|
183582
|
+
"caseId": "problem-boundary-538e0d3cb66a8912"
|
|
183583
|
+
},
|
|
183584
|
+
"invalid": {
|
|
183585
|
+
"file": "fixtures/invalid/problem/SCHEMA_ARRAY_TOO_LONG/cases.json",
|
|
183586
|
+
"caseId": "problem-invalid-4ae795114f250c31",
|
|
183587
|
+
"expectedCode": "SCHEMA_ARRAY_TOO_LONG"
|
|
183588
|
+
},
|
|
183589
|
+
"unknownField": {
|
|
183590
|
+
"file": "fixtures/unknown-field/problem/rules.json",
|
|
183591
|
+
"caseId": "problem-unknown-d807190cb4d170d1"
|
|
183592
|
+
}
|
|
183593
|
+
},
|
|
183594
|
+
{
|
|
183595
|
+
"contract": "problem",
|
|
183596
|
+
"ruleId": "problem:#/$defs/fieldError/properties/paths:minItems",
|
|
183597
|
+
"schemaPointer": "#/$defs/fieldError/properties/paths",
|
|
183598
|
+
"keyword": "minItems",
|
|
183599
|
+
"valid": {
|
|
183600
|
+
"file": "examples/valid/problem/rules.json",
|
|
183601
|
+
"caseId": "problem-valid-62218472356dcd79"
|
|
183602
|
+
},
|
|
183603
|
+
"boundary": {
|
|
183604
|
+
"file": "fixtures/boundary/problem/rules.json",
|
|
183605
|
+
"caseId": "problem-boundary-7cf6d46ec133d643"
|
|
183606
|
+
},
|
|
183607
|
+
"invalid": { "notApplicable": "ZERO_LOWER_BOUND_REJECTS_NO_INSTANCE" },
|
|
183608
|
+
"unknownField": {
|
|
183609
|
+
"file": "fixtures/unknown-field/problem/rules.json",
|
|
183610
|
+
"caseId": "problem-unknown-d807190cb4d170d1"
|
|
183611
|
+
}
|
|
183612
|
+
},
|
|
183613
|
+
{
|
|
183614
|
+
"contract": "problem",
|
|
183615
|
+
"ruleId": "problem:#/$defs/fieldError/properties/paths:type",
|
|
183616
|
+
"schemaPointer": "#/$defs/fieldError/properties/paths",
|
|
183617
|
+
"keyword": "type",
|
|
183618
|
+
"valid": {
|
|
183619
|
+
"file": "examples/valid/problem/rules.json",
|
|
183620
|
+
"caseId": "problem-valid-62218472356dcd79"
|
|
183621
|
+
},
|
|
183622
|
+
"boundary": {
|
|
183623
|
+
"file": "fixtures/boundary/problem/rules.json",
|
|
183624
|
+
"caseId": "problem-boundary-9cf0ce432b88fcca"
|
|
183625
|
+
},
|
|
183626
|
+
"invalid": {
|
|
183627
|
+
"file": "fixtures/invalid/problem/SCHEMA_TYPE_INVALID/cases.json",
|
|
183628
|
+
"caseId": "problem-invalid-f7dd9718874abfab",
|
|
183629
|
+
"expectedCode": "SCHEMA_TYPE_INVALID"
|
|
183630
|
+
},
|
|
183631
|
+
"unknownField": {
|
|
183632
|
+
"file": "fixtures/unknown-field/problem/rules.json",
|
|
183633
|
+
"caseId": "problem-unknown-d807190cb4d170d1"
|
|
183634
|
+
}
|
|
183635
|
+
},
|
|
183636
|
+
{
|
|
183637
|
+
"contract": "problem",
|
|
183638
|
+
"ruleId": "problem:#/$defs/fieldError/properties/paths/items:maxLength",
|
|
183639
|
+
"schemaPointer": "#/$defs/fieldError/properties/paths/items",
|
|
183640
|
+
"keyword": "maxLength",
|
|
183641
|
+
"valid": {
|
|
183642
|
+
"file": "examples/valid/problem/rules.json",
|
|
183643
|
+
"caseId": "problem-valid-caa2e1e5ee158acc"
|
|
183644
|
+
},
|
|
183645
|
+
"boundary": {
|
|
183646
|
+
"file": "fixtures/boundary/problem/rules.json",
|
|
183647
|
+
"caseId": "problem-boundary-92f8b53631f17b61"
|
|
183648
|
+
},
|
|
183649
|
+
"invalid": {
|
|
183650
|
+
"file": "fixtures/invalid/problem/SCHEMA_STRING_TOO_LONG/cases.json",
|
|
183651
|
+
"caseId": "problem-invalid-079794886ab5dd4d",
|
|
183652
|
+
"expectedCode": "SCHEMA_STRING_TOO_LONG"
|
|
183653
|
+
},
|
|
183654
|
+
"unknownField": {
|
|
183655
|
+
"file": "fixtures/unknown-field/problem/rules.json",
|
|
183656
|
+
"caseId": "problem-unknown-d807190cb4d170d1"
|
|
183657
|
+
}
|
|
183658
|
+
},
|
|
183659
|
+
{
|
|
183660
|
+
"contract": "problem",
|
|
183661
|
+
"ruleId": "problem:#/$defs/fieldError/properties/paths/items:minLength",
|
|
183662
|
+
"schemaPointer": "#/$defs/fieldError/properties/paths/items",
|
|
183663
|
+
"keyword": "minLength",
|
|
183664
|
+
"valid": {
|
|
183665
|
+
"file": "examples/valid/problem/rules.json",
|
|
183666
|
+
"caseId": "problem-valid-caa2e1e5ee158acc"
|
|
183667
|
+
},
|
|
183668
|
+
"boundary": {
|
|
183669
|
+
"file": "fixtures/boundary/problem/rules.json",
|
|
183670
|
+
"caseId": "problem-boundary-f8e4f1f246c4faf4"
|
|
183671
|
+
},
|
|
183672
|
+
"invalid": {
|
|
183673
|
+
"file": "fixtures/invalid/problem/SCHEMA_STRING_TOO_SHORT/cases.json",
|
|
183674
|
+
"caseId": "problem-invalid-789a2b9a352caea5",
|
|
183675
|
+
"expectedCode": "SCHEMA_STRING_TOO_SHORT"
|
|
183676
|
+
},
|
|
183677
|
+
"unknownField": {
|
|
183678
|
+
"file": "fixtures/unknown-field/problem/rules.json",
|
|
183679
|
+
"caseId": "problem-unknown-d807190cb4d170d1"
|
|
183680
|
+
}
|
|
183681
|
+
},
|
|
183682
|
+
{
|
|
183683
|
+
"contract": "problem",
|
|
183684
|
+
"ruleId": "problem:#/$defs/fieldError/properties/paths/items:type",
|
|
183685
|
+
"schemaPointer": "#/$defs/fieldError/properties/paths/items",
|
|
183686
|
+
"keyword": "type",
|
|
183687
|
+
"valid": {
|
|
183688
|
+
"file": "examples/valid/problem/rules.json",
|
|
183689
|
+
"caseId": "problem-valid-caa2e1e5ee158acc"
|
|
183690
|
+
},
|
|
183691
|
+
"boundary": {
|
|
183692
|
+
"file": "fixtures/boundary/problem/rules.json",
|
|
183693
|
+
"caseId": "problem-boundary-a8d854d1aaeaf3b1"
|
|
183694
|
+
},
|
|
183695
|
+
"invalid": {
|
|
183696
|
+
"file": "fixtures/invalid/problem/SCHEMA_TYPE_INVALID/cases.json",
|
|
183697
|
+
"caseId": "problem-invalid-6729549958d3f9e2",
|
|
183698
|
+
"expectedCode": "SCHEMA_TYPE_INVALID"
|
|
183699
|
+
},
|
|
183700
|
+
"unknownField": {
|
|
183701
|
+
"file": "fixtures/unknown-field/problem/rules.json",
|
|
183702
|
+
"caseId": "problem-unknown-d807190cb4d170d1"
|
|
183703
|
+
}
|
|
183704
|
+
},
|
|
183571
183705
|
{
|
|
183572
183706
|
"contract": "problem",
|
|
183573
183707
|
"ruleId": "problem:#/$defs/fieldError/properties/pointer:maxLength",
|
|
@@ -183637,6 +183771,52 @@
|
|
|
183637
183771
|
"caseId": "problem-unknown-d807190cb4d170d1"
|
|
183638
183772
|
}
|
|
183639
183773
|
},
|
|
183774
|
+
{
|
|
183775
|
+
"contract": "problem",
|
|
183776
|
+
"ruleId": "problem:#/$defs/fieldError/properties/reason:enum",
|
|
183777
|
+
"schemaPointer": "#/$defs/fieldError/properties/reason",
|
|
183778
|
+
"keyword": "enum",
|
|
183779
|
+
"valid": {
|
|
183780
|
+
"file": "examples/valid/problem/rules.json",
|
|
183781
|
+
"caseId": "problem-valid-69874411e08745d1"
|
|
183782
|
+
},
|
|
183783
|
+
"boundary": {
|
|
183784
|
+
"file": "fixtures/boundary/problem/rules.json",
|
|
183785
|
+
"caseId": "problem-boundary-653ff392e0a9a9d2"
|
|
183786
|
+
},
|
|
183787
|
+
"invalid": {
|
|
183788
|
+
"file": "fixtures/invalid/problem/SCHEMA_ENUM_INVALID/cases.json",
|
|
183789
|
+
"caseId": "problem-invalid-c944caf60eb2babd",
|
|
183790
|
+
"expectedCode": "SCHEMA_ENUM_INVALID"
|
|
183791
|
+
},
|
|
183792
|
+
"unknownField": {
|
|
183793
|
+
"file": "fixtures/unknown-field/problem/rules.json",
|
|
183794
|
+
"caseId": "problem-unknown-d807190cb4d170d1"
|
|
183795
|
+
}
|
|
183796
|
+
},
|
|
183797
|
+
{
|
|
183798
|
+
"contract": "problem",
|
|
183799
|
+
"ruleId": "problem:#/$defs/fieldError/properties/reason:type",
|
|
183800
|
+
"schemaPointer": "#/$defs/fieldError/properties/reason",
|
|
183801
|
+
"keyword": "type",
|
|
183802
|
+
"valid": {
|
|
183803
|
+
"file": "examples/valid/problem/rules.json",
|
|
183804
|
+
"caseId": "problem-valid-69874411e08745d1"
|
|
183805
|
+
},
|
|
183806
|
+
"boundary": {
|
|
183807
|
+
"file": "fixtures/boundary/problem/rules.json",
|
|
183808
|
+
"caseId": "problem-boundary-653ff392e0a9a9d2"
|
|
183809
|
+
},
|
|
183810
|
+
"invalid": {
|
|
183811
|
+
"file": "fixtures/invalid/problem/SCHEMA_TYPE_INVALID/cases.json",
|
|
183812
|
+
"caseId": "problem-invalid-361b444f240195c2",
|
|
183813
|
+
"expectedCode": "SCHEMA_TYPE_INVALID"
|
|
183814
|
+
},
|
|
183815
|
+
"unknownField": {
|
|
183816
|
+
"file": "fixtures/unknown-field/problem/rules.json",
|
|
183817
|
+
"caseId": "problem-unknown-d807190cb4d170d1"
|
|
183818
|
+
}
|
|
183819
|
+
},
|
|
183640
183820
|
{
|
|
183641
183821
|
"contract": "problem",
|
|
183642
183822
|
"ruleId": "problem:#/$defs/gitObjectId:pattern",
|
|
@@ -122,9 +122,17 @@
|
|
|
122
122
|
{
|
|
123
123
|
"caseId": "problem-unknown-d807190cb4d170d1",
|
|
124
124
|
"coveredRuleIds": [
|
|
125
|
+
"problem:#/$defs/fieldError/properties/paths/items:maxLength",
|
|
126
|
+
"problem:#/$defs/fieldError/properties/paths/items:minLength",
|
|
127
|
+
"problem:#/$defs/fieldError/properties/paths/items:type",
|
|
128
|
+
"problem:#/$defs/fieldError/properties/paths:maxItems",
|
|
129
|
+
"problem:#/$defs/fieldError/properties/paths:minItems",
|
|
130
|
+
"problem:#/$defs/fieldError/properties/paths:type",
|
|
125
131
|
"problem:#/$defs/fieldError/properties/pointer:maxLength",
|
|
126
132
|
"problem:#/$defs/fieldError/properties/pointer:minLength",
|
|
127
133
|
"problem:#/$defs/fieldError/properties/pointer:type",
|
|
134
|
+
"problem:#/$defs/fieldError/properties/reason:enum",
|
|
135
|
+
"problem:#/$defs/fieldError/properties/reason:type",
|
|
128
136
|
"problem:#/$defs/fieldError:additionalProperties",
|
|
129
137
|
"problem:#/$defs/fieldError:required:code",
|
|
130
138
|
"problem:#/$defs/fieldError:required:pointer",
|