@rathnasgala2/schemas 3.25.1 → 3.26.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 +132 -0
- package/docs/catalogs/app-routes.json +3 -1
- package/docs/catalogs/schema-inventory.json +5 -5
- package/examples/valid/build-input/rules.json +147 -0
- package/examples/valid/content-frontmatter/rules.json +76 -0
- package/examples/valid/publication/rules.json +20 -0
- package/fixtures/boundary/build-input/rules.json +165 -0
- package/fixtures/boundary/content-frontmatter/rules.json +85 -0
- package/fixtures/boundary/publication/rules.json +20 -0
- package/fixtures/invalid/build-input/REQUEST_FIELD_UNKNOWN/cases.json +45 -0
- package/fixtures/invalid/build-input/SCHEMA_CONSTANT_INVALID/cases.json +11 -0
- package/fixtures/invalid/build-input/SCHEMA_ENUM_INVALID/cases.json +22 -0
- package/fixtures/invalid/build-input/SCHEMA_NUMBER_TOO_LARGE/cases.json +22 -0
- package/fixtures/invalid/build-input/SCHEMA_NUMBER_TOO_SMALL/cases.json +22 -0
- package/fixtures/invalid/build-input/SCHEMA_PATTERN_INVALID/cases.json +11 -0
- package/fixtures/invalid/build-input/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +132 -0
- package/fixtures/invalid/build-input/SCHEMA_TYPE_INVALID/cases.json +56 -0
- package/fixtures/invalid/content-frontmatter/REQUEST_FIELD_UNKNOWN/cases.json +16 -0
- package/fixtures/invalid/content-frontmatter/SCHEMA_CONSTANT_INVALID/cases.json +11 -0
- package/fixtures/invalid/content-frontmatter/SCHEMA_ENUM_INVALID/cases.json +11 -0
- package/fixtures/invalid/content-frontmatter/SCHEMA_NUMBER_TOO_LARGE/cases.json +11 -0
- package/fixtures/invalid/content-frontmatter/SCHEMA_NUMBER_TOO_SMALL/cases.json +11 -0
- package/fixtures/invalid/content-frontmatter/SCHEMA_PATTERN_INVALID/cases.json +11 -0
- package/fixtures/invalid/content-frontmatter/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +54 -0
- package/fixtures/invalid/content-frontmatter/SCHEMA_TYPE_INVALID/cases.json +20 -0
- package/fixtures/invalid/publication/REQUEST_FIELD_UNKNOWN/cases.json +9 -0
- package/fixtures/invalid/publication/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +9 -0
- package/fixtures/invalid/publication/SCHEMA_TYPE_INVALID/cases.json +18 -0
- package/fixtures/manifest.json +1018 -6
- package/fixtures/s2/manifest.json +16 -1
- package/fixtures/s2/normalized-inputs.json +3225 -0
- package/fixtures/unknown-field/build-input/rules.json +73 -0
- package/fixtures/unknown-field/content-frontmatter/rules.json +28 -0
- package/fixtures/unknown-field/publication/rules.json +14 -0
- package/generated/browser/validator-core.mjs +3 -3
- package/generated/typescript/contracts/build-input.d.ts +19 -0
- package/generated/typescript/contracts/content-frontmatter.d.ts +7 -0
- package/generated/typescript/contracts/publication.d.ts +5 -0
- package/openapi/http-catalog.json +28 -2
- package/openapi/openapi.yaml +516 -7
- package/package.json +1 -1
- package/sbom.cdx.json +23 -23
- package/schemas/build-input.schema.json +62 -1
- package/schemas/content-frontmatter.schema.json +31 -0
- package/schemas/publication.schema.json +8 -0
|
@@ -21,6 +21,18 @@
|
|
|
21
21
|
"keyword": "enum",
|
|
22
22
|
"instance": "opt-in"
|
|
23
23
|
},
|
|
24
|
+
{
|
|
25
|
+
"caseId": "build-input-boundary-01ba4a778e1067ca",
|
|
26
|
+
"coveredRuleIds": [
|
|
27
|
+
"build-input:#/$defs/listen:additionalProperties",
|
|
28
|
+
"build-input:#/$defs/listen:required:enabled",
|
|
29
|
+
"build-input:#/$defs/listen:type"
|
|
30
|
+
],
|
|
31
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
32
|
+
"schemaPointer": "#/$defs/listen",
|
|
33
|
+
"keyword": "additionalProperties",
|
|
34
|
+
"instance": { "enabled": false }
|
|
35
|
+
},
|
|
24
36
|
{
|
|
25
37
|
"caseId": "build-input-boundary-02fa045274157fb7",
|
|
26
38
|
"coveredRuleIds": [
|
|
@@ -36,6 +48,16 @@
|
|
|
36
48
|
"direction": "maximum"
|
|
37
49
|
}
|
|
38
50
|
},
|
|
51
|
+
{
|
|
52
|
+
"caseId": "build-input-boundary-0305d6a0dba8beba",
|
|
53
|
+
"coveredRuleIds": [
|
|
54
|
+
"build-input:#/$defs/contentListenNormalized/properties/durationSeconds:maximum"
|
|
55
|
+
],
|
|
56
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
57
|
+
"schemaPointer": "#/$defs/contentListenNormalized/properties/durationSeconds",
|
|
58
|
+
"keyword": "maximum",
|
|
59
|
+
"instance": 10800
|
|
60
|
+
},
|
|
39
61
|
{
|
|
40
62
|
"caseId": "build-input-boundary-03a54930848ca744",
|
|
41
63
|
"coveredRuleIds": [
|
|
@@ -144,6 +166,17 @@
|
|
|
144
166
|
"keyword": "required",
|
|
145
167
|
"instance": { "mediaType": "video/mp4" }
|
|
146
168
|
},
|
|
169
|
+
{
|
|
170
|
+
"caseId": "build-input-boundary-0c1d2ddd3b5819f6",
|
|
171
|
+
"coveredRuleIds": [
|
|
172
|
+
"build-input:#/$defs/listenAudio/properties/bytes:minimum",
|
|
173
|
+
"build-input:#/$defs/listenAudio/properties/bytes:type"
|
|
174
|
+
],
|
|
175
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
176
|
+
"schemaPointer": "#/$defs/listenAudio/properties/bytes",
|
|
177
|
+
"keyword": "minimum",
|
|
178
|
+
"instance": 1
|
|
179
|
+
},
|
|
147
180
|
{
|
|
148
181
|
"caseId": "build-input-boundary-0e79291d640235c8",
|
|
149
182
|
"coveredRuleIds": [
|
|
@@ -453,6 +486,29 @@
|
|
|
453
486
|
"length": 1
|
|
454
487
|
}
|
|
455
488
|
},
|
|
489
|
+
{
|
|
490
|
+
"caseId": "build-input-boundary-16a8752631bc126a",
|
|
491
|
+
"coveredRuleIds": [
|
|
492
|
+
"build-input:#/$defs/contentListenNormalized:additionalProperties",
|
|
493
|
+
"build-input:#/$defs/contentListenNormalized:required:audio",
|
|
494
|
+
"build-input:#/$defs/contentListenNormalized:required:durationSeconds",
|
|
495
|
+
"build-input:#/$defs/contentListenNormalized:required:format",
|
|
496
|
+
"build-input:#/$defs/contentListenNormalized:type"
|
|
497
|
+
],
|
|
498
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
499
|
+
"schemaPointer": "#/$defs/contentListenNormalized",
|
|
500
|
+
"keyword": "additionalProperties",
|
|
501
|
+
"instance": {
|
|
502
|
+
"audio": {
|
|
503
|
+
"sourcePath": "assets/listen/fixture.mp3",
|
|
504
|
+
"mediaType": "audio/mpeg",
|
|
505
|
+
"bytes": 1,
|
|
506
|
+
"sha256": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
|
|
507
|
+
},
|
|
508
|
+
"durationSeconds": 1,
|
|
509
|
+
"format": "conversation"
|
|
510
|
+
}
|
|
511
|
+
},
|
|
456
512
|
{
|
|
457
513
|
"caseId": "build-input-boundary-182c3eddf124fedf",
|
|
458
514
|
"coveredRuleIds": [
|
|
@@ -984,6 +1040,16 @@
|
|
|
984
1040
|
"keyword": "type",
|
|
985
1041
|
"instance": false
|
|
986
1042
|
},
|
|
1043
|
+
{
|
|
1044
|
+
"caseId": "build-input-boundary-2c2507dc967008bb",
|
|
1045
|
+
"coveredRuleIds": [
|
|
1046
|
+
"build-input:#/$defs/contentFrontmatterNormalized/allOf/2/then/properties/kind:const"
|
|
1047
|
+
],
|
|
1048
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
1049
|
+
"schemaPointer": "#/$defs/contentFrontmatterNormalized/allOf/2/then/properties/kind",
|
|
1050
|
+
"keyword": "const",
|
|
1051
|
+
"instance": "article"
|
|
1052
|
+
},
|
|
987
1053
|
{
|
|
988
1054
|
"caseId": "build-input-boundary-2c3e5f6824947504",
|
|
989
1055
|
"coveredRuleIds": [
|
|
@@ -1073,6 +1139,16 @@
|
|
|
1073
1139
|
"keyword": "additionalProperties",
|
|
1074
1140
|
"instance": { "reactions": false, "comments": false }
|
|
1075
1141
|
},
|
|
1142
|
+
{
|
|
1143
|
+
"caseId": "build-input-boundary-306e00d9eb5cb1ea",
|
|
1144
|
+
"coveredRuleIds": [
|
|
1145
|
+
"build-input:#/$defs/listenAudio/properties/sourcePath:pattern"
|
|
1146
|
+
],
|
|
1147
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
1148
|
+
"schemaPointer": "#/$defs/listenAudio/properties/sourcePath",
|
|
1149
|
+
"keyword": "pattern",
|
|
1150
|
+
"instance": "assets/listen/fixture.mp3"
|
|
1151
|
+
},
|
|
1076
1152
|
{
|
|
1077
1153
|
"caseId": "build-input-boundary-3084d1d86c619ace",
|
|
1078
1154
|
"coveredRuleIds": [
|
|
@@ -1297,6 +1373,16 @@
|
|
|
1297
1373
|
}
|
|
1298
1374
|
]
|
|
1299
1375
|
},
|
|
1376
|
+
{
|
|
1377
|
+
"caseId": "build-input-boundary-3efbed3b4ca88013",
|
|
1378
|
+
"coveredRuleIds": [
|
|
1379
|
+
"build-input:#/$defs/listenAudio/properties/mediaType:enum"
|
|
1380
|
+
],
|
|
1381
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
1382
|
+
"schemaPointer": "#/$defs/listenAudio/properties/mediaType",
|
|
1383
|
+
"keyword": "enum",
|
|
1384
|
+
"instance": "audio/mpeg"
|
|
1385
|
+
},
|
|
1300
1386
|
{
|
|
1301
1387
|
"caseId": "build-input-boundary-3effa560b9a9c266",
|
|
1302
1388
|
"coveredRuleIds": [
|
|
@@ -1543,6 +1629,17 @@
|
|
|
1543
1629
|
"direction": "maximum"
|
|
1544
1630
|
}
|
|
1545
1631
|
},
|
|
1632
|
+
{
|
|
1633
|
+
"caseId": "build-input-boundary-4851c3ad107ae839",
|
|
1634
|
+
"coveredRuleIds": [
|
|
1635
|
+
"build-input:#/$defs/contentListenNormalized/properties/durationSeconds:minimum",
|
|
1636
|
+
"build-input:#/$defs/contentListenNormalized/properties/durationSeconds:type"
|
|
1637
|
+
],
|
|
1638
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
1639
|
+
"schemaPointer": "#/$defs/contentListenNormalized/properties/durationSeconds",
|
|
1640
|
+
"keyword": "minimum",
|
|
1641
|
+
"instance": 1
|
|
1642
|
+
},
|
|
1546
1643
|
{
|
|
1547
1644
|
"caseId": "build-input-boundary-485a0ddee7a5663c",
|
|
1548
1645
|
"coveredRuleIds": [
|
|
@@ -1944,6 +2041,16 @@
|
|
|
1944
2041
|
"direction": "minimum"
|
|
1945
2042
|
}
|
|
1946
2043
|
},
|
|
2044
|
+
{
|
|
2045
|
+
"caseId": "build-input-boundary-5f4e2e4916ab5a66",
|
|
2046
|
+
"coveredRuleIds": [
|
|
2047
|
+
"build-input:#/$defs/contentListenNormalized/properties/format:enum"
|
|
2048
|
+
],
|
|
2049
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
2050
|
+
"schemaPointer": "#/$defs/contentListenNormalized/properties/format",
|
|
2051
|
+
"keyword": "enum",
|
|
2052
|
+
"instance": "conversation"
|
|
2053
|
+
},
|
|
1947
2054
|
{
|
|
1948
2055
|
"caseId": "build-input-boundary-626f222d5c22b718",
|
|
1949
2056
|
"coveredRuleIds": [
|
|
@@ -2082,6 +2189,16 @@
|
|
|
2082
2189
|
"keyword": "enum",
|
|
2083
2190
|
"instance": "published"
|
|
2084
2191
|
},
|
|
2192
|
+
{
|
|
2193
|
+
"caseId": "build-input-boundary-6c51fd439ebe0317",
|
|
2194
|
+
"coveredRuleIds": [
|
|
2195
|
+
"build-input:#/$defs/contentFrontmatterNormalized/allOf/2/if:required:listen"
|
|
2196
|
+
],
|
|
2197
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
2198
|
+
"schemaPointer": "#/$defs/contentFrontmatterNormalized/allOf/2/if",
|
|
2199
|
+
"keyword": "required",
|
|
2200
|
+
"instance": { "listen": null }
|
|
2201
|
+
},
|
|
2085
2202
|
{
|
|
2086
2203
|
"caseId": "build-input-boundary-6c9ddb880a14215d",
|
|
2087
2204
|
"coveredRuleIds": [
|
|
@@ -2286,6 +2403,26 @@
|
|
|
2286
2403
|
"keyword": "maximum",
|
|
2287
2404
|
"instance": 50
|
|
2288
2405
|
},
|
|
2406
|
+
{
|
|
2407
|
+
"caseId": "build-input-boundary-73f88ab1e3239ebe",
|
|
2408
|
+
"coveredRuleIds": [
|
|
2409
|
+
"build-input:#/$defs/listenAudio:additionalProperties",
|
|
2410
|
+
"build-input:#/$defs/listenAudio:required:bytes",
|
|
2411
|
+
"build-input:#/$defs/listenAudio:required:mediaType",
|
|
2412
|
+
"build-input:#/$defs/listenAudio:required:sha256",
|
|
2413
|
+
"build-input:#/$defs/listenAudio:required:sourcePath",
|
|
2414
|
+
"build-input:#/$defs/listenAudio:type"
|
|
2415
|
+
],
|
|
2416
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
2417
|
+
"schemaPointer": "#/$defs/listenAudio",
|
|
2418
|
+
"keyword": "additionalProperties",
|
|
2419
|
+
"instance": {
|
|
2420
|
+
"sourcePath": "assets/listen/fixture.mp3",
|
|
2421
|
+
"mediaType": "audio/mpeg",
|
|
2422
|
+
"bytes": 1,
|
|
2423
|
+
"sha256": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
|
|
2424
|
+
}
|
|
2425
|
+
},
|
|
2289
2426
|
{
|
|
2290
2427
|
"caseId": "build-input-boundary-7781ca6d3139fb92",
|
|
2291
2428
|
"coveredRuleIds": [
|
|
@@ -2440,6 +2577,16 @@
|
|
|
2440
2577
|
"keyword": "type",
|
|
2441
2578
|
"instance": ["019c0000-0000-7000-8000-000000000001"]
|
|
2442
2579
|
},
|
|
2580
|
+
{
|
|
2581
|
+
"caseId": "build-input-boundary-7cb7daf97bcf4c38",
|
|
2582
|
+
"coveredRuleIds": [
|
|
2583
|
+
"build-input:#/$defs/contentFrontmatterNormalized/allOf/2/then:required:kind"
|
|
2584
|
+
],
|
|
2585
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
2586
|
+
"schemaPointer": "#/$defs/contentFrontmatterNormalized/allOf/2/then",
|
|
2587
|
+
"keyword": "required",
|
|
2588
|
+
"instance": { "kind": "article" }
|
|
2589
|
+
},
|
|
2443
2590
|
{
|
|
2444
2591
|
"caseId": "build-input-boundary-7d132f5230a29157",
|
|
2445
2592
|
"coveredRuleIds": [
|
|
@@ -2616,6 +2763,14 @@
|
|
|
2616
2763
|
"keyword": "pattern",
|
|
2617
2764
|
"instance": "019c0000-0000-7000-8000-000000000001"
|
|
2618
2765
|
},
|
|
2766
|
+
{
|
|
2767
|
+
"caseId": "build-input-boundary-8557321919aee10a",
|
|
2768
|
+
"coveredRuleIds": ["build-input:#/$defs/listen/properties/enabled:type"],
|
|
2769
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
2770
|
+
"schemaPointer": "#/$defs/listen/properties/enabled",
|
|
2771
|
+
"keyword": "type",
|
|
2772
|
+
"instance": false
|
|
2773
|
+
},
|
|
2619
2774
|
{
|
|
2620
2775
|
"caseId": "build-input-boundary-85bcd006aab15d72",
|
|
2621
2776
|
"coveredRuleIds": [
|
|
@@ -2978,6 +3133,16 @@
|
|
|
2978
3133
|
}
|
|
2979
3134
|
]
|
|
2980
3135
|
},
|
|
3136
|
+
{
|
|
3137
|
+
"caseId": "build-input-boundary-9c410df5d84b7bbf",
|
|
3138
|
+
"coveredRuleIds": [
|
|
3139
|
+
"build-input:#/$defs/listenAudio/properties/bytes:maximum"
|
|
3140
|
+
],
|
|
3141
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
3142
|
+
"schemaPointer": "#/$defs/listenAudio/properties/bytes",
|
|
3143
|
+
"keyword": "maximum",
|
|
3144
|
+
"instance": 26214400
|
|
3145
|
+
},
|
|
2981
3146
|
{
|
|
2982
3147
|
"caseId": "build-input-boundary-9cae35af02b29ac8",
|
|
2983
3148
|
"coveredRuleIds": [
|
|
@@ -42,6 +42,24 @@
|
|
|
42
42
|
"length": 1
|
|
43
43
|
}
|
|
44
44
|
},
|
|
45
|
+
{
|
|
46
|
+
"caseId": "content-frontmatter-boundary-1642a979f836f23d",
|
|
47
|
+
"coveredRuleIds": [
|
|
48
|
+
"content-frontmatter:#/$defs/contentListen:additionalProperties",
|
|
49
|
+
"content-frontmatter:#/$defs/contentListen:required:audio",
|
|
50
|
+
"content-frontmatter:#/$defs/contentListen:required:durationSeconds",
|
|
51
|
+
"content-frontmatter:#/$defs/contentListen:required:format",
|
|
52
|
+
"content-frontmatter:#/$defs/contentListen:type"
|
|
53
|
+
],
|
|
54
|
+
"schemaId": "urn:gala:schema:content-frontmatter:2.0.0",
|
|
55
|
+
"schemaPointer": "#/$defs/contentListen",
|
|
56
|
+
"keyword": "additionalProperties",
|
|
57
|
+
"instance": {
|
|
58
|
+
"audio": "assets/listen/fixture.mp3",
|
|
59
|
+
"durationSeconds": 1,
|
|
60
|
+
"format": "conversation"
|
|
61
|
+
}
|
|
62
|
+
},
|
|
45
63
|
{
|
|
46
64
|
"caseId": "content-frontmatter-boundary-1994b0284b84ae9c",
|
|
47
65
|
"coveredRuleIds": [
|
|
@@ -139,6 +157,17 @@
|
|
|
139
157
|
"keyword": "format",
|
|
140
158
|
"instance": "^2.0.0"
|
|
141
159
|
},
|
|
160
|
+
{
|
|
161
|
+
"caseId": "content-frontmatter-boundary-33ed0fac76fb0605",
|
|
162
|
+
"coveredRuleIds": [
|
|
163
|
+
"content-frontmatter:#/$defs/contentListen/properties/durationSeconds:minimum",
|
|
164
|
+
"content-frontmatter:#/$defs/contentListen/properties/durationSeconds:type"
|
|
165
|
+
],
|
|
166
|
+
"schemaId": "urn:gala:schema:content-frontmatter:2.0.0",
|
|
167
|
+
"schemaPointer": "#/$defs/contentListen/properties/durationSeconds",
|
|
168
|
+
"keyword": "minimum",
|
|
169
|
+
"instance": 1
|
|
170
|
+
},
|
|
142
171
|
{
|
|
143
172
|
"caseId": "content-frontmatter-boundary-3581b88002125a13",
|
|
144
173
|
"coveredRuleIds": [
|
|
@@ -399,6 +428,16 @@
|
|
|
399
428
|
"keyword": "enum",
|
|
400
429
|
"instance": "article"
|
|
401
430
|
},
|
|
431
|
+
{
|
|
432
|
+
"caseId": "content-frontmatter-boundary-7dfdf6b45cf478bc",
|
|
433
|
+
"coveredRuleIds": [
|
|
434
|
+
"content-frontmatter:#/$defs/contentListen/properties/format:enum"
|
|
435
|
+
],
|
|
436
|
+
"schemaId": "urn:gala:schema:content-frontmatter:2.0.0",
|
|
437
|
+
"schemaPointer": "#/$defs/contentListen/properties/format",
|
|
438
|
+
"keyword": "enum",
|
|
439
|
+
"instance": "conversation"
|
|
440
|
+
},
|
|
402
441
|
{
|
|
403
442
|
"caseId": "content-frontmatter-boundary-7e1f09c452daeb8b",
|
|
404
443
|
"coveredRuleIds": [
|
|
@@ -430,6 +469,16 @@
|
|
|
430
469
|
"keyword": "pattern",
|
|
431
470
|
"instance": "019c0000-0000-7000-8000-000000000001"
|
|
432
471
|
},
|
|
472
|
+
{
|
|
473
|
+
"caseId": "content-frontmatter-boundary-86fde5f531b20837",
|
|
474
|
+
"coveredRuleIds": [
|
|
475
|
+
"content-frontmatter:#/$defs/contentListen/properties/durationSeconds:maximum"
|
|
476
|
+
],
|
|
477
|
+
"schemaId": "urn:gala:schema:content-frontmatter:2.0.0",
|
|
478
|
+
"schemaPointer": "#/$defs/contentListen/properties/durationSeconds",
|
|
479
|
+
"keyword": "maximum",
|
|
480
|
+
"instance": 10800
|
|
481
|
+
},
|
|
433
482
|
{
|
|
434
483
|
"caseId": "content-frontmatter-boundary-871be5d049e29138",
|
|
435
484
|
"coveredRuleIds": [
|
|
@@ -452,6 +501,24 @@
|
|
|
452
501
|
"length": 0
|
|
453
502
|
}
|
|
454
503
|
},
|
|
504
|
+
{
|
|
505
|
+
"caseId": "content-frontmatter-boundary-88def3294a903ffe",
|
|
506
|
+
"coveredRuleIds": ["content-frontmatter:#/allOf/3/then:required:kind"],
|
|
507
|
+
"schemaId": "urn:gala:schema:content-frontmatter:2.0.0",
|
|
508
|
+
"schemaPointer": "#/allOf/3/then",
|
|
509
|
+
"keyword": "required",
|
|
510
|
+
"instance": { "kind": "article" }
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
"caseId": "content-frontmatter-boundary-89cec6dcb974025e",
|
|
514
|
+
"coveredRuleIds": [
|
|
515
|
+
"content-frontmatter:#/$defs/contentListen/properties/audio:pattern"
|
|
516
|
+
],
|
|
517
|
+
"schemaId": "urn:gala:schema:content-frontmatter:2.0.0",
|
|
518
|
+
"schemaPointer": "#/$defs/contentListen/properties/audio",
|
|
519
|
+
"keyword": "pattern",
|
|
520
|
+
"instance": "assets/listen/fixture.mp3"
|
|
521
|
+
},
|
|
455
522
|
{
|
|
456
523
|
"caseId": "content-frontmatter-boundary-8a60be945d42cc59",
|
|
457
524
|
"coveredRuleIds": ["content-frontmatter:#/$defs/slug:minLength"],
|
|
@@ -584,6 +651,14 @@
|
|
|
584
651
|
"keyword": "x-gala-maxCanonicalBytes",
|
|
585
652
|
"instance": null
|
|
586
653
|
},
|
|
654
|
+
{
|
|
655
|
+
"caseId": "content-frontmatter-boundary-aea563ffc90b593b",
|
|
656
|
+
"coveredRuleIds": ["content-frontmatter:#/allOf/3/if:required:listen"],
|
|
657
|
+
"schemaId": "urn:gala:schema:content-frontmatter:2.0.0",
|
|
658
|
+
"schemaPointer": "#/allOf/3/if",
|
|
659
|
+
"keyword": "required",
|
|
660
|
+
"instance": { "listen": null }
|
|
661
|
+
},
|
|
587
662
|
{
|
|
588
663
|
"caseId": "content-frontmatter-boundary-af03cd29a234b87f",
|
|
589
664
|
"coveredRuleIds": ["content-frontmatter:#/allOf/1/then:required:edition"],
|
|
@@ -1014,5 +1089,15 @@
|
|
|
1014
1089
|
"schemaPointer": "#/properties/tags",
|
|
1015
1090
|
"length": 32
|
|
1016
1091
|
}
|
|
1092
|
+
},
|
|
1093
|
+
{
|
|
1094
|
+
"caseId": "content-frontmatter-boundary-fe29481b3b44aaf0",
|
|
1095
|
+
"coveredRuleIds": [
|
|
1096
|
+
"content-frontmatter:#/allOf/3/then/properties/kind:const"
|
|
1097
|
+
],
|
|
1098
|
+
"schemaId": "urn:gala:schema:content-frontmatter:2.0.0",
|
|
1099
|
+
"schemaPointer": "#/allOf/3/then/properties/kind",
|
|
1100
|
+
"keyword": "const",
|
|
1101
|
+
"instance": "article"
|
|
1017
1102
|
}
|
|
1018
1103
|
]
|
|
@@ -35,6 +35,18 @@
|
|
|
35
35
|
"extensions": {}
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
|
+
{
|
|
39
|
+
"caseId": "publication-boundary-01ba4a778e1067ca",
|
|
40
|
+
"coveredRuleIds": [
|
|
41
|
+
"publication:#/$defs/listen:additionalProperties",
|
|
42
|
+
"publication:#/$defs/listen:required:enabled",
|
|
43
|
+
"publication:#/$defs/listen:type"
|
|
44
|
+
],
|
|
45
|
+
"schemaId": "urn:gala:schema:publication:2.0.0",
|
|
46
|
+
"schemaPointer": "#/$defs/listen",
|
|
47
|
+
"keyword": "additionalProperties",
|
|
48
|
+
"instance": { "enabled": false }
|
|
49
|
+
},
|
|
38
50
|
{
|
|
39
51
|
"caseId": "publication-boundary-05c61c29d8f8ed0c",
|
|
40
52
|
"coveredRuleIds": ["publication:#/$defs/newsletter:oneOf"],
|
|
@@ -634,6 +646,14 @@
|
|
|
634
646
|
"keyword": "pattern",
|
|
635
647
|
"instance": "019c0000-0000-7000-8000-000000000001"
|
|
636
648
|
},
|
|
649
|
+
{
|
|
650
|
+
"caseId": "publication-boundary-8557321919aee10a",
|
|
651
|
+
"coveredRuleIds": ["publication:#/$defs/listen/properties/enabled:type"],
|
|
652
|
+
"schemaId": "urn:gala:schema:publication:2.0.0",
|
|
653
|
+
"schemaPointer": "#/$defs/listen/properties/enabled",
|
|
654
|
+
"keyword": "type",
|
|
655
|
+
"instance": false
|
|
656
|
+
},
|
|
637
657
|
{
|
|
638
658
|
"caseId": "publication-boundary-85bcd006aab15d72",
|
|
639
659
|
"coveredRuleIds": [
|
|
@@ -465,6 +465,15 @@
|
|
|
465
465
|
"instance": { "unexpected": true },
|
|
466
466
|
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
467
467
|
},
|
|
468
|
+
{
|
|
469
|
+
"caseId": "build-input-invalid-63b52a35209d3d88",
|
|
470
|
+
"coveredRuleIds": ["build-input:#/$defs/listen:additionalProperties"],
|
|
471
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
472
|
+
"schemaPointer": "#/$defs/listen",
|
|
473
|
+
"keyword": "additionalProperties",
|
|
474
|
+
"instance": { "enabled": false, "unexpected": true },
|
|
475
|
+
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
476
|
+
},
|
|
468
477
|
{
|
|
469
478
|
"caseId": "build-input-invalid-6b9ebafb7d1d90e9",
|
|
470
479
|
"coveredRuleIds": ["build-input:#/$defs/attribution:additionalProperties"],
|
|
@@ -562,6 +571,21 @@
|
|
|
562
571
|
},
|
|
563
572
|
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
564
573
|
},
|
|
574
|
+
{
|
|
575
|
+
"caseId": "build-input-invalid-88f31dd77e9b29de",
|
|
576
|
+
"coveredRuleIds": ["build-input:#/$defs/listenAudio:additionalProperties"],
|
|
577
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
578
|
+
"schemaPointer": "#/$defs/listenAudio",
|
|
579
|
+
"keyword": "additionalProperties",
|
|
580
|
+
"instance": {
|
|
581
|
+
"sourcePath": "assets/listen/fixture.mp3",
|
|
582
|
+
"mediaType": "audio/mpeg",
|
|
583
|
+
"bytes": 1,
|
|
584
|
+
"sha256": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
|
|
585
|
+
"unexpected": true
|
|
586
|
+
},
|
|
587
|
+
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
588
|
+
},
|
|
565
589
|
{
|
|
566
590
|
"caseId": "build-input-invalid-8c3c5cdd228d00f0",
|
|
567
591
|
"coveredRuleIds": [
|
|
@@ -602,6 +626,27 @@
|
|
|
602
626
|
},
|
|
603
627
|
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
604
628
|
},
|
|
629
|
+
{
|
|
630
|
+
"caseId": "build-input-invalid-900eed4c86a41e25",
|
|
631
|
+
"coveredRuleIds": [
|
|
632
|
+
"build-input:#/$defs/contentListenNormalized:additionalProperties"
|
|
633
|
+
],
|
|
634
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
635
|
+
"schemaPointer": "#/$defs/contentListenNormalized",
|
|
636
|
+
"keyword": "additionalProperties",
|
|
637
|
+
"instance": {
|
|
638
|
+
"audio": {
|
|
639
|
+
"sourcePath": "assets/listen/fixture.mp3",
|
|
640
|
+
"mediaType": "audio/mpeg",
|
|
641
|
+
"bytes": 1,
|
|
642
|
+
"sha256": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
|
|
643
|
+
},
|
|
644
|
+
"durationSeconds": 1,
|
|
645
|
+
"format": "conversation",
|
|
646
|
+
"unexpected": true
|
|
647
|
+
},
|
|
648
|
+
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
649
|
+
},
|
|
605
650
|
{
|
|
606
651
|
"caseId": "build-input-invalid-911c87822866f8d1",
|
|
607
652
|
"coveredRuleIds": [
|
|
@@ -248,6 +248,17 @@
|
|
|
248
248
|
"instance": "@rathnasgala2/schemas-invalid",
|
|
249
249
|
"expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
|
|
250
250
|
},
|
|
251
|
+
{
|
|
252
|
+
"caseId": "build-input-invalid-bddb0d5b12ffcd65",
|
|
253
|
+
"coveredRuleIds": [
|
|
254
|
+
"build-input:#/$defs/contentFrontmatterNormalized/allOf/2/then/properties/kind:const"
|
|
255
|
+
],
|
|
256
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
257
|
+
"schemaPointer": "#/$defs/contentFrontmatterNormalized/allOf/2/then/properties/kind",
|
|
258
|
+
"keyword": "const",
|
|
259
|
+
"instance": "article-invalid",
|
|
260
|
+
"expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
|
|
261
|
+
},
|
|
251
262
|
{
|
|
252
263
|
"caseId": "build-input-invalid-c42be49ea553b2f6",
|
|
253
264
|
"coveredRuleIds": [
|
|
@@ -30,6 +30,17 @@
|
|
|
30
30
|
"instance": "__invalid_enum__",
|
|
31
31
|
"expectedCodes": ["SCHEMA_ENUM_INVALID"]
|
|
32
32
|
},
|
|
33
|
+
{
|
|
34
|
+
"caseId": "build-input-invalid-1a0d1724b7d46daa",
|
|
35
|
+
"coveredRuleIds": [
|
|
36
|
+
"build-input:#/$defs/contentListenNormalized/properties/format:enum"
|
|
37
|
+
],
|
|
38
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
39
|
+
"schemaPointer": "#/$defs/contentListenNormalized/properties/format",
|
|
40
|
+
"keyword": "enum",
|
|
41
|
+
"instance": "__invalid_enum__",
|
|
42
|
+
"expectedCodes": ["SCHEMA_ENUM_INVALID"]
|
|
43
|
+
},
|
|
33
44
|
{
|
|
34
45
|
"caseId": "build-input-invalid-24c610e1d45fea08",
|
|
35
46
|
"coveredRuleIds": [
|
|
@@ -298,5 +309,16 @@
|
|
|
298
309
|
"keyword": "enum",
|
|
299
310
|
"instance": "__invalid_enum__",
|
|
300
311
|
"expectedCodes": ["SCHEMA_ENUM_INVALID"]
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"caseId": "build-input-invalid-f532f75a9b52821c",
|
|
315
|
+
"coveredRuleIds": [
|
|
316
|
+
"build-input:#/$defs/listenAudio/properties/mediaType:enum"
|
|
317
|
+
],
|
|
318
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
319
|
+
"schemaPointer": "#/$defs/listenAudio/properties/mediaType",
|
|
320
|
+
"keyword": "enum",
|
|
321
|
+
"instance": "__invalid_enum__",
|
|
322
|
+
"expectedCodes": ["SCHEMA_ENUM_INVALID"]
|
|
301
323
|
}
|
|
302
324
|
]
|
|
@@ -10,6 +10,17 @@
|
|
|
10
10
|
"instance": 52428801,
|
|
11
11
|
"expectedCodes": ["SCHEMA_NUMBER_TOO_LARGE"]
|
|
12
12
|
},
|
|
13
|
+
{
|
|
14
|
+
"caseId": "build-input-invalid-42a1a080c571a63c",
|
|
15
|
+
"coveredRuleIds": [
|
|
16
|
+
"build-input:#/$defs/listenAudio/properties/bytes:maximum"
|
|
17
|
+
],
|
|
18
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
19
|
+
"schemaPointer": "#/$defs/listenAudio/properties/bytes",
|
|
20
|
+
"keyword": "maximum",
|
|
21
|
+
"instance": 26214401,
|
|
22
|
+
"expectedCodes": ["SCHEMA_NUMBER_TOO_LARGE"]
|
|
23
|
+
},
|
|
13
24
|
{
|
|
14
25
|
"caseId": "build-input-invalid-4b8fd71beb6f613a",
|
|
15
26
|
"coveredRuleIds": [
|
|
@@ -21,6 +32,17 @@
|
|
|
21
32
|
"instance": 51,
|
|
22
33
|
"expectedCodes": ["SCHEMA_NUMBER_TOO_LARGE"]
|
|
23
34
|
},
|
|
35
|
+
{
|
|
36
|
+
"caseId": "build-input-invalid-67a0177ae5609aad",
|
|
37
|
+
"coveredRuleIds": [
|
|
38
|
+
"build-input:#/$defs/contentListenNormalized/properties/durationSeconds:maximum"
|
|
39
|
+
],
|
|
40
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
41
|
+
"schemaPointer": "#/$defs/contentListenNormalized/properties/durationSeconds",
|
|
42
|
+
"keyword": "maximum",
|
|
43
|
+
"instance": 10801,
|
|
44
|
+
"expectedCodes": ["SCHEMA_NUMBER_TOO_LARGE"]
|
|
45
|
+
},
|
|
24
46
|
{
|
|
25
47
|
"caseId": "build-input-invalid-846eb6449989d3c3",
|
|
26
48
|
"coveredRuleIds": [
|
|
@@ -65,6 +65,17 @@
|
|
|
65
65
|
"instance": 0,
|
|
66
66
|
"expectedCodes": ["SCHEMA_NUMBER_TOO_SMALL"]
|
|
67
67
|
},
|
|
68
|
+
{
|
|
69
|
+
"caseId": "build-input-invalid-7ddbd59b255c6efa",
|
|
70
|
+
"coveredRuleIds": [
|
|
71
|
+
"build-input:#/$defs/listenAudio/properties/bytes:minimum"
|
|
72
|
+
],
|
|
73
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
74
|
+
"schemaPointer": "#/$defs/listenAudio/properties/bytes",
|
|
75
|
+
"keyword": "minimum",
|
|
76
|
+
"instance": 0,
|
|
77
|
+
"expectedCodes": ["SCHEMA_NUMBER_TOO_SMALL"]
|
|
78
|
+
},
|
|
68
79
|
{
|
|
69
80
|
"caseId": "build-input-invalid-80ccfe4c1060b9f3",
|
|
70
81
|
"coveredRuleIds": [
|
|
@@ -76,6 +87,17 @@
|
|
|
76
87
|
"instance": 0,
|
|
77
88
|
"expectedCodes": ["SCHEMA_NUMBER_TOO_SMALL"]
|
|
78
89
|
},
|
|
90
|
+
{
|
|
91
|
+
"caseId": "build-input-invalid-b8c3105e79188f69",
|
|
92
|
+
"coveredRuleIds": [
|
|
93
|
+
"build-input:#/$defs/contentListenNormalized/properties/durationSeconds:minimum"
|
|
94
|
+
],
|
|
95
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
96
|
+
"schemaPointer": "#/$defs/contentListenNormalized/properties/durationSeconds",
|
|
97
|
+
"keyword": "minimum",
|
|
98
|
+
"instance": 0,
|
|
99
|
+
"expectedCodes": ["SCHEMA_NUMBER_TOO_SMALL"]
|
|
100
|
+
},
|
|
79
101
|
{
|
|
80
102
|
"caseId": "build-input-invalid-f08214fcddcfb213",
|
|
81
103
|
"coveredRuleIds": [
|
|
@@ -114,6 +114,17 @@
|
|
|
114
114
|
"instance": "",
|
|
115
115
|
"expectedCodes": ["SCHEMA_PATTERN_INVALID"]
|
|
116
116
|
},
|
|
117
|
+
{
|
|
118
|
+
"caseId": "build-input-invalid-d860d589deeb6db6",
|
|
119
|
+
"coveredRuleIds": [
|
|
120
|
+
"build-input:#/$defs/listenAudio/properties/sourcePath:pattern"
|
|
121
|
+
],
|
|
122
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
123
|
+
"schemaPointer": "#/$defs/listenAudio/properties/sourcePath",
|
|
124
|
+
"keyword": "pattern",
|
|
125
|
+
"instance": "",
|
|
126
|
+
"expectedCodes": ["SCHEMA_PATTERN_INVALID"]
|
|
127
|
+
},
|
|
117
128
|
{
|
|
118
129
|
"caseId": "build-input-invalid-e1b12cc5c7e30288",
|
|
119
130
|
"coveredRuleIds": ["build-input:#/$defs/reactionKey:pattern"],
|