@rathnasgala2/schemas 3.7.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 (51) hide show
  1. package/THIRD_PARTY_LICENSES.json +1 -1
  2. package/diagnostics/diagnostic-map.json +845 -20
  3. package/docs/catalogs/schema-inventory.json +10 -10
  4. package/examples/valid/build-input/rules.json +24 -2
  5. package/examples/valid/template-composition/rules.json +769 -0
  6. package/examples/valid/theme-contract/rules.json +1107 -5
  7. package/fixtures/boundary/build-input/rules.json +24 -2
  8. package/fixtures/boundary/template-composition/rules.json +769 -0
  9. package/fixtures/boundary/theme-contract/rules.json +1107 -5
  10. package/fixtures/invalid/build-input/SCHEMA_PATTERN_INVALID/cases.json +22 -11
  11. package/fixtures/invalid/build-input/SCHEMA_TYPE_INVALID/cases.json +22 -0
  12. package/fixtures/invalid/build-input/SCHEMA_UNION_INVALID/cases.json +11 -0
  13. package/fixtures/invalid/template-composition/SCHEMA_CONSTANT_INVALID/cases.json +497 -0
  14. package/fixtures/invalid/template-composition/SCHEMA_ENUM_INVALID/cases.json +83 -0
  15. package/fixtures/invalid/template-composition/SCHEMA_NEGATED_RULE_MATCHED/cases.json +11 -0
  16. package/fixtures/invalid/template-composition/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +909 -0
  17. package/fixtures/invalid/template-composition/SCHEMA_UNION_INVALID/cases.json +20 -0
  18. package/fixtures/invalid/theme-contract/REQUEST_FIELD_UNKNOWN/cases.json +120 -0
  19. package/fixtures/invalid/theme-contract/SCHEMA_CONSTANT_INVALID/cases.json +680 -0
  20. package/fixtures/invalid/theme-contract/SCHEMA_NEGATED_RULE_MATCHED/cases.json +11 -0
  21. package/fixtures/invalid/theme-contract/SCHEMA_PATTERN_INVALID/cases.json +33 -9
  22. package/fixtures/invalid/theme-contract/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +1383 -3
  23. package/fixtures/invalid/theme-contract/SCHEMA_TYPE_INVALID/cases.json +77 -0
  24. package/fixtures/invalid/theme-contract/SCHEMA_UNION_INVALID/cases.json +18 -0
  25. package/fixtures/invalid/theme-contract/SCHEMA_VERSION_UNSUPPORTED/cases.json +110 -0
  26. package/fixtures/manifest.json +7414 -1089
  27. package/fixtures/s2/manifest.json +1 -1
  28. package/fixtures/unknown-field/build-input/rules.json +5 -1
  29. package/fixtures/unknown-field/template-composition/rules.json +111 -0
  30. package/fixtures/unknown-field/theme-contract/rules.json +276 -1
  31. package/generated/browser/validator-core.mjs +3 -3
  32. package/generated/typescript/contracts/artifact-manifest.d.ts +4 -2
  33. package/generated/typescript/contracts/build-input.d.ts +3 -2
  34. package/generated/typescript/contracts/build-provenance.d.ts +4 -2
  35. package/generated/typescript/contracts/deployment-intent.d.ts +1 -0
  36. package/generated/typescript/contracts/deployment-receipt.d.ts +1 -0
  37. package/generated/typescript/contracts/lock.d.ts +2 -1
  38. package/generated/typescript/contracts/template-composition.d.ts +75 -4
  39. package/generated/typescript/contracts/theme-contract.d.ts +75 -2
  40. package/openapi/http-catalog.json +2 -2
  41. package/openapi/openapi.yaml +41 -10
  42. package/package.json +1 -1
  43. package/sbom.cdx.json +23 -23
  44. package/schemas/artifact-manifest.schema.json +4 -2
  45. package/schemas/build-input.schema.json +12 -2
  46. package/schemas/build-provenance.schema.json +4 -2
  47. package/schemas/deployment-intent.schema.json +1 -0
  48. package/schemas/deployment-receipt.schema.json +1 -0
  49. package/schemas/lock.schema.json +2 -1
  50. package/schemas/template-composition.schema.json +179 -2
  51. package/schemas/theme-contract.schema.json +282 -1
@@ -1,4 +1,52 @@
1
1
  [
2
+ {
3
+ "caseId": "template-composition-valid-01bc626016dc1f67",
4
+ "coveredRuleIds": [
5
+ "template-composition:#/oneOf/4/properties/articleLayout:const"
6
+ ],
7
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
8
+ "schemaPointer": "#/oneOf/4/properties/articleLayout",
9
+ "keyword": "const",
10
+ "instance": "prose"
11
+ },
12
+ {
13
+ "caseId": "template-composition-valid-02d3383ca1759881",
14
+ "coveredRuleIds": [
15
+ "template-composition:#/oneOf/3/properties/articleLayout:const"
16
+ ],
17
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
18
+ "schemaPointer": "#/oneOf/3/properties/articleLayout",
19
+ "keyword": "const",
20
+ "instance": "full-bleed"
21
+ },
22
+ {
23
+ "caseId": "template-composition-valid-0732b441ce3bc475",
24
+ "coveredRuleIds": [
25
+ "template-composition:#/oneOf/2/properties/footerLayout:const"
26
+ ],
27
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
28
+ "schemaPointer": "#/oneOf/2/properties/footerLayout",
29
+ "keyword": "const",
30
+ "instance": "expanded"
31
+ },
32
+ {
33
+ "caseId": "template-composition-valid-11a71fef6e4676fb",
34
+ "coveredRuleIds": ["template-composition:#/properties/articleLayout:enum"],
35
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
36
+ "schemaPointer": "#/properties/articleLayout",
37
+ "keyword": "enum",
38
+ "instance": "editorial"
39
+ },
40
+ {
41
+ "caseId": "template-composition-valid-1422b03c4e9e55fa",
42
+ "coveredRuleIds": [
43
+ "template-composition:#/oneOf/3/properties/density:const"
44
+ ],
45
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
46
+ "schemaPointer": "#/oneOf/3/properties/density",
47
+ "keyword": "const",
48
+ "instance": "comfortable"
49
+ },
2
50
  {
3
51
  "caseId": "template-composition-valid-176d4596f966eed4",
4
52
  "coveredRuleIds": [
@@ -22,6 +70,92 @@
22
70
  "keyword": "pattern",
23
71
  "instance": "2.0.0"
24
72
  },
73
+ {
74
+ "caseId": "template-composition-valid-19feb982964fef41",
75
+ "coveredRuleIds": ["template-composition:#/oneOf/0:not"],
76
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
77
+ "schemaPointer": "#/oneOf/0",
78
+ "keyword": "not",
79
+ "instance": {}
80
+ },
81
+ {
82
+ "caseId": "template-composition-valid-1a3019ac06a19bd8",
83
+ "coveredRuleIds": [
84
+ "template-composition:#/oneOf/2/properties/listingLayout:const"
85
+ ],
86
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
87
+ "schemaPointer": "#/oneOf/2/properties/listingLayout",
88
+ "keyword": "const",
89
+ "instance": "issues"
90
+ },
91
+ {
92
+ "caseId": "template-composition-valid-1bd53e679679758d",
93
+ "coveredRuleIds": [
94
+ "template-composition:#/oneOf/3/properties/footerLayout:const"
95
+ ],
96
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
97
+ "schemaPointer": "#/oneOf/3/properties/footerLayout",
98
+ "keyword": "const",
99
+ "instance": "compact"
100
+ },
101
+ {
102
+ "caseId": "template-composition-valid-1de29aa70c11cf8b",
103
+ "coveredRuleIds": [
104
+ "template-composition:#/oneOf/0/not/anyOf/3:required:authorLayout"
105
+ ],
106
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
107
+ "schemaPointer": "#/oneOf/0/not/anyOf/3",
108
+ "keyword": "required",
109
+ "instance": { "authorLayout": null }
110
+ },
111
+ {
112
+ "caseId": "template-composition-valid-23c8aa6b61dad85c",
113
+ "coveredRuleIds": [
114
+ "template-composition:#/oneOf/5/properties/footerLayout:const"
115
+ ],
116
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
117
+ "schemaPointer": "#/oneOf/5/properties/footerLayout",
118
+ "keyword": "const",
119
+ "instance": "compact"
120
+ },
121
+ {
122
+ "caseId": "template-composition-valid-24f3d9dff08c32bf",
123
+ "coveredRuleIds": [
124
+ "template-composition:#/oneOf/1:required:articleLayout",
125
+ "template-composition:#/oneOf/1:required:authorLayout",
126
+ "template-composition:#/oneOf/1:required:density",
127
+ "template-composition:#/oneOf/1:required:footerLayout",
128
+ "template-composition:#/oneOf/1:required:headerLayout",
129
+ "template-composition:#/oneOf/1:required:homeLayout",
130
+ "template-composition:#/oneOf/1:required:listingLayout",
131
+ "template-composition:#/oneOf/1:required:mediaRatio",
132
+ "template-composition:#/oneOf/1:required:profile"
133
+ ],
134
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
135
+ "schemaPointer": "#/oneOf/1",
136
+ "keyword": "required",
137
+ "instance": {
138
+ "profile": "editorial",
139
+ "homeLayout": "magazine",
140
+ "articleLayout": "editorial",
141
+ "authorLayout": "portrait",
142
+ "listingLayout": "rows",
143
+ "headerLayout": "masthead",
144
+ "footerLayout": "expanded",
145
+ "mediaRatio": "landscape",
146
+ "density": "comfortable"
147
+ }
148
+ },
149
+ {
150
+ "caseId": "template-composition-valid-26644a63035bdc86",
151
+ "coveredRuleIds": [
152
+ "template-composition:#/oneOf/0/not/anyOf/1:required:homeLayout"
153
+ ],
154
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
155
+ "schemaPointer": "#/oneOf/0/not/anyOf/1",
156
+ "keyword": "required",
157
+ "instance": { "homeLayout": null }
158
+ },
25
159
  {
26
160
  "caseId": "template-composition-valid-2b3f0ba08f805101",
27
161
  "coveredRuleIds": [
@@ -77,6 +211,7 @@
77
211
  "caseId": "template-composition-valid-334359b90efed75d",
78
212
  "coveredRuleIds": [
79
213
  "template-composition:#:additionalProperties",
214
+ "template-composition:#:oneOf",
80
215
  "template-composition:#:required:schemaId",
81
216
  "template-composition:#:required:schemaVersion",
82
217
  "template-composition:#:type"
@@ -97,6 +232,134 @@
97
232
  "keyword": "const",
98
233
  "instance": "2.0.0"
99
234
  },
235
+ {
236
+ "caseId": "template-composition-valid-3986d845f9b813f4",
237
+ "coveredRuleIds": [
238
+ "template-composition:#/oneOf/0/not/anyOf/8:required:density"
239
+ ],
240
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
241
+ "schemaPointer": "#/oneOf/0/not/anyOf/8",
242
+ "keyword": "required",
243
+ "instance": { "density": null }
244
+ },
245
+ {
246
+ "caseId": "template-composition-valid-399c52d4495574ca",
247
+ "coveredRuleIds": [
248
+ "template-composition:#/oneOf/2/properties/profile:const"
249
+ ],
250
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
251
+ "schemaPointer": "#/oneOf/2/properties/profile",
252
+ "keyword": "const",
253
+ "instance": "newsletter"
254
+ },
255
+ {
256
+ "caseId": "template-composition-valid-3a7e122b3b0db0ef",
257
+ "coveredRuleIds": [
258
+ "template-composition:#/oneOf/1/properties/density:const"
259
+ ],
260
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
261
+ "schemaPointer": "#/oneOf/1/properties/density",
262
+ "keyword": "const",
263
+ "instance": "comfortable"
264
+ },
265
+ {
266
+ "caseId": "template-composition-valid-3c6ea7ef40b4bcc0",
267
+ "coveredRuleIds": [
268
+ "template-composition:#/oneOf/4/properties/footerLayout:const"
269
+ ],
270
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
271
+ "schemaPointer": "#/oneOf/4/properties/footerLayout",
272
+ "keyword": "const",
273
+ "instance": "compact"
274
+ },
275
+ {
276
+ "caseId": "template-composition-valid-3ed1b564ef0f9531",
277
+ "coveredRuleIds": [
278
+ "template-composition:#/oneOf/1/properties/authorLayout:const"
279
+ ],
280
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
281
+ "schemaPointer": "#/oneOf/1/properties/authorLayout",
282
+ "keyword": "const",
283
+ "instance": "portrait"
284
+ },
285
+ {
286
+ "caseId": "template-composition-valid-3f372c55af341236",
287
+ "coveredRuleIds": [
288
+ "template-composition:#/oneOf/2/properties/density:const"
289
+ ],
290
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
291
+ "schemaPointer": "#/oneOf/2/properties/density",
292
+ "keyword": "const",
293
+ "instance": "comfortable"
294
+ },
295
+ {
296
+ "caseId": "template-composition-valid-4119a6d8102a3e49",
297
+ "coveredRuleIds": ["template-composition:#/properties/headerLayout:enum"],
298
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
299
+ "schemaPointer": "#/properties/headerLayout",
300
+ "keyword": "enum",
301
+ "instance": "masthead"
302
+ },
303
+ {
304
+ "caseId": "template-composition-valid-43ae3326c9d4901a",
305
+ "coveredRuleIds": [
306
+ "template-composition:#/oneOf/2/properties/articleLayout:const"
307
+ ],
308
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
309
+ "schemaPointer": "#/oneOf/2/properties/articleLayout",
310
+ "keyword": "const",
311
+ "instance": "issue"
312
+ },
313
+ {
314
+ "caseId": "template-composition-valid-47406e156f7d8567",
315
+ "coveredRuleIds": [
316
+ "template-composition:#/oneOf/1/properties/articleLayout:const"
317
+ ],
318
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
319
+ "schemaPointer": "#/oneOf/1/properties/articleLayout",
320
+ "keyword": "const",
321
+ "instance": "editorial"
322
+ },
323
+ {
324
+ "caseId": "template-composition-valid-48f97d4c80070d05",
325
+ "coveredRuleIds": [
326
+ "template-composition:#/oneOf/1/properties/footerLayout:const"
327
+ ],
328
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
329
+ "schemaPointer": "#/oneOf/1/properties/footerLayout",
330
+ "keyword": "const",
331
+ "instance": "expanded"
332
+ },
333
+ {
334
+ "caseId": "template-composition-valid-4b88745d30332a26",
335
+ "coveredRuleIds": [
336
+ "template-composition:#/oneOf/1/properties/listingLayout:const"
337
+ ],
338
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
339
+ "schemaPointer": "#/oneOf/1/properties/listingLayout",
340
+ "keyword": "const",
341
+ "instance": "rows"
342
+ },
343
+ {
344
+ "caseId": "template-composition-valid-4bc940ef2513ef97",
345
+ "coveredRuleIds": [
346
+ "template-composition:#/oneOf/5/properties/listingLayout:const"
347
+ ],
348
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
349
+ "schemaPointer": "#/oneOf/5/properties/listingLayout",
350
+ "keyword": "const",
351
+ "instance": "rows"
352
+ },
353
+ {
354
+ "caseId": "template-composition-valid-4e23e362af3c5408",
355
+ "coveredRuleIds": [
356
+ "template-composition:#/oneOf/5/properties/headerLayout:const"
357
+ ],
358
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
359
+ "schemaPointer": "#/oneOf/5/properties/headerLayout",
360
+ "keyword": "const",
361
+ "instance": "utility"
362
+ },
100
363
  {
101
364
  "caseId": "template-composition-valid-4ff50995104c6288",
102
365
  "coveredRuleIds": [
@@ -111,6 +374,46 @@
111
374
  "keyword": "format",
112
375
  "instance": "urn:gala:fixture:value-1"
113
376
  },
377
+ {
378
+ "caseId": "template-composition-valid-503bbc02cbe566f1",
379
+ "coveredRuleIds": [
380
+ "template-composition:#/oneOf/1/properties/homeLayout:const"
381
+ ],
382
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
383
+ "schemaPointer": "#/oneOf/1/properties/homeLayout",
384
+ "keyword": "const",
385
+ "instance": "magazine"
386
+ },
387
+ {
388
+ "caseId": "template-composition-valid-51fe3dabc724aa25",
389
+ "coveredRuleIds": [
390
+ "template-composition:#/oneOf/0/not/anyOf/5:required:headerLayout"
391
+ ],
392
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
393
+ "schemaPointer": "#/oneOf/0/not/anyOf/5",
394
+ "keyword": "required",
395
+ "instance": { "headerLayout": null }
396
+ },
397
+ {
398
+ "caseId": "template-composition-valid-525f7da0535266ad",
399
+ "coveredRuleIds": [
400
+ "template-composition:#/oneOf/3/properties/authorLayout:const"
401
+ ],
402
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
403
+ "schemaPointer": "#/oneOf/3/properties/authorLayout",
404
+ "keyword": "const",
405
+ "instance": "portfolio"
406
+ },
407
+ {
408
+ "caseId": "template-composition-valid-567afb1dc6cb937a",
409
+ "coveredRuleIds": [
410
+ "template-composition:#/oneOf/3/properties/headerLayout:const"
411
+ ],
412
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
413
+ "schemaPointer": "#/oneOf/3/properties/headerLayout",
414
+ "keyword": "const",
415
+ "instance": "minimal"
416
+ },
114
417
  {
115
418
  "caseId": "template-composition-valid-5838043483525c02",
116
419
  "coveredRuleIds": [
@@ -122,6 +425,26 @@
122
425
  "keyword": "pattern",
123
426
  "instance": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
124
427
  },
428
+ {
429
+ "caseId": "template-composition-valid-5eacf34eb5a8072b",
430
+ "coveredRuleIds": [
431
+ "template-composition:#/oneOf/0/not/anyOf/4:required:listingLayout"
432
+ ],
433
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
434
+ "schemaPointer": "#/oneOf/0/not/anyOf/4",
435
+ "keyword": "required",
436
+ "instance": { "listingLayout": null }
437
+ },
438
+ {
439
+ "caseId": "template-composition-valid-5ff85ad5f967eb52",
440
+ "coveredRuleIds": [
441
+ "template-composition:#/oneOf/3/properties/listingLayout:const"
442
+ ],
443
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
444
+ "schemaPointer": "#/oneOf/3/properties/listingLayout",
445
+ "keyword": "const",
446
+ "instance": "image-grid"
447
+ },
125
448
  {
126
449
  "caseId": "template-composition-valid-60afd7fb506f64f8",
127
450
  "coveredRuleIds": ["template-composition:#/properties/schemaId:const"],
@@ -142,6 +465,36 @@
142
465
  "keyword": "format",
143
466
  "instance": "https://fixture-1.example.com/"
144
467
  },
468
+ {
469
+ "caseId": "template-composition-valid-6c76eb9a5ac9c9fd",
470
+ "coveredRuleIds": [
471
+ "template-composition:#/oneOf/0/not/anyOf/7:required:mediaRatio"
472
+ ],
473
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
474
+ "schemaPointer": "#/oneOf/0/not/anyOf/7",
475
+ "keyword": "required",
476
+ "instance": { "mediaRatio": null }
477
+ },
478
+ {
479
+ "caseId": "template-composition-valid-770513ac20512f26",
480
+ "coveredRuleIds": [
481
+ "template-composition:#/oneOf/4/properties/profile:const"
482
+ ],
483
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
484
+ "schemaPointer": "#/oneOf/4/properties/profile",
485
+ "keyword": "const",
486
+ "instance": "personal"
487
+ },
488
+ {
489
+ "caseId": "template-composition-valid-810db057e783ff4d",
490
+ "coveredRuleIds": [
491
+ "template-composition:#/oneOf/3/properties/profile:const"
492
+ ],
493
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
494
+ "schemaPointer": "#/oneOf/3/properties/profile",
495
+ "keyword": "const",
496
+ "instance": "visual"
497
+ },
145
498
  {
146
499
  "caseId": "template-composition-valid-81e47acb3276faad",
147
500
  "coveredRuleIds": [
@@ -155,6 +508,92 @@
155
508
  "keyword": "format",
156
509
  "instance": "^2.0.0"
157
510
  },
511
+ {
512
+ "caseId": "template-composition-valid-84d52eb65df2e735",
513
+ "coveredRuleIds": [
514
+ "template-composition:#/oneOf/5/properties/profile:const"
515
+ ],
516
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
517
+ "schemaPointer": "#/oneOf/5/properties/profile",
518
+ "keyword": "const",
519
+ "instance": "developer"
520
+ },
521
+ {
522
+ "caseId": "template-composition-valid-85c1dc575ac86965",
523
+ "coveredRuleIds": [
524
+ "template-composition:#/oneOf/5:required:articleLayout",
525
+ "template-composition:#/oneOf/5:required:authorLayout",
526
+ "template-composition:#/oneOf/5:required:density",
527
+ "template-composition:#/oneOf/5:required:footerLayout",
528
+ "template-composition:#/oneOf/5:required:headerLayout",
529
+ "template-composition:#/oneOf/5:required:homeLayout",
530
+ "template-composition:#/oneOf/5:required:listingLayout",
531
+ "template-composition:#/oneOf/5:required:mediaRatio",
532
+ "template-composition:#/oneOf/5:required:profile"
533
+ ],
534
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
535
+ "schemaPointer": "#/oneOf/5",
536
+ "keyword": "required",
537
+ "instance": {
538
+ "profile": "developer",
539
+ "homeLayout": "topic-index",
540
+ "articleLayout": "technical",
541
+ "authorLayout": "biography",
542
+ "listingLayout": "rows",
543
+ "headerLayout": "utility",
544
+ "footerLayout": "compact",
545
+ "mediaRatio": "landscape",
546
+ "density": "compact"
547
+ }
548
+ },
549
+ {
550
+ "caseId": "template-composition-valid-8610695d947bd30e",
551
+ "coveredRuleIds": ["template-composition:#/properties/footerLayout:enum"],
552
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
553
+ "schemaPointer": "#/properties/footerLayout",
554
+ "keyword": "enum",
555
+ "instance": "expanded"
556
+ },
557
+ {
558
+ "caseId": "template-composition-valid-89f445d63f99b32e",
559
+ "coveredRuleIds": [
560
+ "template-composition:#/oneOf/4/properties/listingLayout:const"
561
+ ],
562
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
563
+ "schemaPointer": "#/oneOf/4/properties/listingLayout",
564
+ "keyword": "const",
565
+ "instance": "dated-rows"
566
+ },
567
+ {
568
+ "caseId": "template-composition-valid-8c23fe30b364ffd7",
569
+ "coveredRuleIds": [
570
+ "template-composition:#/oneOf/2/properties/authorLayout:const"
571
+ ],
572
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
573
+ "schemaPointer": "#/oneOf/2/properties/authorLayout",
574
+ "keyword": "const",
575
+ "instance": "profile"
576
+ },
577
+ {
578
+ "caseId": "template-composition-valid-8c89b2de54e2734d",
579
+ "coveredRuleIds": [
580
+ "template-composition:#/oneOf/4/properties/homeLayout:const"
581
+ ],
582
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
583
+ "schemaPointer": "#/oneOf/4/properties/homeLayout",
584
+ "keyword": "const",
585
+ "instance": "chronological"
586
+ },
587
+ {
588
+ "caseId": "template-composition-valid-9027b63852ae9e8b",
589
+ "coveredRuleIds": [
590
+ "template-composition:#/oneOf/0/not/anyOf/0:required:profile"
591
+ ],
592
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
593
+ "schemaPointer": "#/oneOf/0/not/anyOf/0",
594
+ "keyword": "required",
595
+ "instance": { "profile": null }
596
+ },
158
597
  {
159
598
  "caseId": "template-composition-valid-95d49e2494515cd8",
160
599
  "coveredRuleIds": [
@@ -168,6 +607,24 @@
168
607
  "keyword": "format",
169
608
  "instance": "/fixture-1"
170
609
  },
610
+ {
611
+ "caseId": "template-composition-valid-9bd9753f68526dd8",
612
+ "coveredRuleIds": ["template-composition:#/properties/homeLayout:enum"],
613
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
614
+ "schemaPointer": "#/properties/homeLayout",
615
+ "keyword": "enum",
616
+ "instance": "magazine"
617
+ },
618
+ {
619
+ "caseId": "template-composition-valid-9c27f848b233269b",
620
+ "coveredRuleIds": [
621
+ "template-composition:#/oneOf/1/properties/mediaRatio:const"
622
+ ],
623
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
624
+ "schemaPointer": "#/oneOf/1/properties/mediaRatio",
625
+ "keyword": "const",
626
+ "instance": "landscape"
627
+ },
171
628
  {
172
629
  "caseId": "template-composition-valid-9cf336b170e93720",
173
630
  "coveredRuleIds": [
@@ -182,6 +639,62 @@
182
639
  "keyword": "format",
183
640
  "instance": "**"
184
641
  },
642
+ {
643
+ "caseId": "template-composition-valid-9e69ea02b8c03636",
644
+ "coveredRuleIds": [
645
+ "template-composition:#/oneOf/4/properties/density:const"
646
+ ],
647
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
648
+ "schemaPointer": "#/oneOf/4/properties/density",
649
+ "keyword": "const",
650
+ "instance": "spacious"
651
+ },
652
+ {
653
+ "caseId": "template-composition-valid-9eff383a58be7e09",
654
+ "coveredRuleIds": [
655
+ "template-composition:#/oneOf/4/properties/mediaRatio:const"
656
+ ],
657
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
658
+ "schemaPointer": "#/oneOf/4/properties/mediaRatio",
659
+ "keyword": "const",
660
+ "instance": "landscape"
661
+ },
662
+ {
663
+ "caseId": "template-composition-valid-a0e8628d519ec104",
664
+ "coveredRuleIds": [
665
+ "template-composition:#/oneOf/3:required:articleLayout",
666
+ "template-composition:#/oneOf/3:required:authorLayout",
667
+ "template-composition:#/oneOf/3:required:density",
668
+ "template-composition:#/oneOf/3:required:footerLayout",
669
+ "template-composition:#/oneOf/3:required:headerLayout",
670
+ "template-composition:#/oneOf/3:required:homeLayout",
671
+ "template-composition:#/oneOf/3:required:listingLayout",
672
+ "template-composition:#/oneOf/3:required:mediaRatio",
673
+ "template-composition:#/oneOf/3:required:profile"
674
+ ],
675
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
676
+ "schemaPointer": "#/oneOf/3",
677
+ "keyword": "required",
678
+ "instance": {
679
+ "profile": "visual",
680
+ "homeLayout": "gallery",
681
+ "articleLayout": "full-bleed",
682
+ "authorLayout": "portfolio",
683
+ "listingLayout": "image-grid",
684
+ "headerLayout": "minimal",
685
+ "footerLayout": "compact",
686
+ "mediaRatio": "mixed",
687
+ "density": "comfortable"
688
+ }
689
+ },
690
+ {
691
+ "caseId": "template-composition-valid-a3950753f7635bce",
692
+ "coveredRuleIds": ["template-composition:#/properties/mediaRatio:enum"],
693
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
694
+ "schemaPointer": "#/properties/mediaRatio",
695
+ "keyword": "enum",
696
+ "instance": "landscape"
697
+ },
185
698
  {
186
699
  "caseId": "template-composition-valid-b24bbede1ab69bed",
187
700
  "coveredRuleIds": [
@@ -193,6 +706,62 @@
193
706
  "keyword": "pattern",
194
707
  "instance": "sha1:0000000000000000000000000000000000000001"
195
708
  },
709
+ {
710
+ "caseId": "template-composition-valid-b28cc604ed672c58",
711
+ "coveredRuleIds": [
712
+ "template-composition:#/oneOf/2:required:articleLayout",
713
+ "template-composition:#/oneOf/2:required:authorLayout",
714
+ "template-composition:#/oneOf/2:required:density",
715
+ "template-composition:#/oneOf/2:required:footerLayout",
716
+ "template-composition:#/oneOf/2:required:headerLayout",
717
+ "template-composition:#/oneOf/2:required:homeLayout",
718
+ "template-composition:#/oneOf/2:required:listingLayout",
719
+ "template-composition:#/oneOf/2:required:mediaRatio",
720
+ "template-composition:#/oneOf/2:required:profile"
721
+ ],
722
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
723
+ "schemaPointer": "#/oneOf/2",
724
+ "keyword": "required",
725
+ "instance": {
726
+ "profile": "newsletter",
727
+ "homeLayout": "newspaper",
728
+ "articleLayout": "issue",
729
+ "authorLayout": "profile",
730
+ "listingLayout": "issues",
731
+ "headerLayout": "publication",
732
+ "footerLayout": "expanded",
733
+ "mediaRatio": "landscape",
734
+ "density": "comfortable"
735
+ }
736
+ },
737
+ {
738
+ "caseId": "template-composition-valid-b36c5053f75b6d35",
739
+ "coveredRuleIds": ["template-composition:#/properties/authorLayout:enum"],
740
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
741
+ "schemaPointer": "#/properties/authorLayout",
742
+ "keyword": "enum",
743
+ "instance": "portrait"
744
+ },
745
+ {
746
+ "caseId": "template-composition-valid-b6dc56b0abb19b50",
747
+ "coveredRuleIds": [
748
+ "template-composition:#/oneOf/5/properties/mediaRatio:const"
749
+ ],
750
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
751
+ "schemaPointer": "#/oneOf/5/properties/mediaRatio",
752
+ "keyword": "const",
753
+ "instance": "landscape"
754
+ },
755
+ {
756
+ "caseId": "template-composition-valid-b9c95f43e60dc242",
757
+ "coveredRuleIds": [
758
+ "template-composition:#/oneOf/3/properties/mediaRatio:const"
759
+ ],
760
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
761
+ "schemaPointer": "#/oneOf/3/properties/mediaRatio",
762
+ "keyword": "const",
763
+ "instance": "mixed"
764
+ },
196
765
  {
197
766
  "caseId": "template-composition-valid-bb7f065e3079bbd1",
198
767
  "coveredRuleIds": [
@@ -205,6 +774,46 @@
205
774
  "keyword": "format",
206
775
  "instance": "fixture-1"
207
776
  },
777
+ {
778
+ "caseId": "template-composition-valid-bc0d8c888a18ab71",
779
+ "coveredRuleIds": [
780
+ "template-composition:#/oneOf/5/properties/articleLayout:const"
781
+ ],
782
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
783
+ "schemaPointer": "#/oneOf/5/properties/articleLayout",
784
+ "keyword": "const",
785
+ "instance": "technical"
786
+ },
787
+ {
788
+ "caseId": "template-composition-valid-bef079e77342bf38",
789
+ "coveredRuleIds": [
790
+ "template-composition:#/oneOf/5/properties/homeLayout:const"
791
+ ],
792
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
793
+ "schemaPointer": "#/oneOf/5/properties/homeLayout",
794
+ "keyword": "const",
795
+ "instance": "topic-index"
796
+ },
797
+ {
798
+ "caseId": "template-composition-valid-bef22ca6ead36707",
799
+ "coveredRuleIds": [
800
+ "template-composition:#/oneOf/4/properties/headerLayout:const"
801
+ ],
802
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
803
+ "schemaPointer": "#/oneOf/4/properties/headerLayout",
804
+ "keyword": "const",
805
+ "instance": "compact"
806
+ },
807
+ {
808
+ "caseId": "template-composition-valid-c33e86703d6c47de",
809
+ "coveredRuleIds": [
810
+ "template-composition:#/oneOf/5/properties/authorLayout:const"
811
+ ],
812
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
813
+ "schemaPointer": "#/oneOf/5/properties/authorLayout",
814
+ "keyword": "const",
815
+ "instance": "biography"
816
+ },
208
817
  {
209
818
  "caseId": "template-composition-valid-c5b3e214132702c8",
210
819
  "coveredRuleIds": [
@@ -216,6 +825,46 @@
216
825
  "keyword": "format",
217
826
  "instance": "fixture-1"
218
827
  },
828
+ {
829
+ "caseId": "template-composition-valid-c867320d5bf5c632",
830
+ "coveredRuleIds": [
831
+ "template-composition:#/oneOf/1/properties/profile:const"
832
+ ],
833
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
834
+ "schemaPointer": "#/oneOf/1/properties/profile",
835
+ "keyword": "const",
836
+ "instance": "editorial"
837
+ },
838
+ {
839
+ "caseId": "template-composition-valid-d0f08efe976dcb9d",
840
+ "coveredRuleIds": [
841
+ "template-composition:#/oneOf/2/properties/headerLayout:const"
842
+ ],
843
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
844
+ "schemaPointer": "#/oneOf/2/properties/headerLayout",
845
+ "keyword": "const",
846
+ "instance": "publication"
847
+ },
848
+ {
849
+ "caseId": "template-composition-valid-d537e5edacaaca56",
850
+ "coveredRuleIds": [
851
+ "template-composition:#/oneOf/0/not/anyOf/2:required:articleLayout"
852
+ ],
853
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
854
+ "schemaPointer": "#/oneOf/0/not/anyOf/2",
855
+ "keyword": "required",
856
+ "instance": { "articleLayout": null }
857
+ },
858
+ {
859
+ "caseId": "template-composition-valid-d794fcc71c3e13be",
860
+ "coveredRuleIds": [
861
+ "template-composition:#/oneOf/2/properties/homeLayout:const"
862
+ ],
863
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
864
+ "schemaPointer": "#/oneOf/2/properties/homeLayout",
865
+ "keyword": "const",
866
+ "instance": "newspaper"
867
+ },
219
868
  {
220
869
  "caseId": "template-composition-valid-d8c8652dc1a8a4dc",
221
870
  "coveredRuleIds": [
@@ -229,6 +878,44 @@
229
878
  "keyword": "format",
230
879
  "instance": "@rathnasgala2/fixture-1@^2.0.0"
231
880
  },
881
+ {
882
+ "caseId": "template-composition-valid-dd4dae503f0f8f32",
883
+ "coveredRuleIds": [
884
+ "template-composition:#/oneOf/0/not/anyOf/6:required:footerLayout"
885
+ ],
886
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
887
+ "schemaPointer": "#/oneOf/0/not/anyOf/6",
888
+ "keyword": "required",
889
+ "instance": { "footerLayout": null }
890
+ },
891
+ {
892
+ "caseId": "template-composition-valid-e189d3e5adb1a1d7",
893
+ "coveredRuleIds": [
894
+ "template-composition:#/oneOf/2/properties/mediaRatio:const"
895
+ ],
896
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
897
+ "schemaPointer": "#/oneOf/2/properties/mediaRatio",
898
+ "keyword": "const",
899
+ "instance": "landscape"
900
+ },
901
+ {
902
+ "caseId": "template-composition-valid-e519345702bb486b",
903
+ "coveredRuleIds": [
904
+ "template-composition:#/oneOf/4/properties/authorLayout:const"
905
+ ],
906
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
907
+ "schemaPointer": "#/oneOf/4/properties/authorLayout",
908
+ "keyword": "const",
909
+ "instance": "biography"
910
+ },
911
+ {
912
+ "caseId": "template-composition-valid-e5378f7eadf9ec47",
913
+ "coveredRuleIds": ["template-composition:#/oneOf/0/not:anyOf"],
914
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
915
+ "schemaPointer": "#/oneOf/0/not",
916
+ "keyword": "anyOf",
917
+ "instance": { "profile": null }
918
+ },
232
919
  {
233
920
  "caseId": "template-composition-valid-e70d81bda3bf3484",
234
921
  "coveredRuleIds": [
@@ -242,6 +929,42 @@
242
929
  "keyword": "format",
243
930
  "instance": "@rathnasgala2/fixture-1@2.0.0"
244
931
  },
932
+ {
933
+ "caseId": "template-composition-valid-eb8e728fcf52a2fa",
934
+ "coveredRuleIds": [
935
+ "template-composition:#/oneOf/4:required:articleLayout",
936
+ "template-composition:#/oneOf/4:required:authorLayout",
937
+ "template-composition:#/oneOf/4:required:density",
938
+ "template-composition:#/oneOf/4:required:footerLayout",
939
+ "template-composition:#/oneOf/4:required:headerLayout",
940
+ "template-composition:#/oneOf/4:required:homeLayout",
941
+ "template-composition:#/oneOf/4:required:listingLayout",
942
+ "template-composition:#/oneOf/4:required:mediaRatio",
943
+ "template-composition:#/oneOf/4:required:profile"
944
+ ],
945
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
946
+ "schemaPointer": "#/oneOf/4",
947
+ "keyword": "required",
948
+ "instance": {
949
+ "profile": "personal",
950
+ "homeLayout": "chronological",
951
+ "articleLayout": "prose",
952
+ "authorLayout": "biography",
953
+ "listingLayout": "dated-rows",
954
+ "headerLayout": "compact",
955
+ "footerLayout": "compact",
956
+ "mediaRatio": "landscape",
957
+ "density": "spacious"
958
+ }
959
+ },
960
+ {
961
+ "caseId": "template-composition-valid-ec06dd3c5fba96d0",
962
+ "coveredRuleIds": ["template-composition:#/properties/listingLayout:enum"],
963
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
964
+ "schemaPointer": "#/properties/listingLayout",
965
+ "keyword": "enum",
966
+ "instance": "rows"
967
+ },
245
968
  {
246
969
  "caseId": "template-composition-valid-f06fd8bdc6febb47",
247
970
  "coveredRuleIds": [
@@ -253,6 +976,44 @@
253
976
  "keyword": "pattern",
254
977
  "instance": "019c0000-0000-7000-8000-000000000001"
255
978
  },
979
+ {
980
+ "caseId": "template-composition-valid-f3d5e6b52917b130",
981
+ "coveredRuleIds": [
982
+ "template-composition:#/oneOf/3/properties/homeLayout:const"
983
+ ],
984
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
985
+ "schemaPointer": "#/oneOf/3/properties/homeLayout",
986
+ "keyword": "const",
987
+ "instance": "gallery"
988
+ },
989
+ {
990
+ "caseId": "template-composition-valid-f8508e6c3ccd654c",
991
+ "coveredRuleIds": ["template-composition:#/properties/profile:enum"],
992
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
993
+ "schemaPointer": "#/properties/profile",
994
+ "keyword": "enum",
995
+ "instance": "editorial"
996
+ },
997
+ {
998
+ "caseId": "template-composition-valid-faf3038d5bcdd625",
999
+ "coveredRuleIds": [
1000
+ "template-composition:#/oneOf/1/properties/headerLayout:const"
1001
+ ],
1002
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
1003
+ "schemaPointer": "#/oneOf/1/properties/headerLayout",
1004
+ "keyword": "const",
1005
+ "instance": "masthead"
1006
+ },
1007
+ {
1008
+ "caseId": "template-composition-valid-fc95eb0896f0660e",
1009
+ "coveredRuleIds": [
1010
+ "template-composition:#/oneOf/5/properties/density:const"
1011
+ ],
1012
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
1013
+ "schemaPointer": "#/oneOf/5/properties/density",
1014
+ "keyword": "const",
1015
+ "instance": "compact"
1016
+ },
256
1017
  {
257
1018
  "caseId": "template-composition-valid-fca709108f384882",
258
1019
  "coveredRuleIds": [
@@ -267,5 +1028,13 @@
267
1028
  "schemaPointer": "#/$defs/bcp47",
268
1029
  "keyword": "format",
269
1030
  "instance": "en-US"
1031
+ },
1032
+ {
1033
+ "caseId": "template-composition-valid-fd2186b06161c8db",
1034
+ "coveredRuleIds": ["template-composition:#/properties/density:enum"],
1035
+ "schemaId": "urn:gala:schema:template-composition:2.0.0",
1036
+ "schemaPointer": "#/properties/density",
1037
+ "keyword": "enum",
1038
+ "instance": "comfortable"
270
1039
  }
271
1040
  ]