@rathnasgala2/schemas 3.23.1 → 3.25.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 +222 -0
- package/docs/catalogs/app-components.json +239 -1
- package/docs/catalogs/app-routes.json +71 -2
- package/docs/catalogs/schema-inventory.json +6 -6
- package/examples/valid/build-input/rules.json +118 -0
- package/examples/valid/content-frontmatter/rules.json +11 -0
- package/examples/valid/deployment-receipt/rules.json +150 -0
- package/examples/valid/publication/rules.json +107 -0
- package/fixtures/boundary/build-input/rules.json +127 -0
- package/fixtures/boundary/content-frontmatter/rules.json +11 -0
- package/fixtures/boundary/deployment-receipt/rules.json +163 -0
- package/fixtures/boundary/publication/rules.json +116 -0
- package/fixtures/invalid/build-input/REQUEST_FIELD_UNKNOWN/cases.json +38 -0
- package/fixtures/invalid/build-input/SCHEMA_ENUM_INVALID/cases.json +18 -0
- package/fixtures/invalid/build-input/SCHEMA_NUMBER_TOO_LARGE/cases.json +11 -0
- package/fixtures/invalid/build-input/SCHEMA_NUMBER_TOO_SMALL/cases.json +44 -0
- package/fixtures/invalid/build-input/SCHEMA_PATTERN_INVALID/cases.json +9 -0
- package/fixtures/invalid/build-input/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +18 -0
- package/fixtures/invalid/build-input/SCHEMA_TYPE_INVALID/cases.json +89 -0
- package/fixtures/invalid/content-frontmatter/SCHEMA_PATTERN_INVALID/cases.json +9 -0
- package/fixtures/invalid/content-frontmatter/SCHEMA_TYPE_INVALID/cases.json +9 -0
- package/fixtures/invalid/deployment-receipt/REQUEST_FIELD_UNKNOWN/cases.json +51 -0
- package/fixtures/invalid/deployment-receipt/SCHEMA_ARRAY_TOO_LONG/cases.json +15 -0
- package/fixtures/invalid/deployment-receipt/SCHEMA_ENUM_INVALID/cases.json +11 -0
- package/fixtures/invalid/deployment-receipt/SCHEMA_NUMBER_TOO_SMALL/cases.json +66 -0
- package/fixtures/invalid/deployment-receipt/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +101 -0
- package/fixtures/invalid/deployment-receipt/SCHEMA_TYPE_INVALID/cases.json +108 -0
- package/fixtures/invalid/publication/REQUEST_FIELD_UNKNOWN/cases.json +38 -0
- package/fixtures/invalid/publication/SCHEMA_ENUM_INVALID/cases.json +18 -0
- package/fixtures/invalid/publication/SCHEMA_NUMBER_TOO_LARGE/cases.json +13 -0
- package/fixtures/invalid/publication/SCHEMA_NUMBER_TOO_SMALL/cases.json +46 -0
- package/fixtures/invalid/publication/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +18 -0
- package/fixtures/invalid/publication/SCHEMA_TYPE_INVALID/cases.json +80 -0
- package/fixtures/manifest.json +1710 -8
- package/fixtures/unknown-field/build-input/rules.json +63 -0
- package/fixtures/unknown-field/content-frontmatter/rules.json +2 -0
- package/fixtures/unknown-field/deployment-receipt/rules.json +76 -0
- package/fixtures/unknown-field/publication/rules.json +61 -0
- package/generated/browser/validator-core.mjs +3 -3
- package/generated/typescript/contracts/build-input.d.ts +24 -0
- package/generated/typescript/contracts/content-frontmatter.d.ts +3 -0
- package/generated/typescript/contracts/deployment-receipt.d.ts +18 -0
- package/generated/typescript/contracts/publication.d.ts +21 -0
- package/openapi/http-catalog.json +41 -2
- package/openapi/openapi.yaml +885 -10
- package/package.json +1 -1
- package/sbom.cdx.json +23 -23
- package/schemas/build-input.schema.json +47 -0
- package/schemas/content-frontmatter.schema.json +6 -0
- package/schemas/deployment-receipt.schema.json +35 -0
- package/schemas/publication.schema.json +41 -0
|
@@ -257,6 +257,40 @@
|
|
|
257
257
|
},
|
|
258
258
|
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
259
259
|
},
|
|
260
|
+
{
|
|
261
|
+
"caseId": "build-input-unknown-0d5833f16854821b",
|
|
262
|
+
"coveredRuleIds": [
|
|
263
|
+
"build-input:#/$defs/performance/properties/budgets/properties/cssBytes:minimum",
|
|
264
|
+
"build-input:#/$defs/performance/properties/budgets/properties/cssBytes:type",
|
|
265
|
+
"build-input:#/$defs/performance/properties/budgets/properties/htmlBytes:minimum",
|
|
266
|
+
"build-input:#/$defs/performance/properties/budgets/properties/htmlBytes:type",
|
|
267
|
+
"build-input:#/$defs/performance/properties/budgets/properties/jsBytes:minimum",
|
|
268
|
+
"build-input:#/$defs/performance/properties/budgets/properties/jsBytes:type",
|
|
269
|
+
"build-input:#/$defs/performance/properties/budgets:additionalProperties",
|
|
270
|
+
"build-input:#/$defs/performance/properties/budgets:type"
|
|
271
|
+
],
|
|
272
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
273
|
+
"schemaPointer": "#/$defs/performance/properties/budgets",
|
|
274
|
+
"keyword": "additionalProperties",
|
|
275
|
+
"instance": { "unexpected": true },
|
|
276
|
+
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"caseId": "build-input-unknown-1064a206f53e55a9",
|
|
280
|
+
"coveredRuleIds": [
|
|
281
|
+
"build-input:#/$defs/aiRights/properties/search:enum",
|
|
282
|
+
"build-input:#/$defs/aiRights/properties/training:enum",
|
|
283
|
+
"build-input:#/$defs/aiRights:additionalProperties",
|
|
284
|
+
"build-input:#/$defs/aiRights:required:search",
|
|
285
|
+
"build-input:#/$defs/aiRights:required:training",
|
|
286
|
+
"build-input:#/$defs/aiRights:type"
|
|
287
|
+
],
|
|
288
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
289
|
+
"schemaPointer": "#/$defs/aiRights",
|
|
290
|
+
"keyword": "additionalProperties",
|
|
291
|
+
"instance": { "search": "allow", "training": "allow", "unexpected": true },
|
|
292
|
+
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
293
|
+
},
|
|
260
294
|
{
|
|
261
295
|
"caseId": "build-input-unknown-18d12a682083a474",
|
|
262
296
|
"coveredRuleIds": [
|
|
@@ -494,6 +528,8 @@
|
|
|
494
528
|
"build-input:#/$defs/canonicalRoute:minLength",
|
|
495
529
|
"build-input:#/$defs/canonicalRoute:pattern",
|
|
496
530
|
"build-input:#/$defs/canonicalRoute:type",
|
|
531
|
+
"build-input:#/$defs/deleteDate:pattern",
|
|
532
|
+
"build-input:#/$defs/deleteDate:type",
|
|
497
533
|
"build-input:#/$defs/digest:pattern",
|
|
498
534
|
"build-input:#/$defs/digest:type",
|
|
499
535
|
"build-input:#/$defs/extensionKey:format",
|
|
@@ -1374,6 +1410,33 @@
|
|
|
1374
1410
|
"instance": { "unexpected": true },
|
|
1375
1411
|
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
1376
1412
|
},
|
|
1413
|
+
{
|
|
1414
|
+
"caseId": "build-input-unknown-af7cb23277748c1e",
|
|
1415
|
+
"coveredRuleIds": [
|
|
1416
|
+
"build-input:#/$defs/listing/properties/pageSize:maximum",
|
|
1417
|
+
"build-input:#/$defs/listing/properties/pageSize:minimum",
|
|
1418
|
+
"build-input:#/$defs/listing/properties/pageSize:type",
|
|
1419
|
+
"build-input:#/$defs/listing:additionalProperties",
|
|
1420
|
+
"build-input:#/$defs/listing:type"
|
|
1421
|
+
],
|
|
1422
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
1423
|
+
"schemaPointer": "#/$defs/listing",
|
|
1424
|
+
"keyword": "additionalProperties",
|
|
1425
|
+
"instance": { "unexpected": true },
|
|
1426
|
+
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
1427
|
+
},
|
|
1428
|
+
{
|
|
1429
|
+
"caseId": "build-input-unknown-be0b8e933041cbba",
|
|
1430
|
+
"coveredRuleIds": [
|
|
1431
|
+
"build-input:#/$defs/performance:additionalProperties",
|
|
1432
|
+
"build-input:#/$defs/performance:type"
|
|
1433
|
+
],
|
|
1434
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
1435
|
+
"schemaPointer": "#/$defs/performance",
|
|
1436
|
+
"keyword": "additionalProperties",
|
|
1437
|
+
"instance": { "unexpected": true },
|
|
1438
|
+
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
1439
|
+
},
|
|
1377
1440
|
{
|
|
1378
1441
|
"caseId": "build-input-unknown-c2f74da10bf8c061",
|
|
1379
1442
|
"coveredRuleIds": [
|
|
@@ -12,6 +12,8 @@
|
|
|
12
12
|
"content-frontmatter:#/$defs/canonicalRoute:minLength",
|
|
13
13
|
"content-frontmatter:#/$defs/canonicalRoute:pattern",
|
|
14
14
|
"content-frontmatter:#/$defs/canonicalRoute:type",
|
|
15
|
+
"content-frontmatter:#/$defs/deleteDate:pattern",
|
|
16
|
+
"content-frontmatter:#/$defs/deleteDate:type",
|
|
15
17
|
"content-frontmatter:#/$defs/digest:pattern",
|
|
16
18
|
"content-frontmatter:#/$defs/digest:type",
|
|
17
19
|
"content-frontmatter:#/$defs/extensionKey:format",
|
|
@@ -2624,6 +2624,33 @@
|
|
|
2624
2624
|
},
|
|
2625
2625
|
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
2626
2626
|
},
|
|
2627
|
+
{
|
|
2628
|
+
"caseId": "deployment-receipt-unknown-5901f13520411bb8",
|
|
2629
|
+
"coveredRuleIds": [
|
|
2630
|
+
"deployment-receipt:#/$defs/deploymentPerformance/properties/overBudget/items/properties/budget:minimum",
|
|
2631
|
+
"deployment-receipt:#/$defs/deploymentPerformance/properties/overBudget/items/properties/budget:type",
|
|
2632
|
+
"deployment-receipt:#/$defs/deploymentPerformance/properties/overBudget/items/properties/bytes:minimum",
|
|
2633
|
+
"deployment-receipt:#/$defs/deploymentPerformance/properties/overBudget/items/properties/bytes:type",
|
|
2634
|
+
"deployment-receipt:#/$defs/deploymentPerformance/properties/overBudget/items/properties/kind:enum",
|
|
2635
|
+
"deployment-receipt:#/$defs/deploymentPerformance/properties/overBudget/items:additionalProperties",
|
|
2636
|
+
"deployment-receipt:#/$defs/deploymentPerformance/properties/overBudget/items:required:budget",
|
|
2637
|
+
"deployment-receipt:#/$defs/deploymentPerformance/properties/overBudget/items:required:bytes",
|
|
2638
|
+
"deployment-receipt:#/$defs/deploymentPerformance/properties/overBudget/items:required:kind",
|
|
2639
|
+
"deployment-receipt:#/$defs/deploymentPerformance/properties/overBudget/items:required:path",
|
|
2640
|
+
"deployment-receipt:#/$defs/deploymentPerformance/properties/overBudget/items:type"
|
|
2641
|
+
],
|
|
2642
|
+
"schemaId": "urn:gala:schema:deployment-receipt:2.0.0",
|
|
2643
|
+
"schemaPointer": "#/$defs/deploymentPerformance/properties/overBudget/items",
|
|
2644
|
+
"keyword": "additionalProperties",
|
|
2645
|
+
"instance": {
|
|
2646
|
+
"path": "content/fixture-1.md",
|
|
2647
|
+
"kind": "html",
|
|
2648
|
+
"bytes": 0,
|
|
2649
|
+
"budget": 1024,
|
|
2650
|
+
"unexpected": true
|
|
2651
|
+
},
|
|
2652
|
+
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
2653
|
+
},
|
|
2627
2654
|
{
|
|
2628
2655
|
"caseId": "deployment-receipt-unknown-6551a230bebda3b6",
|
|
2629
2656
|
"coveredRuleIds": [
|
|
@@ -3200,6 +3227,24 @@
|
|
|
3200
3227
|
},
|
|
3201
3228
|
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
3202
3229
|
},
|
|
3230
|
+
{
|
|
3231
|
+
"caseId": "deployment-receipt-unknown-acfc95e42b9711a7",
|
|
3232
|
+
"coveredRuleIds": [
|
|
3233
|
+
"deployment-receipt:#/$defs/deploymentPerformance/properties/budgets/properties/cssBytes:minimum",
|
|
3234
|
+
"deployment-receipt:#/$defs/deploymentPerformance/properties/budgets/properties/cssBytes:type",
|
|
3235
|
+
"deployment-receipt:#/$defs/deploymentPerformance/properties/budgets/properties/htmlBytes:minimum",
|
|
3236
|
+
"deployment-receipt:#/$defs/deploymentPerformance/properties/budgets/properties/htmlBytes:type",
|
|
3237
|
+
"deployment-receipt:#/$defs/deploymentPerformance/properties/budgets/properties/jsBytes:minimum",
|
|
3238
|
+
"deployment-receipt:#/$defs/deploymentPerformance/properties/budgets/properties/jsBytes:type",
|
|
3239
|
+
"deployment-receipt:#/$defs/deploymentPerformance/properties/budgets:additionalProperties",
|
|
3240
|
+
"deployment-receipt:#/$defs/deploymentPerformance/properties/budgets:type"
|
|
3241
|
+
],
|
|
3242
|
+
"schemaId": "urn:gala:schema:deployment-receipt:2.0.0",
|
|
3243
|
+
"schemaPointer": "#/$defs/deploymentPerformance/properties/budgets",
|
|
3244
|
+
"keyword": "additionalProperties",
|
|
3245
|
+
"instance": { "unexpected": true },
|
|
3246
|
+
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
3247
|
+
},
|
|
3203
3248
|
{
|
|
3204
3249
|
"caseId": "deployment-receipt-unknown-ae11344b016e14e4",
|
|
3205
3250
|
"coveredRuleIds": [
|
|
@@ -3781,6 +3826,37 @@
|
|
|
3781
3826
|
},
|
|
3782
3827
|
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
3783
3828
|
},
|
|
3829
|
+
{
|
|
3830
|
+
"caseId": "deployment-receipt-unknown-ef8f96e6475b65fe",
|
|
3831
|
+
"coveredRuleIds": [
|
|
3832
|
+
"deployment-receipt:#/$defs/deploymentPerformance/properties/overBudget:maxItems",
|
|
3833
|
+
"deployment-receipt:#/$defs/deploymentPerformance/properties/overBudget:type",
|
|
3834
|
+
"deployment-receipt:#/$defs/deploymentPerformance/properties/overBudgetCount:minimum",
|
|
3835
|
+
"deployment-receipt:#/$defs/deploymentPerformance/properties/overBudgetCount:type",
|
|
3836
|
+
"deployment-receipt:#/$defs/deploymentPerformance:additionalProperties",
|
|
3837
|
+
"deployment-receipt:#/$defs/deploymentPerformance:required:budgets",
|
|
3838
|
+
"deployment-receipt:#/$defs/deploymentPerformance:required:overBudget",
|
|
3839
|
+
"deployment-receipt:#/$defs/deploymentPerformance:required:overBudgetCount",
|
|
3840
|
+
"deployment-receipt:#/$defs/deploymentPerformance:type"
|
|
3841
|
+
],
|
|
3842
|
+
"schemaId": "urn:gala:schema:deployment-receipt:2.0.0",
|
|
3843
|
+
"schemaPointer": "#/$defs/deploymentPerformance",
|
|
3844
|
+
"keyword": "additionalProperties",
|
|
3845
|
+
"instance": {
|
|
3846
|
+
"budgets": {},
|
|
3847
|
+
"overBudgetCount": 0,
|
|
3848
|
+
"overBudget": [
|
|
3849
|
+
{
|
|
3850
|
+
"path": "content/fixture-1.md",
|
|
3851
|
+
"kind": "html",
|
|
3852
|
+
"bytes": 0,
|
|
3853
|
+
"budget": 1024
|
|
3854
|
+
}
|
|
3855
|
+
],
|
|
3856
|
+
"unexpected": true
|
|
3857
|
+
},
|
|
3858
|
+
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
3859
|
+
},
|
|
3784
3860
|
{
|
|
3785
3861
|
"caseId": "deployment-receipt-unknown-f706a91279db4442",
|
|
3786
3862
|
"coveredRuleIds": [
|
|
@@ -53,6 +53,40 @@
|
|
|
53
53
|
"instance": { "targets": ["copy-link"], "unexpected": true },
|
|
54
54
|
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
55
55
|
},
|
|
56
|
+
{
|
|
57
|
+
"caseId": "publication-unknown-0d5833f16854821b",
|
|
58
|
+
"coveredRuleIds": [
|
|
59
|
+
"publication:#/$defs/performance/properties/budgets/properties/cssBytes:minimum",
|
|
60
|
+
"publication:#/$defs/performance/properties/budgets/properties/cssBytes:type",
|
|
61
|
+
"publication:#/$defs/performance/properties/budgets/properties/htmlBytes:minimum",
|
|
62
|
+
"publication:#/$defs/performance/properties/budgets/properties/htmlBytes:type",
|
|
63
|
+
"publication:#/$defs/performance/properties/budgets/properties/jsBytes:minimum",
|
|
64
|
+
"publication:#/$defs/performance/properties/budgets/properties/jsBytes:type",
|
|
65
|
+
"publication:#/$defs/performance/properties/budgets:additionalProperties",
|
|
66
|
+
"publication:#/$defs/performance/properties/budgets:type"
|
|
67
|
+
],
|
|
68
|
+
"schemaId": "urn:gala:schema:publication:2.0.0",
|
|
69
|
+
"schemaPointer": "#/$defs/performance/properties/budgets",
|
|
70
|
+
"keyword": "additionalProperties",
|
|
71
|
+
"instance": { "unexpected": true },
|
|
72
|
+
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"caseId": "publication-unknown-1064a206f53e55a9",
|
|
76
|
+
"coveredRuleIds": [
|
|
77
|
+
"publication:#/$defs/aiRights/properties/search:enum",
|
|
78
|
+
"publication:#/$defs/aiRights/properties/training:enum",
|
|
79
|
+
"publication:#/$defs/aiRights:additionalProperties",
|
|
80
|
+
"publication:#/$defs/aiRights:required:search",
|
|
81
|
+
"publication:#/$defs/aiRights:required:training",
|
|
82
|
+
"publication:#/$defs/aiRights:type"
|
|
83
|
+
],
|
|
84
|
+
"schemaId": "urn:gala:schema:publication:2.0.0",
|
|
85
|
+
"schemaPointer": "#/$defs/aiRights",
|
|
86
|
+
"keyword": "additionalProperties",
|
|
87
|
+
"instance": { "search": "allow", "training": "allow", "unexpected": true },
|
|
88
|
+
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
89
|
+
},
|
|
56
90
|
{
|
|
57
91
|
"caseId": "publication-unknown-334359b90efed75d",
|
|
58
92
|
"coveredRuleIds": [
|
|
@@ -273,6 +307,21 @@
|
|
|
273
307
|
"instance": { "ai": "allow", "unexpected": true },
|
|
274
308
|
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
275
309
|
},
|
|
310
|
+
{
|
|
311
|
+
"caseId": "publication-unknown-af7cb23277748c1e",
|
|
312
|
+
"coveredRuleIds": [
|
|
313
|
+
"publication:#/$defs/listing/properties/pageSize:maximum",
|
|
314
|
+
"publication:#/$defs/listing/properties/pageSize:minimum",
|
|
315
|
+
"publication:#/$defs/listing/properties/pageSize:type",
|
|
316
|
+
"publication:#/$defs/listing:additionalProperties",
|
|
317
|
+
"publication:#/$defs/listing:type"
|
|
318
|
+
],
|
|
319
|
+
"schemaId": "urn:gala:schema:publication:2.0.0",
|
|
320
|
+
"schemaPointer": "#/$defs/listing",
|
|
321
|
+
"keyword": "additionalProperties",
|
|
322
|
+
"instance": { "unexpected": true },
|
|
323
|
+
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
324
|
+
},
|
|
276
325
|
{
|
|
277
326
|
"caseId": "publication-unknown-b0424c1acb3ba01a",
|
|
278
327
|
"coveredRuleIds": [
|
|
@@ -318,6 +367,18 @@
|
|
|
318
367
|
},
|
|
319
368
|
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
320
369
|
},
|
|
370
|
+
{
|
|
371
|
+
"caseId": "publication-unknown-be0b8e933041cbba",
|
|
372
|
+
"coveredRuleIds": [
|
|
373
|
+
"publication:#/$defs/performance:additionalProperties",
|
|
374
|
+
"publication:#/$defs/performance:type"
|
|
375
|
+
],
|
|
376
|
+
"schemaId": "urn:gala:schema:publication:2.0.0",
|
|
377
|
+
"schemaPointer": "#/$defs/performance",
|
|
378
|
+
"keyword": "additionalProperties",
|
|
379
|
+
"instance": { "unexpected": true },
|
|
380
|
+
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
381
|
+
},
|
|
321
382
|
{
|
|
322
383
|
"caseId": "publication-unknown-cda512885ea6ac7a",
|
|
323
384
|
"coveredRuleIds": [
|