@rathnasgala2/schemas 3.43.0 → 3.44.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 +52 -22
- package/docs/catalogs/schema-inventory.json +4 -4
- package/examples/valid/build-input/rules.json +81 -35
- package/fixtures/boundary/build-input/rules.json +107 -61
- package/fixtures/boundary/publication/rules.json +14 -14
- package/fixtures/invalid/build-input/REQUEST_FIELD_UNKNOWN/cases.json +33 -9
- package/fixtures/invalid/build-input/SCHEMA_ARRAY_DUPLICATE/cases.json +9 -9
- package/fixtures/invalid/build-input/SCHEMA_ARRAY_TOO_LONG/cases.json +10 -10
- package/fixtures/invalid/build-input/SCHEMA_ENUM_INVALID/cases.json +11 -11
- package/fixtures/invalid/build-input/SCHEMA_PATTERN_INVALID/cases.json +22 -0
- package/fixtures/invalid/build-input/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +31 -9
- package/fixtures/invalid/build-input/SCHEMA_TYPE_INVALID/cases.json +62 -18
- package/fixtures/invalid/publication/SCHEMA_ARRAY_TOO_LONG/cases.json +1 -1
- package/fixtures/manifest.json +414 -184
- package/fixtures/unknown-field/build-input/rules.json +48 -18
- package/generated/browser/validator-core.mjs +3 -3
- package/generated/typescript/contracts/build-input.d.ts +24 -17
- package/generated/typescript/contracts/publication.d.ts +1 -0
- package/openapi/http-catalog.json +15 -2
- package/openapi/openapi.yaml +152 -4
- package/package.json +1 -1
- package/sbom.cdx.json +23 -23
- package/schemas/build-input.schema.json +21 -4
- package/schemas/publication.schema.json +3 -2
|
@@ -217,24 +217,6 @@
|
|
|
217
217
|
},
|
|
218
218
|
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
219
219
|
},
|
|
220
|
-
{
|
|
221
|
-
"caseId": "build-input-unknown-0a66bda8af19368b",
|
|
222
|
-
"coveredRuleIds": [
|
|
223
|
-
"build-input:#/$defs/sharing/properties/targets/items:enum",
|
|
224
|
-
"build-input:#/$defs/sharing/properties/targets:maxItems",
|
|
225
|
-
"build-input:#/$defs/sharing/properties/targets:minItems",
|
|
226
|
-
"build-input:#/$defs/sharing/properties/targets:type",
|
|
227
|
-
"build-input:#/$defs/sharing/properties/targets:uniqueItems",
|
|
228
|
-
"build-input:#/$defs/sharing:additionalProperties",
|
|
229
|
-
"build-input:#/$defs/sharing:required:targets",
|
|
230
|
-
"build-input:#/$defs/sharing:type"
|
|
231
|
-
],
|
|
232
|
-
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
233
|
-
"schemaPointer": "#/$defs/sharing",
|
|
234
|
-
"keyword": "additionalProperties",
|
|
235
|
-
"instance": { "targets": ["copy-link"], "unexpected": true },
|
|
236
|
-
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
237
|
-
},
|
|
238
220
|
{
|
|
239
221
|
"caseId": "build-input-unknown-0ac82bcd811aa1d8",
|
|
240
222
|
"coveredRuleIds": [
|
|
@@ -1504,6 +1486,24 @@
|
|
|
1504
1486
|
"instance": { "unexpected": true },
|
|
1505
1487
|
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
1506
1488
|
},
|
|
1489
|
+
{
|
|
1490
|
+
"caseId": "build-input-unknown-afe911b8a029975c",
|
|
1491
|
+
"coveredRuleIds": [
|
|
1492
|
+
"build-input:#/$defs/resolvedSharing/properties/targets/items:enum",
|
|
1493
|
+
"build-input:#/$defs/resolvedSharing/properties/targets:maxItems",
|
|
1494
|
+
"build-input:#/$defs/resolvedSharing/properties/targets:minItems",
|
|
1495
|
+
"build-input:#/$defs/resolvedSharing/properties/targets:type",
|
|
1496
|
+
"build-input:#/$defs/resolvedSharing/properties/targets:uniqueItems",
|
|
1497
|
+
"build-input:#/$defs/resolvedSharing:additionalProperties",
|
|
1498
|
+
"build-input:#/$defs/resolvedSharing:required:targets",
|
|
1499
|
+
"build-input:#/$defs/resolvedSharing:type"
|
|
1500
|
+
],
|
|
1501
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
1502
|
+
"schemaPointer": "#/$defs/resolvedSharing",
|
|
1503
|
+
"keyword": "additionalProperties",
|
|
1504
|
+
"instance": { "targets": ["copy-link"], "unexpected": true },
|
|
1505
|
+
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
1506
|
+
},
|
|
1507
1507
|
{
|
|
1508
1508
|
"caseId": "build-input-unknown-be0b8e933041cbba",
|
|
1509
1509
|
"coveredRuleIds": [
|
|
@@ -1516,6 +1516,36 @@
|
|
|
1516
1516
|
"instance": { "unexpected": true },
|
|
1517
1517
|
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
1518
1518
|
},
|
|
1519
|
+
{
|
|
1520
|
+
"caseId": "build-input-unknown-bf7889f678593874",
|
|
1521
|
+
"coveredRuleIds": [
|
|
1522
|
+
"build-input:#/$defs/resolvedSharing/properties/reddit/properties/community:pattern",
|
|
1523
|
+
"build-input:#/$defs/resolvedSharing/properties/reddit/properties/community:type",
|
|
1524
|
+
"build-input:#/$defs/resolvedSharing/properties/reddit:additionalProperties",
|
|
1525
|
+
"build-input:#/$defs/resolvedSharing/properties/reddit:required:community",
|
|
1526
|
+
"build-input:#/$defs/resolvedSharing/properties/reddit:type"
|
|
1527
|
+
],
|
|
1528
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
1529
|
+
"schemaPointer": "#/$defs/resolvedSharing/properties/reddit",
|
|
1530
|
+
"keyword": "additionalProperties",
|
|
1531
|
+
"instance": { "community": "fixture", "unexpected": true },
|
|
1532
|
+
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
1533
|
+
},
|
|
1534
|
+
{
|
|
1535
|
+
"caseId": "build-input-unknown-c09f0f30b281c659",
|
|
1536
|
+
"coveredRuleIds": [
|
|
1537
|
+
"build-input:#/$defs/resolvedSharing/properties/x/properties/via:pattern",
|
|
1538
|
+
"build-input:#/$defs/resolvedSharing/properties/x/properties/via:type",
|
|
1539
|
+
"build-input:#/$defs/resolvedSharing/properties/x:additionalProperties",
|
|
1540
|
+
"build-input:#/$defs/resolvedSharing/properties/x:required:via",
|
|
1541
|
+
"build-input:#/$defs/resolvedSharing/properties/x:type"
|
|
1542
|
+
],
|
|
1543
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
1544
|
+
"schemaPointer": "#/$defs/resolvedSharing/properties/x",
|
|
1545
|
+
"keyword": "additionalProperties",
|
|
1546
|
+
"instance": { "via": "fixture", "unexpected": true },
|
|
1547
|
+
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
1548
|
+
},
|
|
1519
1549
|
{
|
|
1520
1550
|
"caseId": "build-input-unknown-c2f74da10bf8c061",
|
|
1521
1551
|
"coveredRuleIds": [
|