@rathnasgala2/schemas 3.7.0 → 3.9.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 +857 -10
- package/docs/catalogs/schema-inventory.json +11 -11
- package/examples/valid/build-input/rules.json +24 -2
- package/examples/valid/problem/rules.json +35 -0
- package/examples/valid/template-composition/rules.json +769 -0
- package/examples/valid/theme-contract/rules.json +1107 -5
- package/fixtures/boundary/build-input/rules.json +24 -2
- package/fixtures/boundary/problem/rules.json +83 -0
- package/fixtures/boundary/template-composition/rules.json +769 -0
- package/fixtures/boundary/theme-contract/rules.json +1107 -5
- package/fixtures/invalid/build-input/SCHEMA_PATTERN_INVALID/cases.json +22 -11
- package/fixtures/invalid/build-input/SCHEMA_TYPE_INVALID/cases.json +22 -0
- package/fixtures/invalid/build-input/SCHEMA_UNION_INVALID/cases.json +11 -0
- package/fixtures/invalid/problem/SCHEMA_ARRAY_TOO_LONG/cases.json +13 -0
- package/fixtures/invalid/problem/SCHEMA_ENUM_INVALID/cases.json +11 -0
- package/fixtures/invalid/problem/SCHEMA_STRING_TOO_LONG/cases.json +11 -0
- package/fixtures/invalid/problem/SCHEMA_STRING_TOO_SHORT/cases.json +11 -0
- package/fixtures/invalid/problem/SCHEMA_TYPE_INVALID/cases.json +29 -0
- package/fixtures/invalid/template-composition/SCHEMA_CONSTANT_INVALID/cases.json +497 -0
- package/fixtures/invalid/template-composition/SCHEMA_ENUM_INVALID/cases.json +83 -0
- package/fixtures/invalid/template-composition/SCHEMA_NEGATED_RULE_MATCHED/cases.json +11 -0
- package/fixtures/invalid/template-composition/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +909 -0
- package/fixtures/invalid/template-composition/SCHEMA_UNION_INVALID/cases.json +20 -0
- package/fixtures/invalid/theme-contract/REQUEST_FIELD_UNKNOWN/cases.json +120 -0
- package/fixtures/invalid/theme-contract/SCHEMA_CONSTANT_INVALID/cases.json +680 -0
- package/fixtures/invalid/theme-contract/SCHEMA_NEGATED_RULE_MATCHED/cases.json +11 -0
- package/fixtures/invalid/theme-contract/SCHEMA_PATTERN_INVALID/cases.json +33 -9
- package/fixtures/invalid/theme-contract/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +1383 -3
- package/fixtures/invalid/theme-contract/SCHEMA_TYPE_INVALID/cases.json +77 -0
- package/fixtures/invalid/theme-contract/SCHEMA_UNION_INVALID/cases.json +18 -0
- package/fixtures/invalid/theme-contract/SCHEMA_VERSION_UNSUPPORTED/cases.json +110 -0
- package/fixtures/manifest.json +7570 -1065
- package/fixtures/s2/manifest.json +1 -1
- package/fixtures/unknown-field/build-input/rules.json +5 -1
- package/fixtures/unknown-field/problem/rules.json +8 -0
- package/fixtures/unknown-field/template-composition/rules.json +111 -0
- package/fixtures/unknown-field/theme-contract/rules.json +276 -1
- package/generated/browser/validator-core.mjs +3 -3
- package/generated/typescript/contracts/artifact-manifest.d.ts +4 -2
- package/generated/typescript/contracts/build-input.d.ts +3 -2
- package/generated/typescript/contracts/build-provenance.d.ts +4 -2
- package/generated/typescript/contracts/deployment-intent.d.ts +1 -0
- package/generated/typescript/contracts/deployment-receipt.d.ts +1 -0
- package/generated/typescript/contracts/lock.d.ts +2 -1
- package/generated/typescript/contracts/problem.d.ts +9 -0
- package/generated/typescript/contracts/template-composition.d.ts +75 -4
- package/generated/typescript/contracts/theme-contract.d.ts +75 -2
- package/openapi/http-catalog.json +2 -2
- package/openapi/openapi.yaml +82 -11
- package/package.json +1 -1
- package/sbom.cdx.json +23 -23
- package/schemas/artifact-manifest.schema.json +4 -2
- package/schemas/build-input.schema.json +12 -2
- package/schemas/build-provenance.schema.json +4 -2
- package/schemas/deployment-intent.schema.json +1 -0
- package/schemas/deployment-receipt.schema.json +1 -0
- package/schemas/lock.schema.json +2 -1
- package/schemas/problem.schema.json +21 -1
- package/schemas/template-composition.schema.json +179 -2
- package/schemas/theme-contract.schema.json +282 -1
|
@@ -0,0 +1,497 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"caseId": "template-composition-invalid-0044cdac3d350161",
|
|
4
|
+
"coveredRuleIds": [
|
|
5
|
+
"template-composition:#/oneOf/5/properties/homeLayout:const"
|
|
6
|
+
],
|
|
7
|
+
"schemaId": "urn:gala:schema:template-composition:2.0.0",
|
|
8
|
+
"schemaPointer": "#/oneOf/5/properties/homeLayout",
|
|
9
|
+
"keyword": "const",
|
|
10
|
+
"instance": "topic-index-invalid",
|
|
11
|
+
"expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"caseId": "template-composition-invalid-0751a8115e73f497",
|
|
15
|
+
"coveredRuleIds": [
|
|
16
|
+
"template-composition:#/oneOf/5/properties/density:const"
|
|
17
|
+
],
|
|
18
|
+
"schemaId": "urn:gala:schema:template-composition:2.0.0",
|
|
19
|
+
"schemaPointer": "#/oneOf/5/properties/density",
|
|
20
|
+
"keyword": "const",
|
|
21
|
+
"instance": "compact-invalid",
|
|
22
|
+
"expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"caseId": "template-composition-invalid-1180bb1f72b5c53b",
|
|
26
|
+
"coveredRuleIds": [
|
|
27
|
+
"template-composition:#/oneOf/4/properties/headerLayout:const"
|
|
28
|
+
],
|
|
29
|
+
"schemaId": "urn:gala:schema:template-composition:2.0.0",
|
|
30
|
+
"schemaPointer": "#/oneOf/4/properties/headerLayout",
|
|
31
|
+
"keyword": "const",
|
|
32
|
+
"instance": "compact-invalid",
|
|
33
|
+
"expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"caseId": "template-composition-invalid-152444390fd6abd7",
|
|
37
|
+
"coveredRuleIds": [
|
|
38
|
+
"template-composition:#/oneOf/1/properties/profile:const"
|
|
39
|
+
],
|
|
40
|
+
"schemaId": "urn:gala:schema:template-composition:2.0.0",
|
|
41
|
+
"schemaPointer": "#/oneOf/1/properties/profile",
|
|
42
|
+
"keyword": "const",
|
|
43
|
+
"instance": "editorial-invalid",
|
|
44
|
+
"expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"caseId": "template-composition-invalid-22764f4dd34af7ac",
|
|
48
|
+
"coveredRuleIds": [
|
|
49
|
+
"template-composition:#/oneOf/4/properties/profile:const"
|
|
50
|
+
],
|
|
51
|
+
"schemaId": "urn:gala:schema:template-composition:2.0.0",
|
|
52
|
+
"schemaPointer": "#/oneOf/4/properties/profile",
|
|
53
|
+
"keyword": "const",
|
|
54
|
+
"instance": "personal-invalid",
|
|
55
|
+
"expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"caseId": "template-composition-invalid-2b02fb705757b193",
|
|
59
|
+
"coveredRuleIds": [
|
|
60
|
+
"template-composition:#/oneOf/2/properties/profile:const"
|
|
61
|
+
],
|
|
62
|
+
"schemaId": "urn:gala:schema:template-composition:2.0.0",
|
|
63
|
+
"schemaPointer": "#/oneOf/2/properties/profile",
|
|
64
|
+
"keyword": "const",
|
|
65
|
+
"instance": "newsletter-invalid",
|
|
66
|
+
"expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"caseId": "template-composition-invalid-2b15ba0ad4eb2f91",
|
|
70
|
+
"coveredRuleIds": [
|
|
71
|
+
"template-composition:#/oneOf/4/properties/mediaRatio:const"
|
|
72
|
+
],
|
|
73
|
+
"schemaId": "urn:gala:schema:template-composition:2.0.0",
|
|
74
|
+
"schemaPointer": "#/oneOf/4/properties/mediaRatio",
|
|
75
|
+
"keyword": "const",
|
|
76
|
+
"instance": "landscape-invalid",
|
|
77
|
+
"expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"caseId": "template-composition-invalid-2ee3833a994bceae",
|
|
81
|
+
"coveredRuleIds": [
|
|
82
|
+
"template-composition:#/oneOf/4/properties/footerLayout:const"
|
|
83
|
+
],
|
|
84
|
+
"schemaId": "urn:gala:schema:template-composition:2.0.0",
|
|
85
|
+
"schemaPointer": "#/oneOf/4/properties/footerLayout",
|
|
86
|
+
"keyword": "const",
|
|
87
|
+
"instance": "compact-invalid",
|
|
88
|
+
"expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"caseId": "template-composition-invalid-309607fcb8166ec2",
|
|
92
|
+
"coveredRuleIds": [
|
|
93
|
+
"template-composition:#/oneOf/1/properties/listingLayout:const"
|
|
94
|
+
],
|
|
95
|
+
"schemaId": "urn:gala:schema:template-composition:2.0.0",
|
|
96
|
+
"schemaPointer": "#/oneOf/1/properties/listingLayout",
|
|
97
|
+
"keyword": "const",
|
|
98
|
+
"instance": "rows-invalid",
|
|
99
|
+
"expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"caseId": "template-composition-invalid-35644bb7d0bdfc86",
|
|
103
|
+
"coveredRuleIds": [
|
|
104
|
+
"template-composition:#/oneOf/4/properties/density:const"
|
|
105
|
+
],
|
|
106
|
+
"schemaId": "urn:gala:schema:template-composition:2.0.0",
|
|
107
|
+
"schemaPointer": "#/oneOf/4/properties/density",
|
|
108
|
+
"keyword": "const",
|
|
109
|
+
"instance": "spacious-invalid",
|
|
110
|
+
"expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"caseId": "template-composition-invalid-37c01ebe9c21d980",
|
|
114
|
+
"coveredRuleIds": [
|
|
115
|
+
"template-composition:#/oneOf/2/properties/footerLayout:const"
|
|
116
|
+
],
|
|
117
|
+
"schemaId": "urn:gala:schema:template-composition:2.0.0",
|
|
118
|
+
"schemaPointer": "#/oneOf/2/properties/footerLayout",
|
|
119
|
+
"keyword": "const",
|
|
120
|
+
"instance": "expanded-invalid",
|
|
121
|
+
"expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"caseId": "template-composition-invalid-3898c37d08e535d1",
|
|
125
|
+
"coveredRuleIds": [
|
|
126
|
+
"template-composition:#/oneOf/1/properties/headerLayout:const"
|
|
127
|
+
],
|
|
128
|
+
"schemaId": "urn:gala:schema:template-composition:2.0.0",
|
|
129
|
+
"schemaPointer": "#/oneOf/1/properties/headerLayout",
|
|
130
|
+
"keyword": "const",
|
|
131
|
+
"instance": "masthead-invalid",
|
|
132
|
+
"expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"caseId": "template-composition-invalid-3c9fd462aa543618",
|
|
136
|
+
"coveredRuleIds": [
|
|
137
|
+
"template-composition:#/oneOf/1/properties/authorLayout:const"
|
|
138
|
+
],
|
|
139
|
+
"schemaId": "urn:gala:schema:template-composition:2.0.0",
|
|
140
|
+
"schemaPointer": "#/oneOf/1/properties/authorLayout",
|
|
141
|
+
"keyword": "const",
|
|
142
|
+
"instance": "portrait-invalid",
|
|
143
|
+
"expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"caseId": "template-composition-invalid-3d2a3514c82669c2",
|
|
147
|
+
"coveredRuleIds": [
|
|
148
|
+
"template-composition:#/oneOf/5/properties/headerLayout:const"
|
|
149
|
+
],
|
|
150
|
+
"schemaId": "urn:gala:schema:template-composition:2.0.0",
|
|
151
|
+
"schemaPointer": "#/oneOf/5/properties/headerLayout",
|
|
152
|
+
"keyword": "const",
|
|
153
|
+
"instance": "utility-invalid",
|
|
154
|
+
"expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"caseId": "template-composition-invalid-42f4362c64d4e2a0",
|
|
158
|
+
"coveredRuleIds": [
|
|
159
|
+
"template-composition:#/oneOf/3/properties/listingLayout:const"
|
|
160
|
+
],
|
|
161
|
+
"schemaId": "urn:gala:schema:template-composition:2.0.0",
|
|
162
|
+
"schemaPointer": "#/oneOf/3/properties/listingLayout",
|
|
163
|
+
"keyword": "const",
|
|
164
|
+
"instance": "image-grid-invalid",
|
|
165
|
+
"expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"caseId": "template-composition-invalid-498eec2afbf4f5b5",
|
|
169
|
+
"coveredRuleIds": [
|
|
170
|
+
"template-composition:#/oneOf/1/properties/mediaRatio:const"
|
|
171
|
+
],
|
|
172
|
+
"schemaId": "urn:gala:schema:template-composition:2.0.0",
|
|
173
|
+
"schemaPointer": "#/oneOf/1/properties/mediaRatio",
|
|
174
|
+
"keyword": "const",
|
|
175
|
+
"instance": "landscape-invalid",
|
|
176
|
+
"expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"caseId": "template-composition-invalid-50a0c2c03472b4bf",
|
|
180
|
+
"coveredRuleIds": [
|
|
181
|
+
"template-composition:#/oneOf/2/properties/authorLayout:const"
|
|
182
|
+
],
|
|
183
|
+
"schemaId": "urn:gala:schema:template-composition:2.0.0",
|
|
184
|
+
"schemaPointer": "#/oneOf/2/properties/authorLayout",
|
|
185
|
+
"keyword": "const",
|
|
186
|
+
"instance": "profile-invalid",
|
|
187
|
+
"expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"caseId": "template-composition-invalid-5e2b1de18655dae4",
|
|
191
|
+
"coveredRuleIds": [
|
|
192
|
+
"template-composition:#/oneOf/4/properties/authorLayout:const"
|
|
193
|
+
],
|
|
194
|
+
"schemaId": "urn:gala:schema:template-composition:2.0.0",
|
|
195
|
+
"schemaPointer": "#/oneOf/4/properties/authorLayout",
|
|
196
|
+
"keyword": "const",
|
|
197
|
+
"instance": "biography-invalid",
|
|
198
|
+
"expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"caseId": "template-composition-invalid-6119772be3294e46",
|
|
202
|
+
"coveredRuleIds": [
|
|
203
|
+
"template-composition:#/oneOf/3/properties/authorLayout:const"
|
|
204
|
+
],
|
|
205
|
+
"schemaId": "urn:gala:schema:template-composition:2.0.0",
|
|
206
|
+
"schemaPointer": "#/oneOf/3/properties/authorLayout",
|
|
207
|
+
"keyword": "const",
|
|
208
|
+
"instance": "portfolio-invalid",
|
|
209
|
+
"expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"caseId": "template-composition-invalid-67cb1a21f1a55d84",
|
|
213
|
+
"coveredRuleIds": [
|
|
214
|
+
"template-composition:#/oneOf/1/properties/homeLayout:const"
|
|
215
|
+
],
|
|
216
|
+
"schemaId": "urn:gala:schema:template-composition:2.0.0",
|
|
217
|
+
"schemaPointer": "#/oneOf/1/properties/homeLayout",
|
|
218
|
+
"keyword": "const",
|
|
219
|
+
"instance": "magazine-invalid",
|
|
220
|
+
"expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"caseId": "template-composition-invalid-70b8de8704eb315a",
|
|
224
|
+
"coveredRuleIds": [
|
|
225
|
+
"template-composition:#/oneOf/4/properties/homeLayout:const"
|
|
226
|
+
],
|
|
227
|
+
"schemaId": "urn:gala:schema:template-composition:2.0.0",
|
|
228
|
+
"schemaPointer": "#/oneOf/4/properties/homeLayout",
|
|
229
|
+
"keyword": "const",
|
|
230
|
+
"instance": "chronological-invalid",
|
|
231
|
+
"expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
"caseId": "template-composition-invalid-71925af94dddcdcd",
|
|
235
|
+
"coveredRuleIds": [
|
|
236
|
+
"template-composition:#/oneOf/3/properties/homeLayout:const"
|
|
237
|
+
],
|
|
238
|
+
"schemaId": "urn:gala:schema:template-composition:2.0.0",
|
|
239
|
+
"schemaPointer": "#/oneOf/3/properties/homeLayout",
|
|
240
|
+
"keyword": "const",
|
|
241
|
+
"instance": "gallery-invalid",
|
|
242
|
+
"expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"caseId": "template-composition-invalid-81f82408eb22c7fe",
|
|
246
|
+
"coveredRuleIds": [
|
|
247
|
+
"template-composition:#/oneOf/5/properties/footerLayout:const"
|
|
248
|
+
],
|
|
249
|
+
"schemaId": "urn:gala:schema:template-composition:2.0.0",
|
|
250
|
+
"schemaPointer": "#/oneOf/5/properties/footerLayout",
|
|
251
|
+
"keyword": "const",
|
|
252
|
+
"instance": "compact-invalid",
|
|
253
|
+
"expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"caseId": "template-composition-invalid-8488793901b222e8",
|
|
257
|
+
"coveredRuleIds": [
|
|
258
|
+
"template-composition:#/oneOf/3/properties/footerLayout:const"
|
|
259
|
+
],
|
|
260
|
+
"schemaId": "urn:gala:schema:template-composition:2.0.0",
|
|
261
|
+
"schemaPointer": "#/oneOf/3/properties/footerLayout",
|
|
262
|
+
"keyword": "const",
|
|
263
|
+
"instance": "compact-invalid",
|
|
264
|
+
"expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"caseId": "template-composition-invalid-889775c0a966ee6d",
|
|
268
|
+
"coveredRuleIds": [
|
|
269
|
+
"template-composition:#/oneOf/4/properties/listingLayout:const"
|
|
270
|
+
],
|
|
271
|
+
"schemaId": "urn:gala:schema:template-composition:2.0.0",
|
|
272
|
+
"schemaPointer": "#/oneOf/4/properties/listingLayout",
|
|
273
|
+
"keyword": "const",
|
|
274
|
+
"instance": "dated-rows-invalid",
|
|
275
|
+
"expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"caseId": "template-composition-invalid-908fd05627a8cd25",
|
|
279
|
+
"coveredRuleIds": [
|
|
280
|
+
"template-composition:#/oneOf/2/properties/articleLayout:const"
|
|
281
|
+
],
|
|
282
|
+
"schemaId": "urn:gala:schema:template-composition:2.0.0",
|
|
283
|
+
"schemaPointer": "#/oneOf/2/properties/articleLayout",
|
|
284
|
+
"keyword": "const",
|
|
285
|
+
"instance": "issue-invalid",
|
|
286
|
+
"expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"caseId": "template-composition-invalid-921c33e2a7430df1",
|
|
290
|
+
"coveredRuleIds": [
|
|
291
|
+
"template-composition:#/oneOf/2/properties/mediaRatio:const"
|
|
292
|
+
],
|
|
293
|
+
"schemaId": "urn:gala:schema:template-composition:2.0.0",
|
|
294
|
+
"schemaPointer": "#/oneOf/2/properties/mediaRatio",
|
|
295
|
+
"keyword": "const",
|
|
296
|
+
"instance": "landscape-invalid",
|
|
297
|
+
"expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
"caseId": "template-composition-invalid-990d5a51e8c61da1",
|
|
301
|
+
"coveredRuleIds": [
|
|
302
|
+
"template-composition:#/oneOf/5/properties/articleLayout:const"
|
|
303
|
+
],
|
|
304
|
+
"schemaId": "urn:gala:schema:template-composition:2.0.0",
|
|
305
|
+
"schemaPointer": "#/oneOf/5/properties/articleLayout",
|
|
306
|
+
"keyword": "const",
|
|
307
|
+
"instance": "technical-invalid",
|
|
308
|
+
"expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
"caseId": "template-composition-invalid-9b5ba8e6354c9436",
|
|
312
|
+
"coveredRuleIds": [
|
|
313
|
+
"template-composition:#/oneOf/3/properties/profile:const"
|
|
314
|
+
],
|
|
315
|
+
"schemaId": "urn:gala:schema:template-composition:2.0.0",
|
|
316
|
+
"schemaPointer": "#/oneOf/3/properties/profile",
|
|
317
|
+
"keyword": "const",
|
|
318
|
+
"instance": "visual-invalid",
|
|
319
|
+
"expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
"caseId": "template-composition-invalid-9e53b26d90eddaeb",
|
|
323
|
+
"coveredRuleIds": [
|
|
324
|
+
"template-composition:#/oneOf/5/properties/profile:const"
|
|
325
|
+
],
|
|
326
|
+
"schemaId": "urn:gala:schema:template-composition:2.0.0",
|
|
327
|
+
"schemaPointer": "#/oneOf/5/properties/profile",
|
|
328
|
+
"keyword": "const",
|
|
329
|
+
"instance": "developer-invalid",
|
|
330
|
+
"expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
"caseId": "template-composition-invalid-a49280c88dac51da",
|
|
334
|
+
"coveredRuleIds": [
|
|
335
|
+
"template-composition:#/oneOf/2/properties/headerLayout:const"
|
|
336
|
+
],
|
|
337
|
+
"schemaId": "urn:gala:schema:template-composition:2.0.0",
|
|
338
|
+
"schemaPointer": "#/oneOf/2/properties/headerLayout",
|
|
339
|
+
"keyword": "const",
|
|
340
|
+
"instance": "publication-invalid",
|
|
341
|
+
"expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
"caseId": "template-composition-invalid-aecbc35cdcf4ccac",
|
|
345
|
+
"coveredRuleIds": [
|
|
346
|
+
"template-composition:#/oneOf/3/properties/headerLayout:const"
|
|
347
|
+
],
|
|
348
|
+
"schemaId": "urn:gala:schema:template-composition:2.0.0",
|
|
349
|
+
"schemaPointer": "#/oneOf/3/properties/headerLayout",
|
|
350
|
+
"keyword": "const",
|
|
351
|
+
"instance": "minimal-invalid",
|
|
352
|
+
"expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
"caseId": "template-composition-invalid-be1313570e2dccdb",
|
|
356
|
+
"coveredRuleIds": [
|
|
357
|
+
"template-composition:#/oneOf/5/properties/listingLayout:const"
|
|
358
|
+
],
|
|
359
|
+
"schemaId": "urn:gala:schema:template-composition:2.0.0",
|
|
360
|
+
"schemaPointer": "#/oneOf/5/properties/listingLayout",
|
|
361
|
+
"keyword": "const",
|
|
362
|
+
"instance": "rows-invalid",
|
|
363
|
+
"expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
"caseId": "template-composition-invalid-c463bfe08abab4ba",
|
|
367
|
+
"coveredRuleIds": [
|
|
368
|
+
"template-composition:#/oneOf/1/properties/density:const"
|
|
369
|
+
],
|
|
370
|
+
"schemaId": "urn:gala:schema:template-composition:2.0.0",
|
|
371
|
+
"schemaPointer": "#/oneOf/1/properties/density",
|
|
372
|
+
"keyword": "const",
|
|
373
|
+
"instance": "comfortable-invalid",
|
|
374
|
+
"expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
"caseId": "template-composition-invalid-d2ed9eed51d1a549",
|
|
378
|
+
"coveredRuleIds": [
|
|
379
|
+
"template-composition:#/oneOf/3/properties/mediaRatio:const"
|
|
380
|
+
],
|
|
381
|
+
"schemaId": "urn:gala:schema:template-composition:2.0.0",
|
|
382
|
+
"schemaPointer": "#/oneOf/3/properties/mediaRatio",
|
|
383
|
+
"keyword": "const",
|
|
384
|
+
"instance": "mixed-invalid",
|
|
385
|
+
"expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
"caseId": "template-composition-invalid-d3926d7c20f3ac04",
|
|
389
|
+
"coveredRuleIds": [
|
|
390
|
+
"template-composition:#/oneOf/3/properties/articleLayout:const"
|
|
391
|
+
],
|
|
392
|
+
"schemaId": "urn:gala:schema:template-composition:2.0.0",
|
|
393
|
+
"schemaPointer": "#/oneOf/3/properties/articleLayout",
|
|
394
|
+
"keyword": "const",
|
|
395
|
+
"instance": "full-bleed-invalid",
|
|
396
|
+
"expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
"caseId": "template-composition-invalid-dbedd5518d2e7024",
|
|
400
|
+
"coveredRuleIds": [
|
|
401
|
+
"template-composition:#/oneOf/2/properties/density:const"
|
|
402
|
+
],
|
|
403
|
+
"schemaId": "urn:gala:schema:template-composition:2.0.0",
|
|
404
|
+
"schemaPointer": "#/oneOf/2/properties/density",
|
|
405
|
+
"keyword": "const",
|
|
406
|
+
"instance": "comfortable-invalid",
|
|
407
|
+
"expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
"caseId": "template-composition-invalid-e8915cbd996629a7",
|
|
411
|
+
"coveredRuleIds": [
|
|
412
|
+
"template-composition:#/oneOf/3/properties/density:const"
|
|
413
|
+
],
|
|
414
|
+
"schemaId": "urn:gala:schema:template-composition:2.0.0",
|
|
415
|
+
"schemaPointer": "#/oneOf/3/properties/density",
|
|
416
|
+
"keyword": "const",
|
|
417
|
+
"instance": "comfortable-invalid",
|
|
418
|
+
"expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
"caseId": "template-composition-invalid-ebf5cefee27bf3b8",
|
|
422
|
+
"coveredRuleIds": [
|
|
423
|
+
"template-composition:#/oneOf/1/properties/footerLayout:const"
|
|
424
|
+
],
|
|
425
|
+
"schemaId": "urn:gala:schema:template-composition:2.0.0",
|
|
426
|
+
"schemaPointer": "#/oneOf/1/properties/footerLayout",
|
|
427
|
+
"keyword": "const",
|
|
428
|
+
"instance": "expanded-invalid",
|
|
429
|
+
"expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
"caseId": "template-composition-invalid-eefdba5866ac7438",
|
|
433
|
+
"coveredRuleIds": [
|
|
434
|
+
"template-composition:#/oneOf/1/properties/articleLayout:const"
|
|
435
|
+
],
|
|
436
|
+
"schemaId": "urn:gala:schema:template-composition:2.0.0",
|
|
437
|
+
"schemaPointer": "#/oneOf/1/properties/articleLayout",
|
|
438
|
+
"keyword": "const",
|
|
439
|
+
"instance": "editorial-invalid",
|
|
440
|
+
"expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
|
|
441
|
+
},
|
|
442
|
+
{
|
|
443
|
+
"caseId": "template-composition-invalid-f367242fe3292075",
|
|
444
|
+
"coveredRuleIds": [
|
|
445
|
+
"template-composition:#/oneOf/5/properties/mediaRatio:const"
|
|
446
|
+
],
|
|
447
|
+
"schemaId": "urn:gala:schema:template-composition:2.0.0",
|
|
448
|
+
"schemaPointer": "#/oneOf/5/properties/mediaRatio",
|
|
449
|
+
"keyword": "const",
|
|
450
|
+
"instance": "landscape-invalid",
|
|
451
|
+
"expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
"caseId": "template-composition-invalid-f4930be4a7d4c005",
|
|
455
|
+
"coveredRuleIds": [
|
|
456
|
+
"template-composition:#/oneOf/2/properties/listingLayout:const"
|
|
457
|
+
],
|
|
458
|
+
"schemaId": "urn:gala:schema:template-composition:2.0.0",
|
|
459
|
+
"schemaPointer": "#/oneOf/2/properties/listingLayout",
|
|
460
|
+
"keyword": "const",
|
|
461
|
+
"instance": "issues-invalid",
|
|
462
|
+
"expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
|
|
463
|
+
},
|
|
464
|
+
{
|
|
465
|
+
"caseId": "template-composition-invalid-f78d480a5bacea33",
|
|
466
|
+
"coveredRuleIds": [
|
|
467
|
+
"template-composition:#/oneOf/5/properties/authorLayout:const"
|
|
468
|
+
],
|
|
469
|
+
"schemaId": "urn:gala:schema:template-composition:2.0.0",
|
|
470
|
+
"schemaPointer": "#/oneOf/5/properties/authorLayout",
|
|
471
|
+
"keyword": "const",
|
|
472
|
+
"instance": "biography-invalid",
|
|
473
|
+
"expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
|
|
474
|
+
},
|
|
475
|
+
{
|
|
476
|
+
"caseId": "template-composition-invalid-f965c2167957ad90",
|
|
477
|
+
"coveredRuleIds": [
|
|
478
|
+
"template-composition:#/oneOf/4/properties/articleLayout:const"
|
|
479
|
+
],
|
|
480
|
+
"schemaId": "urn:gala:schema:template-composition:2.0.0",
|
|
481
|
+
"schemaPointer": "#/oneOf/4/properties/articleLayout",
|
|
482
|
+
"keyword": "const",
|
|
483
|
+
"instance": "prose-invalid",
|
|
484
|
+
"expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
|
|
485
|
+
},
|
|
486
|
+
{
|
|
487
|
+
"caseId": "template-composition-invalid-fbb80d4dab0401b6",
|
|
488
|
+
"coveredRuleIds": [
|
|
489
|
+
"template-composition:#/oneOf/2/properties/homeLayout:const"
|
|
490
|
+
],
|
|
491
|
+
"schemaId": "urn:gala:schema:template-composition:2.0.0",
|
|
492
|
+
"schemaPointer": "#/oneOf/2/properties/homeLayout",
|
|
493
|
+
"keyword": "const",
|
|
494
|
+
"instance": "newspaper-invalid",
|
|
495
|
+
"expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
|
|
496
|
+
}
|
|
497
|
+
]
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"caseId": "template-composition-invalid-0d23d85eec66d590",
|
|
4
|
+
"coveredRuleIds": ["template-composition:#/properties/headerLayout:enum"],
|
|
5
|
+
"schemaId": "urn:gala:schema:template-composition:2.0.0",
|
|
6
|
+
"schemaPointer": "#/properties/headerLayout",
|
|
7
|
+
"keyword": "enum",
|
|
8
|
+
"instance": "__invalid_enum__",
|
|
9
|
+
"expectedCodes": ["SCHEMA_ENUM_INVALID"]
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"caseId": "template-composition-invalid-0dd50d0c278813b9",
|
|
13
|
+
"coveredRuleIds": ["template-composition:#/properties/listingLayout:enum"],
|
|
14
|
+
"schemaId": "urn:gala:schema:template-composition:2.0.0",
|
|
15
|
+
"schemaPointer": "#/properties/listingLayout",
|
|
16
|
+
"keyword": "enum",
|
|
17
|
+
"instance": "__invalid_enum__",
|
|
18
|
+
"expectedCodes": ["SCHEMA_ENUM_INVALID"]
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"caseId": "template-composition-invalid-218c23108b1d7da6",
|
|
22
|
+
"coveredRuleIds": ["template-composition:#/properties/density:enum"],
|
|
23
|
+
"schemaId": "urn:gala:schema:template-composition:2.0.0",
|
|
24
|
+
"schemaPointer": "#/properties/density",
|
|
25
|
+
"keyword": "enum",
|
|
26
|
+
"instance": "__invalid_enum__",
|
|
27
|
+
"expectedCodes": ["SCHEMA_ENUM_INVALID"]
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"caseId": "template-composition-invalid-4c8eaf198e46a263",
|
|
31
|
+
"coveredRuleIds": ["template-composition:#/properties/articleLayout:enum"],
|
|
32
|
+
"schemaId": "urn:gala:schema:template-composition:2.0.0",
|
|
33
|
+
"schemaPointer": "#/properties/articleLayout",
|
|
34
|
+
"keyword": "enum",
|
|
35
|
+
"instance": "__invalid_enum__",
|
|
36
|
+
"expectedCodes": ["SCHEMA_ENUM_INVALID"]
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"caseId": "template-composition-invalid-621cfeb4c04e94f7",
|
|
40
|
+
"coveredRuleIds": ["template-composition:#/properties/mediaRatio:enum"],
|
|
41
|
+
"schemaId": "urn:gala:schema:template-composition:2.0.0",
|
|
42
|
+
"schemaPointer": "#/properties/mediaRatio",
|
|
43
|
+
"keyword": "enum",
|
|
44
|
+
"instance": "__invalid_enum__",
|
|
45
|
+
"expectedCodes": ["SCHEMA_ENUM_INVALID"]
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"caseId": "template-composition-invalid-cbd6a27b8c00af52",
|
|
49
|
+
"coveredRuleIds": ["template-composition:#/properties/authorLayout:enum"],
|
|
50
|
+
"schemaId": "urn:gala:schema:template-composition:2.0.0",
|
|
51
|
+
"schemaPointer": "#/properties/authorLayout",
|
|
52
|
+
"keyword": "enum",
|
|
53
|
+
"instance": "__invalid_enum__",
|
|
54
|
+
"expectedCodes": ["SCHEMA_ENUM_INVALID"]
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"caseId": "template-composition-invalid-df499588c7a20fb2",
|
|
58
|
+
"coveredRuleIds": ["template-composition:#/properties/homeLayout:enum"],
|
|
59
|
+
"schemaId": "urn:gala:schema:template-composition:2.0.0",
|
|
60
|
+
"schemaPointer": "#/properties/homeLayout",
|
|
61
|
+
"keyword": "enum",
|
|
62
|
+
"instance": "__invalid_enum__",
|
|
63
|
+
"expectedCodes": ["SCHEMA_ENUM_INVALID"]
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"caseId": "template-composition-invalid-f777cadd5a61af84",
|
|
67
|
+
"coveredRuleIds": ["template-composition:#/properties/footerLayout:enum"],
|
|
68
|
+
"schemaId": "urn:gala:schema:template-composition:2.0.0",
|
|
69
|
+
"schemaPointer": "#/properties/footerLayout",
|
|
70
|
+
"keyword": "enum",
|
|
71
|
+
"instance": "__invalid_enum__",
|
|
72
|
+
"expectedCodes": ["SCHEMA_ENUM_INVALID"]
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"caseId": "template-composition-invalid-fa4ce52957a76232",
|
|
76
|
+
"coveredRuleIds": ["template-composition:#/properties/profile:enum"],
|
|
77
|
+
"schemaId": "urn:gala:schema:template-composition:2.0.0",
|
|
78
|
+
"schemaPointer": "#/properties/profile",
|
|
79
|
+
"keyword": "enum",
|
|
80
|
+
"instance": "__invalid_enum__",
|
|
81
|
+
"expectedCodes": ["SCHEMA_ENUM_INVALID"]
|
|
82
|
+
}
|
|
83
|
+
]
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"caseId": "template-composition-invalid-7221bd5232e572d2",
|
|
4
|
+
"coveredRuleIds": ["template-composition:#/oneOf/0:not"],
|
|
5
|
+
"schemaId": "urn:gala:schema:template-composition:2.0.0",
|
|
6
|
+
"schemaPointer": "#/oneOf/0",
|
|
7
|
+
"keyword": "not",
|
|
8
|
+
"instance": { "profile": null },
|
|
9
|
+
"expectedCodes": ["SCHEMA_NEGATED_RULE_MATCHED"]
|
|
10
|
+
}
|
|
11
|
+
]
|