@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
|
@@ -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": [
|
|
@@ -12,6 +12,21 @@
|
|
|
12
12
|
},
|
|
13
13
|
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
14
14
|
},
|
|
15
|
+
{
|
|
16
|
+
"caseId": "problem-invalid-68e082013a1149d4",
|
|
17
|
+
"coveredRuleIds": ["problem:#/properties/details:additionalProperties"],
|
|
18
|
+
"schemaId": "urn:gala:schema:problem:2.0.0",
|
|
19
|
+
"schemaPointer": "#/properties/details",
|
|
20
|
+
"keyword": "additionalProperties",
|
|
21
|
+
"instance": {
|
|
22
|
+
"previousPageCount": 0,
|
|
23
|
+
"candidatePageCount": 0,
|
|
24
|
+
"lostPageCount": 0,
|
|
25
|
+
"permittedLoss": 0,
|
|
26
|
+
"unexpected": true
|
|
27
|
+
},
|
|
28
|
+
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
29
|
+
},
|
|
15
30
|
{
|
|
16
31
|
"caseId": "problem-invalid-d82e0ac63383aa39",
|
|
17
32
|
"coveredRuleIds": ["problem:#:additionalProperties"],
|
|
@@ -7,5 +7,49 @@
|
|
|
7
7
|
"keyword": "minimum",
|
|
8
8
|
"instance": 399,
|
|
9
9
|
"expectedCodes": ["SCHEMA_NUMBER_TOO_SMALL"]
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"caseId": "problem-invalid-6bbdd131e6892af9",
|
|
13
|
+
"coveredRuleIds": [
|
|
14
|
+
"problem:#/properties/details/properties/candidatePageCount:minimum"
|
|
15
|
+
],
|
|
16
|
+
"schemaId": "urn:gala:schema:problem:2.0.0",
|
|
17
|
+
"schemaPointer": "#/properties/details/properties/candidatePageCount",
|
|
18
|
+
"keyword": "minimum",
|
|
19
|
+
"instance": -1,
|
|
20
|
+
"expectedCodes": ["SCHEMA_NUMBER_TOO_SMALL"]
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"caseId": "problem-invalid-7abfeac9e03f88d3",
|
|
24
|
+
"coveredRuleIds": [
|
|
25
|
+
"problem:#/properties/details/properties/previousPageCount:minimum"
|
|
26
|
+
],
|
|
27
|
+
"schemaId": "urn:gala:schema:problem:2.0.0",
|
|
28
|
+
"schemaPointer": "#/properties/details/properties/previousPageCount",
|
|
29
|
+
"keyword": "minimum",
|
|
30
|
+
"instance": -1,
|
|
31
|
+
"expectedCodes": ["SCHEMA_NUMBER_TOO_SMALL"]
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"caseId": "problem-invalid-93e91f1206fae520",
|
|
35
|
+
"coveredRuleIds": [
|
|
36
|
+
"problem:#/properties/details/properties/permittedLoss:minimum"
|
|
37
|
+
],
|
|
38
|
+
"schemaId": "urn:gala:schema:problem:2.0.0",
|
|
39
|
+
"schemaPointer": "#/properties/details/properties/permittedLoss",
|
|
40
|
+
"keyword": "minimum",
|
|
41
|
+
"instance": -1,
|
|
42
|
+
"expectedCodes": ["SCHEMA_NUMBER_TOO_SMALL"]
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"caseId": "problem-invalid-98908ee711d9a038",
|
|
46
|
+
"coveredRuleIds": [
|
|
47
|
+
"problem:#/properties/details/properties/lostPageCount:minimum"
|
|
48
|
+
],
|
|
49
|
+
"schemaId": "urn:gala:schema:problem:2.0.0",
|
|
50
|
+
"schemaPointer": "#/properties/details/properties/lostPageCount",
|
|
51
|
+
"keyword": "minimum",
|
|
52
|
+
"instance": -1,
|
|
53
|
+
"expectedCodes": ["SCHEMA_NUMBER_TOO_SMALL"]
|
|
10
54
|
}
|
|
11
55
|
]
|
|
@@ -1,4 +1,19 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"caseId": "problem-invalid-01ec69f5fac5689d",
|
|
4
|
+
"coveredRuleIds": [
|
|
5
|
+
"problem:#/properties/details:required:previousPageCount"
|
|
6
|
+
],
|
|
7
|
+
"schemaId": "urn:gala:schema:problem:2.0.0",
|
|
8
|
+
"schemaPointer": "#/properties/details",
|
|
9
|
+
"keyword": "required",
|
|
10
|
+
"instance": {
|
|
11
|
+
"candidatePageCount": 0,
|
|
12
|
+
"lostPageCount": 0,
|
|
13
|
+
"permittedLoss": 0
|
|
14
|
+
},
|
|
15
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
16
|
+
},
|
|
2
17
|
{
|
|
3
18
|
"caseId": "problem-invalid-060fcb4a7588516e",
|
|
4
19
|
"coveredRuleIds": ["problem:#:required:retryable"],
|
|
@@ -65,6 +80,19 @@
|
|
|
65
80
|
},
|
|
66
81
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
67
82
|
},
|
|
83
|
+
{
|
|
84
|
+
"caseId": "problem-invalid-33608a9f3f44e46b",
|
|
85
|
+
"coveredRuleIds": ["problem:#/properties/details:required:lostPageCount"],
|
|
86
|
+
"schemaId": "urn:gala:schema:problem:2.0.0",
|
|
87
|
+
"schemaPointer": "#/properties/details",
|
|
88
|
+
"keyword": "required",
|
|
89
|
+
"instance": {
|
|
90
|
+
"previousPageCount": 0,
|
|
91
|
+
"candidatePageCount": 0,
|
|
92
|
+
"permittedLoss": 0
|
|
93
|
+
},
|
|
94
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
95
|
+
},
|
|
68
96
|
{
|
|
69
97
|
"caseId": "problem-invalid-51f3a6b2f053dfce",
|
|
70
98
|
"coveredRuleIds": ["problem:#/$defs/fieldError:required:pointer"],
|
|
@@ -131,6 +159,19 @@
|
|
|
131
159
|
},
|
|
132
160
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
133
161
|
},
|
|
162
|
+
{
|
|
163
|
+
"caseId": "problem-invalid-75f244b0640d4bd7",
|
|
164
|
+
"coveredRuleIds": ["problem:#/properties/details:required:permittedLoss"],
|
|
165
|
+
"schemaId": "urn:gala:schema:problem:2.0.0",
|
|
166
|
+
"schemaPointer": "#/properties/details",
|
|
167
|
+
"keyword": "required",
|
|
168
|
+
"instance": {
|
|
169
|
+
"previousPageCount": 0,
|
|
170
|
+
"candidatePageCount": 0,
|
|
171
|
+
"lostPageCount": 0
|
|
172
|
+
},
|
|
173
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
174
|
+
},
|
|
134
175
|
{
|
|
135
176
|
"caseId": "problem-invalid-80b48ab63f464c95",
|
|
136
177
|
"coveredRuleIds": ["problem:#:required:type"],
|
|
@@ -169,6 +210,21 @@
|
|
|
169
210
|
},
|
|
170
211
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
171
212
|
},
|
|
213
|
+
{
|
|
214
|
+
"caseId": "problem-invalid-bd1fceb907f8bd21",
|
|
215
|
+
"coveredRuleIds": [
|
|
216
|
+
"problem:#/properties/details:required:candidatePageCount"
|
|
217
|
+
],
|
|
218
|
+
"schemaId": "urn:gala:schema:problem:2.0.0",
|
|
219
|
+
"schemaPointer": "#/properties/details",
|
|
220
|
+
"keyword": "required",
|
|
221
|
+
"instance": {
|
|
222
|
+
"previousPageCount": 0,
|
|
223
|
+
"lostPageCount": 0,
|
|
224
|
+
"permittedLoss": 0
|
|
225
|
+
},
|
|
226
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
227
|
+
},
|
|
172
228
|
{
|
|
173
229
|
"caseId": "problem-invalid-d404ce019bec5df5",
|
|
174
230
|
"coveredRuleIds": ["problem:#:required:schemaVersion"],
|
|
@@ -1,4 +1,13 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"caseId": "problem-invalid-1e1f1520799c5463",
|
|
4
|
+
"coveredRuleIds": ["problem:#/properties/details:type"],
|
|
5
|
+
"schemaId": "urn:gala:schema:problem:2.0.0",
|
|
6
|
+
"schemaPointer": "#/properties/details",
|
|
7
|
+
"keyword": "type",
|
|
8
|
+
"instance": [],
|
|
9
|
+
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
10
|
+
},
|
|
2
11
|
{
|
|
3
12
|
"caseId": "problem-invalid-23027d916def10f0",
|
|
4
13
|
"coveredRuleIds": ["problem:#/$defs/problemUrn:type"],
|
|
@@ -8,6 +17,17 @@
|
|
|
8
17
|
"instance": null,
|
|
9
18
|
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
10
19
|
},
|
|
20
|
+
{
|
|
21
|
+
"caseId": "problem-invalid-275fc58bfb59b27d",
|
|
22
|
+
"coveredRuleIds": [
|
|
23
|
+
"problem:#/properties/details/properties/permittedLoss:type"
|
|
24
|
+
],
|
|
25
|
+
"schemaId": "urn:gala:schema:problem:2.0.0",
|
|
26
|
+
"schemaPointer": "#/properties/details/properties/permittedLoss",
|
|
27
|
+
"keyword": "type",
|
|
28
|
+
"instance": null,
|
|
29
|
+
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
30
|
+
},
|
|
11
31
|
{
|
|
12
32
|
"caseId": "problem-invalid-361b444f240195c2",
|
|
13
33
|
"coveredRuleIds": ["problem:#/$defs/fieldError/properties/reason:type"],
|
|
@@ -46,6 +66,17 @@
|
|
|
46
66
|
"instance": null,
|
|
47
67
|
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
48
68
|
},
|
|
69
|
+
{
|
|
70
|
+
"caseId": "problem-invalid-7433a30849eaf46e",
|
|
71
|
+
"coveredRuleIds": [
|
|
72
|
+
"problem:#/properties/details/properties/previousPageCount:type"
|
|
73
|
+
],
|
|
74
|
+
"schemaId": "urn:gala:schema:problem:2.0.0",
|
|
75
|
+
"schemaPointer": "#/properties/details/properties/previousPageCount",
|
|
76
|
+
"keyword": "type",
|
|
77
|
+
"instance": null,
|
|
78
|
+
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
79
|
+
},
|
|
49
80
|
{
|
|
50
81
|
"caseId": "problem-invalid-796ec151ec3ffeaa",
|
|
51
82
|
"coveredRuleIds": ["problem:#/properties/errors:type"],
|
|
@@ -64,6 +95,17 @@
|
|
|
64
95
|
"instance": [],
|
|
65
96
|
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
66
97
|
},
|
|
98
|
+
{
|
|
99
|
+
"caseId": "problem-invalid-9c09cd356db995c2",
|
|
100
|
+
"coveredRuleIds": [
|
|
101
|
+
"problem:#/properties/details/properties/lostPageCount:type"
|
|
102
|
+
],
|
|
103
|
+
"schemaId": "urn:gala:schema:problem:2.0.0",
|
|
104
|
+
"schemaPointer": "#/properties/details/properties/lostPageCount",
|
|
105
|
+
"keyword": "type",
|
|
106
|
+
"instance": null,
|
|
107
|
+
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
108
|
+
},
|
|
67
109
|
{
|
|
68
110
|
"caseId": "problem-invalid-a83365ffc13af279",
|
|
69
111
|
"coveredRuleIds": ["problem:#/$defs/problemHttpsType:type"],
|
|
@@ -100,6 +142,17 @@
|
|
|
100
142
|
"instance": null,
|
|
101
143
|
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
102
144
|
},
|
|
145
|
+
{
|
|
146
|
+
"caseId": "problem-invalid-d16d6da16eede20e",
|
|
147
|
+
"coveredRuleIds": [
|
|
148
|
+
"problem:#/properties/details/properties/candidatePageCount:type"
|
|
149
|
+
],
|
|
150
|
+
"schemaId": "urn:gala:schema:problem:2.0.0",
|
|
151
|
+
"schemaPointer": "#/properties/details/properties/candidatePageCount",
|
|
152
|
+
"keyword": "type",
|
|
153
|
+
"instance": null,
|
|
154
|
+
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
155
|
+
},
|
|
103
156
|
{
|
|
104
157
|
"caseId": "problem-invalid-e284b666a1f5cb9a",
|
|
105
158
|
"coveredRuleIds": ["problem:#/$defs/fieldError/properties/pointer:type"],
|
|
@@ -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": [
|