@rathnasgala2/schemas 3.9.0 → 3.11.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 +255 -9
- package/docs/catalogs/app-components.json +71 -1
- package/docs/catalogs/app-routes.json +27 -4
- package/docs/catalogs/schema-inventory.json +5 -5
- package/examples/valid/appearance/rules.json +105 -1
- package/examples/valid/build-input/rules.json +105 -1
- package/examples/valid/theme-contract/rules.json +276 -2
- package/fixtures/boundary/appearance/rules.json +105 -12
- package/fixtures/boundary/build-input/rules.json +105 -12
- package/fixtures/boundary/theme-contract/rules.json +386 -2
- package/fixtures/invalid/appearance/REQUEST_FIELD_UNKNOWN/cases.json +33 -0
- package/fixtures/invalid/appearance/SCHEMA_OBJECT_TOO_LARGE/cases.json +0 -13
- package/fixtures/invalid/appearance/SCHEMA_PATTERN_INVALID/cases.json +68 -0
- package/fixtures/invalid/appearance/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +66 -0
- package/fixtures/invalid/appearance/SCHEMA_TYPE_INVALID/cases.json +99 -0
- package/fixtures/invalid/build-input/REQUEST_FIELD_UNKNOWN/cases.json +33 -0
- package/fixtures/invalid/build-input/SCHEMA_PATTERN_INVALID/cases.json +66 -0
- package/fixtures/invalid/build-input/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +66 -0
- package/fixtures/invalid/build-input/SCHEMA_TYPE_INVALID/cases.json +99 -0
- package/fixtures/invalid/theme-contract/REQUEST_FIELD_UNKNOWN/cases.json +33 -0
- package/fixtures/invalid/theme-contract/SCHEMA_ARRAY_TOO_LONG/cases.json +165 -0
- package/fixtures/invalid/theme-contract/SCHEMA_CONSTANT_INVALID/cases.json +11 -11
- package/fixtures/invalid/theme-contract/SCHEMA_ENUM_INVALID/cases.json +88 -0
- package/fixtures/invalid/theme-contract/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +93 -0
- package/fixtures/invalid/theme-contract/SCHEMA_TYPE_INVALID/cases.json +51 -0
- package/fixtures/manifest.json +1955 -35
- package/fixtures/unknown-field/appearance/rules.json +54 -1
- package/fixtures/unknown-field/build-input/rules.json +54 -1
- package/fixtures/unknown-field/theme-contract/rules.json +70 -1
- package/generated/browser/validator-core.mjs +3 -3
- package/generated/typescript/contracts/appearance.d.ts +14 -1
- package/generated/typescript/contracts/build-input.d.ts +14 -1
- package/generated/typescript/contracts/theme-contract.d.ts +51 -0
- package/openapi/http-catalog.json +38 -2
- package/openapi/openapi.yaml +598 -3
- package/package.json +10 -1
- package/parity/palette/golden-vectors.json +883 -0
- package/parity/palette/stress-corpus.json +521 -0
- package/parity/palette/theme-default.fixture.json +698 -0
- package/sbom.cdx.json +23 -23
- package/schemas/appearance.schema.json +30 -3
- package/schemas/build-input.schema.json +30 -3
- package/schemas/theme-contract.schema.json +185 -1
- package/src/palette.js +919 -0
- package/types/palette.d.ts +305 -0
- package/fixtures/invalid/build-input/SCHEMA_OBJECT_TOO_LARGE/cases.json +0 -15
|
@@ -93,6 +93,16 @@
|
|
|
93
93
|
"keyword": "const",
|
|
94
94
|
"instance": "color"
|
|
95
95
|
},
|
|
96
|
+
{
|
|
97
|
+
"caseId": "theme-contract-boundary-04fe4d0b1a4a037f",
|
|
98
|
+
"coveredRuleIds": [
|
|
99
|
+
"theme-contract:#/$defs/paletteFollow/properties/key:enum"
|
|
100
|
+
],
|
|
101
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
102
|
+
"schemaPointer": "#/$defs/paletteFollow/properties/key",
|
|
103
|
+
"keyword": "enum",
|
|
104
|
+
"instance": "border-button"
|
|
105
|
+
},
|
|
96
106
|
{
|
|
97
107
|
"caseId": "theme-contract-boundary-054491bc8cbc95e8",
|
|
98
108
|
"coveredRuleIds": [
|
|
@@ -183,6 +193,20 @@
|
|
|
183
193
|
"keyword": "required",
|
|
184
194
|
"instance": { "type": "box" }
|
|
185
195
|
},
|
|
196
|
+
{
|
|
197
|
+
"caseId": "theme-contract-boundary-09942b13988f58df",
|
|
198
|
+
"coveredRuleIds": [
|
|
199
|
+
"theme-contract:#/$defs/paletteFollow/allOf/2/then/properties/light:maxItems"
|
|
200
|
+
],
|
|
201
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
202
|
+
"schemaPointer": "#/$defs/paletteFollow/allOf/2/then/properties/light",
|
|
203
|
+
"keyword": "maxItems",
|
|
204
|
+
"recipe": {
|
|
205
|
+
"kind": "schema-array-boundary",
|
|
206
|
+
"schemaPointer": "#/$defs/paletteFollow/allOf/2/then/properties/light",
|
|
207
|
+
"length": 3
|
|
208
|
+
}
|
|
209
|
+
},
|
|
186
210
|
{
|
|
187
211
|
"caseId": "theme-contract-boundary-09b840f6e0cc6a83",
|
|
188
212
|
"coveredRuleIds": ["theme-contract:#/properties/stylesheets:type"],
|
|
@@ -191,6 +215,16 @@
|
|
|
191
215
|
"keyword": "type",
|
|
192
216
|
"instance": ["content/fixture-1.md"]
|
|
193
217
|
},
|
|
218
|
+
{
|
|
219
|
+
"caseId": "theme-contract-boundary-0a1a86ab968f5fe7",
|
|
220
|
+
"coveredRuleIds": [
|
|
221
|
+
"theme-contract:#/$defs/paletteFollow/allOf/3/if:required:key"
|
|
222
|
+
],
|
|
223
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
224
|
+
"schemaPointer": "#/$defs/paletteFollow/allOf/3/if",
|
|
225
|
+
"keyword": "required",
|
|
226
|
+
"instance": { "key": "paint-button" }
|
|
227
|
+
},
|
|
194
228
|
{
|
|
195
229
|
"caseId": "theme-contract-boundary-0a5042b495f1b78a",
|
|
196
230
|
"coveredRuleIds": [
|
|
@@ -221,6 +255,20 @@
|
|
|
221
255
|
"keyword": "const",
|
|
222
256
|
"instance": "editorial"
|
|
223
257
|
},
|
|
258
|
+
{
|
|
259
|
+
"caseId": "theme-contract-boundary-0c0ab6ddaf677599",
|
|
260
|
+
"coveredRuleIds": [
|
|
261
|
+
"theme-contract:#/$defs/paletteFollow/allOf/0/then/properties/light:maxItems"
|
|
262
|
+
],
|
|
263
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
264
|
+
"schemaPointer": "#/$defs/paletteFollow/allOf/0/then/properties/light",
|
|
265
|
+
"keyword": "maxItems",
|
|
266
|
+
"recipe": {
|
|
267
|
+
"kind": "schema-array-boundary",
|
|
268
|
+
"schemaPointer": "#/$defs/paletteFollow/allOf/0/then/properties/light",
|
|
269
|
+
"length": 1
|
|
270
|
+
}
|
|
271
|
+
},
|
|
224
272
|
{
|
|
225
273
|
"caseId": "theme-contract-boundary-0c74f3647867ad25",
|
|
226
274
|
"coveredRuleIds": [
|
|
@@ -281,6 +329,16 @@
|
|
|
281
329
|
"keyword": "const",
|
|
282
330
|
"instance": "length"
|
|
283
331
|
},
|
|
332
|
+
{
|
|
333
|
+
"caseId": "theme-contract-boundary-0e444b021a0037e2",
|
|
334
|
+
"coveredRuleIds": [
|
|
335
|
+
"theme-contract:#/$defs/paletteFollow/allOf/3/if/properties/key:enum"
|
|
336
|
+
],
|
|
337
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
338
|
+
"schemaPointer": "#/$defs/paletteFollow/allOf/3/if/properties/key",
|
|
339
|
+
"keyword": "enum",
|
|
340
|
+
"instance": "paint-button"
|
|
341
|
+
},
|
|
284
342
|
{
|
|
285
343
|
"caseId": "theme-contract-boundary-0e45298f50c3c250",
|
|
286
344
|
"coveredRuleIds": [
|
|
@@ -373,6 +431,20 @@
|
|
|
373
431
|
"length": 16
|
|
374
432
|
}
|
|
375
433
|
},
|
|
434
|
+
{
|
|
435
|
+
"caseId": "theme-contract-boundary-11cc62a65bde7263",
|
|
436
|
+
"coveredRuleIds": [
|
|
437
|
+
"theme-contract:#/$defs/paletteFollow/allOf/3/then/properties/light:maxItems"
|
|
438
|
+
],
|
|
439
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
440
|
+
"schemaPointer": "#/$defs/paletteFollow/allOf/3/then/properties/light",
|
|
441
|
+
"keyword": "maxItems",
|
|
442
|
+
"recipe": {
|
|
443
|
+
"kind": "schema-array-boundary",
|
|
444
|
+
"schemaPointer": "#/$defs/paletteFollow/allOf/3/then/properties/light",
|
|
445
|
+
"length": 15
|
|
446
|
+
}
|
|
447
|
+
},
|
|
376
448
|
{
|
|
377
449
|
"caseId": "theme-contract-boundary-1251e32ceed19984",
|
|
378
450
|
"coveredRuleIds": [
|
|
@@ -527,6 +599,16 @@
|
|
|
527
599
|
"keyword": "const",
|
|
528
600
|
"instance": "space-4"
|
|
529
601
|
},
|
|
602
|
+
{
|
|
603
|
+
"caseId": "theme-contract-boundary-1a56eee57258371f",
|
|
604
|
+
"coveredRuleIds": [
|
|
605
|
+
"theme-contract:#/$defs/paletteFollow/allOf/2/if:required:key"
|
|
606
|
+
],
|
|
607
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
608
|
+
"schemaPointer": "#/$defs/paletteFollow/allOf/2/if",
|
|
609
|
+
"keyword": "required",
|
|
610
|
+
"instance": { "key": "shadow-avatar-ring" }
|
|
611
|
+
},
|
|
530
612
|
{
|
|
531
613
|
"caseId": "theme-contract-boundary-1aab0eac30e81f9a",
|
|
532
614
|
"coveredRuleIds": [
|
|
@@ -747,6 +829,24 @@
|
|
|
747
829
|
"keyword": "required",
|
|
748
830
|
"instance": { "themeId": "zebra" }
|
|
749
831
|
},
|
|
832
|
+
{
|
|
833
|
+
"caseId": "theme-contract-boundary-22ae1be64875b951",
|
|
834
|
+
"coveredRuleIds": [
|
|
835
|
+
"theme-contract:#/properties/palette:additionalProperties",
|
|
836
|
+
"theme-contract:#/properties/palette:required:follow",
|
|
837
|
+
"theme-contract:#/properties/palette:required:profile",
|
|
838
|
+
"theme-contract:#/properties/palette:type"
|
|
839
|
+
],
|
|
840
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
841
|
+
"schemaPointer": "#/properties/palette",
|
|
842
|
+
"keyword": "additionalProperties",
|
|
843
|
+
"instance": {
|
|
844
|
+
"profile": "gala-palette-follow-v1",
|
|
845
|
+
"follow": [
|
|
846
|
+
{ "key": "border-button", "light": ["accent"], "dark": ["accent"] }
|
|
847
|
+
]
|
|
848
|
+
}
|
|
849
|
+
},
|
|
750
850
|
{
|
|
751
851
|
"caseId": "theme-contract-boundary-22eeb15f5335298f",
|
|
752
852
|
"coveredRuleIds": [
|
|
@@ -757,6 +857,20 @@
|
|
|
757
857
|
"keyword": "const",
|
|
758
858
|
"instance": "expanded"
|
|
759
859
|
},
|
|
860
|
+
{
|
|
861
|
+
"caseId": "theme-contract-boundary-234735a45b33c096",
|
|
862
|
+
"coveredRuleIds": [
|
|
863
|
+
"theme-contract:#/$defs/paletteFollow/allOf/0/then/properties/dark:maxItems"
|
|
864
|
+
],
|
|
865
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
866
|
+
"schemaPointer": "#/$defs/paletteFollow/allOf/0/then/properties/dark",
|
|
867
|
+
"keyword": "maxItems",
|
|
868
|
+
"recipe": {
|
|
869
|
+
"kind": "schema-array-boundary",
|
|
870
|
+
"schemaPointer": "#/$defs/paletteFollow/allOf/0/then/properties/dark",
|
|
871
|
+
"length": 1
|
|
872
|
+
}
|
|
873
|
+
},
|
|
760
874
|
{
|
|
761
875
|
"caseId": "theme-contract-boundary-23d8e4d3ed9896e2",
|
|
762
876
|
"coveredRuleIds": [
|
|
@@ -849,6 +963,20 @@
|
|
|
849
963
|
"keyword": "const",
|
|
850
964
|
"instance": "keyword"
|
|
851
965
|
},
|
|
966
|
+
{
|
|
967
|
+
"caseId": "theme-contract-boundary-266e59e51b3beac1",
|
|
968
|
+
"coveredRuleIds": [
|
|
969
|
+
"theme-contract:#/$defs/paletteFollow/properties/dark:maxItems"
|
|
970
|
+
],
|
|
971
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
972
|
+
"schemaPointer": "#/$defs/paletteFollow/properties/dark",
|
|
973
|
+
"keyword": "maxItems",
|
|
974
|
+
"recipe": {
|
|
975
|
+
"kind": "schema-array-boundary",
|
|
976
|
+
"schemaPointer": "#/$defs/paletteFollow/properties/dark",
|
|
977
|
+
"length": 15
|
|
978
|
+
}
|
|
979
|
+
},
|
|
852
980
|
{
|
|
853
981
|
"caseId": "theme-contract-boundary-26865534ef65f56e",
|
|
854
982
|
"coveredRuleIds": [
|
|
@@ -998,6 +1126,16 @@
|
|
|
998
1126
|
"keyword": "const",
|
|
999
1127
|
"instance": "color"
|
|
1000
1128
|
},
|
|
1129
|
+
{
|
|
1130
|
+
"caseId": "theme-contract-boundary-2e06758c343b2377",
|
|
1131
|
+
"coveredRuleIds": [
|
|
1132
|
+
"theme-contract:#/$defs/paletteFollow/properties/dark:type"
|
|
1133
|
+
],
|
|
1134
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
1135
|
+
"schemaPointer": "#/$defs/paletteFollow/properties/dark",
|
|
1136
|
+
"keyword": "type",
|
|
1137
|
+
"instance": ["accent"]
|
|
1138
|
+
},
|
|
1001
1139
|
{
|
|
1002
1140
|
"caseId": "theme-contract-boundary-2e0b65d8e9962fc4",
|
|
1003
1141
|
"coveredRuleIds": [
|
|
@@ -1041,11 +1179,11 @@
|
|
|
1041
1179
|
{
|
|
1042
1180
|
"caseId": "theme-contract-boundary-307734e1eb62edcb",
|
|
1043
1181
|
"coveredRuleIds": [
|
|
1044
|
-
"theme-contract:#/allOf/2/then/properties/templateRange:
|
|
1182
|
+
"theme-contract:#/allOf/2/then/properties/templateRange:enum"
|
|
1045
1183
|
],
|
|
1046
1184
|
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
1047
1185
|
"schemaPointer": "#/allOf/2/then/properties/templateRange",
|
|
1048
|
-
"keyword": "
|
|
1186
|
+
"keyword": "enum",
|
|
1049
1187
|
"instance": "^4.0.0"
|
|
1050
1188
|
},
|
|
1051
1189
|
{
|
|
@@ -1273,6 +1411,16 @@
|
|
|
1273
1411
|
"keyword": "const",
|
|
1274
1412
|
"instance": "weight-ui"
|
|
1275
1413
|
},
|
|
1414
|
+
{
|
|
1415
|
+
"caseId": "theme-contract-boundary-3c73f9efdc8a4d36",
|
|
1416
|
+
"coveredRuleIds": [
|
|
1417
|
+
"theme-contract:#/$defs/paletteFollow/allOf/2/if/properties/key:enum"
|
|
1418
|
+
],
|
|
1419
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
1420
|
+
"schemaPointer": "#/$defs/paletteFollow/allOf/2/if/properties/key",
|
|
1421
|
+
"keyword": "enum",
|
|
1422
|
+
"instance": "shadow-avatar-ring"
|
|
1423
|
+
},
|
|
1276
1424
|
{
|
|
1277
1425
|
"caseId": "theme-contract-boundary-3cf974b8d1553fb9",
|
|
1278
1426
|
"coveredRuleIds": [
|
|
@@ -1304,6 +1452,20 @@
|
|
|
1304
1452
|
"keyword": "const",
|
|
1305
1453
|
"instance": "keyword"
|
|
1306
1454
|
},
|
|
1455
|
+
{
|
|
1456
|
+
"caseId": "theme-contract-boundary-3d9055d22644383f",
|
|
1457
|
+
"coveredRuleIds": [
|
|
1458
|
+
"theme-contract:#/$defs/paletteFollow/allOf/3/then/properties/dark:maxItems"
|
|
1459
|
+
],
|
|
1460
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
1461
|
+
"schemaPointer": "#/$defs/paletteFollow/allOf/3/then/properties/dark",
|
|
1462
|
+
"keyword": "maxItems",
|
|
1463
|
+
"recipe": {
|
|
1464
|
+
"kind": "schema-array-boundary",
|
|
1465
|
+
"schemaPointer": "#/$defs/paletteFollow/allOf/3/then/properties/dark",
|
|
1466
|
+
"length": 15
|
|
1467
|
+
}
|
|
1468
|
+
},
|
|
1307
1469
|
{
|
|
1308
1470
|
"caseId": "theme-contract-boundary-3db905f1c1768d08",
|
|
1309
1471
|
"coveredRuleIds": [
|
|
@@ -1847,6 +2009,20 @@
|
|
|
1847
2009
|
"keyword": "const",
|
|
1848
2010
|
"instance": "color"
|
|
1849
2011
|
},
|
|
2012
|
+
{
|
|
2013
|
+
"caseId": "theme-contract-boundary-5362546533d3af3b",
|
|
2014
|
+
"coveredRuleIds": [
|
|
2015
|
+
"theme-contract:#/properties/palette/properties/follow:maxItems"
|
|
2016
|
+
],
|
|
2017
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
2018
|
+
"schemaPointer": "#/properties/palette/properties/follow",
|
|
2019
|
+
"keyword": "maxItems",
|
|
2020
|
+
"recipe": {
|
|
2021
|
+
"kind": "schema-array-boundary",
|
|
2022
|
+
"schemaPointer": "#/properties/palette/properties/follow",
|
|
2023
|
+
"length": 40
|
|
2024
|
+
}
|
|
2025
|
+
},
|
|
1850
2026
|
{
|
|
1851
2027
|
"caseId": "theme-contract-boundary-53b05b18b6dc6b91",
|
|
1852
2028
|
"coveredRuleIds": [
|
|
@@ -1897,6 +2073,20 @@
|
|
|
1897
2073
|
"dark": "#000000"
|
|
1898
2074
|
}
|
|
1899
2075
|
},
|
|
2076
|
+
{
|
|
2077
|
+
"caseId": "theme-contract-boundary-55aa8a18aa952e44",
|
|
2078
|
+
"coveredRuleIds": [
|
|
2079
|
+
"theme-contract:#/$defs/paletteFollow/allOf/1/then/properties/light:maxItems"
|
|
2080
|
+
],
|
|
2081
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
2082
|
+
"schemaPointer": "#/$defs/paletteFollow/allOf/1/then/properties/light",
|
|
2083
|
+
"keyword": "maxItems",
|
|
2084
|
+
"recipe": {
|
|
2085
|
+
"kind": "schema-array-boundary",
|
|
2086
|
+
"schemaPointer": "#/$defs/paletteFollow/allOf/1/then/properties/light",
|
|
2087
|
+
"length": 1
|
|
2088
|
+
}
|
|
2089
|
+
},
|
|
1900
2090
|
{
|
|
1901
2091
|
"caseId": "theme-contract-boundary-55c68239b291130f",
|
|
1902
2092
|
"coveredRuleIds": [
|
|
@@ -1907,6 +2097,16 @@
|
|
|
1907
2097
|
"keyword": "const",
|
|
1908
2098
|
"instance": "tracking-label"
|
|
1909
2099
|
},
|
|
2100
|
+
{
|
|
2101
|
+
"caseId": "theme-contract-boundary-55cf91c7f1047fef",
|
|
2102
|
+
"coveredRuleIds": [
|
|
2103
|
+
"theme-contract:#/$defs/paletteFollow/allOf/1/if:required:key"
|
|
2104
|
+
],
|
|
2105
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
2106
|
+
"schemaPointer": "#/$defs/paletteFollow/allOf/1/if",
|
|
2107
|
+
"keyword": "required",
|
|
2108
|
+
"instance": { "key": "border-button" }
|
|
2109
|
+
},
|
|
1910
2110
|
{
|
|
1911
2111
|
"caseId": "theme-contract-boundary-5680e55ac59cef94",
|
|
1912
2112
|
"coveredRuleIds": [
|
|
@@ -2139,6 +2339,16 @@
|
|
|
2139
2339
|
"keyword": "const",
|
|
2140
2340
|
"instance": "color"
|
|
2141
2341
|
},
|
|
2342
|
+
{
|
|
2343
|
+
"caseId": "theme-contract-boundary-64d11e3eae857a6d",
|
|
2344
|
+
"coveredRuleIds": [
|
|
2345
|
+
"theme-contract:#/$defs/paletteFollow/properties/light:type"
|
|
2346
|
+
],
|
|
2347
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
2348
|
+
"schemaPointer": "#/$defs/paletteFollow/properties/light",
|
|
2349
|
+
"keyword": "type",
|
|
2350
|
+
"instance": ["accent"]
|
|
2351
|
+
},
|
|
2142
2352
|
{
|
|
2143
2353
|
"caseId": "theme-contract-boundary-64f88635a7b5e667",
|
|
2144
2354
|
"coveredRuleIds": [
|
|
@@ -2957,6 +3167,20 @@
|
|
|
2957
3167
|
"keyword": "const",
|
|
2958
3168
|
"instance": "color"
|
|
2959
3169
|
},
|
|
3170
|
+
{
|
|
3171
|
+
"caseId": "theme-contract-boundary-72a745b35fe69235",
|
|
3172
|
+
"coveredRuleIds": [
|
|
3173
|
+
"theme-contract:#/$defs/paletteFollow/properties/light:minItems"
|
|
3174
|
+
],
|
|
3175
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
3176
|
+
"schemaPointer": "#/$defs/paletteFollow/properties/light",
|
|
3177
|
+
"keyword": "minItems",
|
|
3178
|
+
"recipe": {
|
|
3179
|
+
"kind": "schema-array-boundary",
|
|
3180
|
+
"schemaPointer": "#/$defs/paletteFollow/properties/light",
|
|
3181
|
+
"length": 0
|
|
3182
|
+
}
|
|
3183
|
+
},
|
|
2960
3184
|
{
|
|
2961
3185
|
"caseId": "theme-contract-boundary-7343ef1676cac91e",
|
|
2962
3186
|
"coveredRuleIds": [
|
|
@@ -3135,6 +3359,20 @@
|
|
|
3135
3359
|
"keyword": "const",
|
|
3136
3360
|
"instance": "expanded"
|
|
3137
3361
|
},
|
|
3362
|
+
{
|
|
3363
|
+
"caseId": "theme-contract-boundary-7bf98e313b74d05c",
|
|
3364
|
+
"coveredRuleIds": [
|
|
3365
|
+
"theme-contract:#/$defs/paletteFollow/allOf/2/then/properties/dark:maxItems"
|
|
3366
|
+
],
|
|
3367
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
3368
|
+
"schemaPointer": "#/$defs/paletteFollow/allOf/2/then/properties/dark",
|
|
3369
|
+
"keyword": "maxItems",
|
|
3370
|
+
"recipe": {
|
|
3371
|
+
"kind": "schema-array-boundary",
|
|
3372
|
+
"schemaPointer": "#/$defs/paletteFollow/allOf/2/then/properties/dark",
|
|
3373
|
+
"length": 3
|
|
3374
|
+
}
|
|
3375
|
+
},
|
|
3138
3376
|
{
|
|
3139
3377
|
"caseId": "theme-contract-boundary-7c7b2579efd8eaf5",
|
|
3140
3378
|
"coveredRuleIds": [
|
|
@@ -3175,6 +3413,20 @@
|
|
|
3175
3413
|
"keyword": "const",
|
|
3176
3414
|
"instance": "color"
|
|
3177
3415
|
},
|
|
3416
|
+
{
|
|
3417
|
+
"caseId": "theme-contract-boundary-7d724a2063813bcf",
|
|
3418
|
+
"coveredRuleIds": [
|
|
3419
|
+
"theme-contract:#/$defs/paletteFollow/properties/light:maxItems"
|
|
3420
|
+
],
|
|
3421
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
3422
|
+
"schemaPointer": "#/$defs/paletteFollow/properties/light",
|
|
3423
|
+
"keyword": "maxItems",
|
|
3424
|
+
"recipe": {
|
|
3425
|
+
"kind": "schema-array-boundary",
|
|
3426
|
+
"schemaPointer": "#/$defs/paletteFollow/properties/light",
|
|
3427
|
+
"length": 15
|
|
3428
|
+
}
|
|
3429
|
+
},
|
|
3178
3430
|
{
|
|
3179
3431
|
"caseId": "theme-contract-boundary-7d901f2e8f54bd8e",
|
|
3180
3432
|
"coveredRuleIds": ["theme-contract:#/properties/slotHooks:minItems"],
|
|
@@ -3468,6 +3720,18 @@
|
|
|
3468
3720
|
"keyword": "const",
|
|
3469
3721
|
"instance": "color-selection"
|
|
3470
3722
|
},
|
|
3723
|
+
{
|
|
3724
|
+
"caseId": "theme-contract-boundary-8fb65b152ea37929",
|
|
3725
|
+
"coveredRuleIds": [
|
|
3726
|
+
"theme-contract:#/properties/palette/properties/follow:type"
|
|
3727
|
+
],
|
|
3728
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
3729
|
+
"schemaPointer": "#/properties/palette/properties/follow",
|
|
3730
|
+
"keyword": "type",
|
|
3731
|
+
"instance": [
|
|
3732
|
+
{ "key": "border-button", "light": ["accent"], "dark": ["accent"] }
|
|
3733
|
+
]
|
|
3734
|
+
},
|
|
3471
3735
|
{
|
|
3472
3736
|
"caseId": "theme-contract-boundary-908367b922afc4bf",
|
|
3473
3737
|
"coveredRuleIds": [
|
|
@@ -3933,6 +4197,20 @@
|
|
|
3933
4197
|
"keyword": "format",
|
|
3934
4198
|
"instance": "content/fixture-1.md"
|
|
3935
4199
|
},
|
|
4200
|
+
{
|
|
4201
|
+
"caseId": "theme-contract-boundary-a9fc4fdd044bc2f3",
|
|
4202
|
+
"coveredRuleIds": [
|
|
4203
|
+
"theme-contract:#/$defs/paletteFollow/properties/dark:minItems"
|
|
4204
|
+
],
|
|
4205
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
4206
|
+
"schemaPointer": "#/$defs/paletteFollow/properties/dark",
|
|
4207
|
+
"keyword": "minItems",
|
|
4208
|
+
"recipe": {
|
|
4209
|
+
"kind": "schema-array-boundary",
|
|
4210
|
+
"schemaPointer": "#/$defs/paletteFollow/properties/dark",
|
|
4211
|
+
"length": 0
|
|
4212
|
+
}
|
|
4213
|
+
},
|
|
3936
4214
|
{
|
|
3937
4215
|
"caseId": "theme-contract-boundary-aaa51d4e1206f867",
|
|
3938
4216
|
"coveredRuleIds": [
|
|
@@ -3943,6 +4221,16 @@
|
|
|
3943
4221
|
"keyword": "const",
|
|
3944
4222
|
"instance": "color-on-accent"
|
|
3945
4223
|
},
|
|
4224
|
+
{
|
|
4225
|
+
"caseId": "theme-contract-boundary-aaed945eaaf8bae8",
|
|
4226
|
+
"coveredRuleIds": [
|
|
4227
|
+
"theme-contract:#/$defs/paletteFollow/allOf/0/if/properties/key:enum"
|
|
4228
|
+
],
|
|
4229
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
4230
|
+
"schemaPointer": "#/$defs/paletteFollow/allOf/0/if/properties/key",
|
|
4231
|
+
"keyword": "enum",
|
|
4232
|
+
"instance": "color-accent"
|
|
4233
|
+
},
|
|
3946
4234
|
{
|
|
3947
4235
|
"caseId": "theme-contract-boundary-ab1da6d7182fa880",
|
|
3948
4236
|
"coveredRuleIds": [
|
|
@@ -3993,6 +4281,24 @@
|
|
|
3993
4281
|
"keyword": "const",
|
|
3994
4282
|
"instance": "technical"
|
|
3995
4283
|
},
|
|
4284
|
+
{
|
|
4285
|
+
"caseId": "theme-contract-boundary-acf3680cfd2f679b",
|
|
4286
|
+
"coveredRuleIds": [
|
|
4287
|
+
"theme-contract:#/$defs/paletteFollow:additionalProperties",
|
|
4288
|
+
"theme-contract:#/$defs/paletteFollow:required:dark",
|
|
4289
|
+
"theme-contract:#/$defs/paletteFollow:required:key",
|
|
4290
|
+
"theme-contract:#/$defs/paletteFollow:required:light",
|
|
4291
|
+
"theme-contract:#/$defs/paletteFollow:type"
|
|
4292
|
+
],
|
|
4293
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
4294
|
+
"schemaPointer": "#/$defs/paletteFollow",
|
|
4295
|
+
"keyword": "additionalProperties",
|
|
4296
|
+
"instance": {
|
|
4297
|
+
"key": "border-button",
|
|
4298
|
+
"light": ["accent"],
|
|
4299
|
+
"dark": ["accent"]
|
|
4300
|
+
}
|
|
4301
|
+
},
|
|
3996
4302
|
{
|
|
3997
4303
|
"caseId": "theme-contract-boundary-ad04619f3ceb99c3",
|
|
3998
4304
|
"coveredRuleIds": [
|
|
@@ -4327,6 +4633,16 @@
|
|
|
4327
4633
|
"length": 64
|
|
4328
4634
|
}
|
|
4329
4635
|
},
|
|
4636
|
+
{
|
|
4637
|
+
"caseId": "theme-contract-boundary-b8e60f6721a2f502",
|
|
4638
|
+
"coveredRuleIds": [
|
|
4639
|
+
"theme-contract:#/$defs/paletteFollow/properties/light/items:enum"
|
|
4640
|
+
],
|
|
4641
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
4642
|
+
"schemaPointer": "#/$defs/paletteFollow/properties/light/items",
|
|
4643
|
+
"keyword": "enum",
|
|
4644
|
+
"instance": "accent"
|
|
4645
|
+
},
|
|
4330
4646
|
{
|
|
4331
4647
|
"caseId": "theme-contract-boundary-ba5073d37e61c16f",
|
|
4332
4648
|
"coveredRuleIds": [
|
|
@@ -4823,6 +5139,16 @@
|
|
|
4823
5139
|
"keyword": "const",
|
|
4824
5140
|
"instance": "quote-transform"
|
|
4825
5141
|
},
|
|
5142
|
+
{
|
|
5143
|
+
"caseId": "theme-contract-boundary-d0f96c0e15ef2708",
|
|
5144
|
+
"coveredRuleIds": [
|
|
5145
|
+
"theme-contract:#/$defs/paletteFollow/properties/dark/items:enum"
|
|
5146
|
+
],
|
|
5147
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
5148
|
+
"schemaPointer": "#/$defs/paletteFollow/properties/dark/items",
|
|
5149
|
+
"keyword": "enum",
|
|
5150
|
+
"instance": "accent"
|
|
5151
|
+
},
|
|
4826
5152
|
{
|
|
4827
5153
|
"caseId": "theme-contract-boundary-d1bada7bdf569415",
|
|
4828
5154
|
"coveredRuleIds": [
|
|
@@ -4972,6 +5298,16 @@
|
|
|
4972
5298
|
"keyword": "pattern",
|
|
4973
5299
|
"instance": "fixture-1"
|
|
4974
5300
|
},
|
|
5301
|
+
{
|
|
5302
|
+
"caseId": "theme-contract-boundary-d7946608fa4290b3",
|
|
5303
|
+
"coveredRuleIds": [
|
|
5304
|
+
"theme-contract:#/$defs/paletteFollow/allOf/0/if:required:key"
|
|
5305
|
+
],
|
|
5306
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
5307
|
+
"schemaPointer": "#/$defs/paletteFollow/allOf/0/if",
|
|
5308
|
+
"keyword": "required",
|
|
5309
|
+
"instance": { "key": "color-accent" }
|
|
5310
|
+
},
|
|
4975
5311
|
{
|
|
4976
5312
|
"caseId": "theme-contract-boundary-d83a37638dd759b0",
|
|
4977
5313
|
"coveredRuleIds": [
|
|
@@ -5245,6 +5581,20 @@
|
|
|
5245
5581
|
"keyword": "required",
|
|
5246
5582
|
"instance": { "composition": null }
|
|
5247
5583
|
},
|
|
5584
|
+
{
|
|
5585
|
+
"caseId": "theme-contract-boundary-e9dbad9a268dc5de",
|
|
5586
|
+
"coveredRuleIds": [
|
|
5587
|
+
"theme-contract:#/properties/palette/properties/follow:minItems"
|
|
5588
|
+
],
|
|
5589
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
5590
|
+
"schemaPointer": "#/properties/palette/properties/follow",
|
|
5591
|
+
"keyword": "minItems",
|
|
5592
|
+
"recipe": {
|
|
5593
|
+
"kind": "schema-array-boundary",
|
|
5594
|
+
"schemaPointer": "#/properties/palette/properties/follow",
|
|
5595
|
+
"length": 0
|
|
5596
|
+
}
|
|
5597
|
+
},
|
|
5248
5598
|
{
|
|
5249
5599
|
"caseId": "theme-contract-boundary-eac9cd9e4038ecd6",
|
|
5250
5600
|
"coveredRuleIds": [
|
|
@@ -5283,6 +5633,16 @@
|
|
|
5283
5633
|
"keyword": "const",
|
|
5284
5634
|
"instance": "2.0.0"
|
|
5285
5635
|
},
|
|
5636
|
+
{
|
|
5637
|
+
"caseId": "theme-contract-boundary-ec1dcb9588b2a707",
|
|
5638
|
+
"coveredRuleIds": [
|
|
5639
|
+
"theme-contract:#/$defs/paletteFollow/allOf/1/if/properties/key:enum"
|
|
5640
|
+
],
|
|
5641
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
5642
|
+
"schemaPointer": "#/$defs/paletteFollow/allOf/1/if/properties/key",
|
|
5643
|
+
"keyword": "enum",
|
|
5644
|
+
"instance": "border-button"
|
|
5645
|
+
},
|
|
5286
5646
|
{
|
|
5287
5647
|
"caseId": "theme-contract-boundary-ec6fd67d5e60c770",
|
|
5288
5648
|
"coveredRuleIds": [
|
|
@@ -6176,6 +6536,20 @@
|
|
|
6176
6536
|
"keyword": "pattern",
|
|
6177
6537
|
"instance": "@rathnasgala2/theme-flashy@2.0.0"
|
|
6178
6538
|
},
|
|
6539
|
+
{
|
|
6540
|
+
"caseId": "theme-contract-boundary-f93829016f479c09",
|
|
6541
|
+
"coveredRuleIds": [
|
|
6542
|
+
"theme-contract:#/$defs/paletteFollow/allOf/1/then/properties/dark:maxItems"
|
|
6543
|
+
],
|
|
6544
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
6545
|
+
"schemaPointer": "#/$defs/paletteFollow/allOf/1/then/properties/dark",
|
|
6546
|
+
"keyword": "maxItems",
|
|
6547
|
+
"recipe": {
|
|
6548
|
+
"kind": "schema-array-boundary",
|
|
6549
|
+
"schemaPointer": "#/$defs/paletteFollow/allOf/1/then/properties/dark",
|
|
6550
|
+
"length": 1
|
|
6551
|
+
}
|
|
6552
|
+
},
|
|
6179
6553
|
{
|
|
6180
6554
|
"caseId": "theme-contract-boundary-f9e86b7419e7aa34",
|
|
6181
6555
|
"coveredRuleIds": [
|
|
@@ -6216,6 +6590,16 @@
|
|
|
6216
6590
|
"keyword": "const",
|
|
6217
6591
|
"instance": "keyword"
|
|
6218
6592
|
},
|
|
6593
|
+
{
|
|
6594
|
+
"caseId": "theme-contract-boundary-fc0284245c3064b6",
|
|
6595
|
+
"coveredRuleIds": [
|
|
6596
|
+
"theme-contract:#/properties/palette/properties/profile:const"
|
|
6597
|
+
],
|
|
6598
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
6599
|
+
"schemaPointer": "#/properties/palette/properties/profile",
|
|
6600
|
+
"keyword": "const",
|
|
6601
|
+
"instance": "gala-palette-follow-v1"
|
|
6602
|
+
},
|
|
6219
6603
|
{
|
|
6220
6604
|
"caseId": "theme-contract-boundary-fcd441c1428fd1c5",
|
|
6221
6605
|
"coveredRuleIds": ["theme-contract:#/$defs/positiveInt64:x-gala-maximum"],
|
|
@@ -1,4 +1,15 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"caseId": "appearance-invalid-33a902b2724db7a8",
|
|
4
|
+
"coveredRuleIds": [
|
|
5
|
+
"appearance:#/$defs/semanticTokens/properties/accent:additionalProperties"
|
|
6
|
+
],
|
|
7
|
+
"schemaId": "urn:gala:schema:appearance:2.0.0",
|
|
8
|
+
"schemaPointer": "#/$defs/semanticTokens/properties/accent",
|
|
9
|
+
"keyword": "additionalProperties",
|
|
10
|
+
"instance": { "light": "#000000", "dark": "#000000", "unexpected": true },
|
|
11
|
+
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
12
|
+
},
|
|
2
13
|
{
|
|
3
14
|
"caseId": "appearance-invalid-4681c5cc55498403",
|
|
4
15
|
"coveredRuleIds": ["appearance:#/$defs/colorMode:additionalProperties"],
|
|
@@ -12,6 +23,17 @@
|
|
|
12
23
|
},
|
|
13
24
|
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
14
25
|
},
|
|
26
|
+
{
|
|
27
|
+
"caseId": "appearance-invalid-5f0d8b2bc5418373",
|
|
28
|
+
"coveredRuleIds": [
|
|
29
|
+
"appearance:#/$defs/semanticTokens/properties/text:additionalProperties"
|
|
30
|
+
],
|
|
31
|
+
"schemaId": "urn:gala:schema:appearance:2.0.0",
|
|
32
|
+
"schemaPointer": "#/$defs/semanticTokens/properties/text",
|
|
33
|
+
"keyword": "additionalProperties",
|
|
34
|
+
"instance": { "light": "#000000", "dark": "#000000", "unexpected": true },
|
|
35
|
+
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
36
|
+
},
|
|
15
37
|
{
|
|
16
38
|
"caseId": "appearance-invalid-6b2bae7871f577ac",
|
|
17
39
|
"coveredRuleIds": ["appearance:#:additionalProperties"],
|
|
@@ -33,6 +55,17 @@
|
|
|
33
55
|
},
|
|
34
56
|
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
35
57
|
},
|
|
58
|
+
{
|
|
59
|
+
"caseId": "appearance-invalid-6caa8d49a03d46d7",
|
|
60
|
+
"coveredRuleIds": [
|
|
61
|
+
"appearance:#/$defs/semanticTokens/properties/canvas:additionalProperties"
|
|
62
|
+
],
|
|
63
|
+
"schemaId": "urn:gala:schema:appearance:2.0.0",
|
|
64
|
+
"schemaPointer": "#/$defs/semanticTokens/properties/canvas",
|
|
65
|
+
"keyword": "additionalProperties",
|
|
66
|
+
"instance": { "light": "#000000", "dark": "#000000", "unexpected": true },
|
|
67
|
+
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
68
|
+
},
|
|
36
69
|
{
|
|
37
70
|
"caseId": "appearance-invalid-976379a26582b512",
|
|
38
71
|
"coveredRuleIds": ["appearance:#/$defs/attribution:additionalProperties"],
|
|
@@ -1,17 +1,4 @@
|
|
|
1
1
|
[
|
|
2
|
-
{
|
|
3
|
-
"caseId": "appearance-invalid-2e436a50b7903a6e",
|
|
4
|
-
"coveredRuleIds": ["appearance:#/$defs/semanticTokens:maxProperties"],
|
|
5
|
-
"schemaId": "urn:gala:schema:appearance:2.0.0",
|
|
6
|
-
"schemaPointer": "#/$defs/semanticTokens",
|
|
7
|
-
"keyword": "maxProperties",
|
|
8
|
-
"recipe": {
|
|
9
|
-
"kind": "numbered-object",
|
|
10
|
-
"schemaPointer": "#/$defs/semanticTokens",
|
|
11
|
-
"count": 1
|
|
12
|
-
},
|
|
13
|
-
"expectedCodes": ["SCHEMA_OBJECT_TOO_LARGE"]
|
|
14
|
-
},
|
|
15
2
|
{
|
|
16
3
|
"caseId": "appearance-invalid-e1a4d2a40ebf98dc",
|
|
17
4
|
"coveredRuleIds": ["appearance:#/$defs/extensionMap:maxProperties"],
|