@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
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"caseId": "appearance-invalid-0cd06cf5e3ae2ef2",
|
|
4
|
+
"coveredRuleIds": [
|
|
5
|
+
"appearance:#/$defs/semanticTokens/properties/accent/properties/dark:pattern"
|
|
6
|
+
],
|
|
7
|
+
"schemaId": "urn:gala:schema:appearance:2.0.0",
|
|
8
|
+
"schemaPointer": "#/$defs/semanticTokens/properties/accent/properties/dark",
|
|
9
|
+
"keyword": "pattern",
|
|
10
|
+
"instance": "",
|
|
11
|
+
"expectedCodes": ["SCHEMA_PATTERN_INVALID"]
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"caseId": "appearance-invalid-136d818380685de0",
|
|
15
|
+
"coveredRuleIds": [
|
|
16
|
+
"appearance:#/$defs/semanticTokens/properties/accent/properties/light:pattern"
|
|
17
|
+
],
|
|
18
|
+
"schemaId": "urn:gala:schema:appearance:2.0.0",
|
|
19
|
+
"schemaPointer": "#/$defs/semanticTokens/properties/accent/properties/light",
|
|
20
|
+
"keyword": "pattern",
|
|
21
|
+
"instance": "",
|
|
22
|
+
"expectedCodes": ["SCHEMA_PATTERN_INVALID"]
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"caseId": "appearance-invalid-c993899e74ed16e1",
|
|
26
|
+
"coveredRuleIds": [
|
|
27
|
+
"appearance:#/$defs/semanticTokens/properties/text/properties/light:pattern"
|
|
28
|
+
],
|
|
29
|
+
"schemaId": "urn:gala:schema:appearance:2.0.0",
|
|
30
|
+
"schemaPointer": "#/$defs/semanticTokens/properties/text/properties/light",
|
|
31
|
+
"keyword": "pattern",
|
|
32
|
+
"instance": "",
|
|
33
|
+
"expectedCodes": ["SCHEMA_PATTERN_INVALID"]
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"caseId": "appearance-invalid-cadb3bbf1daa31cf",
|
|
37
|
+
"coveredRuleIds": [
|
|
38
|
+
"appearance:#/$defs/semanticTokens/properties/text/properties/dark:pattern"
|
|
39
|
+
],
|
|
40
|
+
"schemaId": "urn:gala:schema:appearance:2.0.0",
|
|
41
|
+
"schemaPointer": "#/$defs/semanticTokens/properties/text/properties/dark",
|
|
42
|
+
"keyword": "pattern",
|
|
43
|
+
"instance": "",
|
|
44
|
+
"expectedCodes": ["SCHEMA_PATTERN_INVALID"]
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"caseId": "appearance-invalid-dd96192c53db9d5b",
|
|
48
|
+
"coveredRuleIds": [
|
|
49
|
+
"appearance:#/$defs/semanticTokens/properties/canvas/properties/light:pattern"
|
|
50
|
+
],
|
|
51
|
+
"schemaId": "urn:gala:schema:appearance:2.0.0",
|
|
52
|
+
"schemaPointer": "#/$defs/semanticTokens/properties/canvas/properties/light",
|
|
53
|
+
"keyword": "pattern",
|
|
54
|
+
"instance": "",
|
|
55
|
+
"expectedCodes": ["SCHEMA_PATTERN_INVALID"]
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"caseId": "appearance-invalid-fda6e36a37559803",
|
|
59
|
+
"coveredRuleIds": [
|
|
60
|
+
"appearance:#/$defs/semanticTokens/properties/canvas/properties/dark:pattern"
|
|
61
|
+
],
|
|
62
|
+
"schemaId": "urn:gala:schema:appearance:2.0.0",
|
|
63
|
+
"schemaPointer": "#/$defs/semanticTokens/properties/canvas/properties/dark",
|
|
64
|
+
"keyword": "pattern",
|
|
65
|
+
"instance": "",
|
|
66
|
+
"expectedCodes": ["SCHEMA_PATTERN_INVALID"]
|
|
67
|
+
}
|
|
68
|
+
]
|
|
@@ -114,6 +114,17 @@
|
|
|
114
114
|
},
|
|
115
115
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
116
116
|
},
|
|
117
|
+
{
|
|
118
|
+
"caseId": "appearance-invalid-6306053b8bcaaba0",
|
|
119
|
+
"coveredRuleIds": [
|
|
120
|
+
"appearance:#/$defs/semanticTokens/properties/text:required:light"
|
|
121
|
+
],
|
|
122
|
+
"schemaId": "urn:gala:schema:appearance:2.0.0",
|
|
123
|
+
"schemaPointer": "#/$defs/semanticTokens/properties/text",
|
|
124
|
+
"keyword": "required",
|
|
125
|
+
"instance": { "dark": "#000000" },
|
|
126
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
127
|
+
},
|
|
117
128
|
{
|
|
118
129
|
"caseId": "appearance-invalid-6abc146f0f0cb6d0",
|
|
119
130
|
"coveredRuleIds": [
|
|
@@ -144,6 +155,17 @@
|
|
|
144
155
|
},
|
|
145
156
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
146
157
|
},
|
|
158
|
+
{
|
|
159
|
+
"caseId": "appearance-invalid-6e932c3f5a56ba1e",
|
|
160
|
+
"coveredRuleIds": [
|
|
161
|
+
"appearance:#/$defs/semanticTokens/properties/canvas:required:dark"
|
|
162
|
+
],
|
|
163
|
+
"schemaId": "urn:gala:schema:appearance:2.0.0",
|
|
164
|
+
"schemaPointer": "#/$defs/semanticTokens/properties/canvas",
|
|
165
|
+
"keyword": "required",
|
|
166
|
+
"instance": { "light": "#000000" },
|
|
167
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
168
|
+
},
|
|
147
169
|
{
|
|
148
170
|
"caseId": "appearance-invalid-7204696cb84f8829",
|
|
149
171
|
"coveredRuleIds": ["appearance:#:required:fontAssetRefs"],
|
|
@@ -191,6 +213,17 @@
|
|
|
191
213
|
"instance": {},
|
|
192
214
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
193
215
|
},
|
|
216
|
+
{
|
|
217
|
+
"caseId": "appearance-invalid-a537883be6637fe9",
|
|
218
|
+
"coveredRuleIds": [
|
|
219
|
+
"appearance:#/$defs/semanticTokens/properties/canvas:required:light"
|
|
220
|
+
],
|
|
221
|
+
"schemaId": "urn:gala:schema:appearance:2.0.0",
|
|
222
|
+
"schemaPointer": "#/$defs/semanticTokens/properties/canvas",
|
|
223
|
+
"keyword": "required",
|
|
224
|
+
"instance": { "dark": "#000000" },
|
|
225
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
226
|
+
},
|
|
194
227
|
{
|
|
195
228
|
"caseId": "appearance-invalid-a8f7a092ec7a0095",
|
|
196
229
|
"coveredRuleIds": ["appearance:#/$defs/colorMode:required:default"],
|
|
@@ -230,6 +263,28 @@
|
|
|
230
263
|
},
|
|
231
264
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
232
265
|
},
|
|
266
|
+
{
|
|
267
|
+
"caseId": "appearance-invalid-bac8d03b9e17c3e4",
|
|
268
|
+
"coveredRuleIds": [
|
|
269
|
+
"appearance:#/$defs/semanticTokens/properties/accent:required:dark"
|
|
270
|
+
],
|
|
271
|
+
"schemaId": "urn:gala:schema:appearance:2.0.0",
|
|
272
|
+
"schemaPointer": "#/$defs/semanticTokens/properties/accent",
|
|
273
|
+
"keyword": "required",
|
|
274
|
+
"instance": { "light": "#000000" },
|
|
275
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"caseId": "appearance-invalid-e11055251af7c755",
|
|
279
|
+
"coveredRuleIds": [
|
|
280
|
+
"appearance:#/$defs/semanticTokens/properties/accent:required:light"
|
|
281
|
+
],
|
|
282
|
+
"schemaId": "urn:gala:schema:appearance:2.0.0",
|
|
283
|
+
"schemaPointer": "#/$defs/semanticTokens/properties/accent",
|
|
284
|
+
"keyword": "required",
|
|
285
|
+
"instance": { "dark": "#000000" },
|
|
286
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
287
|
+
},
|
|
233
288
|
{
|
|
234
289
|
"caseId": "appearance-invalid-f1d0e785a16b3b92",
|
|
235
290
|
"coveredRuleIds": ["appearance:#:required:theme"],
|
|
@@ -248,5 +303,16 @@
|
|
|
248
303
|
"extensions": {}
|
|
249
304
|
},
|
|
250
305
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
"caseId": "appearance-invalid-f25d7bd31099c5d8",
|
|
309
|
+
"coveredRuleIds": [
|
|
310
|
+
"appearance:#/$defs/semanticTokens/properties/text:required:dark"
|
|
311
|
+
],
|
|
312
|
+
"schemaId": "urn:gala:schema:appearance:2.0.0",
|
|
313
|
+
"schemaPointer": "#/$defs/semanticTokens/properties/text",
|
|
314
|
+
"keyword": "required",
|
|
315
|
+
"instance": { "light": "#000000" },
|
|
316
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
251
317
|
}
|
|
252
318
|
]
|
|
@@ -1,4 +1,26 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"caseId": "appearance-invalid-18f06cda3dda458f",
|
|
4
|
+
"coveredRuleIds": [
|
|
5
|
+
"appearance:#/$defs/semanticTokens/properties/canvas:type"
|
|
6
|
+
],
|
|
7
|
+
"schemaId": "urn:gala:schema:appearance:2.0.0",
|
|
8
|
+
"schemaPointer": "#/$defs/semanticTokens/properties/canvas",
|
|
9
|
+
"keyword": "type",
|
|
10
|
+
"instance": [],
|
|
11
|
+
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"caseId": "appearance-invalid-2326720ee7844c3e",
|
|
15
|
+
"coveredRuleIds": [
|
|
16
|
+
"appearance:#/$defs/semanticTokens/properties/canvas/properties/light:type"
|
|
17
|
+
],
|
|
18
|
+
"schemaId": "urn:gala:schema:appearance:2.0.0",
|
|
19
|
+
"schemaPointer": "#/$defs/semanticTokens/properties/canvas/properties/light",
|
|
20
|
+
"keyword": "type",
|
|
21
|
+
"instance": null,
|
|
22
|
+
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
23
|
+
},
|
|
2
24
|
{
|
|
3
25
|
"caseId": "appearance-invalid-2fd2f2e3312c8170",
|
|
4
26
|
"coveredRuleIds": [
|
|
@@ -21,6 +43,17 @@
|
|
|
21
43
|
"instance": null,
|
|
22
44
|
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
23
45
|
},
|
|
46
|
+
{
|
|
47
|
+
"caseId": "appearance-invalid-385ac2fadaab1416",
|
|
48
|
+
"coveredRuleIds": [
|
|
49
|
+
"appearance:#/$defs/semanticTokens/properties/accent/properties/light:type"
|
|
50
|
+
],
|
|
51
|
+
"schemaId": "urn:gala:schema:appearance:2.0.0",
|
|
52
|
+
"schemaPointer": "#/$defs/semanticTokens/properties/accent/properties/light",
|
|
53
|
+
"keyword": "type",
|
|
54
|
+
"instance": null,
|
|
55
|
+
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
56
|
+
},
|
|
24
57
|
{
|
|
25
58
|
"caseId": "appearance-invalid-3d4d744f2105366b",
|
|
26
59
|
"coveredRuleIds": ["appearance:#/properties/fontAssetRefs:type"],
|
|
@@ -30,6 +63,28 @@
|
|
|
30
63
|
"instance": {},
|
|
31
64
|
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
32
65
|
},
|
|
66
|
+
{
|
|
67
|
+
"caseId": "appearance-invalid-40ce942eee7909bc",
|
|
68
|
+
"coveredRuleIds": [
|
|
69
|
+
"appearance:#/$defs/semanticTokens/properties/text/properties/dark:type"
|
|
70
|
+
],
|
|
71
|
+
"schemaId": "urn:gala:schema:appearance:2.0.0",
|
|
72
|
+
"schemaPointer": "#/$defs/semanticTokens/properties/text/properties/dark",
|
|
73
|
+
"keyword": "type",
|
|
74
|
+
"instance": null,
|
|
75
|
+
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"caseId": "appearance-invalid-516e6dffb9ebd42e",
|
|
79
|
+
"coveredRuleIds": [
|
|
80
|
+
"appearance:#/$defs/semanticTokens/properties/text:type"
|
|
81
|
+
],
|
|
82
|
+
"schemaId": "urn:gala:schema:appearance:2.0.0",
|
|
83
|
+
"schemaPointer": "#/$defs/semanticTokens/properties/text",
|
|
84
|
+
"keyword": "type",
|
|
85
|
+
"instance": [],
|
|
86
|
+
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
87
|
+
},
|
|
33
88
|
{
|
|
34
89
|
"caseId": "appearance-invalid-56ff950923b4e00a",
|
|
35
90
|
"coveredRuleIds": ["appearance:#/$defs/colorMode:type"],
|
|
@@ -39,6 +94,17 @@
|
|
|
39
94
|
"instance": [],
|
|
40
95
|
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
41
96
|
},
|
|
97
|
+
{
|
|
98
|
+
"caseId": "appearance-invalid-6b642a52a97c1d75",
|
|
99
|
+
"coveredRuleIds": [
|
|
100
|
+
"appearance:#/$defs/semanticTokens/properties/accent/properties/dark:type"
|
|
101
|
+
],
|
|
102
|
+
"schemaId": "urn:gala:schema:appearance:2.0.0",
|
|
103
|
+
"schemaPointer": "#/$defs/semanticTokens/properties/accent/properties/dark",
|
|
104
|
+
"keyword": "type",
|
|
105
|
+
"instance": null,
|
|
106
|
+
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
107
|
+
},
|
|
42
108
|
{
|
|
43
109
|
"caseId": "appearance-invalid-777286cc18b80b85",
|
|
44
110
|
"coveredRuleIds": [
|
|
@@ -50,6 +116,39 @@
|
|
|
50
116
|
"instance": {},
|
|
51
117
|
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
52
118
|
},
|
|
119
|
+
{
|
|
120
|
+
"caseId": "appearance-invalid-7c9b35d05e4f1220",
|
|
121
|
+
"coveredRuleIds": [
|
|
122
|
+
"appearance:#/$defs/semanticTokens/properties/canvas/properties/dark:type"
|
|
123
|
+
],
|
|
124
|
+
"schemaId": "urn:gala:schema:appearance:2.0.0",
|
|
125
|
+
"schemaPointer": "#/$defs/semanticTokens/properties/canvas/properties/dark",
|
|
126
|
+
"keyword": "type",
|
|
127
|
+
"instance": null,
|
|
128
|
+
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"caseId": "appearance-invalid-94c777371af5dc79",
|
|
132
|
+
"coveredRuleIds": [
|
|
133
|
+
"appearance:#/$defs/semanticTokens/properties/text/properties/light:type"
|
|
134
|
+
],
|
|
135
|
+
"schemaId": "urn:gala:schema:appearance:2.0.0",
|
|
136
|
+
"schemaPointer": "#/$defs/semanticTokens/properties/text/properties/light",
|
|
137
|
+
"keyword": "type",
|
|
138
|
+
"instance": null,
|
|
139
|
+
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"caseId": "appearance-invalid-a221b667ac69b64e",
|
|
143
|
+
"coveredRuleIds": [
|
|
144
|
+
"appearance:#/$defs/semanticTokens/properties/accent:type"
|
|
145
|
+
],
|
|
146
|
+
"schemaId": "urn:gala:schema:appearance:2.0.0",
|
|
147
|
+
"schemaPointer": "#/$defs/semanticTokens/properties/accent",
|
|
148
|
+
"keyword": "type",
|
|
149
|
+
"instance": [],
|
|
150
|
+
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
151
|
+
},
|
|
53
152
|
{
|
|
54
153
|
"caseId": "appearance-invalid-e04e9970cf75f193",
|
|
55
154
|
"coveredRuleIds": ["appearance:#/$defs/semanticTokens:type"],
|
|
@@ -21,6 +21,17 @@
|
|
|
21
21
|
"instance": { "ai": "allow", "unexpected": true },
|
|
22
22
|
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
23
23
|
},
|
|
24
|
+
{
|
|
25
|
+
"caseId": "build-input-invalid-16371eed2463865d",
|
|
26
|
+
"coveredRuleIds": [
|
|
27
|
+
"build-input:#/$defs/semanticTokens/properties/canvas:additionalProperties"
|
|
28
|
+
],
|
|
29
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
30
|
+
"schemaPointer": "#/$defs/semanticTokens/properties/canvas",
|
|
31
|
+
"keyword": "additionalProperties",
|
|
32
|
+
"instance": { "light": "#000000", "dark": "#000000", "unexpected": true },
|
|
33
|
+
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
34
|
+
},
|
|
24
35
|
{
|
|
25
36
|
"caseId": "build-input-invalid-1857e60422cdd37d",
|
|
26
37
|
"coveredRuleIds": [
|
|
@@ -353,6 +364,17 @@
|
|
|
353
364
|
},
|
|
354
365
|
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
355
366
|
},
|
|
367
|
+
{
|
|
368
|
+
"caseId": "build-input-invalid-6fcfa324d16a77e0",
|
|
369
|
+
"coveredRuleIds": [
|
|
370
|
+
"build-input:#/$defs/semanticTokens/properties/accent:additionalProperties"
|
|
371
|
+
],
|
|
372
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
373
|
+
"schemaPointer": "#/$defs/semanticTokens/properties/accent",
|
|
374
|
+
"keyword": "additionalProperties",
|
|
375
|
+
"instance": { "light": "#000000", "dark": "#000000", "unexpected": true },
|
|
376
|
+
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
377
|
+
},
|
|
356
378
|
{
|
|
357
379
|
"caseId": "build-input-invalid-73109553f2feec1c",
|
|
358
380
|
"coveredRuleIds": [
|
|
@@ -910,6 +932,17 @@
|
|
|
910
932
|
},
|
|
911
933
|
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
912
934
|
},
|
|
935
|
+
{
|
|
936
|
+
"caseId": "build-input-invalid-cb97b11a55797a13",
|
|
937
|
+
"coveredRuleIds": [
|
|
938
|
+
"build-input:#/$defs/semanticTokens/properties/text:additionalProperties"
|
|
939
|
+
],
|
|
940
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
941
|
+
"schemaPointer": "#/$defs/semanticTokens/properties/text",
|
|
942
|
+
"keyword": "additionalProperties",
|
|
943
|
+
"instance": { "light": "#000000", "dark": "#000000", "unexpected": true },
|
|
944
|
+
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
945
|
+
},
|
|
913
946
|
{
|
|
914
947
|
"caseId": "build-input-invalid-cff55357f8adf2b6",
|
|
915
948
|
"coveredRuleIds": [
|
|
@@ -1,4 +1,26 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"caseId": "build-input-invalid-198c6686b408c14b",
|
|
4
|
+
"coveredRuleIds": [
|
|
5
|
+
"build-input:#/$defs/semanticTokens/properties/accent/properties/light:pattern"
|
|
6
|
+
],
|
|
7
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
8
|
+
"schemaPointer": "#/$defs/semanticTokens/properties/accent/properties/light",
|
|
9
|
+
"keyword": "pattern",
|
|
10
|
+
"instance": "",
|
|
11
|
+
"expectedCodes": ["SCHEMA_PATTERN_INVALID"]
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"caseId": "build-input-invalid-478a3239a654da1f",
|
|
15
|
+
"coveredRuleIds": [
|
|
16
|
+
"build-input:#/$defs/semanticTokens/properties/text/properties/dark:pattern"
|
|
17
|
+
],
|
|
18
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
19
|
+
"schemaPointer": "#/$defs/semanticTokens/properties/text/properties/dark",
|
|
20
|
+
"keyword": "pattern",
|
|
21
|
+
"instance": "",
|
|
22
|
+
"expectedCodes": ["SCHEMA_PATTERN_INVALID"]
|
|
23
|
+
},
|
|
2
24
|
{
|
|
3
25
|
"caseId": "build-input-invalid-5518b31d248e3f99",
|
|
4
26
|
"coveredRuleIds": ["build-input:#/$defs/npmPackageName:pattern"],
|
|
@@ -19,6 +41,17 @@
|
|
|
19
41
|
"instance": "",
|
|
20
42
|
"expectedCodes": ["SCHEMA_PATTERN_INVALID"]
|
|
21
43
|
},
|
|
44
|
+
{
|
|
45
|
+
"caseId": "build-input-invalid-7348267ddbe613e0",
|
|
46
|
+
"coveredRuleIds": [
|
|
47
|
+
"build-input:#/$defs/semanticTokens/properties/accent/properties/dark:pattern"
|
|
48
|
+
],
|
|
49
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
50
|
+
"schemaPointer": "#/$defs/semanticTokens/properties/accent/properties/dark",
|
|
51
|
+
"keyword": "pattern",
|
|
52
|
+
"instance": "",
|
|
53
|
+
"expectedCodes": ["SCHEMA_PATTERN_INVALID"]
|
|
54
|
+
},
|
|
22
55
|
{
|
|
23
56
|
"caseId": "build-input-invalid-7a3c1a6c1def283b",
|
|
24
57
|
"coveredRuleIds": [
|
|
@@ -50,6 +83,17 @@
|
|
|
50
83
|
"instance": "",
|
|
51
84
|
"expectedCodes": ["SCHEMA_PATTERN_INVALID"]
|
|
52
85
|
},
|
|
86
|
+
{
|
|
87
|
+
"caseId": "build-input-invalid-cc1fc58d7a331cdf",
|
|
88
|
+
"coveredRuleIds": [
|
|
89
|
+
"build-input:#/$defs/semanticTokens/properties/text/properties/light:pattern"
|
|
90
|
+
],
|
|
91
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
92
|
+
"schemaPointer": "#/$defs/semanticTokens/properties/text/properties/light",
|
|
93
|
+
"keyword": "pattern",
|
|
94
|
+
"instance": "",
|
|
95
|
+
"expectedCodes": ["SCHEMA_PATTERN_INVALID"]
|
|
96
|
+
},
|
|
53
97
|
{
|
|
54
98
|
"caseId": "build-input-invalid-e1b12cc5c7e30288",
|
|
55
99
|
"coveredRuleIds": ["build-input:#/$defs/reactionKey:pattern"],
|
|
@@ -58,5 +102,27 @@
|
|
|
58
102
|
"keyword": "pattern",
|
|
59
103
|
"instance": "",
|
|
60
104
|
"expectedCodes": ["SCHEMA_PATTERN_INVALID"]
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"caseId": "build-input-invalid-e70478a10fc12a9b",
|
|
108
|
+
"coveredRuleIds": [
|
|
109
|
+
"build-input:#/$defs/semanticTokens/properties/canvas/properties/dark:pattern"
|
|
110
|
+
],
|
|
111
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
112
|
+
"schemaPointer": "#/$defs/semanticTokens/properties/canvas/properties/dark",
|
|
113
|
+
"keyword": "pattern",
|
|
114
|
+
"instance": "",
|
|
115
|
+
"expectedCodes": ["SCHEMA_PATTERN_INVALID"]
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"caseId": "build-input-invalid-ee426016bdcc14e4",
|
|
119
|
+
"coveredRuleIds": [
|
|
120
|
+
"build-input:#/$defs/semanticTokens/properties/canvas/properties/light:pattern"
|
|
121
|
+
],
|
|
122
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
123
|
+
"schemaPointer": "#/$defs/semanticTokens/properties/canvas/properties/light",
|
|
124
|
+
"keyword": "pattern",
|
|
125
|
+
"instance": "",
|
|
126
|
+
"expectedCodes": ["SCHEMA_PATTERN_INVALID"]
|
|
61
127
|
}
|
|
62
128
|
]
|
|
@@ -1678,6 +1678,17 @@
|
|
|
1678
1678
|
},
|
|
1679
1679
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
1680
1680
|
},
|
|
1681
|
+
{
|
|
1682
|
+
"caseId": "build-input-invalid-49b7605bb97b4ae7",
|
|
1683
|
+
"coveredRuleIds": [
|
|
1684
|
+
"build-input:#/$defs/semanticTokens/properties/accent:required:light"
|
|
1685
|
+
],
|
|
1686
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
1687
|
+
"schemaPointer": "#/$defs/semanticTokens/properties/accent",
|
|
1688
|
+
"keyword": "required",
|
|
1689
|
+
"instance": { "dark": "#000000" },
|
|
1690
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
1691
|
+
},
|
|
1681
1692
|
{
|
|
1682
1693
|
"caseId": "build-input-invalid-4dd686f938fb174c",
|
|
1683
1694
|
"coveredRuleIds": [
|
|
@@ -1704,6 +1715,17 @@
|
|
|
1704
1715
|
},
|
|
1705
1716
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
1706
1717
|
},
|
|
1718
|
+
{
|
|
1719
|
+
"caseId": "build-input-invalid-50e9fcfccb5a9195",
|
|
1720
|
+
"coveredRuleIds": [
|
|
1721
|
+
"build-input:#/$defs/semanticTokens/properties/accent:required:dark"
|
|
1722
|
+
],
|
|
1723
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
1724
|
+
"schemaPointer": "#/$defs/semanticTokens/properties/accent",
|
|
1725
|
+
"keyword": "required",
|
|
1726
|
+
"instance": { "light": "#000000" },
|
|
1727
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
1728
|
+
},
|
|
1707
1729
|
{
|
|
1708
1730
|
"caseId": "build-input-invalid-5393d032001ad82a",
|
|
1709
1731
|
"coveredRuleIds": [
|
|
@@ -2031,6 +2053,17 @@
|
|
|
2031
2053
|
},
|
|
2032
2054
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
2033
2055
|
},
|
|
2056
|
+
{
|
|
2057
|
+
"caseId": "build-input-invalid-5d0dc1097c842d37",
|
|
2058
|
+
"coveredRuleIds": [
|
|
2059
|
+
"build-input:#/$defs/semanticTokens/properties/text:required:light"
|
|
2060
|
+
],
|
|
2061
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
2062
|
+
"schemaPointer": "#/$defs/semanticTokens/properties/text",
|
|
2063
|
+
"keyword": "required",
|
|
2064
|
+
"instance": { "dark": "#000000" },
|
|
2065
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
2066
|
+
},
|
|
2034
2067
|
{
|
|
2035
2068
|
"caseId": "build-input-invalid-5d8cd9904faaf9f3",
|
|
2036
2069
|
"coveredRuleIds": ["build-input:#:required:buildEpoch"],
|
|
@@ -2450,6 +2483,17 @@
|
|
|
2450
2483
|
},
|
|
2451
2484
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
2452
2485
|
},
|
|
2486
|
+
{
|
|
2487
|
+
"caseId": "build-input-invalid-6a9dd53ac614124c",
|
|
2488
|
+
"coveredRuleIds": [
|
|
2489
|
+
"build-input:#/$defs/semanticTokens/properties/text:required:dark"
|
|
2490
|
+
],
|
|
2491
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
2492
|
+
"schemaPointer": "#/$defs/semanticTokens/properties/text",
|
|
2493
|
+
"keyword": "required",
|
|
2494
|
+
"instance": { "light": "#000000" },
|
|
2495
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
2496
|
+
},
|
|
2453
2497
|
{
|
|
2454
2498
|
"caseId": "build-input-invalid-6ae4b22b0422e157",
|
|
2455
2499
|
"coveredRuleIds": [
|
|
@@ -2497,6 +2541,17 @@
|
|
|
2497
2541
|
},
|
|
2498
2542
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
2499
2543
|
},
|
|
2544
|
+
{
|
|
2545
|
+
"caseId": "build-input-invalid-6bbd6603852ea1f1",
|
|
2546
|
+
"coveredRuleIds": [
|
|
2547
|
+
"build-input:#/$defs/semanticTokens/properties/canvas:required:dark"
|
|
2548
|
+
],
|
|
2549
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
2550
|
+
"schemaPointer": "#/$defs/semanticTokens/properties/canvas",
|
|
2551
|
+
"keyword": "required",
|
|
2552
|
+
"instance": { "light": "#000000" },
|
|
2553
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
2554
|
+
},
|
|
2500
2555
|
{
|
|
2501
2556
|
"caseId": "build-input-invalid-6bd1f57b014226d7",
|
|
2502
2557
|
"coveredRuleIds": [
|
|
@@ -5590,6 +5645,17 @@
|
|
|
5590
5645
|
"instance": {},
|
|
5591
5646
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
5592
5647
|
},
|
|
5648
|
+
{
|
|
5649
|
+
"caseId": "build-input-invalid-e80d8eac2905b7fe",
|
|
5650
|
+
"coveredRuleIds": [
|
|
5651
|
+
"build-input:#/$defs/semanticTokens/properties/canvas:required:light"
|
|
5652
|
+
],
|
|
5653
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
5654
|
+
"schemaPointer": "#/$defs/semanticTokens/properties/canvas",
|
|
5655
|
+
"keyword": "required",
|
|
5656
|
+
"instance": { "dark": "#000000" },
|
|
5657
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
5658
|
+
},
|
|
5593
5659
|
{
|
|
5594
5660
|
"caseId": "build-input-invalid-eb8ab7f37c0d08a3",
|
|
5595
5661
|
"coveredRuleIds": ["build-input:#:required:destinationCapabilities"],
|