@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
|
@@ -48,6 +48,25 @@
|
|
|
48
48
|
"instance": { "enabled": false },
|
|
49
49
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
50
50
|
},
|
|
51
|
+
{
|
|
52
|
+
"caseId": "build-input-invalid-030ed1b0594afd3d",
|
|
53
|
+
"coveredRuleIds": [
|
|
54
|
+
"build-input:#/$defs/contentListenNormalized:required:format"
|
|
55
|
+
],
|
|
56
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
57
|
+
"schemaPointer": "#/$defs/contentListenNormalized",
|
|
58
|
+
"keyword": "required",
|
|
59
|
+
"instance": {
|
|
60
|
+
"audio": {
|
|
61
|
+
"sourcePath": "assets/listen/fixture.mp3",
|
|
62
|
+
"mediaType": "audio/mpeg",
|
|
63
|
+
"bytes": 1,
|
|
64
|
+
"sha256": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
|
|
65
|
+
},
|
|
66
|
+
"durationSeconds": 1
|
|
67
|
+
},
|
|
68
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
69
|
+
},
|
|
51
70
|
{
|
|
52
71
|
"caseId": "build-input-invalid-037dfdaab2f6c7e6",
|
|
53
72
|
"coveredRuleIds": [
|
|
@@ -613,6 +632,19 @@
|
|
|
613
632
|
},
|
|
614
633
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
615
634
|
},
|
|
635
|
+
{
|
|
636
|
+
"caseId": "build-input-invalid-0e44eed6a28fc908",
|
|
637
|
+
"coveredRuleIds": ["build-input:#/$defs/listenAudio:required:mediaType"],
|
|
638
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
639
|
+
"schemaPointer": "#/$defs/listenAudio",
|
|
640
|
+
"keyword": "required",
|
|
641
|
+
"instance": {
|
|
642
|
+
"sourcePath": "assets/listen/fixture.mp3",
|
|
643
|
+
"bytes": 1,
|
|
644
|
+
"sha256": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
|
|
645
|
+
},
|
|
646
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
647
|
+
},
|
|
616
648
|
{
|
|
617
649
|
"caseId": "build-input-invalid-0eb911ac3e176115",
|
|
618
650
|
"coveredRuleIds": [
|
|
@@ -1066,6 +1098,19 @@
|
|
|
1066
1098
|
},
|
|
1067
1099
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
1068
1100
|
},
|
|
1101
|
+
{
|
|
1102
|
+
"caseId": "build-input-invalid-1e37682ee5d29b87",
|
|
1103
|
+
"coveredRuleIds": ["build-input:#/$defs/listenAudio:required:bytes"],
|
|
1104
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
1105
|
+
"schemaPointer": "#/$defs/listenAudio",
|
|
1106
|
+
"keyword": "required",
|
|
1107
|
+
"instance": {
|
|
1108
|
+
"sourcePath": "assets/listen/fixture.mp3",
|
|
1109
|
+
"mediaType": "audio/mpeg",
|
|
1110
|
+
"sha256": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
|
|
1111
|
+
},
|
|
1112
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
1113
|
+
},
|
|
1069
1114
|
{
|
|
1070
1115
|
"caseId": "build-input-invalid-1e415c795325dcfa",
|
|
1071
1116
|
"coveredRuleIds": [
|
|
@@ -3134,6 +3179,19 @@
|
|
|
3134
3179
|
},
|
|
3135
3180
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
3136
3181
|
},
|
|
3182
|
+
{
|
|
3183
|
+
"caseId": "build-input-invalid-76a5aa328ca8169f",
|
|
3184
|
+
"coveredRuleIds": ["build-input:#/$defs/listenAudio:required:sha256"],
|
|
3185
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
3186
|
+
"schemaPointer": "#/$defs/listenAudio",
|
|
3187
|
+
"keyword": "required",
|
|
3188
|
+
"instance": {
|
|
3189
|
+
"sourcePath": "assets/listen/fixture.mp3",
|
|
3190
|
+
"mediaType": "audio/mpeg",
|
|
3191
|
+
"bytes": 1
|
|
3192
|
+
},
|
|
3193
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
3194
|
+
},
|
|
3137
3195
|
{
|
|
3138
3196
|
"caseId": "build-input-invalid-78045c70822af51b",
|
|
3139
3197
|
"coveredRuleIds": [
|
|
@@ -3597,6 +3655,19 @@
|
|
|
3597
3655
|
},
|
|
3598
3656
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
3599
3657
|
},
|
|
3658
|
+
{
|
|
3659
|
+
"caseId": "build-input-invalid-812a3656dbc79afa",
|
|
3660
|
+
"coveredRuleIds": ["build-input:#/$defs/listenAudio:required:sourcePath"],
|
|
3661
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
3662
|
+
"schemaPointer": "#/$defs/listenAudio",
|
|
3663
|
+
"keyword": "required",
|
|
3664
|
+
"instance": {
|
|
3665
|
+
"mediaType": "audio/mpeg",
|
|
3666
|
+
"bytes": 1,
|
|
3667
|
+
"sha256": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
|
|
3668
|
+
},
|
|
3669
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
3670
|
+
},
|
|
3600
3671
|
{
|
|
3601
3672
|
"caseId": "build-input-invalid-82f8c3ff1c2f0463",
|
|
3602
3673
|
"coveredRuleIds": [
|
|
@@ -4323,6 +4394,17 @@
|
|
|
4323
4394
|
"instance": {},
|
|
4324
4395
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
4325
4396
|
},
|
|
4397
|
+
{
|
|
4398
|
+
"caseId": "build-input-invalid-a06a6c57c731a420",
|
|
4399
|
+
"coveredRuleIds": [
|
|
4400
|
+
"build-input:#/$defs/contentFrontmatterNormalized/allOf/2/if:required:listen"
|
|
4401
|
+
],
|
|
4402
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
4403
|
+
"schemaPointer": "#/$defs/contentFrontmatterNormalized/allOf/2/if",
|
|
4404
|
+
"keyword": "required",
|
|
4405
|
+
"instance": {},
|
|
4406
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
4407
|
+
},
|
|
4326
4408
|
{
|
|
4327
4409
|
"caseId": "build-input-invalid-a1225b35c907fb4f",
|
|
4328
4410
|
"coveredRuleIds": [
|
|
@@ -5242,6 +5324,15 @@
|
|
|
5242
5324
|
},
|
|
5243
5325
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
5244
5326
|
},
|
|
5327
|
+
{
|
|
5328
|
+
"caseId": "build-input-invalid-c86312a372e2eadc",
|
|
5329
|
+
"coveredRuleIds": ["build-input:#/$defs/listen:required:enabled"],
|
|
5330
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
5331
|
+
"schemaPointer": "#/$defs/listen",
|
|
5332
|
+
"keyword": "required",
|
|
5333
|
+
"instance": {},
|
|
5334
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
5335
|
+
},
|
|
5245
5336
|
{
|
|
5246
5337
|
"caseId": "build-input-invalid-caceff020bcd7de2",
|
|
5247
5338
|
"coveredRuleIds": ["build-input:#:required:modules"],
|
|
@@ -5774,6 +5865,25 @@
|
|
|
5774
5865
|
},
|
|
5775
5866
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
5776
5867
|
},
|
|
5868
|
+
{
|
|
5869
|
+
"caseId": "build-input-invalid-dbf07c75bdf16450",
|
|
5870
|
+
"coveredRuleIds": [
|
|
5871
|
+
"build-input:#/$defs/contentListenNormalized:required:durationSeconds"
|
|
5872
|
+
],
|
|
5873
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
5874
|
+
"schemaPointer": "#/$defs/contentListenNormalized",
|
|
5875
|
+
"keyword": "required",
|
|
5876
|
+
"instance": {
|
|
5877
|
+
"audio": {
|
|
5878
|
+
"sourcePath": "assets/listen/fixture.mp3",
|
|
5879
|
+
"mediaType": "audio/mpeg",
|
|
5880
|
+
"bytes": 1,
|
|
5881
|
+
"sha256": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
|
|
5882
|
+
},
|
|
5883
|
+
"format": "conversation"
|
|
5884
|
+
},
|
|
5885
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
5886
|
+
},
|
|
5777
5887
|
{
|
|
5778
5888
|
"caseId": "build-input-invalid-dc3b66073ce28d40",
|
|
5779
5889
|
"coveredRuleIds": [
|
|
@@ -5887,6 +5997,17 @@
|
|
|
5887
5997
|
},
|
|
5888
5998
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
5889
5999
|
},
|
|
6000
|
+
{
|
|
6001
|
+
"caseId": "build-input-invalid-e09f4132b9134c63",
|
|
6002
|
+
"coveredRuleIds": [
|
|
6003
|
+
"build-input:#/$defs/contentFrontmatterNormalized/allOf/2/then:required:kind"
|
|
6004
|
+
],
|
|
6005
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
6006
|
+
"schemaPointer": "#/$defs/contentFrontmatterNormalized/allOf/2/then",
|
|
6007
|
+
"keyword": "required",
|
|
6008
|
+
"instance": {},
|
|
6009
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
6010
|
+
},
|
|
5890
6011
|
{
|
|
5891
6012
|
"caseId": "build-input-invalid-e2092b0107e116da",
|
|
5892
6013
|
"coveredRuleIds": [
|
|
@@ -6218,6 +6339,17 @@
|
|
|
6218
6339
|
},
|
|
6219
6340
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
6220
6341
|
},
|
|
6342
|
+
{
|
|
6343
|
+
"caseId": "build-input-invalid-ecd2e7132e92943d",
|
|
6344
|
+
"coveredRuleIds": [
|
|
6345
|
+
"build-input:#/$defs/contentListenNormalized:required:audio"
|
|
6346
|
+
],
|
|
6347
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
6348
|
+
"schemaPointer": "#/$defs/contentListenNormalized",
|
|
6349
|
+
"keyword": "required",
|
|
6350
|
+
"instance": { "durationSeconds": 1, "format": "conversation" },
|
|
6351
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
6352
|
+
},
|
|
6221
6353
|
{
|
|
6222
6354
|
"caseId": "build-input-invalid-ed5585a026817d28",
|
|
6223
6355
|
"coveredRuleIds": ["build-input:#/$defs/navigationItem:required:label"],
|
|
@@ -221,6 +221,15 @@
|
|
|
221
221
|
"instance": [],
|
|
222
222
|
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
223
223
|
},
|
|
224
|
+
{
|
|
225
|
+
"caseId": "build-input-invalid-2c89981dc1851bad",
|
|
226
|
+
"coveredRuleIds": ["build-input:#/$defs/listenAudio/properties/bytes:type"],
|
|
227
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
228
|
+
"schemaPointer": "#/$defs/listenAudio/properties/bytes",
|
|
229
|
+
"keyword": "type",
|
|
230
|
+
"instance": null,
|
|
231
|
+
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
232
|
+
},
|
|
224
233
|
{
|
|
225
234
|
"caseId": "build-input-invalid-2c94c986cb51d4ad",
|
|
226
235
|
"coveredRuleIds": ["build-input:#/$defs/semanticTokens:type"],
|
|
@@ -290,6 +299,24 @@
|
|
|
290
299
|
"instance": {},
|
|
291
300
|
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
292
301
|
},
|
|
302
|
+
{
|
|
303
|
+
"caseId": "build-input-invalid-3460b28f069f7da7",
|
|
304
|
+
"coveredRuleIds": ["build-input:#/$defs/listen/properties/enabled:type"],
|
|
305
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
306
|
+
"schemaPointer": "#/$defs/listen/properties/enabled",
|
|
307
|
+
"keyword": "type",
|
|
308
|
+
"instance": null,
|
|
309
|
+
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"caseId": "build-input-invalid-347c78d219e38ab2",
|
|
313
|
+
"coveredRuleIds": ["build-input:#/$defs/listenAudio:type"],
|
|
314
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
315
|
+
"schemaPointer": "#/$defs/listenAudio",
|
|
316
|
+
"keyword": "type",
|
|
317
|
+
"instance": [],
|
|
318
|
+
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
319
|
+
},
|
|
293
320
|
{
|
|
294
321
|
"caseId": "build-input-invalid-36e9db4ce7dd612f",
|
|
295
322
|
"coveredRuleIds": ["build-input:#/$defs/contentBuildMediaFile:type"],
|
|
@@ -667,6 +694,17 @@
|
|
|
667
694
|
"instance": {},
|
|
668
695
|
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
669
696
|
},
|
|
697
|
+
{
|
|
698
|
+
"caseId": "build-input-invalid-8d1066df6fec729d",
|
|
699
|
+
"coveredRuleIds": [
|
|
700
|
+
"build-input:#/$defs/contentListenNormalized/properties/durationSeconds:type"
|
|
701
|
+
],
|
|
702
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
703
|
+
"schemaPointer": "#/$defs/contentListenNormalized/properties/durationSeconds",
|
|
704
|
+
"keyword": "type",
|
|
705
|
+
"instance": null,
|
|
706
|
+
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
707
|
+
},
|
|
670
708
|
{
|
|
671
709
|
"caseId": "build-input-invalid-8fd6d5fbcd697e20",
|
|
672
710
|
"coveredRuleIds": [
|
|
@@ -944,6 +982,15 @@
|
|
|
944
982
|
"instance": {},
|
|
945
983
|
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
946
984
|
},
|
|
985
|
+
{
|
|
986
|
+
"caseId": "build-input-invalid-bf36d953c8b3e842",
|
|
987
|
+
"coveredRuleIds": ["build-input:#/$defs/listen:type"],
|
|
988
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
989
|
+
"schemaPointer": "#/$defs/listen",
|
|
990
|
+
"keyword": "type",
|
|
991
|
+
"instance": [],
|
|
992
|
+
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
993
|
+
},
|
|
947
994
|
{
|
|
948
995
|
"caseId": "build-input-invalid-c1eafa09d4f746a6",
|
|
949
996
|
"coveredRuleIds": ["build-input:#:type"],
|
|
@@ -1088,6 +1135,15 @@
|
|
|
1088
1135
|
"instance": [],
|
|
1089
1136
|
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
1090
1137
|
},
|
|
1138
|
+
{
|
|
1139
|
+
"caseId": "build-input-invalid-dcf1dc7a482bf530",
|
|
1140
|
+
"coveredRuleIds": ["build-input:#/$defs/contentListenNormalized:type"],
|
|
1141
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
1142
|
+
"schemaPointer": "#/$defs/contentListenNormalized",
|
|
1143
|
+
"keyword": "type",
|
|
1144
|
+
"instance": [],
|
|
1145
|
+
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
1146
|
+
},
|
|
1091
1147
|
{
|
|
1092
1148
|
"caseId": "build-input-invalid-def733368f2c6da3",
|
|
1093
1149
|
"coveredRuleIds": [
|
|
@@ -31,6 +31,22 @@
|
|
|
31
31
|
},
|
|
32
32
|
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
33
33
|
},
|
|
34
|
+
{
|
|
35
|
+
"caseId": "content-frontmatter-invalid-6b84d9b6b289a64e",
|
|
36
|
+
"coveredRuleIds": [
|
|
37
|
+
"content-frontmatter:#/$defs/contentListen:additionalProperties"
|
|
38
|
+
],
|
|
39
|
+
"schemaId": "urn:gala:schema:content-frontmatter:2.0.0",
|
|
40
|
+
"schemaPointer": "#/$defs/contentListen",
|
|
41
|
+
"keyword": "additionalProperties",
|
|
42
|
+
"instance": {
|
|
43
|
+
"audio": "assets/listen/fixture.mp3",
|
|
44
|
+
"durationSeconds": 1,
|
|
45
|
+
"format": "conversation",
|
|
46
|
+
"unexpected": true
|
|
47
|
+
},
|
|
48
|
+
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
49
|
+
},
|
|
34
50
|
{
|
|
35
51
|
"caseId": "content-frontmatter-invalid-74f8169f2f3889a9",
|
|
36
52
|
"coveredRuleIds": [
|
|
@@ -42,5 +42,16 @@
|
|
|
42
42
|
"keyword": "const",
|
|
43
43
|
"instance": "edition-invalid",
|
|
44
44
|
"expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"caseId": "content-frontmatter-invalid-d80a237a1b10eb2c",
|
|
48
|
+
"coveredRuleIds": [
|
|
49
|
+
"content-frontmatter:#/allOf/3/then/properties/kind:const"
|
|
50
|
+
],
|
|
51
|
+
"schemaId": "urn:gala:schema:content-frontmatter:2.0.0",
|
|
52
|
+
"schemaPointer": "#/allOf/3/then/properties/kind",
|
|
53
|
+
"keyword": "const",
|
|
54
|
+
"instance": "article-invalid",
|
|
55
|
+
"expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
|
|
45
56
|
}
|
|
46
57
|
]
|
|
@@ -41,6 +41,17 @@
|
|
|
41
41
|
"instance": "__invalid_enum__",
|
|
42
42
|
"expectedCodes": ["SCHEMA_ENUM_INVALID"]
|
|
43
43
|
},
|
|
44
|
+
{
|
|
45
|
+
"caseId": "content-frontmatter-invalid-83033b95720f8693",
|
|
46
|
+
"coveredRuleIds": [
|
|
47
|
+
"content-frontmatter:#/$defs/contentListen/properties/format:enum"
|
|
48
|
+
],
|
|
49
|
+
"schemaId": "urn:gala:schema:content-frontmatter:2.0.0",
|
|
50
|
+
"schemaPointer": "#/$defs/contentListen/properties/format",
|
|
51
|
+
"keyword": "enum",
|
|
52
|
+
"instance": "__invalid_enum__",
|
|
53
|
+
"expectedCodes": ["SCHEMA_ENUM_INVALID"]
|
|
54
|
+
},
|
|
44
55
|
{
|
|
45
56
|
"caseId": "content-frontmatter-invalid-85516cd0906e1809",
|
|
46
57
|
"coveredRuleIds": [
|
|
@@ -7,5 +7,16 @@
|
|
|
7
7
|
"keyword": "maximum",
|
|
8
8
|
"instance": 1000001,
|
|
9
9
|
"expectedCodes": ["SCHEMA_NUMBER_TOO_LARGE"]
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"caseId": "content-frontmatter-invalid-fb4094218b47c51e",
|
|
13
|
+
"coveredRuleIds": [
|
|
14
|
+
"content-frontmatter:#/$defs/contentListen/properties/durationSeconds:maximum"
|
|
15
|
+
],
|
|
16
|
+
"schemaId": "urn:gala:schema:content-frontmatter:2.0.0",
|
|
17
|
+
"schemaPointer": "#/$defs/contentListen/properties/durationSeconds",
|
|
18
|
+
"keyword": "maximum",
|
|
19
|
+
"instance": 10801,
|
|
20
|
+
"expectedCodes": ["SCHEMA_NUMBER_TOO_LARGE"]
|
|
10
21
|
}
|
|
11
22
|
]
|
|
@@ -1,4 +1,15 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"caseId": "content-frontmatter-invalid-8c0a99f73334d9d1",
|
|
4
|
+
"coveredRuleIds": [
|
|
5
|
+
"content-frontmatter:#/$defs/contentListen/properties/durationSeconds:minimum"
|
|
6
|
+
],
|
|
7
|
+
"schemaId": "urn:gala:schema:content-frontmatter:2.0.0",
|
|
8
|
+
"schemaPointer": "#/$defs/contentListen/properties/durationSeconds",
|
|
9
|
+
"keyword": "minimum",
|
|
10
|
+
"instance": 0,
|
|
11
|
+
"expectedCodes": ["SCHEMA_NUMBER_TOO_SMALL"]
|
|
12
|
+
},
|
|
2
13
|
{
|
|
3
14
|
"caseId": "content-frontmatter-invalid-d30fe1b602cbd80c",
|
|
4
15
|
"coveredRuleIds": ["content-frontmatter:#/properties/seriesOrder:minimum"],
|
|
@@ -8,6 +8,17 @@
|
|
|
8
8
|
"instance": "",
|
|
9
9
|
"expectedCodes": ["SCHEMA_PATTERN_INVALID"]
|
|
10
10
|
},
|
|
11
|
+
{
|
|
12
|
+
"caseId": "content-frontmatter-invalid-777e75b5f2c664fa",
|
|
13
|
+
"coveredRuleIds": [
|
|
14
|
+
"content-frontmatter:#/$defs/contentListen/properties/audio:pattern"
|
|
15
|
+
],
|
|
16
|
+
"schemaId": "urn:gala:schema:content-frontmatter:2.0.0",
|
|
17
|
+
"schemaPointer": "#/$defs/contentListen/properties/audio",
|
|
18
|
+
"keyword": "pattern",
|
|
19
|
+
"instance": "",
|
|
20
|
+
"expectedCodes": ["SCHEMA_PATTERN_INVALID"]
|
|
21
|
+
},
|
|
11
22
|
{
|
|
12
23
|
"caseId": "content-frontmatter-invalid-c96639eac0e7f8b7",
|
|
13
24
|
"coveredRuleIds": ["content-frontmatter:#/$defs/publishAfterDate:pattern"],
|
|
@@ -1,4 +1,18 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"caseId": "content-frontmatter-invalid-002527e98a0daf82",
|
|
4
|
+
"coveredRuleIds": [
|
|
5
|
+
"content-frontmatter:#/$defs/contentListen:required:durationSeconds"
|
|
6
|
+
],
|
|
7
|
+
"schemaId": "urn:gala:schema:content-frontmatter:2.0.0",
|
|
8
|
+
"schemaPointer": "#/$defs/contentListen",
|
|
9
|
+
"keyword": "required",
|
|
10
|
+
"instance": {
|
|
11
|
+
"audio": "assets/listen/fixture.mp3",
|
|
12
|
+
"format": "conversation"
|
|
13
|
+
},
|
|
14
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
15
|
+
},
|
|
2
16
|
{
|
|
3
17
|
"caseId": "content-frontmatter-invalid-0699ea3b55d0b134",
|
|
4
18
|
"coveredRuleIds": [
|
|
@@ -144,6 +158,15 @@
|
|
|
144
158
|
},
|
|
145
159
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
146
160
|
},
|
|
161
|
+
{
|
|
162
|
+
"caseId": "content-frontmatter-invalid-3a66209faeda9645",
|
|
163
|
+
"coveredRuleIds": ["content-frontmatter:#/allOf/3/if:required:listen"],
|
|
164
|
+
"schemaId": "urn:gala:schema:content-frontmatter:2.0.0",
|
|
165
|
+
"schemaPointer": "#/allOf/3/if",
|
|
166
|
+
"keyword": "required",
|
|
167
|
+
"instance": {},
|
|
168
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
169
|
+
},
|
|
147
170
|
{
|
|
148
171
|
"caseId": "content-frontmatter-invalid-4e2e00a793f19e4a",
|
|
149
172
|
"coveredRuleIds": ["content-frontmatter:#/$defs/mediaRef:required:alt"],
|
|
@@ -224,6 +247,26 @@
|
|
|
224
247
|
"instance": {},
|
|
225
248
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
226
249
|
},
|
|
250
|
+
{
|
|
251
|
+
"caseId": "content-frontmatter-invalid-7a970679bfd4723b",
|
|
252
|
+
"coveredRuleIds": [
|
|
253
|
+
"content-frontmatter:#/$defs/contentListen:required:format"
|
|
254
|
+
],
|
|
255
|
+
"schemaId": "urn:gala:schema:content-frontmatter:2.0.0",
|
|
256
|
+
"schemaPointer": "#/$defs/contentListen",
|
|
257
|
+
"keyword": "required",
|
|
258
|
+
"instance": { "audio": "assets/listen/fixture.mp3", "durationSeconds": 1 },
|
|
259
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"caseId": "content-frontmatter-invalid-7e7d66940b902a4f",
|
|
263
|
+
"coveredRuleIds": ["content-frontmatter:#/allOf/3/then:required:kind"],
|
|
264
|
+
"schemaId": "urn:gala:schema:content-frontmatter:2.0.0",
|
|
265
|
+
"schemaPointer": "#/allOf/3/then",
|
|
266
|
+
"keyword": "required",
|
|
267
|
+
"instance": {},
|
|
268
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
269
|
+
},
|
|
227
270
|
{
|
|
228
271
|
"caseId": "content-frontmatter-invalid-8ca7558c87ac3b0f",
|
|
229
272
|
"coveredRuleIds": [
|
|
@@ -359,6 +402,17 @@
|
|
|
359
402
|
"instance": {},
|
|
360
403
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
361
404
|
},
|
|
405
|
+
{
|
|
406
|
+
"caseId": "content-frontmatter-invalid-bb167d75a9e87062",
|
|
407
|
+
"coveredRuleIds": [
|
|
408
|
+
"content-frontmatter:#/$defs/contentListen:required:audio"
|
|
409
|
+
],
|
|
410
|
+
"schemaId": "urn:gala:schema:content-frontmatter:2.0.0",
|
|
411
|
+
"schemaPointer": "#/$defs/contentListen",
|
|
412
|
+
"keyword": "required",
|
|
413
|
+
"instance": { "durationSeconds": 1, "format": "conversation" },
|
|
414
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
415
|
+
},
|
|
362
416
|
{
|
|
363
417
|
"caseId": "content-frontmatter-invalid-bf5a9ebf026644d4",
|
|
364
418
|
"coveredRuleIds": ["content-frontmatter:#/allOf/0/if:required:status"],
|
|
@@ -57,6 +57,17 @@
|
|
|
57
57
|
"instance": null,
|
|
58
58
|
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
59
59
|
},
|
|
60
|
+
{
|
|
61
|
+
"caseId": "content-frontmatter-invalid-678ecf313b1f3976",
|
|
62
|
+
"coveredRuleIds": [
|
|
63
|
+
"content-frontmatter:#/$defs/contentListen/properties/durationSeconds:type"
|
|
64
|
+
],
|
|
65
|
+
"schemaId": "urn:gala:schema:content-frontmatter:2.0.0",
|
|
66
|
+
"schemaPointer": "#/$defs/contentListen/properties/durationSeconds",
|
|
67
|
+
"keyword": "type",
|
|
68
|
+
"instance": null,
|
|
69
|
+
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
70
|
+
},
|
|
60
71
|
{
|
|
61
72
|
"caseId": "content-frontmatter-invalid-739e07a80f1beb86",
|
|
62
73
|
"coveredRuleIds": ["content-frontmatter:#:type"],
|
|
@@ -131,6 +142,15 @@
|
|
|
131
142
|
"instance": null,
|
|
132
143
|
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
133
144
|
},
|
|
145
|
+
{
|
|
146
|
+
"caseId": "content-frontmatter-invalid-e3644fc56b1d84bd",
|
|
147
|
+
"coveredRuleIds": ["content-frontmatter:#/$defs/contentListen:type"],
|
|
148
|
+
"schemaId": "urn:gala:schema:content-frontmatter:2.0.0",
|
|
149
|
+
"schemaPointer": "#/$defs/contentListen",
|
|
150
|
+
"keyword": "type",
|
|
151
|
+
"instance": [],
|
|
152
|
+
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
153
|
+
},
|
|
134
154
|
{
|
|
135
155
|
"caseId": "content-frontmatter-invalid-f04ac91eedb350da",
|
|
136
156
|
"coveredRuleIds": [
|
|
@@ -181,6 +181,15 @@
|
|
|
181
181
|
},
|
|
182
182
|
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
183
183
|
},
|
|
184
|
+
{
|
|
185
|
+
"caseId": "publication-invalid-c59a02e10c5cf792",
|
|
186
|
+
"coveredRuleIds": ["publication:#/$defs/listen:additionalProperties"],
|
|
187
|
+
"schemaId": "urn:gala:schema:publication:2.0.0",
|
|
188
|
+
"schemaPointer": "#/$defs/listen",
|
|
189
|
+
"keyword": "additionalProperties",
|
|
190
|
+
"instance": { "enabled": false, "unexpected": true },
|
|
191
|
+
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
192
|
+
},
|
|
184
193
|
{
|
|
185
194
|
"caseId": "publication-invalid-c886c3a79d33ff4b",
|
|
186
195
|
"coveredRuleIds": [
|
|
@@ -564,5 +564,14 @@
|
|
|
564
564
|
"keyword": "required",
|
|
565
565
|
"instance": { "uri": "https://fixture-1.example.com/" },
|
|
566
566
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
567
|
+
},
|
|
568
|
+
{
|
|
569
|
+
"caseId": "publication-invalid-ff54ec263b9bd832",
|
|
570
|
+
"coveredRuleIds": ["publication:#/$defs/listen:required:enabled"],
|
|
571
|
+
"schemaId": "urn:gala:schema:publication:2.0.0",
|
|
572
|
+
"schemaPointer": "#/$defs/listen",
|
|
573
|
+
"keyword": "required",
|
|
574
|
+
"instance": {},
|
|
575
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
567
576
|
}
|
|
568
577
|
]
|
|
@@ -75,6 +75,15 @@
|
|
|
75
75
|
"instance": {},
|
|
76
76
|
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
77
77
|
},
|
|
78
|
+
{
|
|
79
|
+
"caseId": "publication-invalid-458e5dd2624767c0",
|
|
80
|
+
"coveredRuleIds": ["publication:#/$defs/listen/properties/enabled:type"],
|
|
81
|
+
"schemaId": "urn:gala:schema:publication:2.0.0",
|
|
82
|
+
"schemaPointer": "#/$defs/listen/properties/enabled",
|
|
83
|
+
"keyword": "type",
|
|
84
|
+
"instance": null,
|
|
85
|
+
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
86
|
+
},
|
|
78
87
|
{
|
|
79
88
|
"caseId": "publication-invalid-465dff806e8be5da",
|
|
80
89
|
"coveredRuleIds": ["publication:#/properties/authors:type"],
|
|
@@ -193,6 +202,15 @@
|
|
|
193
202
|
"instance": [],
|
|
194
203
|
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
195
204
|
},
|
|
205
|
+
{
|
|
206
|
+
"caseId": "publication-invalid-92f2f0fdd2b2f214",
|
|
207
|
+
"coveredRuleIds": ["publication:#/$defs/listen:type"],
|
|
208
|
+
"schemaId": "urn:gala:schema:publication:2.0.0",
|
|
209
|
+
"schemaPointer": "#/$defs/listen",
|
|
210
|
+
"keyword": "type",
|
|
211
|
+
"instance": [],
|
|
212
|
+
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
213
|
+
},
|
|
196
214
|
{
|
|
197
215
|
"caseId": "publication-invalid-9d736ce593d52f2b",
|
|
198
216
|
"coveredRuleIds": [
|