@rathnasgala2/schemas 3.25.0 → 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 +174 -0
- package/docs/catalogs/app-routes.json +3 -1
- package/docs/catalogs/schema-inventory.json +6 -6
- package/examples/valid/build-input/rules.json +147 -0
- package/examples/valid/content-frontmatter/rules.json +76 -0
- package/examples/valid/problem/rules.json +64 -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/problem/rules.json +64 -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/problem/REQUEST_FIELD_UNKNOWN/cases.json +15 -0
- package/fixtures/invalid/problem/SCHEMA_NUMBER_TOO_SMALL/cases.json +44 -0
- package/fixtures/invalid/problem/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +56 -0
- package/fixtures/invalid/problem/SCHEMA_TYPE_INVALID/cases.json +53 -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 +1342 -8
- 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/problem/rules.json +30 -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/problem.d.ts +6 -0
- package/generated/typescript/contracts/publication.d.ts +5 -0
- package/openapi/http-catalog.json +28 -2
- package/openapi/openapi.yaml +650 -11
- 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/problem.schema.json +17 -0
- package/schemas/publication.schema.json +8 -0
|
@@ -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"],
|
|
@@ -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"],
|