@rathnasgala2/schemas 3.24.0 → 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 +69 -1
- 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 +28 -2
- package/openapi/openapi.yaml +353 -2
- 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
|
@@ -30,6 +30,15 @@
|
|
|
30
30
|
"instance": { "unexpected": true },
|
|
31
31
|
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
32
32
|
},
|
|
33
|
+
{
|
|
34
|
+
"caseId": "build-input-invalid-11a8d95f5edd7da9",
|
|
35
|
+
"coveredRuleIds": ["build-input:#/$defs/aiRights:additionalProperties"],
|
|
36
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
37
|
+
"schemaPointer": "#/$defs/aiRights",
|
|
38
|
+
"keyword": "additionalProperties",
|
|
39
|
+
"instance": { "search": "allow", "training": "allow", "unexpected": true },
|
|
40
|
+
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
41
|
+
},
|
|
33
42
|
{
|
|
34
43
|
"caseId": "build-input-invalid-13698720f3c60b26",
|
|
35
44
|
"coveredRuleIds": [
|
|
@@ -405,6 +414,15 @@
|
|
|
405
414
|
},
|
|
406
415
|
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
407
416
|
},
|
|
417
|
+
{
|
|
418
|
+
"caseId": "build-input-invalid-5bd09e38ccc10f76",
|
|
419
|
+
"coveredRuleIds": ["build-input:#/$defs/listing:additionalProperties"],
|
|
420
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
421
|
+
"schemaPointer": "#/$defs/listing",
|
|
422
|
+
"keyword": "additionalProperties",
|
|
423
|
+
"instance": { "unexpected": true },
|
|
424
|
+
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
425
|
+
},
|
|
408
426
|
{
|
|
409
427
|
"caseId": "build-input-invalid-5f118990cd93a43f",
|
|
410
428
|
"coveredRuleIds": ["build-input:#/$defs/resolvedFile:additionalProperties"],
|
|
@@ -438,6 +456,15 @@
|
|
|
438
456
|
},
|
|
439
457
|
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
440
458
|
},
|
|
459
|
+
{
|
|
460
|
+
"caseId": "build-input-invalid-60bf77b234dad177",
|
|
461
|
+
"coveredRuleIds": ["build-input:#/$defs/performance:additionalProperties"],
|
|
462
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
463
|
+
"schemaPointer": "#/$defs/performance",
|
|
464
|
+
"keyword": "additionalProperties",
|
|
465
|
+
"instance": { "unexpected": true },
|
|
466
|
+
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
467
|
+
},
|
|
441
468
|
{
|
|
442
469
|
"caseId": "build-input-invalid-6b9ebafb7d1d90e9",
|
|
443
470
|
"coveredRuleIds": ["build-input:#/$defs/attribution:additionalProperties"],
|
|
@@ -1244,6 +1271,17 @@
|
|
|
1244
1271
|
},
|
|
1245
1272
|
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
1246
1273
|
},
|
|
1274
|
+
{
|
|
1275
|
+
"caseId": "build-input-invalid-e4555b825645018d",
|
|
1276
|
+
"coveredRuleIds": [
|
|
1277
|
+
"build-input:#/$defs/performance/properties/budgets:additionalProperties"
|
|
1278
|
+
],
|
|
1279
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
1280
|
+
"schemaPointer": "#/$defs/performance/properties/budgets",
|
|
1281
|
+
"keyword": "additionalProperties",
|
|
1282
|
+
"instance": { "unexpected": true },
|
|
1283
|
+
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
1284
|
+
},
|
|
1247
1285
|
{
|
|
1248
1286
|
"caseId": "build-input-invalid-fc5c9b4fd74f2d96",
|
|
1249
1287
|
"coveredRuleIds": [
|
|
@@ -129,6 +129,15 @@
|
|
|
129
129
|
"instance": "__invalid_enum__",
|
|
130
130
|
"expectedCodes": ["SCHEMA_ENUM_INVALID"]
|
|
131
131
|
},
|
|
132
|
+
{
|
|
133
|
+
"caseId": "build-input-invalid-6de71fb5a3c00008",
|
|
134
|
+
"coveredRuleIds": ["build-input:#/$defs/aiRights/properties/training:enum"],
|
|
135
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
136
|
+
"schemaPointer": "#/$defs/aiRights/properties/training",
|
|
137
|
+
"keyword": "enum",
|
|
138
|
+
"instance": "__invalid_enum__",
|
|
139
|
+
"expectedCodes": ["SCHEMA_ENUM_INVALID"]
|
|
140
|
+
},
|
|
132
141
|
{
|
|
133
142
|
"caseId": "build-input-invalid-8444bba6fbd5f6da",
|
|
134
143
|
"coveredRuleIds": [
|
|
@@ -226,6 +235,15 @@
|
|
|
226
235
|
"instance": "__invalid_enum__",
|
|
227
236
|
"expectedCodes": ["SCHEMA_ENUM_INVALID"]
|
|
228
237
|
},
|
|
238
|
+
{
|
|
239
|
+
"caseId": "build-input-invalid-d40f7963001efb75",
|
|
240
|
+
"coveredRuleIds": ["build-input:#/$defs/aiRights/properties/search:enum"],
|
|
241
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
242
|
+
"schemaPointer": "#/$defs/aiRights/properties/search",
|
|
243
|
+
"keyword": "enum",
|
|
244
|
+
"instance": "__invalid_enum__",
|
|
245
|
+
"expectedCodes": ["SCHEMA_ENUM_INVALID"]
|
|
246
|
+
},
|
|
229
247
|
{
|
|
230
248
|
"caseId": "build-input-invalid-db5a519a0fddd4e6",
|
|
231
249
|
"coveredRuleIds": [
|
|
@@ -10,6 +10,17 @@
|
|
|
10
10
|
"instance": 52428801,
|
|
11
11
|
"expectedCodes": ["SCHEMA_NUMBER_TOO_LARGE"]
|
|
12
12
|
},
|
|
13
|
+
{
|
|
14
|
+
"caseId": "build-input-invalid-4b8fd71beb6f613a",
|
|
15
|
+
"coveredRuleIds": [
|
|
16
|
+
"build-input:#/$defs/listing/properties/pageSize:maximum"
|
|
17
|
+
],
|
|
18
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
19
|
+
"schemaPointer": "#/$defs/listing/properties/pageSize",
|
|
20
|
+
"keyword": "maximum",
|
|
21
|
+
"instance": 51,
|
|
22
|
+
"expectedCodes": ["SCHEMA_NUMBER_TOO_LARGE"]
|
|
23
|
+
},
|
|
13
24
|
{
|
|
14
25
|
"caseId": "build-input-invalid-846eb6449989d3c3",
|
|
15
26
|
"coveredRuleIds": [
|
|
@@ -1,4 +1,37 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"caseId": "build-input-invalid-09ed74a17531b788",
|
|
4
|
+
"coveredRuleIds": [
|
|
5
|
+
"build-input:#/$defs/listing/properties/pageSize:minimum"
|
|
6
|
+
],
|
|
7
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
8
|
+
"schemaPointer": "#/$defs/listing/properties/pageSize",
|
|
9
|
+
"keyword": "minimum",
|
|
10
|
+
"instance": 0,
|
|
11
|
+
"expectedCodes": ["SCHEMA_NUMBER_TOO_SMALL"]
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"caseId": "build-input-invalid-2bcb19713a24bafd",
|
|
15
|
+
"coveredRuleIds": [
|
|
16
|
+
"build-input:#/$defs/performance/properties/budgets/properties/htmlBytes:minimum"
|
|
17
|
+
],
|
|
18
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
19
|
+
"schemaPointer": "#/$defs/performance/properties/budgets/properties/htmlBytes",
|
|
20
|
+
"keyword": "minimum",
|
|
21
|
+
"instance": 1023,
|
|
22
|
+
"expectedCodes": ["SCHEMA_NUMBER_TOO_SMALL"]
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"caseId": "build-input-invalid-4fbc0390cc8bb53b",
|
|
26
|
+
"coveredRuleIds": [
|
|
27
|
+
"build-input:#/$defs/performance/properties/budgets/properties/cssBytes:minimum"
|
|
28
|
+
],
|
|
29
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
30
|
+
"schemaPointer": "#/$defs/performance/properties/budgets/properties/cssBytes",
|
|
31
|
+
"keyword": "minimum",
|
|
32
|
+
"instance": 1023,
|
|
33
|
+
"expectedCodes": ["SCHEMA_NUMBER_TOO_SMALL"]
|
|
34
|
+
},
|
|
2
35
|
{
|
|
3
36
|
"caseId": "build-input-invalid-5a4fe0dd501518da",
|
|
4
37
|
"coveredRuleIds": [
|
|
@@ -10,6 +43,17 @@
|
|
|
10
43
|
"instance": 0,
|
|
11
44
|
"expectedCodes": ["SCHEMA_NUMBER_TOO_SMALL"]
|
|
12
45
|
},
|
|
46
|
+
{
|
|
47
|
+
"caseId": "build-input-invalid-79def185c495db2e",
|
|
48
|
+
"coveredRuleIds": [
|
|
49
|
+
"build-input:#/$defs/performance/properties/budgets/properties/jsBytes:minimum"
|
|
50
|
+
],
|
|
51
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
52
|
+
"schemaPointer": "#/$defs/performance/properties/budgets/properties/jsBytes",
|
|
53
|
+
"keyword": "minimum",
|
|
54
|
+
"instance": 1023,
|
|
55
|
+
"expectedCodes": ["SCHEMA_NUMBER_TOO_SMALL"]
|
|
56
|
+
},
|
|
13
57
|
{
|
|
14
58
|
"caseId": "build-input-invalid-7d7008685fde4378",
|
|
15
59
|
"coveredRuleIds": [
|
|
@@ -74,6 +74,15 @@
|
|
|
74
74
|
"instance": "",
|
|
75
75
|
"expectedCodes": ["SCHEMA_PATTERN_INVALID"]
|
|
76
76
|
},
|
|
77
|
+
{
|
|
78
|
+
"caseId": "build-input-invalid-895831a093614ca2",
|
|
79
|
+
"coveredRuleIds": ["build-input:#/$defs/deleteDate:pattern"],
|
|
80
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
81
|
+
"schemaPointer": "#/$defs/deleteDate",
|
|
82
|
+
"keyword": "pattern",
|
|
83
|
+
"instance": "",
|
|
84
|
+
"expectedCodes": ["SCHEMA_PATTERN_INVALID"]
|
|
85
|
+
},
|
|
77
86
|
{
|
|
78
87
|
"caseId": "build-input-invalid-a24ac112cbeaf366",
|
|
79
88
|
"coveredRuleIds": ["build-input:#/$defs/githubPositiveDecimal:pattern"],
|
|
@@ -4453,6 +4453,15 @@
|
|
|
4453
4453
|
},
|
|
4454
4454
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
4455
4455
|
},
|
|
4456
|
+
{
|
|
4457
|
+
"caseId": "build-input-invalid-a8a28aafbea859bf",
|
|
4458
|
+
"coveredRuleIds": ["build-input:#/$defs/aiRights:required:search"],
|
|
4459
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
4460
|
+
"schemaPointer": "#/$defs/aiRights",
|
|
4461
|
+
"keyword": "required",
|
|
4462
|
+
"instance": { "training": "allow" },
|
|
4463
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
4464
|
+
},
|
|
4456
4465
|
{
|
|
4457
4466
|
"caseId": "build-input-invalid-ad8bb32ae4669e2d",
|
|
4458
4467
|
"coveredRuleIds": [
|
|
@@ -6536,6 +6545,15 @@
|
|
|
6536
6545
|
},
|
|
6537
6546
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
6538
6547
|
},
|
|
6548
|
+
{
|
|
6549
|
+
"caseId": "build-input-invalid-f3efa37516f7217f",
|
|
6550
|
+
"coveredRuleIds": ["build-input:#/$defs/aiRights:required:training"],
|
|
6551
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
6552
|
+
"schemaPointer": "#/$defs/aiRights",
|
|
6553
|
+
"keyword": "required",
|
|
6554
|
+
"instance": { "search": "allow" },
|
|
6555
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
6556
|
+
},
|
|
6539
6557
|
{
|
|
6540
6558
|
"caseId": "build-input-invalid-f55daacf0bd10221",
|
|
6541
6559
|
"coveredRuleIds": ["build-input:#:required:baseUrl"],
|
|
@@ -17,6 +17,15 @@
|
|
|
17
17
|
"instance": [],
|
|
18
18
|
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
19
19
|
},
|
|
20
|
+
{
|
|
21
|
+
"caseId": "build-input-invalid-012d1163ff2bfa7b",
|
|
22
|
+
"coveredRuleIds": ["build-input:#/$defs/listing:type"],
|
|
23
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
24
|
+
"schemaPointer": "#/$defs/listing",
|
|
25
|
+
"keyword": "type",
|
|
26
|
+
"instance": [],
|
|
27
|
+
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
28
|
+
},
|
|
20
29
|
{
|
|
21
30
|
"caseId": "build-input-invalid-03d89565443743b6",
|
|
22
31
|
"coveredRuleIds": [
|
|
@@ -310,6 +319,15 @@
|
|
|
310
319
|
"instance": [],
|
|
311
320
|
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
312
321
|
},
|
|
322
|
+
{
|
|
323
|
+
"caseId": "build-input-invalid-3dbdea45e53bd0b4",
|
|
324
|
+
"coveredRuleIds": ["build-input:#/$defs/performance:type"],
|
|
325
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
326
|
+
"schemaPointer": "#/$defs/performance",
|
|
327
|
+
"keyword": "type",
|
|
328
|
+
"instance": [],
|
|
329
|
+
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
330
|
+
},
|
|
313
331
|
{
|
|
314
332
|
"caseId": "build-input-invalid-3ee8d27e8cf9da46",
|
|
315
333
|
"coveredRuleIds": ["build-input:#/$defs/destinationCapabilityProfile:type"],
|
|
@@ -492,6 +510,17 @@
|
|
|
492
510
|
"instance": {},
|
|
493
511
|
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
494
512
|
},
|
|
513
|
+
{
|
|
514
|
+
"caseId": "build-input-invalid-617be6a11cafc69b",
|
|
515
|
+
"coveredRuleIds": [
|
|
516
|
+
"build-input:#/$defs/performance/properties/budgets/properties/cssBytes:type"
|
|
517
|
+
],
|
|
518
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
519
|
+
"schemaPointer": "#/$defs/performance/properties/budgets/properties/cssBytes",
|
|
520
|
+
"keyword": "type",
|
|
521
|
+
"instance": null,
|
|
522
|
+
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
523
|
+
},
|
|
495
524
|
{
|
|
496
525
|
"caseId": "build-input-invalid-6341764cbd701f8c",
|
|
497
526
|
"coveredRuleIds": [
|
|
@@ -503,6 +532,15 @@
|
|
|
503
532
|
"instance": [],
|
|
504
533
|
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
505
534
|
},
|
|
535
|
+
{
|
|
536
|
+
"caseId": "build-input-invalid-68b38934b3307bf2",
|
|
537
|
+
"coveredRuleIds": ["build-input:#/$defs/aiRights:type"],
|
|
538
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
539
|
+
"schemaPointer": "#/$defs/aiRights",
|
|
540
|
+
"keyword": "type",
|
|
541
|
+
"instance": [],
|
|
542
|
+
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
543
|
+
},
|
|
506
544
|
{
|
|
507
545
|
"caseId": "build-input-invalid-6ba812fd3a1a21bf",
|
|
508
546
|
"coveredRuleIds": ["build-input:#/$defs/contentSeo:type"],
|
|
@@ -693,6 +731,17 @@
|
|
|
693
731
|
"instance": [],
|
|
694
732
|
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
695
733
|
},
|
|
734
|
+
{
|
|
735
|
+
"caseId": "build-input-invalid-9b99693393f1f996",
|
|
736
|
+
"coveredRuleIds": [
|
|
737
|
+
"build-input:#/$defs/performance/properties/budgets/properties/jsBytes:type"
|
|
738
|
+
],
|
|
739
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
740
|
+
"schemaPointer": "#/$defs/performance/properties/budgets/properties/jsBytes",
|
|
741
|
+
"keyword": "type",
|
|
742
|
+
"instance": null,
|
|
743
|
+
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
744
|
+
},
|
|
696
745
|
{
|
|
697
746
|
"caseId": "build-input-invalid-9cddaa1dfa692152",
|
|
698
747
|
"coveredRuleIds": ["build-input:#/$defs/reactionKey:type"],
|
|
@@ -766,6 +815,17 @@
|
|
|
766
815
|
"instance": null,
|
|
767
816
|
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
768
817
|
},
|
|
818
|
+
{
|
|
819
|
+
"caseId": "build-input-invalid-a8f5cca6a4dea0ff",
|
|
820
|
+
"coveredRuleIds": [
|
|
821
|
+
"build-input:#/$defs/performance/properties/budgets/properties/htmlBytes:type"
|
|
822
|
+
],
|
|
823
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
824
|
+
"schemaPointer": "#/$defs/performance/properties/budgets/properties/htmlBytes",
|
|
825
|
+
"keyword": "type",
|
|
826
|
+
"instance": null,
|
|
827
|
+
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
828
|
+
},
|
|
769
829
|
{
|
|
770
830
|
"caseId": "build-input-invalid-ac75e54633cdfc1f",
|
|
771
831
|
"coveredRuleIds": ["build-input:#/$defs/resolvedMedia:type"],
|
|
@@ -915,6 +975,35 @@
|
|
|
915
975
|
"instance": [],
|
|
916
976
|
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
917
977
|
},
|
|
978
|
+
{
|
|
979
|
+
"caseId": "build-input-invalid-c348b54617e5787d",
|
|
980
|
+
"coveredRuleIds": [
|
|
981
|
+
"build-input:#/$defs/performance/properties/budgets:type"
|
|
982
|
+
],
|
|
983
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
984
|
+
"schemaPointer": "#/$defs/performance/properties/budgets",
|
|
985
|
+
"keyword": "type",
|
|
986
|
+
"instance": [],
|
|
987
|
+
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
988
|
+
},
|
|
989
|
+
{
|
|
990
|
+
"caseId": "build-input-invalid-c8641069365b4c98",
|
|
991
|
+
"coveredRuleIds": ["build-input:#/$defs/deleteDate:type"],
|
|
992
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
993
|
+
"schemaPointer": "#/$defs/deleteDate",
|
|
994
|
+
"keyword": "type",
|
|
995
|
+
"instance": null,
|
|
996
|
+
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
997
|
+
},
|
|
998
|
+
{
|
|
999
|
+
"caseId": "build-input-invalid-c9eca2d8aae83985",
|
|
1000
|
+
"coveredRuleIds": ["build-input:#/$defs/listing/properties/pageSize:type"],
|
|
1001
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
1002
|
+
"schemaPointer": "#/$defs/listing/properties/pageSize",
|
|
1003
|
+
"keyword": "type",
|
|
1004
|
+
"instance": null,
|
|
1005
|
+
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
1006
|
+
},
|
|
918
1007
|
{
|
|
919
1008
|
"caseId": "build-input-invalid-d243e10e71679ce6",
|
|
920
1009
|
"coveredRuleIds": [
|
|
@@ -1,4 +1,13 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"caseId": "content-frontmatter-invalid-23e94a00e79cbe64",
|
|
4
|
+
"coveredRuleIds": ["content-frontmatter:#/$defs/deleteDate:pattern"],
|
|
5
|
+
"schemaId": "urn:gala:schema:content-frontmatter:2.0.0",
|
|
6
|
+
"schemaPointer": "#/$defs/deleteDate",
|
|
7
|
+
"keyword": "pattern",
|
|
8
|
+
"instance": "",
|
|
9
|
+
"expectedCodes": ["SCHEMA_PATTERN_INVALID"]
|
|
10
|
+
},
|
|
2
11
|
{
|
|
3
12
|
"caseId": "content-frontmatter-invalid-c96639eac0e7f8b7",
|
|
4
13
|
"coveredRuleIds": ["content-frontmatter:#/$defs/publishAfterDate:pattern"],
|
|
@@ -122,6 +122,15 @@
|
|
|
122
122
|
"instance": null,
|
|
123
123
|
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
124
124
|
},
|
|
125
|
+
{
|
|
126
|
+
"caseId": "content-frontmatter-invalid-d8bcec61aecd8f8f",
|
|
127
|
+
"coveredRuleIds": ["content-frontmatter:#/$defs/deleteDate:type"],
|
|
128
|
+
"schemaId": "urn:gala:schema:content-frontmatter:2.0.0",
|
|
129
|
+
"schemaPointer": "#/$defs/deleteDate",
|
|
130
|
+
"keyword": "type",
|
|
131
|
+
"instance": null,
|
|
132
|
+
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
133
|
+
},
|
|
125
134
|
{
|
|
126
135
|
"caseId": "content-frontmatter-invalid-f04ac91eedb350da",
|
|
127
136
|
"coveredRuleIds": [
|
|
@@ -554,6 +554,17 @@
|
|
|
554
554
|
},
|
|
555
555
|
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
556
556
|
},
|
|
557
|
+
{
|
|
558
|
+
"caseId": "deployment-receipt-invalid-52ded7d3dab46f07",
|
|
559
|
+
"coveredRuleIds": [
|
|
560
|
+
"deployment-receipt:#/$defs/deploymentPerformance/properties/budgets:additionalProperties"
|
|
561
|
+
],
|
|
562
|
+
"schemaId": "urn:gala:schema:deployment-receipt:2.0.0",
|
|
563
|
+
"schemaPointer": "#/$defs/deploymentPerformance/properties/budgets",
|
|
564
|
+
"keyword": "additionalProperties",
|
|
565
|
+
"instance": { "unexpected": true },
|
|
566
|
+
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
567
|
+
},
|
|
557
568
|
{
|
|
558
569
|
"caseId": "deployment-receipt-invalid-5364ef2a4796ea4a",
|
|
559
570
|
"coveredRuleIds": [
|
|
@@ -850,6 +861,46 @@
|
|
|
850
861
|
},
|
|
851
862
|
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
852
863
|
},
|
|
864
|
+
{
|
|
865
|
+
"caseId": "deployment-receipt-invalid-90269746f6f62e43",
|
|
866
|
+
"coveredRuleIds": [
|
|
867
|
+
"deployment-receipt:#/$defs/deploymentPerformance:additionalProperties"
|
|
868
|
+
],
|
|
869
|
+
"schemaId": "urn:gala:schema:deployment-receipt:2.0.0",
|
|
870
|
+
"schemaPointer": "#/$defs/deploymentPerformance",
|
|
871
|
+
"keyword": "additionalProperties",
|
|
872
|
+
"instance": {
|
|
873
|
+
"budgets": {},
|
|
874
|
+
"overBudgetCount": 0,
|
|
875
|
+
"overBudget": [
|
|
876
|
+
{
|
|
877
|
+
"path": "content/fixture-1.md",
|
|
878
|
+
"kind": "html",
|
|
879
|
+
"bytes": 0,
|
|
880
|
+
"budget": 1024
|
|
881
|
+
}
|
|
882
|
+
],
|
|
883
|
+
"unexpected": true
|
|
884
|
+
},
|
|
885
|
+
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
886
|
+
},
|
|
887
|
+
{
|
|
888
|
+
"caseId": "deployment-receipt-invalid-94031805e97a82c4",
|
|
889
|
+
"coveredRuleIds": [
|
|
890
|
+
"deployment-receipt:#/$defs/deploymentPerformance/properties/overBudget/items:additionalProperties"
|
|
891
|
+
],
|
|
892
|
+
"schemaId": "urn:gala:schema:deployment-receipt:2.0.0",
|
|
893
|
+
"schemaPointer": "#/$defs/deploymentPerformance/properties/overBudget/items",
|
|
894
|
+
"keyword": "additionalProperties",
|
|
895
|
+
"instance": {
|
|
896
|
+
"path": "content/fixture-1.md",
|
|
897
|
+
"kind": "html",
|
|
898
|
+
"bytes": 0,
|
|
899
|
+
"budget": 1024,
|
|
900
|
+
"unexpected": true
|
|
901
|
+
},
|
|
902
|
+
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
903
|
+
},
|
|
853
904
|
{
|
|
854
905
|
"caseId": "deployment-receipt-invalid-96ef45dbbfd7dac0",
|
|
855
906
|
"coveredRuleIds": [
|
|
@@ -383,6 +383,21 @@
|
|
|
383
383
|
},
|
|
384
384
|
"expectedCodes": ["SCHEMA_ARRAY_TOO_LONG"]
|
|
385
385
|
},
|
|
386
|
+
{
|
|
387
|
+
"caseId": "deployment-receipt-invalid-be025bd7f5b9531f",
|
|
388
|
+
"coveredRuleIds": [
|
|
389
|
+
"deployment-receipt:#/$defs/deploymentPerformance/properties/overBudget:maxItems"
|
|
390
|
+
],
|
|
391
|
+
"schemaId": "urn:gala:schema:deployment-receipt:2.0.0",
|
|
392
|
+
"schemaPointer": "#/$defs/deploymentPerformance/properties/overBudget",
|
|
393
|
+
"keyword": "maxItems",
|
|
394
|
+
"recipe": {
|
|
395
|
+
"kind": "schema-array-count",
|
|
396
|
+
"schemaPointer": "#/$defs/deploymentPerformance/properties/overBudget",
|
|
397
|
+
"length": 21
|
|
398
|
+
},
|
|
399
|
+
"expectedCodes": ["SCHEMA_ARRAY_TOO_LONG"]
|
|
400
|
+
},
|
|
386
401
|
{
|
|
387
402
|
"caseId": "deployment-receipt-invalid-c622b01fc9e2a232",
|
|
388
403
|
"coveredRuleIds": [
|
|
@@ -263,6 +263,17 @@
|
|
|
263
263
|
"instance": "__invalid_enum__",
|
|
264
264
|
"expectedCodes": ["SCHEMA_ENUM_INVALID"]
|
|
265
265
|
},
|
|
266
|
+
{
|
|
267
|
+
"caseId": "deployment-receipt-invalid-2715ef7c7b40664d",
|
|
268
|
+
"coveredRuleIds": [
|
|
269
|
+
"deployment-receipt:#/$defs/deploymentPerformance/properties/overBudget/items/properties/kind:enum"
|
|
270
|
+
],
|
|
271
|
+
"schemaId": "urn:gala:schema:deployment-receipt:2.0.0",
|
|
272
|
+
"schemaPointer": "#/$defs/deploymentPerformance/properties/overBudget/items/properties/kind",
|
|
273
|
+
"keyword": "enum",
|
|
274
|
+
"instance": "__invalid_enum__",
|
|
275
|
+
"expectedCodes": ["SCHEMA_ENUM_INVALID"]
|
|
276
|
+
},
|
|
266
277
|
{
|
|
267
278
|
"caseId": "deployment-receipt-invalid-281f74110fd16443",
|
|
268
279
|
"coveredRuleIds": [
|
|
@@ -1,4 +1,15 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"caseId": "deployment-receipt-invalid-0bedf974ce783b6a",
|
|
4
|
+
"coveredRuleIds": [
|
|
5
|
+
"deployment-receipt:#/$defs/deploymentPerformance/properties/budgets/properties/jsBytes:minimum"
|
|
6
|
+
],
|
|
7
|
+
"schemaId": "urn:gala:schema:deployment-receipt:2.0.0",
|
|
8
|
+
"schemaPointer": "#/$defs/deploymentPerformance/properties/budgets/properties/jsBytes",
|
|
9
|
+
"keyword": "minimum",
|
|
10
|
+
"instance": 1023,
|
|
11
|
+
"expectedCodes": ["SCHEMA_NUMBER_TOO_SMALL"]
|
|
12
|
+
},
|
|
2
13
|
{
|
|
3
14
|
"caseId": "deployment-receipt-invalid-0c3983620fc783f7",
|
|
4
15
|
"coveredRuleIds": [
|
|
@@ -131,6 +142,17 @@
|
|
|
131
142
|
"instance": 0,
|
|
132
143
|
"expectedCodes": ["SCHEMA_NUMBER_TOO_SMALL"]
|
|
133
144
|
},
|
|
145
|
+
{
|
|
146
|
+
"caseId": "deployment-receipt-invalid-4a7025ad5e97030c",
|
|
147
|
+
"coveredRuleIds": [
|
|
148
|
+
"deployment-receipt:#/$defs/deploymentPerformance/properties/budgets/properties/cssBytes:minimum"
|
|
149
|
+
],
|
|
150
|
+
"schemaId": "urn:gala:schema:deployment-receipt:2.0.0",
|
|
151
|
+
"schemaPointer": "#/$defs/deploymentPerformance/properties/budgets/properties/cssBytes",
|
|
152
|
+
"keyword": "minimum",
|
|
153
|
+
"instance": 1023,
|
|
154
|
+
"expectedCodes": ["SCHEMA_NUMBER_TOO_SMALL"]
|
|
155
|
+
},
|
|
134
156
|
{
|
|
135
157
|
"caseId": "deployment-receipt-invalid-50419d8ec08e4159",
|
|
136
158
|
"coveredRuleIds": [
|
|
@@ -272,6 +294,17 @@
|
|
|
272
294
|
"instance": 0,
|
|
273
295
|
"expectedCodes": ["SCHEMA_NUMBER_TOO_SMALL"]
|
|
274
296
|
},
|
|
297
|
+
{
|
|
298
|
+
"caseId": "deployment-receipt-invalid-99bbec5c2dc1e17e",
|
|
299
|
+
"coveredRuleIds": [
|
|
300
|
+
"deployment-receipt:#/$defs/deploymentPerformance/properties/overBudget/items/properties/budget:minimum"
|
|
301
|
+
],
|
|
302
|
+
"schemaId": "urn:gala:schema:deployment-receipt:2.0.0",
|
|
303
|
+
"schemaPointer": "#/$defs/deploymentPerformance/properties/overBudget/items/properties/budget",
|
|
304
|
+
"keyword": "minimum",
|
|
305
|
+
"instance": 1023,
|
|
306
|
+
"expectedCodes": ["SCHEMA_NUMBER_TOO_SMALL"]
|
|
307
|
+
},
|
|
275
308
|
{
|
|
276
309
|
"caseId": "deployment-receipt-invalid-9e920eaa98f27967",
|
|
277
310
|
"coveredRuleIds": [
|
|
@@ -294,6 +327,28 @@
|
|
|
294
327
|
"instance": 0,
|
|
295
328
|
"expectedCodes": ["SCHEMA_NUMBER_TOO_SMALL"]
|
|
296
329
|
},
|
|
330
|
+
{
|
|
331
|
+
"caseId": "deployment-receipt-invalid-bb0705776df736fd",
|
|
332
|
+
"coveredRuleIds": [
|
|
333
|
+
"deployment-receipt:#/$defs/deploymentPerformance/properties/overBudgetCount:minimum"
|
|
334
|
+
],
|
|
335
|
+
"schemaId": "urn:gala:schema:deployment-receipt:2.0.0",
|
|
336
|
+
"schemaPointer": "#/$defs/deploymentPerformance/properties/overBudgetCount",
|
|
337
|
+
"keyword": "minimum",
|
|
338
|
+
"instance": -1,
|
|
339
|
+
"expectedCodes": ["SCHEMA_NUMBER_TOO_SMALL"]
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
"caseId": "deployment-receipt-invalid-bfcb37030ab4d542",
|
|
343
|
+
"coveredRuleIds": [
|
|
344
|
+
"deployment-receipt:#/$defs/deploymentPerformance/properties/budgets/properties/htmlBytes:minimum"
|
|
345
|
+
],
|
|
346
|
+
"schemaId": "urn:gala:schema:deployment-receipt:2.0.0",
|
|
347
|
+
"schemaPointer": "#/$defs/deploymentPerformance/properties/budgets/properties/htmlBytes",
|
|
348
|
+
"keyword": "minimum",
|
|
349
|
+
"instance": 1023,
|
|
350
|
+
"expectedCodes": ["SCHEMA_NUMBER_TOO_SMALL"]
|
|
351
|
+
},
|
|
297
352
|
{
|
|
298
353
|
"caseId": "deployment-receipt-invalid-c14b3306161485fa",
|
|
299
354
|
"coveredRuleIds": [
|
|
@@ -371,6 +426,17 @@
|
|
|
371
426
|
"instance": 0,
|
|
372
427
|
"expectedCodes": ["SCHEMA_NUMBER_TOO_SMALL"]
|
|
373
428
|
},
|
|
429
|
+
{
|
|
430
|
+
"caseId": "deployment-receipt-invalid-dc480d05f86815a9",
|
|
431
|
+
"coveredRuleIds": [
|
|
432
|
+
"deployment-receipt:#/$defs/deploymentPerformance/properties/overBudget/items/properties/bytes:minimum"
|
|
433
|
+
],
|
|
434
|
+
"schemaId": "urn:gala:schema:deployment-receipt:2.0.0",
|
|
435
|
+
"schemaPointer": "#/$defs/deploymentPerformance/properties/overBudget/items/properties/bytes",
|
|
436
|
+
"keyword": "minimum",
|
|
437
|
+
"instance": -1,
|
|
438
|
+
"expectedCodes": ["SCHEMA_NUMBER_TOO_SMALL"]
|
|
439
|
+
},
|
|
374
440
|
{
|
|
375
441
|
"caseId": "deployment-receipt-invalid-e0e97794a976e65c",
|
|
376
442
|
"coveredRuleIds": [
|