@rathnasgala2/schemas 3.20.0 → 3.21.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 +30 -0
- package/docs/catalogs/schema-inventory.json +4 -4
- package/examples/valid/build-input/rules.json +41 -0
- package/examples/valid/content-frontmatter/rules.json +41 -0
- package/fixtures/boundary/build-input/rules.json +41 -0
- package/fixtures/boundary/content-frontmatter/rules.json +41 -0
- package/fixtures/invalid/build-input/SCHEMA_CONSTANT_INVALID/cases.json +11 -0
- package/fixtures/invalid/build-input/SCHEMA_NEGATED_RULE_MATCHED/cases.json +11 -0
- package/fixtures/invalid/build-input/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +33 -0
- package/fixtures/invalid/content-frontmatter/SCHEMA_CONSTANT_INVALID/cases.json +11 -0
- package/fixtures/invalid/content-frontmatter/SCHEMA_NEGATED_RULE_MATCHED/cases.json +9 -0
- package/fixtures/invalid/content-frontmatter/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +31 -0
- package/fixtures/manifest.json +234 -4
- package/fixtures/unknown-field/build-input/rules.json +5 -0
- package/fixtures/unknown-field/content-frontmatter/rules.json +5 -0
- package/generated/browser/validator-core.mjs +3 -3
- package/generated/typescript/contracts/build-input.d.ts +1 -0
- package/generated/typescript/contracts/content-frontmatter.d.ts +1 -0
- package/openapi/http-catalog.json +2 -2
- package/openapi/openapi.yaml +22 -0
- package/package.json +1 -1
- package/sbom.cdx.json +23 -23
- package/schemas/build-input.schema.json +13 -1
- package/schemas/content-frontmatter.schema.json +12 -0
|
@@ -6527,6 +6527,21 @@
|
|
|
6527
6527
|
"build-input:#/$defs/contentFrontmatterNormalized/allOf/0/then:required:edition": {
|
|
6528
6528
|
"code": "SCHEMA_REQUIRED_FIELD_MISSING"
|
|
6529
6529
|
},
|
|
6530
|
+
"build-input:#/$defs/contentFrontmatterNormalized/allOf/1/if:required:translationOf": {
|
|
6531
|
+
"code": "SCHEMA_REQUIRED_FIELD_MISSING"
|
|
6532
|
+
},
|
|
6533
|
+
"build-input:#/$defs/contentFrontmatterNormalized/allOf/1/then/not:required:edition": {
|
|
6534
|
+
"code": "SCHEMA_REQUIRED_FIELD_MISSING"
|
|
6535
|
+
},
|
|
6536
|
+
"build-input:#/$defs/contentFrontmatterNormalized/allOf/1/then/properties/kind:const": {
|
|
6537
|
+
"code": "SCHEMA_CONSTANT_INVALID"
|
|
6538
|
+
},
|
|
6539
|
+
"build-input:#/$defs/contentFrontmatterNormalized/allOf/1/then:not": {
|
|
6540
|
+
"code": "SCHEMA_NEGATED_RULE_MATCHED"
|
|
6541
|
+
},
|
|
6542
|
+
"build-input:#/$defs/contentFrontmatterNormalized/allOf/1/then:required:kind": {
|
|
6543
|
+
"code": "SCHEMA_REQUIRED_FIELD_MISSING"
|
|
6544
|
+
},
|
|
6530
6545
|
"build-input:#/$defs/contentFrontmatterNormalized/properties/authorIds:maxItems": {
|
|
6531
6546
|
"code": "SCHEMA_ARRAY_TOO_LONG"
|
|
6532
6547
|
},
|
|
@@ -9272,6 +9287,21 @@
|
|
|
9272
9287
|
"content-frontmatter:#/allOf/1/then:required:edition": {
|
|
9273
9288
|
"code": "SCHEMA_REQUIRED_FIELD_MISSING"
|
|
9274
9289
|
},
|
|
9290
|
+
"content-frontmatter:#/allOf/2/if:required:translationOf": {
|
|
9291
|
+
"code": "SCHEMA_REQUIRED_FIELD_MISSING"
|
|
9292
|
+
},
|
|
9293
|
+
"content-frontmatter:#/allOf/2/then/not:required:edition": {
|
|
9294
|
+
"code": "SCHEMA_REQUIRED_FIELD_MISSING"
|
|
9295
|
+
},
|
|
9296
|
+
"content-frontmatter:#/allOf/2/then/properties/kind:const": {
|
|
9297
|
+
"code": "SCHEMA_CONSTANT_INVALID"
|
|
9298
|
+
},
|
|
9299
|
+
"content-frontmatter:#/allOf/2/then:not": {
|
|
9300
|
+
"code": "SCHEMA_NEGATED_RULE_MATCHED"
|
|
9301
|
+
},
|
|
9302
|
+
"content-frontmatter:#/allOf/2/then:required:kind": {
|
|
9303
|
+
"code": "SCHEMA_REQUIRED_FIELD_MISSING"
|
|
9304
|
+
},
|
|
9275
9305
|
"content-frontmatter:#/properties/authors:maxItems": {
|
|
9276
9306
|
"code": "SCHEMA_ARRAY_TOO_LONG"
|
|
9277
9307
|
},
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"version": "2.0.0",
|
|
60
60
|
"path": "schemas/build-input.schema.json",
|
|
61
61
|
"materialized": true,
|
|
62
|
-
"sourceDigest": "sha256:
|
|
62
|
+
"sourceDigest": "sha256:8164871d1ddaebe13c62a5bcd1009fd42fc7fb1c4949b4274ea24d3b4cb989a6",
|
|
63
63
|
"typescriptRootType": "BuildInputDocument"
|
|
64
64
|
},
|
|
65
65
|
{
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"version": "2.0.0",
|
|
80
80
|
"path": "schemas/content-frontmatter.schema.json",
|
|
81
81
|
"materialized": true,
|
|
82
|
-
"sourceDigest": "sha256:
|
|
82
|
+
"sourceDigest": "sha256:3104073a542e77794a3fa114ec910350e927881c7d2ab9ac6c9d7cd4455d74bd",
|
|
83
83
|
"typescriptRootType": "ContentFrontmatterDocument"
|
|
84
84
|
},
|
|
85
85
|
{
|
|
@@ -229,9 +229,9 @@
|
|
|
229
229
|
"version": "2.0.0",
|
|
230
230
|
"path": "openapi/openapi.yaml",
|
|
231
231
|
"materialized": true,
|
|
232
|
-
"sourceDigest": "sha256:
|
|
232
|
+
"sourceDigest": "sha256:f015c933c536a3a0030eeb06986d014debd8c929b968c82df9817976492fd6d3",
|
|
233
233
|
"typescriptRootType": null
|
|
234
234
|
}
|
|
235
235
|
],
|
|
236
|
-
"digest": "sha256:
|
|
236
|
+
"digest": "sha256:6c8d6249b0dcfc6c7da0873d7d0b6b9fb506043684b955086e5863137c0de9f3"
|
|
237
237
|
}
|
|
@@ -1751,6 +1751,16 @@
|
|
|
1751
1751
|
"keyword": "const",
|
|
1752
1752
|
"instance": "like"
|
|
1753
1753
|
},
|
|
1754
|
+
{
|
|
1755
|
+
"caseId": "build-input-valid-7364c65aa64a4775",
|
|
1756
|
+
"coveredRuleIds": [
|
|
1757
|
+
"build-input:#/$defs/contentFrontmatterNormalized/allOf/1/if:required:translationOf"
|
|
1758
|
+
],
|
|
1759
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
1760
|
+
"schemaPointer": "#/$defs/contentFrontmatterNormalized/allOf/1/if",
|
|
1761
|
+
"keyword": "required",
|
|
1762
|
+
"instance": { "translationOf": null }
|
|
1763
|
+
},
|
|
1754
1764
|
{
|
|
1755
1765
|
"caseId": "build-input-valid-73a8bcee76b754e6",
|
|
1756
1766
|
"coveredRuleIds": [
|
|
@@ -2393,6 +2403,17 @@
|
|
|
2393
2403
|
"keyword": "enum",
|
|
2394
2404
|
"instance": "image/png"
|
|
2395
2405
|
},
|
|
2406
|
+
{
|
|
2407
|
+
"caseId": "build-input-valid-b0a1e54a5d0c3242",
|
|
2408
|
+
"coveredRuleIds": [
|
|
2409
|
+
"build-input:#/$defs/contentFrontmatterNormalized/allOf/1/then:not",
|
|
2410
|
+
"build-input:#/$defs/contentFrontmatterNormalized/allOf/1/then:required:kind"
|
|
2411
|
+
],
|
|
2412
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
2413
|
+
"schemaPointer": "#/$defs/contentFrontmatterNormalized/allOf/1/then",
|
|
2414
|
+
"keyword": "not",
|
|
2415
|
+
"instance": { "kind": "article" }
|
|
2416
|
+
},
|
|
2396
2417
|
{
|
|
2397
2418
|
"caseId": "build-input-valid-b24bbede1ab69bed",
|
|
2398
2419
|
"coveredRuleIds": [
|
|
@@ -2412,6 +2433,16 @@
|
|
|
2412
2433
|
"keyword": "enum",
|
|
2413
2434
|
"instance": "light"
|
|
2414
2435
|
},
|
|
2436
|
+
{
|
|
2437
|
+
"caseId": "build-input-valid-b5d5c6ef6815c431",
|
|
2438
|
+
"coveredRuleIds": [
|
|
2439
|
+
"build-input:#/$defs/contentFrontmatterNormalized/allOf/1/then/properties/kind:const"
|
|
2440
|
+
],
|
|
2441
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
2442
|
+
"schemaPointer": "#/$defs/contentFrontmatterNormalized/allOf/1/then/properties/kind",
|
|
2443
|
+
"keyword": "const",
|
|
2444
|
+
"instance": "article"
|
|
2445
|
+
},
|
|
2415
2446
|
{
|
|
2416
2447
|
"caseId": "build-input-valid-b65ee60efe7afdd8",
|
|
2417
2448
|
"coveredRuleIds": [
|
|
@@ -3053,6 +3084,16 @@
|
|
|
3053
3084
|
"keyword": "type",
|
|
3054
3085
|
"instance": false
|
|
3055
3086
|
},
|
|
3087
|
+
{
|
|
3088
|
+
"caseId": "build-input-valid-f2f5c4242ae6d6a0",
|
|
3089
|
+
"coveredRuleIds": [
|
|
3090
|
+
"build-input:#/$defs/contentFrontmatterNormalized/allOf/1/then/not:required:edition"
|
|
3091
|
+
],
|
|
3092
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
3093
|
+
"schemaPointer": "#/$defs/contentFrontmatterNormalized/allOf/1/then/not",
|
|
3094
|
+
"keyword": "required",
|
|
3095
|
+
"instance": { "edition": null }
|
|
3096
|
+
},
|
|
3056
3097
|
{
|
|
3057
3098
|
"caseId": "build-input-valid-f32995a8c5e4e569",
|
|
3058
3099
|
"coveredRuleIds": [
|
|
@@ -282,6 +282,16 @@
|
|
|
282
282
|
"keyword": "maxItems",
|
|
283
283
|
"instance": ["fixture-1"]
|
|
284
284
|
},
|
|
285
|
+
{
|
|
286
|
+
"caseId": "content-frontmatter-valid-5bc9b77cdce1698b",
|
|
287
|
+
"coveredRuleIds": [
|
|
288
|
+
"content-frontmatter:#/allOf/2/if:required:translationOf"
|
|
289
|
+
],
|
|
290
|
+
"schemaId": "urn:gala:schema:content-frontmatter:2.0.0",
|
|
291
|
+
"schemaPointer": "#/allOf/2/if",
|
|
292
|
+
"keyword": "required",
|
|
293
|
+
"instance": { "translationOf": null }
|
|
294
|
+
},
|
|
285
295
|
{
|
|
286
296
|
"caseId": "content-frontmatter-valid-60afd7fb506f64f8",
|
|
287
297
|
"coveredRuleIds": ["content-frontmatter:#/properties/schemaId:const"],
|
|
@@ -558,6 +568,16 @@
|
|
|
558
568
|
"keyword": "required",
|
|
559
569
|
"instance": { "edition": null }
|
|
560
570
|
},
|
|
571
|
+
{
|
|
572
|
+
"caseId": "content-frontmatter-valid-d40c2575322c1992",
|
|
573
|
+
"coveredRuleIds": [
|
|
574
|
+
"content-frontmatter:#/allOf/2/then/properties/kind:const"
|
|
575
|
+
],
|
|
576
|
+
"schemaId": "urn:gala:schema:content-frontmatter:2.0.0",
|
|
577
|
+
"schemaPointer": "#/allOf/2/then/properties/kind",
|
|
578
|
+
"keyword": "const",
|
|
579
|
+
"instance": "article"
|
|
580
|
+
},
|
|
561
581
|
{
|
|
562
582
|
"caseId": "content-frontmatter-valid-d6e1b27556616503",
|
|
563
583
|
"coveredRuleIds": ["content-frontmatter:#/properties/status:enum"],
|
|
@@ -647,6 +667,16 @@
|
|
|
647
667
|
"keyword": "enum",
|
|
648
668
|
"instance": "QUICK_READ"
|
|
649
669
|
},
|
|
670
|
+
{
|
|
671
|
+
"caseId": "content-frontmatter-valid-f0025b852107838d",
|
|
672
|
+
"coveredRuleIds": [
|
|
673
|
+
"content-frontmatter:#/allOf/2/then/not:required:edition"
|
|
674
|
+
],
|
|
675
|
+
"schemaId": "urn:gala:schema:content-frontmatter:2.0.0",
|
|
676
|
+
"schemaPointer": "#/allOf/2/then/not",
|
|
677
|
+
"keyword": "required",
|
|
678
|
+
"instance": { "edition": null }
|
|
679
|
+
},
|
|
650
680
|
{
|
|
651
681
|
"caseId": "content-frontmatter-valid-f06fd8bdc6febb47",
|
|
652
682
|
"coveredRuleIds": [
|
|
@@ -658,6 +688,17 @@
|
|
|
658
688
|
"keyword": "pattern",
|
|
659
689
|
"instance": "019c0000-0000-7000-8000-000000000001"
|
|
660
690
|
},
|
|
691
|
+
{
|
|
692
|
+
"caseId": "content-frontmatter-valid-f56efa528b4d21fc",
|
|
693
|
+
"coveredRuleIds": [
|
|
694
|
+
"content-frontmatter:#/allOf/2/then:not",
|
|
695
|
+
"content-frontmatter:#/allOf/2/then:required:kind"
|
|
696
|
+
],
|
|
697
|
+
"schemaId": "urn:gala:schema:content-frontmatter:2.0.0",
|
|
698
|
+
"schemaPointer": "#/allOf/2/then",
|
|
699
|
+
"keyword": "not",
|
|
700
|
+
"instance": { "kind": "article" }
|
|
701
|
+
},
|
|
661
702
|
{
|
|
662
703
|
"caseId": "content-frontmatter-valid-f5887e6734cb8e45",
|
|
663
704
|
"coveredRuleIds": [
|
|
@@ -418,6 +418,16 @@
|
|
|
418
418
|
"keyword": "format",
|
|
419
419
|
"instance": "fixture-1"
|
|
420
420
|
},
|
|
421
|
+
{
|
|
422
|
+
"caseId": "build-input-boundary-133dfe17f7193cce",
|
|
423
|
+
"coveredRuleIds": [
|
|
424
|
+
"build-input:#/$defs/contentFrontmatterNormalized/allOf/1/then/not:required:edition"
|
|
425
|
+
],
|
|
426
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
427
|
+
"schemaPointer": "#/$defs/contentFrontmatterNormalized/allOf/1/then/not",
|
|
428
|
+
"keyword": "required",
|
|
429
|
+
"instance": { "edition": null }
|
|
430
|
+
},
|
|
421
431
|
{
|
|
422
432
|
"caseId": "build-input-boundary-14ddf31991d5b301",
|
|
423
433
|
"coveredRuleIds": ["build-input:#/properties/authors:minItems"],
|
|
@@ -2081,6 +2091,17 @@
|
|
|
2081
2091
|
"length": 0
|
|
2082
2092
|
}
|
|
2083
2093
|
},
|
|
2094
|
+
{
|
|
2095
|
+
"caseId": "build-input-boundary-7781ca6d3139fb92",
|
|
2096
|
+
"coveredRuleIds": [
|
|
2097
|
+
"build-input:#/$defs/contentFrontmatterNormalized/allOf/1/then:not",
|
|
2098
|
+
"build-input:#/$defs/contentFrontmatterNormalized/allOf/1/then:required:kind"
|
|
2099
|
+
],
|
|
2100
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
2101
|
+
"schemaPointer": "#/$defs/contentFrontmatterNormalized/allOf/1/then",
|
|
2102
|
+
"keyword": "not",
|
|
2103
|
+
"instance": { "kind": "article" }
|
|
2104
|
+
},
|
|
2084
2105
|
{
|
|
2085
2106
|
"caseId": "build-input-boundary-77ef6cdcfc0212e6",
|
|
2086
2107
|
"coveredRuleIds": [
|
|
@@ -2528,6 +2549,16 @@
|
|
|
2528
2549
|
"keyword": "pattern",
|
|
2529
2550
|
"instance": "sha1:0000000000000000000000000000000000000001"
|
|
2530
2551
|
},
|
|
2552
|
+
{
|
|
2553
|
+
"caseId": "build-input-boundary-955d96a965ab0844",
|
|
2554
|
+
"coveredRuleIds": [
|
|
2555
|
+
"build-input:#/$defs/contentFrontmatterNormalized/allOf/1/if:required:translationOf"
|
|
2556
|
+
],
|
|
2557
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
2558
|
+
"schemaPointer": "#/$defs/contentFrontmatterNormalized/allOf/1/if",
|
|
2559
|
+
"keyword": "required",
|
|
2560
|
+
"instance": { "translationOf": null }
|
|
2561
|
+
},
|
|
2531
2562
|
{
|
|
2532
2563
|
"caseId": "build-input-boundary-9608de1199a17a18",
|
|
2533
2564
|
"coveredRuleIds": ["build-input:#/properties/contractVersion:const"],
|
|
@@ -3041,6 +3072,16 @@
|
|
|
3041
3072
|
"keyword": "format",
|
|
3042
3073
|
"instance": "en-US"
|
|
3043
3074
|
},
|
|
3075
|
+
{
|
|
3076
|
+
"caseId": "build-input-boundary-b16b3b06f9188e7e",
|
|
3077
|
+
"coveredRuleIds": [
|
|
3078
|
+
"build-input:#/$defs/contentFrontmatterNormalized/allOf/1/then/properties/kind:const"
|
|
3079
|
+
],
|
|
3080
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
3081
|
+
"schemaPointer": "#/$defs/contentFrontmatterNormalized/allOf/1/then/properties/kind",
|
|
3082
|
+
"keyword": "const",
|
|
3083
|
+
"instance": "article"
|
|
3084
|
+
},
|
|
3044
3085
|
{
|
|
3045
3086
|
"caseId": "build-input-boundary-b1e93476cd048b39",
|
|
3046
3087
|
"coveredRuleIds": [
|
|
@@ -139,6 +139,16 @@
|
|
|
139
139
|
"keyword": "format",
|
|
140
140
|
"instance": "^2.0.0"
|
|
141
141
|
},
|
|
142
|
+
{
|
|
143
|
+
"caseId": "content-frontmatter-boundary-3581b88002125a13",
|
|
144
|
+
"coveredRuleIds": [
|
|
145
|
+
"content-frontmatter:#/allOf/2/if:required:translationOf"
|
|
146
|
+
],
|
|
147
|
+
"schemaId": "urn:gala:schema:content-frontmatter:2.0.0",
|
|
148
|
+
"schemaPointer": "#/allOf/2/if",
|
|
149
|
+
"keyword": "required",
|
|
150
|
+
"instance": { "translationOf": null }
|
|
151
|
+
},
|
|
142
152
|
{
|
|
143
153
|
"caseId": "content-frontmatter-boundary-426314f493aebbf8",
|
|
144
154
|
"coveredRuleIds": [
|
|
@@ -212,6 +222,16 @@
|
|
|
212
222
|
"length": 32
|
|
213
223
|
}
|
|
214
224
|
},
|
|
225
|
+
{
|
|
226
|
+
"caseId": "content-frontmatter-boundary-4ce1134d2d7492ef",
|
|
227
|
+
"coveredRuleIds": [
|
|
228
|
+
"content-frontmatter:#/allOf/2/then/properties/kind:const"
|
|
229
|
+
],
|
|
230
|
+
"schemaId": "urn:gala:schema:content-frontmatter:2.0.0",
|
|
231
|
+
"schemaPointer": "#/allOf/2/then/properties/kind",
|
|
232
|
+
"keyword": "const",
|
|
233
|
+
"instance": "article"
|
|
234
|
+
},
|
|
215
235
|
{
|
|
216
236
|
"caseId": "content-frontmatter-boundary-544c7cb72f4cf80f",
|
|
217
237
|
"coveredRuleIds": ["content-frontmatter:#/properties/newsletter:enum"],
|
|
@@ -379,6 +399,16 @@
|
|
|
379
399
|
"keyword": "enum",
|
|
380
400
|
"instance": "article"
|
|
381
401
|
},
|
|
402
|
+
{
|
|
403
|
+
"caseId": "content-frontmatter-boundary-7e1f09c452daeb8b",
|
|
404
|
+
"coveredRuleIds": [
|
|
405
|
+
"content-frontmatter:#/allOf/2/then/not:required:edition"
|
|
406
|
+
],
|
|
407
|
+
"schemaId": "urn:gala:schema:content-frontmatter:2.0.0",
|
|
408
|
+
"schemaPointer": "#/allOf/2/then/not",
|
|
409
|
+
"keyword": "required",
|
|
410
|
+
"instance": { "edition": null }
|
|
411
|
+
},
|
|
382
412
|
{
|
|
383
413
|
"caseId": "content-frontmatter-boundary-819caa0264cfaec2",
|
|
384
414
|
"coveredRuleIds": [
|
|
@@ -714,6 +744,17 @@
|
|
|
714
744
|
"direction": "maximum"
|
|
715
745
|
}
|
|
716
746
|
},
|
|
747
|
+
{
|
|
748
|
+
"caseId": "content-frontmatter-boundary-c6212dd445cff011",
|
|
749
|
+
"coveredRuleIds": [
|
|
750
|
+
"content-frontmatter:#/allOf/2/then:not",
|
|
751
|
+
"content-frontmatter:#/allOf/2/then:required:kind"
|
|
752
|
+
],
|
|
753
|
+
"schemaId": "urn:gala:schema:content-frontmatter:2.0.0",
|
|
754
|
+
"schemaPointer": "#/allOf/2/then",
|
|
755
|
+
"keyword": "not",
|
|
756
|
+
"instance": { "kind": "article" }
|
|
757
|
+
},
|
|
717
758
|
{
|
|
718
759
|
"caseId": "content-frontmatter-boundary-c7e8ab73f01ce02c",
|
|
719
760
|
"coveredRuleIds": ["content-frontmatter:#/$defs/canonicalRoute:minLength"],
|
|
@@ -54,6 +54,17 @@
|
|
|
54
54
|
"instance": "system-invalid",
|
|
55
55
|
"expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
|
|
56
56
|
},
|
|
57
|
+
{
|
|
58
|
+
"caseId": "build-input-invalid-3435bddda855c4df",
|
|
59
|
+
"coveredRuleIds": [
|
|
60
|
+
"build-input:#/$defs/contentFrontmatterNormalized/allOf/1/then/properties/kind:const"
|
|
61
|
+
],
|
|
62
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
63
|
+
"schemaPointer": "#/$defs/contentFrontmatterNormalized/allOf/1/then/properties/kind",
|
|
64
|
+
"keyword": "const",
|
|
65
|
+
"instance": "article-invalid",
|
|
66
|
+
"expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
|
|
67
|
+
},
|
|
57
68
|
{
|
|
58
69
|
"caseId": "build-input-invalid-4159918fa174e0e6",
|
|
59
70
|
"coveredRuleIds": ["build-input:#/properties/contractVersion:const"],
|
|
@@ -8,6 +8,17 @@
|
|
|
8
8
|
"instance": { "url": null },
|
|
9
9
|
"expectedCodes": ["SCHEMA_NEGATED_RULE_MATCHED"]
|
|
10
10
|
},
|
|
11
|
+
{
|
|
12
|
+
"caseId": "build-input-invalid-55616afdaceabc66",
|
|
13
|
+
"coveredRuleIds": [
|
|
14
|
+
"build-input:#/$defs/contentFrontmatterNormalized/allOf/1/then:not"
|
|
15
|
+
],
|
|
16
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
17
|
+
"schemaPointer": "#/$defs/contentFrontmatterNormalized/allOf/1/then",
|
|
18
|
+
"keyword": "not",
|
|
19
|
+
"instance": { "edition": null },
|
|
20
|
+
"expectedCodes": ["SCHEMA_NEGATED_RULE_MATCHED"]
|
|
21
|
+
},
|
|
11
22
|
{
|
|
12
23
|
"caseId": "build-input-invalid-8d303846ba00bad5",
|
|
13
24
|
"coveredRuleIds": [
|
|
@@ -1576,6 +1576,17 @@
|
|
|
1576
1576
|
},
|
|
1577
1577
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
1578
1578
|
},
|
|
1579
|
+
{
|
|
1580
|
+
"caseId": "build-input-invalid-32fa9f8216892ec5",
|
|
1581
|
+
"coveredRuleIds": [
|
|
1582
|
+
"build-input:#/$defs/contentFrontmatterNormalized/allOf/1/then/not:required:edition"
|
|
1583
|
+
],
|
|
1584
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
1585
|
+
"schemaPointer": "#/$defs/contentFrontmatterNormalized/allOf/1/then/not",
|
|
1586
|
+
"keyword": "required",
|
|
1587
|
+
"instance": {},
|
|
1588
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
1589
|
+
},
|
|
1579
1590
|
{
|
|
1580
1591
|
"caseId": "build-input-invalid-335d97966a4955a1",
|
|
1581
1592
|
"coveredRuleIds": [
|
|
@@ -4566,6 +4577,17 @@
|
|
|
4566
4577
|
},
|
|
4567
4578
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
4568
4579
|
},
|
|
4580
|
+
{
|
|
4581
|
+
"caseId": "build-input-invalid-b015c9bde0914f46",
|
|
4582
|
+
"coveredRuleIds": [
|
|
4583
|
+
"build-input:#/$defs/contentFrontmatterNormalized/allOf/1/then:required:kind"
|
|
4584
|
+
],
|
|
4585
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
4586
|
+
"schemaPointer": "#/$defs/contentFrontmatterNormalized/allOf/1/then",
|
|
4587
|
+
"keyword": "required",
|
|
4588
|
+
"instance": {},
|
|
4589
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
4590
|
+
},
|
|
4569
4591
|
{
|
|
4570
4592
|
"caseId": "build-input-invalid-b315479096c97890",
|
|
4571
4593
|
"coveredRuleIds": [
|
|
@@ -5018,6 +5040,17 @@
|
|
|
5018
5040
|
"instance": {},
|
|
5019
5041
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
5020
5042
|
},
|
|
5043
|
+
{
|
|
5044
|
+
"caseId": "build-input-invalid-bfad0d3cb118daab",
|
|
5045
|
+
"coveredRuleIds": [
|
|
5046
|
+
"build-input:#/$defs/contentFrontmatterNormalized/allOf/1/if:required:translationOf"
|
|
5047
|
+
],
|
|
5048
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
5049
|
+
"schemaPointer": "#/$defs/contentFrontmatterNormalized/allOf/1/if",
|
|
5050
|
+
"keyword": "required",
|
|
5051
|
+
"instance": {},
|
|
5052
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
5053
|
+
},
|
|
5021
5054
|
{
|
|
5022
5055
|
"caseId": "build-input-invalid-c0ad6d145217a678",
|
|
5023
5056
|
"coveredRuleIds": [
|
|
@@ -21,6 +21,17 @@
|
|
|
21
21
|
"instance": "decorative-invalid",
|
|
22
22
|
"expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
|
|
23
23
|
},
|
|
24
|
+
{
|
|
25
|
+
"caseId": "content-frontmatter-invalid-2bdcaca85709c1b8",
|
|
26
|
+
"coveredRuleIds": [
|
|
27
|
+
"content-frontmatter:#/allOf/2/then/properties/kind:const"
|
|
28
|
+
],
|
|
29
|
+
"schemaId": "urn:gala:schema:content-frontmatter:2.0.0",
|
|
30
|
+
"schemaPointer": "#/allOf/2/then/properties/kind",
|
|
31
|
+
"keyword": "const",
|
|
32
|
+
"instance": "article-invalid",
|
|
33
|
+
"expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
|
|
34
|
+
},
|
|
24
35
|
{
|
|
25
36
|
"caseId": "content-frontmatter-invalid-623683b1e332c043",
|
|
26
37
|
"coveredRuleIds": [
|
|
@@ -1,4 +1,13 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"caseId": "content-frontmatter-invalid-48d19c5febc781d8",
|
|
4
|
+
"coveredRuleIds": ["content-frontmatter:#/allOf/2/then:not"],
|
|
5
|
+
"schemaId": "urn:gala:schema:content-frontmatter:2.0.0",
|
|
6
|
+
"schemaPointer": "#/allOf/2/then",
|
|
7
|
+
"keyword": "not",
|
|
8
|
+
"instance": { "edition": null },
|
|
9
|
+
"expectedCodes": ["SCHEMA_NEGATED_RULE_MATCHED"]
|
|
10
|
+
},
|
|
2
11
|
{
|
|
3
12
|
"caseId": "content-frontmatter-invalid-4c56068b5540d39e",
|
|
4
13
|
"coveredRuleIds": ["content-frontmatter:#/allOf/1/else:not"],
|
|
@@ -215,6 +215,15 @@
|
|
|
215
215
|
},
|
|
216
216
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
217
217
|
},
|
|
218
|
+
{
|
|
219
|
+
"caseId": "content-frontmatter-invalid-737243e4dda64e0f",
|
|
220
|
+
"coveredRuleIds": ["content-frontmatter:#/allOf/2/then:required:kind"],
|
|
221
|
+
"schemaId": "urn:gala:schema:content-frontmatter:2.0.0",
|
|
222
|
+
"schemaPointer": "#/allOf/2/then",
|
|
223
|
+
"keyword": "required",
|
|
224
|
+
"instance": {},
|
|
225
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
226
|
+
},
|
|
218
227
|
{
|
|
219
228
|
"caseId": "content-frontmatter-invalid-8ca7558c87ac3b0f",
|
|
220
229
|
"coveredRuleIds": [
|
|
@@ -339,6 +348,17 @@
|
|
|
339
348
|
"instance": {},
|
|
340
349
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
341
350
|
},
|
|
351
|
+
{
|
|
352
|
+
"caseId": "content-frontmatter-invalid-b731eea38e7e6656",
|
|
353
|
+
"coveredRuleIds": [
|
|
354
|
+
"content-frontmatter:#/allOf/2/if:required:translationOf"
|
|
355
|
+
],
|
|
356
|
+
"schemaId": "urn:gala:schema:content-frontmatter:2.0.0",
|
|
357
|
+
"schemaPointer": "#/allOf/2/if",
|
|
358
|
+
"keyword": "required",
|
|
359
|
+
"instance": {},
|
|
360
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
361
|
+
},
|
|
342
362
|
{
|
|
343
363
|
"caseId": "content-frontmatter-invalid-bf5a9ebf026644d4",
|
|
344
364
|
"coveredRuleIds": ["content-frontmatter:#/allOf/0/if:required:status"],
|
|
@@ -458,6 +478,17 @@
|
|
|
458
478
|
},
|
|
459
479
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
460
480
|
},
|
|
481
|
+
{
|
|
482
|
+
"caseId": "content-frontmatter-invalid-e0f7edb74d2ca0f1",
|
|
483
|
+
"coveredRuleIds": [
|
|
484
|
+
"content-frontmatter:#/allOf/2/then/not:required:edition"
|
|
485
|
+
],
|
|
486
|
+
"schemaId": "urn:gala:schema:content-frontmatter:2.0.0",
|
|
487
|
+
"schemaPointer": "#/allOf/2/then/not",
|
|
488
|
+
"keyword": "required",
|
|
489
|
+
"instance": {},
|
|
490
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
491
|
+
},
|
|
461
492
|
{
|
|
462
493
|
"caseId": "content-frontmatter-invalid-e736bf012d175edb",
|
|
463
494
|
"coveredRuleIds": ["content-frontmatter:#/allOf/1/if:required:kind"],
|