@rathnasgala2/schemas 3.6.0 → 3.8.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.
Files changed (53) hide show
  1. package/THIRD_PARTY_LICENSES.json +1 -1
  2. package/diagnostics/diagnostic-map.json +845 -20
  3. package/docs/catalogs/app-components.json +1766 -2
  4. package/docs/catalogs/app-routes.json +598 -1
  5. package/docs/catalogs/schema-inventory.json +10 -10
  6. package/examples/valid/build-input/rules.json +24 -2
  7. package/examples/valid/template-composition/rules.json +769 -0
  8. package/examples/valid/theme-contract/rules.json +1107 -5
  9. package/fixtures/boundary/build-input/rules.json +24 -2
  10. package/fixtures/boundary/template-composition/rules.json +769 -0
  11. package/fixtures/boundary/theme-contract/rules.json +1107 -5
  12. package/fixtures/invalid/build-input/SCHEMA_PATTERN_INVALID/cases.json +22 -11
  13. package/fixtures/invalid/build-input/SCHEMA_TYPE_INVALID/cases.json +22 -0
  14. package/fixtures/invalid/build-input/SCHEMA_UNION_INVALID/cases.json +11 -0
  15. package/fixtures/invalid/template-composition/SCHEMA_CONSTANT_INVALID/cases.json +497 -0
  16. package/fixtures/invalid/template-composition/SCHEMA_ENUM_INVALID/cases.json +83 -0
  17. package/fixtures/invalid/template-composition/SCHEMA_NEGATED_RULE_MATCHED/cases.json +11 -0
  18. package/fixtures/invalid/template-composition/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +909 -0
  19. package/fixtures/invalid/template-composition/SCHEMA_UNION_INVALID/cases.json +20 -0
  20. package/fixtures/invalid/theme-contract/REQUEST_FIELD_UNKNOWN/cases.json +120 -0
  21. package/fixtures/invalid/theme-contract/SCHEMA_CONSTANT_INVALID/cases.json +680 -0
  22. package/fixtures/invalid/theme-contract/SCHEMA_NEGATED_RULE_MATCHED/cases.json +11 -0
  23. package/fixtures/invalid/theme-contract/SCHEMA_PATTERN_INVALID/cases.json +33 -9
  24. package/fixtures/invalid/theme-contract/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +1383 -3
  25. package/fixtures/invalid/theme-contract/SCHEMA_TYPE_INVALID/cases.json +77 -0
  26. package/fixtures/invalid/theme-contract/SCHEMA_UNION_INVALID/cases.json +18 -0
  27. package/fixtures/invalid/theme-contract/SCHEMA_VERSION_UNSUPPORTED/cases.json +110 -0
  28. package/fixtures/manifest.json +7414 -1089
  29. package/fixtures/s2/manifest.json +1 -1
  30. package/fixtures/unknown-field/build-input/rules.json +5 -1
  31. package/fixtures/unknown-field/template-composition/rules.json +111 -0
  32. package/fixtures/unknown-field/theme-contract/rules.json +276 -1
  33. package/generated/browser/validator-core.mjs +3 -3
  34. package/generated/typescript/contracts/artifact-manifest.d.ts +4 -2
  35. package/generated/typescript/contracts/build-input.d.ts +3 -2
  36. package/generated/typescript/contracts/build-provenance.d.ts +4 -2
  37. package/generated/typescript/contracts/deployment-intent.d.ts +1 -0
  38. package/generated/typescript/contracts/deployment-receipt.d.ts +1 -0
  39. package/generated/typescript/contracts/lock.d.ts +2 -1
  40. package/generated/typescript/contracts/template-composition.d.ts +75 -4
  41. package/generated/typescript/contracts/theme-contract.d.ts +75 -2
  42. package/openapi/http-catalog.json +170 -2
  43. package/openapi/openapi.yaml +2711 -145
  44. package/package.json +1 -1
  45. package/sbom.cdx.json +23 -23
  46. package/schemas/artifact-manifest.schema.json +4 -2
  47. package/schemas/build-input.schema.json +12 -2
  48. package/schemas/build-provenance.schema.json +4 -2
  49. package/schemas/deployment-intent.schema.json +1 -0
  50. package/schemas/deployment-receipt.schema.json +1 -0
  51. package/schemas/lock.schema.json +2 -1
  52. package/schemas/template-composition.schema.json +179 -2
  53. package/schemas/theme-contract.schema.json +282 -1
@@ -1,4 +1,574 @@
1
1
  [
2
+ {
3
+ "caseId": "template-composition-invalid-03d37317e81e627d",
4
+ "coveredRuleIds": ["template-composition:#/oneOf/3:required:profile"],
5
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
6
+ "schemaPointer": "#/oneOf/3",
7
+ "keyword": "required",
8
+ "instance": {
9
+ "homeLayout": "gallery",
10
+ "articleLayout": "full-bleed",
11
+ "authorLayout": "portfolio",
12
+ "listingLayout": "image-grid",
13
+ "headerLayout": "minimal",
14
+ "footerLayout": "compact",
15
+ "mediaRatio": "mixed",
16
+ "density": "comfortable"
17
+ },
18
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
19
+ },
20
+ {
21
+ "caseId": "template-composition-invalid-03f748dc8ba81277",
22
+ "coveredRuleIds": [
23
+ "template-composition:#/oneOf/0/not/anyOf/8:required:density"
24
+ ],
25
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
26
+ "schemaPointer": "#/oneOf/0/not/anyOf/8",
27
+ "keyword": "required",
28
+ "instance": {},
29
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
30
+ },
31
+ {
32
+ "caseId": "template-composition-invalid-074f25dc8ab39361",
33
+ "coveredRuleIds": ["template-composition:#/oneOf/3:required:mediaRatio"],
34
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
35
+ "schemaPointer": "#/oneOf/3",
36
+ "keyword": "required",
37
+ "instance": {
38
+ "profile": "visual",
39
+ "homeLayout": "gallery",
40
+ "articleLayout": "full-bleed",
41
+ "authorLayout": "portfolio",
42
+ "listingLayout": "image-grid",
43
+ "headerLayout": "minimal",
44
+ "footerLayout": "compact",
45
+ "density": "comfortable"
46
+ },
47
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
48
+ },
49
+ {
50
+ "caseId": "template-composition-invalid-09601f0e02dfb456",
51
+ "coveredRuleIds": ["template-composition:#/oneOf/5:required:listingLayout"],
52
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
53
+ "schemaPointer": "#/oneOf/5",
54
+ "keyword": "required",
55
+ "instance": {
56
+ "profile": "developer",
57
+ "homeLayout": "topic-index",
58
+ "articleLayout": "technical",
59
+ "authorLayout": "biography",
60
+ "headerLayout": "utility",
61
+ "footerLayout": "compact",
62
+ "mediaRatio": "landscape",
63
+ "density": "compact"
64
+ },
65
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
66
+ },
67
+ {
68
+ "caseId": "template-composition-invalid-0de0c8cfc4b8ec12",
69
+ "coveredRuleIds": ["template-composition:#/oneOf/5:required:headerLayout"],
70
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
71
+ "schemaPointer": "#/oneOf/5",
72
+ "keyword": "required",
73
+ "instance": {
74
+ "profile": "developer",
75
+ "homeLayout": "topic-index",
76
+ "articleLayout": "technical",
77
+ "authorLayout": "biography",
78
+ "listingLayout": "rows",
79
+ "footerLayout": "compact",
80
+ "mediaRatio": "landscape",
81
+ "density": "compact"
82
+ },
83
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
84
+ },
85
+ {
86
+ "caseId": "template-composition-invalid-0e5b7170d6dc7cee",
87
+ "coveredRuleIds": ["template-composition:#/oneOf/4:required:density"],
88
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
89
+ "schemaPointer": "#/oneOf/4",
90
+ "keyword": "required",
91
+ "instance": {
92
+ "profile": "personal",
93
+ "homeLayout": "chronological",
94
+ "articleLayout": "prose",
95
+ "authorLayout": "biography",
96
+ "listingLayout": "dated-rows",
97
+ "headerLayout": "compact",
98
+ "footerLayout": "compact",
99
+ "mediaRatio": "landscape"
100
+ },
101
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
102
+ },
103
+ {
104
+ "caseId": "template-composition-invalid-189b0919821574c0",
105
+ "coveredRuleIds": ["template-composition:#/oneOf/2:required:density"],
106
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
107
+ "schemaPointer": "#/oneOf/2",
108
+ "keyword": "required",
109
+ "instance": {
110
+ "profile": "newsletter",
111
+ "homeLayout": "newspaper",
112
+ "articleLayout": "issue",
113
+ "authorLayout": "profile",
114
+ "listingLayout": "issues",
115
+ "headerLayout": "publication",
116
+ "footerLayout": "expanded",
117
+ "mediaRatio": "landscape"
118
+ },
119
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
120
+ },
121
+ {
122
+ "caseId": "template-composition-invalid-1bd41478572651b9",
123
+ "coveredRuleIds": ["template-composition:#/oneOf/1:required:homeLayout"],
124
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
125
+ "schemaPointer": "#/oneOf/1",
126
+ "keyword": "required",
127
+ "instance": {
128
+ "profile": "editorial",
129
+ "articleLayout": "editorial",
130
+ "authorLayout": "portrait",
131
+ "listingLayout": "rows",
132
+ "headerLayout": "masthead",
133
+ "footerLayout": "expanded",
134
+ "mediaRatio": "landscape",
135
+ "density": "comfortable"
136
+ },
137
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
138
+ },
139
+ {
140
+ "caseId": "template-composition-invalid-1da8b7e5cc70f0c4",
141
+ "coveredRuleIds": ["template-composition:#/oneOf/4:required:headerLayout"],
142
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
143
+ "schemaPointer": "#/oneOf/4",
144
+ "keyword": "required",
145
+ "instance": {
146
+ "profile": "personal",
147
+ "homeLayout": "chronological",
148
+ "articleLayout": "prose",
149
+ "authorLayout": "biography",
150
+ "listingLayout": "dated-rows",
151
+ "footerLayout": "compact",
152
+ "mediaRatio": "landscape",
153
+ "density": "spacious"
154
+ },
155
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
156
+ },
157
+ {
158
+ "caseId": "template-composition-invalid-1e591a0cfd81f8de",
159
+ "coveredRuleIds": ["template-composition:#/oneOf/5:required:profile"],
160
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
161
+ "schemaPointer": "#/oneOf/5",
162
+ "keyword": "required",
163
+ "instance": {
164
+ "homeLayout": "topic-index",
165
+ "articleLayout": "technical",
166
+ "authorLayout": "biography",
167
+ "listingLayout": "rows",
168
+ "headerLayout": "utility",
169
+ "footerLayout": "compact",
170
+ "mediaRatio": "landscape",
171
+ "density": "compact"
172
+ },
173
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
174
+ },
175
+ {
176
+ "caseId": "template-composition-invalid-1ecbea49a6806bd9",
177
+ "coveredRuleIds": [
178
+ "template-composition:#/oneOf/0/not/anyOf/1:required:homeLayout"
179
+ ],
180
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
181
+ "schemaPointer": "#/oneOf/0/not/anyOf/1",
182
+ "keyword": "required",
183
+ "instance": {},
184
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
185
+ },
186
+ {
187
+ "caseId": "template-composition-invalid-253b94268417785f",
188
+ "coveredRuleIds": ["template-composition:#/oneOf/4:required:mediaRatio"],
189
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
190
+ "schemaPointer": "#/oneOf/4",
191
+ "keyword": "required",
192
+ "instance": {
193
+ "profile": "personal",
194
+ "homeLayout": "chronological",
195
+ "articleLayout": "prose",
196
+ "authorLayout": "biography",
197
+ "listingLayout": "dated-rows",
198
+ "headerLayout": "compact",
199
+ "footerLayout": "compact",
200
+ "density": "spacious"
201
+ },
202
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
203
+ },
204
+ {
205
+ "caseId": "template-composition-invalid-2b920d4663a3c456",
206
+ "coveredRuleIds": ["template-composition:#/oneOf/4:required:authorLayout"],
207
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
208
+ "schemaPointer": "#/oneOf/4",
209
+ "keyword": "required",
210
+ "instance": {
211
+ "profile": "personal",
212
+ "homeLayout": "chronological",
213
+ "articleLayout": "prose",
214
+ "listingLayout": "dated-rows",
215
+ "headerLayout": "compact",
216
+ "footerLayout": "compact",
217
+ "mediaRatio": "landscape",
218
+ "density": "spacious"
219
+ },
220
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
221
+ },
222
+ {
223
+ "caseId": "template-composition-invalid-2f344ef8000d1488",
224
+ "coveredRuleIds": ["template-composition:#/oneOf/5:required:footerLayout"],
225
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
226
+ "schemaPointer": "#/oneOf/5",
227
+ "keyword": "required",
228
+ "instance": {
229
+ "profile": "developer",
230
+ "homeLayout": "topic-index",
231
+ "articleLayout": "technical",
232
+ "authorLayout": "biography",
233
+ "listingLayout": "rows",
234
+ "headerLayout": "utility",
235
+ "mediaRatio": "landscape",
236
+ "density": "compact"
237
+ },
238
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
239
+ },
240
+ {
241
+ "caseId": "template-composition-invalid-3299a13e92f329a5",
242
+ "coveredRuleIds": ["template-composition:#/oneOf/1:required:mediaRatio"],
243
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
244
+ "schemaPointer": "#/oneOf/1",
245
+ "keyword": "required",
246
+ "instance": {
247
+ "profile": "editorial",
248
+ "homeLayout": "magazine",
249
+ "articleLayout": "editorial",
250
+ "authorLayout": "portrait",
251
+ "listingLayout": "rows",
252
+ "headerLayout": "masthead",
253
+ "footerLayout": "expanded",
254
+ "density": "comfortable"
255
+ },
256
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
257
+ },
258
+ {
259
+ "caseId": "template-composition-invalid-337ea3b3d198b040",
260
+ "coveredRuleIds": ["template-composition:#/oneOf/2:required:listingLayout"],
261
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
262
+ "schemaPointer": "#/oneOf/2",
263
+ "keyword": "required",
264
+ "instance": {
265
+ "profile": "newsletter",
266
+ "homeLayout": "newspaper",
267
+ "articleLayout": "issue",
268
+ "authorLayout": "profile",
269
+ "headerLayout": "publication",
270
+ "footerLayout": "expanded",
271
+ "mediaRatio": "landscape",
272
+ "density": "comfortable"
273
+ },
274
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
275
+ },
276
+ {
277
+ "caseId": "template-composition-invalid-3721c101c23c70c6",
278
+ "coveredRuleIds": ["template-composition:#/oneOf/5:required:authorLayout"],
279
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
280
+ "schemaPointer": "#/oneOf/5",
281
+ "keyword": "required",
282
+ "instance": {
283
+ "profile": "developer",
284
+ "homeLayout": "topic-index",
285
+ "articleLayout": "technical",
286
+ "listingLayout": "rows",
287
+ "headerLayout": "utility",
288
+ "footerLayout": "compact",
289
+ "mediaRatio": "landscape",
290
+ "density": "compact"
291
+ },
292
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
293
+ },
294
+ {
295
+ "caseId": "template-composition-invalid-3d2e79325e9eefb9",
296
+ "coveredRuleIds": ["template-composition:#/oneOf/2:required:mediaRatio"],
297
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
298
+ "schemaPointer": "#/oneOf/2",
299
+ "keyword": "required",
300
+ "instance": {
301
+ "profile": "newsletter",
302
+ "homeLayout": "newspaper",
303
+ "articleLayout": "issue",
304
+ "authorLayout": "profile",
305
+ "listingLayout": "issues",
306
+ "headerLayout": "publication",
307
+ "footerLayout": "expanded",
308
+ "density": "comfortable"
309
+ },
310
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
311
+ },
312
+ {
313
+ "caseId": "template-composition-invalid-3f16cd5f92054bfb",
314
+ "coveredRuleIds": [
315
+ "template-composition:#/oneOf/0/not/anyOf/7:required:mediaRatio"
316
+ ],
317
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
318
+ "schemaPointer": "#/oneOf/0/not/anyOf/7",
319
+ "keyword": "required",
320
+ "instance": {},
321
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
322
+ },
323
+ {
324
+ "caseId": "template-composition-invalid-44f372efa3cef73b",
325
+ "coveredRuleIds": ["template-composition:#/oneOf/4:required:footerLayout"],
326
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
327
+ "schemaPointer": "#/oneOf/4",
328
+ "keyword": "required",
329
+ "instance": {
330
+ "profile": "personal",
331
+ "homeLayout": "chronological",
332
+ "articleLayout": "prose",
333
+ "authorLayout": "biography",
334
+ "listingLayout": "dated-rows",
335
+ "headerLayout": "compact",
336
+ "mediaRatio": "landscape",
337
+ "density": "spacious"
338
+ },
339
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
340
+ },
341
+ {
342
+ "caseId": "template-composition-invalid-4b10ec0387d41ce6",
343
+ "coveredRuleIds": ["template-composition:#/oneOf/1:required:profile"],
344
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
345
+ "schemaPointer": "#/oneOf/1",
346
+ "keyword": "required",
347
+ "instance": {
348
+ "homeLayout": "magazine",
349
+ "articleLayout": "editorial",
350
+ "authorLayout": "portrait",
351
+ "listingLayout": "rows",
352
+ "headerLayout": "masthead",
353
+ "footerLayout": "expanded",
354
+ "mediaRatio": "landscape",
355
+ "density": "comfortable"
356
+ },
357
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
358
+ },
359
+ {
360
+ "caseId": "template-composition-invalid-4b77b9d941ad8f0e",
361
+ "coveredRuleIds": ["template-composition:#/oneOf/2:required:articleLayout"],
362
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
363
+ "schemaPointer": "#/oneOf/2",
364
+ "keyword": "required",
365
+ "instance": {
366
+ "profile": "newsletter",
367
+ "homeLayout": "newspaper",
368
+ "authorLayout": "profile",
369
+ "listingLayout": "issues",
370
+ "headerLayout": "publication",
371
+ "footerLayout": "expanded",
372
+ "mediaRatio": "landscape",
373
+ "density": "comfortable"
374
+ },
375
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
376
+ },
377
+ {
378
+ "caseId": "template-composition-invalid-4b841ec1cf319df9",
379
+ "coveredRuleIds": ["template-composition:#/oneOf/4:required:profile"],
380
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
381
+ "schemaPointer": "#/oneOf/4",
382
+ "keyword": "required",
383
+ "instance": {
384
+ "homeLayout": "chronological",
385
+ "articleLayout": "prose",
386
+ "authorLayout": "biography",
387
+ "listingLayout": "dated-rows",
388
+ "headerLayout": "compact",
389
+ "footerLayout": "compact",
390
+ "mediaRatio": "landscape",
391
+ "density": "spacious"
392
+ },
393
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
394
+ },
395
+ {
396
+ "caseId": "template-composition-invalid-4d16d5ac3b97ff85",
397
+ "coveredRuleIds": ["template-composition:#/oneOf/4:required:articleLayout"],
398
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
399
+ "schemaPointer": "#/oneOf/4",
400
+ "keyword": "required",
401
+ "instance": {
402
+ "profile": "personal",
403
+ "homeLayout": "chronological",
404
+ "authorLayout": "biography",
405
+ "listingLayout": "dated-rows",
406
+ "headerLayout": "compact",
407
+ "footerLayout": "compact",
408
+ "mediaRatio": "landscape",
409
+ "density": "spacious"
410
+ },
411
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
412
+ },
413
+ {
414
+ "caseId": "template-composition-invalid-52f2ced90cb17f4d",
415
+ "coveredRuleIds": [
416
+ "template-composition:#/oneOf/0/not/anyOf/0:required:profile"
417
+ ],
418
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
419
+ "schemaPointer": "#/oneOf/0/not/anyOf/0",
420
+ "keyword": "required",
421
+ "instance": {},
422
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
423
+ },
424
+ {
425
+ "caseId": "template-composition-invalid-56afbddb00f26c9c",
426
+ "coveredRuleIds": [
427
+ "template-composition:#/oneOf/0/not/anyOf/2:required:articleLayout"
428
+ ],
429
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
430
+ "schemaPointer": "#/oneOf/0/not/anyOf/2",
431
+ "keyword": "required",
432
+ "instance": {},
433
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
434
+ },
435
+ {
436
+ "caseId": "template-composition-invalid-5afe0beac05de149",
437
+ "coveredRuleIds": ["template-composition:#/oneOf/2:required:authorLayout"],
438
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
439
+ "schemaPointer": "#/oneOf/2",
440
+ "keyword": "required",
441
+ "instance": {
442
+ "profile": "newsletter",
443
+ "homeLayout": "newspaper",
444
+ "articleLayout": "issue",
445
+ "listingLayout": "issues",
446
+ "headerLayout": "publication",
447
+ "footerLayout": "expanded",
448
+ "mediaRatio": "landscape",
449
+ "density": "comfortable"
450
+ },
451
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
452
+ },
453
+ {
454
+ "caseId": "template-composition-invalid-5ba37862354c9965",
455
+ "coveredRuleIds": ["template-composition:#/oneOf/1:required:headerLayout"],
456
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
457
+ "schemaPointer": "#/oneOf/1",
458
+ "keyword": "required",
459
+ "instance": {
460
+ "profile": "editorial",
461
+ "homeLayout": "magazine",
462
+ "articleLayout": "editorial",
463
+ "authorLayout": "portrait",
464
+ "listingLayout": "rows",
465
+ "footerLayout": "expanded",
466
+ "mediaRatio": "landscape",
467
+ "density": "comfortable"
468
+ },
469
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
470
+ },
471
+ {
472
+ "caseId": "template-composition-invalid-65cb7766c8f52233",
473
+ "coveredRuleIds": ["template-composition:#/oneOf/4:required:listingLayout"],
474
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
475
+ "schemaPointer": "#/oneOf/4",
476
+ "keyword": "required",
477
+ "instance": {
478
+ "profile": "personal",
479
+ "homeLayout": "chronological",
480
+ "articleLayout": "prose",
481
+ "authorLayout": "biography",
482
+ "headerLayout": "compact",
483
+ "footerLayout": "compact",
484
+ "mediaRatio": "landscape",
485
+ "density": "spacious"
486
+ },
487
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
488
+ },
489
+ {
490
+ "caseId": "template-composition-invalid-67bf0a78e622f5c8",
491
+ "coveredRuleIds": ["template-composition:#/oneOf/5:required:articleLayout"],
492
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
493
+ "schemaPointer": "#/oneOf/5",
494
+ "keyword": "required",
495
+ "instance": {
496
+ "profile": "developer",
497
+ "homeLayout": "topic-index",
498
+ "authorLayout": "biography",
499
+ "listingLayout": "rows",
500
+ "headerLayout": "utility",
501
+ "footerLayout": "compact",
502
+ "mediaRatio": "landscape",
503
+ "density": "compact"
504
+ },
505
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
506
+ },
507
+ {
508
+ "caseId": "template-composition-invalid-69470e4ca11200bd",
509
+ "coveredRuleIds": ["template-composition:#/oneOf/1:required:footerLayout"],
510
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
511
+ "schemaPointer": "#/oneOf/1",
512
+ "keyword": "required",
513
+ "instance": {
514
+ "profile": "editorial",
515
+ "homeLayout": "magazine",
516
+ "articleLayout": "editorial",
517
+ "authorLayout": "portrait",
518
+ "listingLayout": "rows",
519
+ "headerLayout": "masthead",
520
+ "mediaRatio": "landscape",
521
+ "density": "comfortable"
522
+ },
523
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
524
+ },
525
+ {
526
+ "caseId": "template-composition-invalid-6ac0d50d08beaae1",
527
+ "coveredRuleIds": ["template-composition:#/oneOf/5:required:mediaRatio"],
528
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
529
+ "schemaPointer": "#/oneOf/5",
530
+ "keyword": "required",
531
+ "instance": {
532
+ "profile": "developer",
533
+ "homeLayout": "topic-index",
534
+ "articleLayout": "technical",
535
+ "authorLayout": "biography",
536
+ "listingLayout": "rows",
537
+ "headerLayout": "utility",
538
+ "footerLayout": "compact",
539
+ "density": "compact"
540
+ },
541
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
542
+ },
543
+ {
544
+ "caseId": "template-composition-invalid-6bee48d074eac51a",
545
+ "coveredRuleIds": [
546
+ "template-composition:#/oneOf/0/not/anyOf/5:required:headerLayout"
547
+ ],
548
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
549
+ "schemaPointer": "#/oneOf/0/not/anyOf/5",
550
+ "keyword": "required",
551
+ "instance": {},
552
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
553
+ },
554
+ {
555
+ "caseId": "template-composition-invalid-7220d78df5b4c2ad",
556
+ "coveredRuleIds": ["template-composition:#/oneOf/2:required:headerLayout"],
557
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
558
+ "schemaPointer": "#/oneOf/2",
559
+ "keyword": "required",
560
+ "instance": {
561
+ "profile": "newsletter",
562
+ "homeLayout": "newspaper",
563
+ "articleLayout": "issue",
564
+ "authorLayout": "profile",
565
+ "listingLayout": "issues",
566
+ "footerLayout": "expanded",
567
+ "mediaRatio": "landscape",
568
+ "density": "comfortable"
569
+ },
570
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
571
+ },
2
572
  {
3
573
  "caseId": "template-composition-invalid-7497fdad15bb99db",
4
574
  "coveredRuleIds": ["template-composition:#:required:schemaVersion"],
@@ -8,6 +578,118 @@
8
578
  "instance": { "schemaId": "urn:gala:schema:template-composition:2.0.0" },
9
579
  "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
10
580
  },
581
+ {
582
+ "caseId": "template-composition-invalid-78b8140746c4471f",
583
+ "coveredRuleIds": [
584
+ "template-composition:#/oneOf/0/not/anyOf/6:required:footerLayout"
585
+ ],
586
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
587
+ "schemaPointer": "#/oneOf/0/not/anyOf/6",
588
+ "keyword": "required",
589
+ "instance": {},
590
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
591
+ },
592
+ {
593
+ "caseId": "template-composition-invalid-7af9d8a05e0015d2",
594
+ "coveredRuleIds": ["template-composition:#/oneOf/1:required:listingLayout"],
595
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
596
+ "schemaPointer": "#/oneOf/1",
597
+ "keyword": "required",
598
+ "instance": {
599
+ "profile": "editorial",
600
+ "homeLayout": "magazine",
601
+ "articleLayout": "editorial",
602
+ "authorLayout": "portrait",
603
+ "headerLayout": "masthead",
604
+ "footerLayout": "expanded",
605
+ "mediaRatio": "landscape",
606
+ "density": "comfortable"
607
+ },
608
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
609
+ },
610
+ {
611
+ "caseId": "template-composition-invalid-7d59305ac82ffb52",
612
+ "coveredRuleIds": ["template-composition:#/oneOf/2:required:homeLayout"],
613
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
614
+ "schemaPointer": "#/oneOf/2",
615
+ "keyword": "required",
616
+ "instance": {
617
+ "profile": "newsletter",
618
+ "articleLayout": "issue",
619
+ "authorLayout": "profile",
620
+ "listingLayout": "issues",
621
+ "headerLayout": "publication",
622
+ "footerLayout": "expanded",
623
+ "mediaRatio": "landscape",
624
+ "density": "comfortable"
625
+ },
626
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
627
+ },
628
+ {
629
+ "caseId": "template-composition-invalid-829602b96105e04f",
630
+ "coveredRuleIds": ["template-composition:#/oneOf/2:required:profile"],
631
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
632
+ "schemaPointer": "#/oneOf/2",
633
+ "keyword": "required",
634
+ "instance": {
635
+ "homeLayout": "newspaper",
636
+ "articleLayout": "issue",
637
+ "authorLayout": "profile",
638
+ "listingLayout": "issues",
639
+ "headerLayout": "publication",
640
+ "footerLayout": "expanded",
641
+ "mediaRatio": "landscape",
642
+ "density": "comfortable"
643
+ },
644
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
645
+ },
646
+ {
647
+ "caseId": "template-composition-invalid-861346633b4b7c64",
648
+ "coveredRuleIds": [
649
+ "template-composition:#/oneOf/0/not/anyOf/4:required:listingLayout"
650
+ ],
651
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
652
+ "schemaPointer": "#/oneOf/0/not/anyOf/4",
653
+ "keyword": "required",
654
+ "instance": {},
655
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
656
+ },
657
+ {
658
+ "caseId": "template-composition-invalid-86c97e3b675c0a09",
659
+ "coveredRuleIds": ["template-composition:#/oneOf/3:required:listingLayout"],
660
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
661
+ "schemaPointer": "#/oneOf/3",
662
+ "keyword": "required",
663
+ "instance": {
664
+ "profile": "visual",
665
+ "homeLayout": "gallery",
666
+ "articleLayout": "full-bleed",
667
+ "authorLayout": "portfolio",
668
+ "headerLayout": "minimal",
669
+ "footerLayout": "compact",
670
+ "mediaRatio": "mixed",
671
+ "density": "comfortable"
672
+ },
673
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
674
+ },
675
+ {
676
+ "caseId": "template-composition-invalid-8ce7295e649f77b7",
677
+ "coveredRuleIds": ["template-composition:#/oneOf/4:required:homeLayout"],
678
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
679
+ "schemaPointer": "#/oneOf/4",
680
+ "keyword": "required",
681
+ "instance": {
682
+ "profile": "personal",
683
+ "articleLayout": "prose",
684
+ "authorLayout": "biography",
685
+ "listingLayout": "dated-rows",
686
+ "headerLayout": "compact",
687
+ "footerLayout": "compact",
688
+ "mediaRatio": "landscape",
689
+ "density": "spacious"
690
+ },
691
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
692
+ },
11
693
  {
12
694
  "caseId": "template-composition-invalid-91abca8cce566205",
13
695
  "coveredRuleIds": ["template-composition:#:required:schemaId"],
@@ -16,5 +698,232 @@
16
698
  "keyword": "required",
17
699
  "instance": { "schemaVersion": "2.0.0" },
18
700
  "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
701
+ },
702
+ {
703
+ "caseId": "template-composition-invalid-99bd577abd85afb2",
704
+ "coveredRuleIds": ["template-composition:#/oneOf/3:required:articleLayout"],
705
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
706
+ "schemaPointer": "#/oneOf/3",
707
+ "keyword": "required",
708
+ "instance": {
709
+ "profile": "visual",
710
+ "homeLayout": "gallery",
711
+ "authorLayout": "portfolio",
712
+ "listingLayout": "image-grid",
713
+ "headerLayout": "minimal",
714
+ "footerLayout": "compact",
715
+ "mediaRatio": "mixed",
716
+ "density": "comfortable"
717
+ },
718
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
719
+ },
720
+ {
721
+ "caseId": "template-composition-invalid-a1a75edeff496201",
722
+ "coveredRuleIds": ["template-composition:#/oneOf/5:required:density"],
723
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
724
+ "schemaPointer": "#/oneOf/5",
725
+ "keyword": "required",
726
+ "instance": {
727
+ "profile": "developer",
728
+ "homeLayout": "topic-index",
729
+ "articleLayout": "technical",
730
+ "authorLayout": "biography",
731
+ "listingLayout": "rows",
732
+ "headerLayout": "utility",
733
+ "footerLayout": "compact",
734
+ "mediaRatio": "landscape"
735
+ },
736
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
737
+ },
738
+ {
739
+ "caseId": "template-composition-invalid-a557b2bf69fa88e6",
740
+ "coveredRuleIds": ["template-composition:#/oneOf/3:required:headerLayout"],
741
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
742
+ "schemaPointer": "#/oneOf/3",
743
+ "keyword": "required",
744
+ "instance": {
745
+ "profile": "visual",
746
+ "homeLayout": "gallery",
747
+ "articleLayout": "full-bleed",
748
+ "authorLayout": "portfolio",
749
+ "listingLayout": "image-grid",
750
+ "footerLayout": "compact",
751
+ "mediaRatio": "mixed",
752
+ "density": "comfortable"
753
+ },
754
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
755
+ },
756
+ {
757
+ "caseId": "template-composition-invalid-a9d8ceb152a2f58b",
758
+ "coveredRuleIds": ["template-composition:#/oneOf/1:required:authorLayout"],
759
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
760
+ "schemaPointer": "#/oneOf/1",
761
+ "keyword": "required",
762
+ "instance": {
763
+ "profile": "editorial",
764
+ "homeLayout": "magazine",
765
+ "articleLayout": "editorial",
766
+ "listingLayout": "rows",
767
+ "headerLayout": "masthead",
768
+ "footerLayout": "expanded",
769
+ "mediaRatio": "landscape",
770
+ "density": "comfortable"
771
+ },
772
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
773
+ },
774
+ {
775
+ "caseId": "template-composition-invalid-aaa720e7c4e5bf26",
776
+ "coveredRuleIds": ["template-composition:#/oneOf/3:required:homeLayout"],
777
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
778
+ "schemaPointer": "#/oneOf/3",
779
+ "keyword": "required",
780
+ "instance": {
781
+ "profile": "visual",
782
+ "articleLayout": "full-bleed",
783
+ "authorLayout": "portfolio",
784
+ "listingLayout": "image-grid",
785
+ "headerLayout": "minimal",
786
+ "footerLayout": "compact",
787
+ "mediaRatio": "mixed",
788
+ "density": "comfortable"
789
+ },
790
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
791
+ },
792
+ {
793
+ "caseId": "template-composition-invalid-abd7e77783f216f1",
794
+ "coveredRuleIds": ["template-composition:#/oneOf/3:required:authorLayout"],
795
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
796
+ "schemaPointer": "#/oneOf/3",
797
+ "keyword": "required",
798
+ "instance": {
799
+ "profile": "visual",
800
+ "homeLayout": "gallery",
801
+ "articleLayout": "full-bleed",
802
+ "listingLayout": "image-grid",
803
+ "headerLayout": "minimal",
804
+ "footerLayout": "compact",
805
+ "mediaRatio": "mixed",
806
+ "density": "comfortable"
807
+ },
808
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
809
+ },
810
+ {
811
+ "caseId": "template-composition-invalid-b5a6693e54cddd12",
812
+ "coveredRuleIds": ["template-composition:#/oneOf/2:required:footerLayout"],
813
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
814
+ "schemaPointer": "#/oneOf/2",
815
+ "keyword": "required",
816
+ "instance": {
817
+ "profile": "newsletter",
818
+ "homeLayout": "newspaper",
819
+ "articleLayout": "issue",
820
+ "authorLayout": "profile",
821
+ "listingLayout": "issues",
822
+ "headerLayout": "publication",
823
+ "mediaRatio": "landscape",
824
+ "density": "comfortable"
825
+ },
826
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
827
+ },
828
+ {
829
+ "caseId": "template-composition-invalid-b79686c36588aefd",
830
+ "coveredRuleIds": ["template-composition:#/oneOf/1:required:articleLayout"],
831
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
832
+ "schemaPointer": "#/oneOf/1",
833
+ "keyword": "required",
834
+ "instance": {
835
+ "profile": "editorial",
836
+ "homeLayout": "magazine",
837
+ "authorLayout": "portrait",
838
+ "listingLayout": "rows",
839
+ "headerLayout": "masthead",
840
+ "footerLayout": "expanded",
841
+ "mediaRatio": "landscape",
842
+ "density": "comfortable"
843
+ },
844
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
845
+ },
846
+ {
847
+ "caseId": "template-composition-invalid-bb91e5a60868d6f2",
848
+ "coveredRuleIds": ["template-composition:#/oneOf/5:required:homeLayout"],
849
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
850
+ "schemaPointer": "#/oneOf/5",
851
+ "keyword": "required",
852
+ "instance": {
853
+ "profile": "developer",
854
+ "articleLayout": "technical",
855
+ "authorLayout": "biography",
856
+ "listingLayout": "rows",
857
+ "headerLayout": "utility",
858
+ "footerLayout": "compact",
859
+ "mediaRatio": "landscape",
860
+ "density": "compact"
861
+ },
862
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
863
+ },
864
+ {
865
+ "caseId": "template-composition-invalid-d188ccead259ced7",
866
+ "coveredRuleIds": ["template-composition:#/oneOf/1:required:density"],
867
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
868
+ "schemaPointer": "#/oneOf/1",
869
+ "keyword": "required",
870
+ "instance": {
871
+ "profile": "editorial",
872
+ "homeLayout": "magazine",
873
+ "articleLayout": "editorial",
874
+ "authorLayout": "portrait",
875
+ "listingLayout": "rows",
876
+ "headerLayout": "masthead",
877
+ "footerLayout": "expanded",
878
+ "mediaRatio": "landscape"
879
+ },
880
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
881
+ },
882
+ {
883
+ "caseId": "template-composition-invalid-dbd3a33e39ad4347",
884
+ "coveredRuleIds": ["template-composition:#/oneOf/3:required:footerLayout"],
885
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
886
+ "schemaPointer": "#/oneOf/3",
887
+ "keyword": "required",
888
+ "instance": {
889
+ "profile": "visual",
890
+ "homeLayout": "gallery",
891
+ "articleLayout": "full-bleed",
892
+ "authorLayout": "portfolio",
893
+ "listingLayout": "image-grid",
894
+ "headerLayout": "minimal",
895
+ "mediaRatio": "mixed",
896
+ "density": "comfortable"
897
+ },
898
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
899
+ },
900
+ {
901
+ "caseId": "template-composition-invalid-eae48ac8a691b2ec",
902
+ "coveredRuleIds": [
903
+ "template-composition:#/oneOf/0/not/anyOf/3:required:authorLayout"
904
+ ],
905
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
906
+ "schemaPointer": "#/oneOf/0/not/anyOf/3",
907
+ "keyword": "required",
908
+ "instance": {},
909
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
910
+ },
911
+ {
912
+ "caseId": "template-composition-invalid-efe5cc42b0c84b43",
913
+ "coveredRuleIds": ["template-composition:#/oneOf/3:required:density"],
914
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
915
+ "schemaPointer": "#/oneOf/3",
916
+ "keyword": "required",
917
+ "instance": {
918
+ "profile": "visual",
919
+ "homeLayout": "gallery",
920
+ "articleLayout": "full-bleed",
921
+ "authorLayout": "portfolio",
922
+ "listingLayout": "image-grid",
923
+ "headerLayout": "minimal",
924
+ "footerLayout": "compact",
925
+ "mediaRatio": "mixed"
926
+ },
927
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
19
928
  }
20
929
  ]