@rathnasgala2/schemas 3.34.0 → 3.35.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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "package": "@rathnasgala2/schemas@3.34.0",
3
+ "package": "@rathnasgala2/schemas@3.35.0",
4
4
  "source": "package-lock.json",
5
5
  "dependencies": [
6
6
  {
@@ -24914,6 +24914,18 @@
24914
24914
  "problem:#/$defs/urn:type": {
24915
24915
  "code": "URN_INVALID"
24916
24916
  },
24917
+ "problem:#/properties/changeIds:maxItems": {
24918
+ "code": "SCHEMA_ARRAY_TOO_LONG"
24919
+ },
24920
+ "problem:#/properties/changeIds:minItems": {
24921
+ "code": "SCHEMA_ARRAY_TOO_SHORT"
24922
+ },
24923
+ "problem:#/properties/changeIds:type": {
24924
+ "code": "SCHEMA_TYPE_INVALID"
24925
+ },
24926
+ "problem:#/properties/changeIds:uniqueItems": {
24927
+ "code": "SCHEMA_ARRAY_DUPLICATE"
24928
+ },
24917
24929
  "problem:#/properties/detail:x-gala-graphemeLength": {
24918
24930
  "code": "GRAPHEME_LENGTH_INVALID"
24919
24931
  },
@@ -159,7 +159,7 @@
159
159
  "version": "2.0.0",
160
160
  "path": "schemas/problem.schema.json",
161
161
  "materialized": true,
162
- "sourceDigest": "sha256:f70ff3808035167a7a51e86b9df68ace36b8641009d86b5c3b9b76efa383339d",
162
+ "sourceDigest": "sha256:a0129e82f3f3cdd733c2033ebc7c9c800c36f41947d1c942f284857adc804e9e",
163
163
  "typescriptRootType": "ProblemDocument"
164
164
  },
165
165
  {
@@ -229,9 +229,9 @@
229
229
  "version": "2.0.0",
230
230
  "path": "openapi/openapi.yaml",
231
231
  "materialized": true,
232
- "sourceDigest": "sha256:67b0b1c71e66bec8957bcbc46a8c00ab56eb15fbb74f0bfffa12c98818091cfb",
232
+ "sourceDigest": "sha256:9396c5d3158cde50bdde111c8f8d54c0dd7bcda29ff84e4f8623f21e18330baa",
233
233
  "typescriptRootType": null
234
234
  }
235
235
  ],
236
- "digest": "sha256:fa5c0cb462166a8994f1af8ccaaa30a9c8accfcefbf999867956ec3c666d9a00"
236
+ "digest": "sha256:fc5d6c18087a0196a9b8a21ca9ae651979557f16a495632ef5373ca4e4a9cd7b"
237
237
  }
@@ -296,6 +296,19 @@
296
296
  "permittedLoss": 0
297
297
  }
298
298
  },
299
+ {
300
+ "caseId": "problem-valid-8dbef93d58bb834d",
301
+ "coveredRuleIds": [
302
+ "problem:#/properties/changeIds:maxItems",
303
+ "problem:#/properties/changeIds:minItems",
304
+ "problem:#/properties/changeIds:type",
305
+ "problem:#/properties/changeIds:uniqueItems"
306
+ ],
307
+ "schemaId": "urn:gala:schema:problem:2.0.0",
308
+ "schemaPointer": "#/properties/changeIds",
309
+ "keyword": "maxItems",
310
+ "instance": ["019c0000-0000-7000-8000-000000000001"]
311
+ },
299
312
  {
300
313
  "caseId": "problem-valid-8f57e4a8f2f6ecd2",
301
314
  "coveredRuleIds": [
@@ -211,6 +211,18 @@
211
211
  "keyword": "type",
212
212
  "instance": "fixture-1"
213
213
  },
214
+ {
215
+ "caseId": "problem-boundary-5abae888f53a57ce",
216
+ "coveredRuleIds": ["problem:#/properties/changeIds:maxItems"],
217
+ "schemaId": "urn:gala:schema:problem:2.0.0",
218
+ "schemaPointer": "#/properties/changeIds",
219
+ "keyword": "maxItems",
220
+ "recipe": {
221
+ "kind": "schema-array-boundary",
222
+ "schemaPointer": "#/properties/changeIds",
223
+ "length": 20
224
+ }
225
+ },
214
226
  {
215
227
  "caseId": "problem-boundary-5b5e96f439400c47",
216
228
  "coveredRuleIds": [
@@ -274,6 +286,17 @@
274
286
  "direction": "maximum"
275
287
  }
276
288
  },
289
+ {
290
+ "caseId": "problem-boundary-632c90bb6c5d8ac5",
291
+ "coveredRuleIds": [
292
+ "problem:#/properties/changeIds:type",
293
+ "problem:#/properties/changeIds:uniqueItems"
294
+ ],
295
+ "schemaId": "urn:gala:schema:problem:2.0.0",
296
+ "schemaPointer": "#/properties/changeIds",
297
+ "keyword": "type",
298
+ "instance": ["019c0000-0000-7000-8000-000000000001"]
299
+ },
277
300
  {
278
301
  "caseId": "problem-boundary-63726a4f5d6169fe",
279
302
  "coveredRuleIds": [
@@ -308,6 +331,18 @@
308
331
  "keyword": "minimum",
309
332
  "instance": 0
310
333
  },
334
+ {
335
+ "caseId": "problem-boundary-683fc0c25a1f6dc6",
336
+ "coveredRuleIds": ["problem:#/properties/changeIds:minItems"],
337
+ "schemaId": "urn:gala:schema:problem:2.0.0",
338
+ "schemaPointer": "#/properties/changeIds",
339
+ "keyword": "minItems",
340
+ "recipe": {
341
+ "kind": "schema-array-boundary",
342
+ "schemaPointer": "#/properties/changeIds",
343
+ "length": 1
344
+ }
345
+ },
311
346
  {
312
347
  "caseId": "problem-boundary-6d8e769d019903ac",
313
348
  "coveredRuleIds": ["problem:#/$defs/urn:minLength"],
@@ -0,0 +1,11 @@
1
+ [
2
+ {
3
+ "caseId": "problem-invalid-9e64bfb599ecc445",
4
+ "coveredRuleIds": ["problem:#/properties/changeIds:uniqueItems"],
5
+ "schemaId": "urn:gala:schema:problem:2.0.0",
6
+ "schemaPointer": "#/properties/changeIds",
7
+ "keyword": "uniqueItems",
8
+ "instance": [null, null],
9
+ "expectedCodes": ["SCHEMA_ARRAY_DUPLICATE"]
10
+ }
11
+ ]
@@ -24,5 +24,18 @@
24
24
  "length": 101
25
25
  },
26
26
  "expectedCodes": ["SCHEMA_ARRAY_TOO_LONG"]
27
+ },
28
+ {
29
+ "caseId": "problem-invalid-e897f41bbebe09ef",
30
+ "coveredRuleIds": ["problem:#/properties/changeIds:maxItems"],
31
+ "schemaId": "urn:gala:schema:problem:2.0.0",
32
+ "schemaPointer": "#/properties/changeIds",
33
+ "keyword": "maxItems",
34
+ "recipe": {
35
+ "kind": "schema-array-count",
36
+ "schemaPointer": "#/properties/changeIds",
37
+ "length": 21
38
+ },
39
+ "expectedCodes": ["SCHEMA_ARRAY_TOO_LONG"]
27
40
  }
28
41
  ]
@@ -0,0 +1,15 @@
1
+ [
2
+ {
3
+ "caseId": "problem-invalid-0f4ff07e8aecd6ca",
4
+ "coveredRuleIds": ["problem:#/properties/changeIds:minItems"],
5
+ "schemaId": "urn:gala:schema:problem:2.0.0",
6
+ "schemaPointer": "#/properties/changeIds",
7
+ "keyword": "minItems",
8
+ "recipe": {
9
+ "kind": "schema-array-count",
10
+ "schemaPointer": "#/properties/changeIds",
11
+ "length": 0
12
+ },
13
+ "expectedCodes": ["SCHEMA_ARRAY_TOO_SHORT"]
14
+ }
15
+ ]
@@ -37,6 +37,15 @@
37
37
  "instance": null,
38
38
  "expectedCodes": ["SCHEMA_TYPE_INVALID"]
39
39
  },
40
+ {
41
+ "caseId": "problem-invalid-5274755f9cc96dbe",
42
+ "coveredRuleIds": ["problem:#/properties/changeIds:type"],
43
+ "schemaId": "urn:gala:schema:problem:2.0.0",
44
+ "schemaPointer": "#/properties/changeIds",
45
+ "keyword": "type",
46
+ "instance": {},
47
+ "expectedCodes": ["SCHEMA_TYPE_INVALID"]
48
+ },
40
49
  {
41
50
  "caseId": "problem-invalid-59b628efd9d01db4",
42
51
  "coveredRuleIds": ["problem:#/properties/profileBase:type"],
@@ -142,8 +142,8 @@
142
142
  {
143
143
  "contract": "problem",
144
144
  "schemaId": "urn:gala:schema:problem:2.0.0",
145
- "schemaSha256": "f70ff3808035167a7a51e86b9df68ace36b8641009d86b5c3b9b76efa383339d",
146
- "ruleCount": 134,
145
+ "schemaSha256": "a0129e82f3f3cdd733c2033ebc7c9c800c36f41947d1c942f284857adc804e9e",
146
+ "ruleCount": 138,
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"
@@ -193301,6 +193301,98 @@
193301
193301
  "caseId": "problem-unknown-334359b90efed75d"
193302
193302
  }
193303
193303
  },
193304
+ {
193305
+ "contract": "problem",
193306
+ "ruleId": "problem:#/properties/changeIds:maxItems",
193307
+ "schemaPointer": "#/properties/changeIds",
193308
+ "keyword": "maxItems",
193309
+ "valid": {
193310
+ "file": "examples/valid/problem/rules.json",
193311
+ "caseId": "problem-valid-8dbef93d58bb834d"
193312
+ },
193313
+ "boundary": {
193314
+ "file": "fixtures/boundary/problem/rules.json",
193315
+ "caseId": "problem-boundary-5abae888f53a57ce"
193316
+ },
193317
+ "invalid": {
193318
+ "file": "fixtures/invalid/problem/SCHEMA_ARRAY_TOO_LONG/cases.json",
193319
+ "caseId": "problem-invalid-e897f41bbebe09ef",
193320
+ "expectedCode": "SCHEMA_ARRAY_TOO_LONG"
193321
+ },
193322
+ "unknownField": {
193323
+ "file": "fixtures/unknown-field/problem/rules.json",
193324
+ "caseId": "problem-unknown-334359b90efed75d"
193325
+ }
193326
+ },
193327
+ {
193328
+ "contract": "problem",
193329
+ "ruleId": "problem:#/properties/changeIds:minItems",
193330
+ "schemaPointer": "#/properties/changeIds",
193331
+ "keyword": "minItems",
193332
+ "valid": {
193333
+ "file": "examples/valid/problem/rules.json",
193334
+ "caseId": "problem-valid-8dbef93d58bb834d"
193335
+ },
193336
+ "boundary": {
193337
+ "file": "fixtures/boundary/problem/rules.json",
193338
+ "caseId": "problem-boundary-683fc0c25a1f6dc6"
193339
+ },
193340
+ "invalid": {
193341
+ "file": "fixtures/invalid/problem/SCHEMA_ARRAY_TOO_SHORT/cases.json",
193342
+ "caseId": "problem-invalid-0f4ff07e8aecd6ca",
193343
+ "expectedCode": "SCHEMA_ARRAY_TOO_SHORT"
193344
+ },
193345
+ "unknownField": {
193346
+ "file": "fixtures/unknown-field/problem/rules.json",
193347
+ "caseId": "problem-unknown-334359b90efed75d"
193348
+ }
193349
+ },
193350
+ {
193351
+ "contract": "problem",
193352
+ "ruleId": "problem:#/properties/changeIds:type",
193353
+ "schemaPointer": "#/properties/changeIds",
193354
+ "keyword": "type",
193355
+ "valid": {
193356
+ "file": "examples/valid/problem/rules.json",
193357
+ "caseId": "problem-valid-8dbef93d58bb834d"
193358
+ },
193359
+ "boundary": {
193360
+ "file": "fixtures/boundary/problem/rules.json",
193361
+ "caseId": "problem-boundary-632c90bb6c5d8ac5"
193362
+ },
193363
+ "invalid": {
193364
+ "file": "fixtures/invalid/problem/SCHEMA_TYPE_INVALID/cases.json",
193365
+ "caseId": "problem-invalid-5274755f9cc96dbe",
193366
+ "expectedCode": "SCHEMA_TYPE_INVALID"
193367
+ },
193368
+ "unknownField": {
193369
+ "file": "fixtures/unknown-field/problem/rules.json",
193370
+ "caseId": "problem-unknown-334359b90efed75d"
193371
+ }
193372
+ },
193373
+ {
193374
+ "contract": "problem",
193375
+ "ruleId": "problem:#/properties/changeIds:uniqueItems",
193376
+ "schemaPointer": "#/properties/changeIds",
193377
+ "keyword": "uniqueItems",
193378
+ "valid": {
193379
+ "file": "examples/valid/problem/rules.json",
193380
+ "caseId": "problem-valid-8dbef93d58bb834d"
193381
+ },
193382
+ "boundary": {
193383
+ "file": "fixtures/boundary/problem/rules.json",
193384
+ "caseId": "problem-boundary-632c90bb6c5d8ac5"
193385
+ },
193386
+ "invalid": {
193387
+ "file": "fixtures/invalid/problem/SCHEMA_ARRAY_DUPLICATE/cases.json",
193388
+ "caseId": "problem-invalid-9e64bfb599ecc445",
193389
+ "expectedCode": "SCHEMA_ARRAY_DUPLICATE"
193390
+ },
193391
+ "unknownField": {
193392
+ "file": "fixtures/unknown-field/problem/rules.json",
193393
+ "caseId": "problem-unknown-334359b90efed75d"
193394
+ }
193395
+ },
193304
193396
  {
193305
193397
  "contract": "problem",
193306
193398
  "ruleId": "problem:#/properties/detail:x-gala-graphemeLength",
@@ -77,6 +77,10 @@
77
77
  "problem:#/$defs/urn:minLength",
78
78
  "problem:#/$defs/urn:pattern",
79
79
  "problem:#/$defs/urn:type",
80
+ "problem:#/properties/changeIds:maxItems",
81
+ "problem:#/properties/changeIds:minItems",
82
+ "problem:#/properties/changeIds:type",
83
+ "problem:#/properties/changeIds:uniqueItems",
80
84
  "problem:#/properties/detail:x-gala-graphemeLength",
81
85
  "problem:#/properties/domainState:maxLength",
82
86
  "problem:#/properties/domainState:minLength",