@rathnasgala2/schemas 3.8.0 → 3.10.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 +277 -9
- package/docs/catalogs/schema-inventory.json +6 -6
- package/examples/valid/appearance/rules.json +105 -1
- package/examples/valid/build-input/rules.json +105 -1
- package/examples/valid/problem/rules.json +35 -0
- 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/problem/rules.json +83 -0
- 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/problem/SCHEMA_ARRAY_TOO_LONG/cases.json +13 -0
- package/fixtures/invalid/problem/SCHEMA_ENUM_INVALID/cases.json +11 -0
- package/fixtures/invalid/problem/SCHEMA_STRING_TOO_LONG/cases.json +11 -0
- package/fixtures/invalid/problem/SCHEMA_STRING_TOO_SHORT/cases.json +11 -0
- package/fixtures/invalid/problem/SCHEMA_TYPE_INVALID/cases.json +29 -0
- package/fixtures/invalid/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 +2137 -37
- package/fixtures/unknown-field/appearance/rules.json +54 -1
- package/fixtures/unknown-field/build-input/rules.json +54 -1
- package/fixtures/unknown-field/problem/rules.json +8 -0
- 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/problem.d.ts +9 -0
- package/generated/typescript/contracts/theme-contract.d.ts +51 -0
- package/openapi/http-catalog.json +2 -2
- package/openapi/openapi.yaml +97 -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/problem.schema.json +21 -1
- 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
|
@@ -46,6 +46,17 @@
|
|
|
46
46
|
"instance": {},
|
|
47
47
|
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
48
48
|
},
|
|
49
|
+
{
|
|
50
|
+
"caseId": "build-input-invalid-086acca15863d2cb",
|
|
51
|
+
"coveredRuleIds": [
|
|
52
|
+
"build-input:#/$defs/semanticTokens/properties/accent/properties/light:type"
|
|
53
|
+
],
|
|
54
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
55
|
+
"schemaPointer": "#/$defs/semanticTokens/properties/accent/properties/light",
|
|
56
|
+
"keyword": "type",
|
|
57
|
+
"instance": null,
|
|
58
|
+
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
59
|
+
},
|
|
49
60
|
{
|
|
50
61
|
"caseId": "build-input-invalid-0982eee00e4a01c3",
|
|
51
62
|
"coveredRuleIds": [
|
|
@@ -110,6 +121,17 @@
|
|
|
110
121
|
"instance": {},
|
|
111
122
|
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
112
123
|
},
|
|
124
|
+
{
|
|
125
|
+
"caseId": "build-input-invalid-20c8de03b688041d",
|
|
126
|
+
"coveredRuleIds": [
|
|
127
|
+
"build-input:#/$defs/semanticTokens/properties/accent/properties/dark:type"
|
|
128
|
+
],
|
|
129
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
130
|
+
"schemaPointer": "#/$defs/semanticTokens/properties/accent/properties/dark",
|
|
131
|
+
"keyword": "type",
|
|
132
|
+
"instance": null,
|
|
133
|
+
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
134
|
+
},
|
|
113
135
|
{
|
|
114
136
|
"caseId": "build-input-invalid-21e021c3cd3bbb1a",
|
|
115
137
|
"coveredRuleIds": ["build-input:#/$defs/socialLink/properties/uri:type"],
|
|
@@ -128,6 +150,17 @@
|
|
|
128
150
|
"instance": {},
|
|
129
151
|
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
130
152
|
},
|
|
153
|
+
{
|
|
154
|
+
"caseId": "build-input-invalid-28e3e2cae8215826",
|
|
155
|
+
"coveredRuleIds": [
|
|
156
|
+
"build-input:#/$defs/semanticTokens/properties/canvas/properties/light:type"
|
|
157
|
+
],
|
|
158
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
159
|
+
"schemaPointer": "#/$defs/semanticTokens/properties/canvas/properties/light",
|
|
160
|
+
"keyword": "type",
|
|
161
|
+
"instance": null,
|
|
162
|
+
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
163
|
+
},
|
|
131
164
|
{
|
|
132
165
|
"caseId": "build-input-invalid-29b0e07801df98fc",
|
|
133
166
|
"coveredRuleIds": [
|
|
@@ -257,6 +290,17 @@
|
|
|
257
290
|
"instance": [],
|
|
258
291
|
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
259
292
|
},
|
|
293
|
+
{
|
|
294
|
+
"caseId": "build-input-invalid-49a52923b82abc2b",
|
|
295
|
+
"coveredRuleIds": [
|
|
296
|
+
"build-input:#/$defs/semanticTokens/properties/canvas:type"
|
|
297
|
+
],
|
|
298
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
299
|
+
"schemaPointer": "#/$defs/semanticTokens/properties/canvas",
|
|
300
|
+
"keyword": "type",
|
|
301
|
+
"instance": [],
|
|
302
|
+
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
303
|
+
},
|
|
260
304
|
{
|
|
261
305
|
"caseId": "build-input-invalid-4ae2a4e8bdfa0794",
|
|
262
306
|
"coveredRuleIds": ["build-input:#/$defs/localizedAuthor:type"],
|
|
@@ -306,6 +350,17 @@
|
|
|
306
350
|
"instance": null,
|
|
307
351
|
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
308
352
|
},
|
|
353
|
+
{
|
|
354
|
+
"caseId": "build-input-invalid-59cc24f3f151d58c",
|
|
355
|
+
"coveredRuleIds": [
|
|
356
|
+
"build-input:#/$defs/semanticTokens/properties/text/properties/light:type"
|
|
357
|
+
],
|
|
358
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
359
|
+
"schemaPointer": "#/$defs/semanticTokens/properties/text/properties/light",
|
|
360
|
+
"keyword": "type",
|
|
361
|
+
"instance": null,
|
|
362
|
+
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
363
|
+
},
|
|
309
364
|
{
|
|
310
365
|
"caseId": "build-input-invalid-59f22a2c85a7d6c5",
|
|
311
366
|
"coveredRuleIds": ["build-input:#/$defs/contentBuildRecord:type"],
|
|
@@ -359,6 +414,17 @@
|
|
|
359
414
|
"instance": {},
|
|
360
415
|
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
361
416
|
},
|
|
417
|
+
{
|
|
418
|
+
"caseId": "build-input-invalid-6eca4c3852d76221",
|
|
419
|
+
"coveredRuleIds": [
|
|
420
|
+
"build-input:#/$defs/semanticTokens/properties/accent:type"
|
|
421
|
+
],
|
|
422
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
423
|
+
"schemaPointer": "#/$defs/semanticTokens/properties/accent",
|
|
424
|
+
"keyword": "type",
|
|
425
|
+
"instance": [],
|
|
426
|
+
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
427
|
+
},
|
|
362
428
|
{
|
|
363
429
|
"caseId": "build-input-invalid-720b8e232a304d5a",
|
|
364
430
|
"coveredRuleIds": ["build-input:#/$defs/navigationLeaf:type"],
|
|
@@ -585,6 +651,17 @@
|
|
|
585
651
|
"instance": [],
|
|
586
652
|
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
587
653
|
},
|
|
654
|
+
{
|
|
655
|
+
"caseId": "build-input-invalid-b14c4ade0c8bb14c",
|
|
656
|
+
"coveredRuleIds": [
|
|
657
|
+
"build-input:#/$defs/semanticTokens/properties/canvas/properties/dark:type"
|
|
658
|
+
],
|
|
659
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
660
|
+
"schemaPointer": "#/$defs/semanticTokens/properties/canvas/properties/dark",
|
|
661
|
+
"keyword": "type",
|
|
662
|
+
"instance": null,
|
|
663
|
+
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
664
|
+
},
|
|
588
665
|
{
|
|
589
666
|
"caseId": "build-input-invalid-b39a32ed9facab91",
|
|
590
667
|
"coveredRuleIds": [
|
|
@@ -665,6 +742,17 @@
|
|
|
665
742
|
"instance": null,
|
|
666
743
|
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
667
744
|
},
|
|
745
|
+
{
|
|
746
|
+
"caseId": "build-input-invalid-c2f2adf1ee866c9f",
|
|
747
|
+
"coveredRuleIds": [
|
|
748
|
+
"build-input:#/$defs/semanticTokens/properties/text:type"
|
|
749
|
+
],
|
|
750
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
751
|
+
"schemaPointer": "#/$defs/semanticTokens/properties/text",
|
|
752
|
+
"keyword": "type",
|
|
753
|
+
"instance": [],
|
|
754
|
+
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
755
|
+
},
|
|
668
756
|
{
|
|
669
757
|
"caseId": "build-input-invalid-d243e10e71679ce6",
|
|
670
758
|
"coveredRuleIds": [
|
|
@@ -709,6 +797,17 @@
|
|
|
709
797
|
"instance": null,
|
|
710
798
|
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
711
799
|
},
|
|
800
|
+
{
|
|
801
|
+
"caseId": "build-input-invalid-d8498c3c9b8c1cc5",
|
|
802
|
+
"coveredRuleIds": [
|
|
803
|
+
"build-input:#/$defs/semanticTokens/properties/text/properties/dark:type"
|
|
804
|
+
],
|
|
805
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
806
|
+
"schemaPointer": "#/$defs/semanticTokens/properties/text/properties/dark",
|
|
807
|
+
"keyword": "type",
|
|
808
|
+
"instance": null,
|
|
809
|
+
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
810
|
+
},
|
|
712
811
|
{
|
|
713
812
|
"caseId": "build-input-invalid-d89d5072b4e26ad6",
|
|
714
813
|
"coveredRuleIds": [
|
|
@@ -1,4 +1,17 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"caseId": "problem-invalid-4ae795114f250c31",
|
|
4
|
+
"coveredRuleIds": ["problem:#/$defs/fieldError/properties/paths:maxItems"],
|
|
5
|
+
"schemaId": "urn:gala:schema:problem:2.0.0",
|
|
6
|
+
"schemaPointer": "#/$defs/fieldError/properties/paths",
|
|
7
|
+
"keyword": "maxItems",
|
|
8
|
+
"recipe": {
|
|
9
|
+
"kind": "schema-array-count",
|
|
10
|
+
"schemaPointer": "#/$defs/fieldError/properties/paths",
|
|
11
|
+
"length": 51
|
|
12
|
+
},
|
|
13
|
+
"expectedCodes": ["SCHEMA_ARRAY_TOO_LONG"]
|
|
14
|
+
},
|
|
2
15
|
{
|
|
3
16
|
"caseId": "problem-invalid-a84c02f9b711f16c",
|
|
4
17
|
"coveredRuleIds": ["problem:#/properties/errors:maxItems"],
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"caseId": "problem-invalid-c944caf60eb2babd",
|
|
4
|
+
"coveredRuleIds": ["problem:#/$defs/fieldError/properties/reason:enum"],
|
|
5
|
+
"schemaId": "urn:gala:schema:problem:2.0.0",
|
|
6
|
+
"schemaPointer": "#/$defs/fieldError/properties/reason",
|
|
7
|
+
"keyword": "enum",
|
|
8
|
+
"instance": "__invalid_enum__",
|
|
9
|
+
"expectedCodes": ["SCHEMA_ENUM_INVALID"]
|
|
10
|
+
}
|
|
11
|
+
]
|
|
@@ -1,4 +1,15 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"caseId": "problem-invalid-079794886ab5dd4d",
|
|
4
|
+
"coveredRuleIds": [
|
|
5
|
+
"problem:#/$defs/fieldError/properties/paths/items:maxLength"
|
|
6
|
+
],
|
|
7
|
+
"schemaId": "urn:gala:schema:problem:2.0.0",
|
|
8
|
+
"schemaPointer": "#/$defs/fieldError/properties/paths/items",
|
|
9
|
+
"keyword": "maxLength",
|
|
10
|
+
"recipe": { "kind": "repeat-string", "value": "a", "count": 513 },
|
|
11
|
+
"expectedCodes": ["SCHEMA_STRING_TOO_LONG"]
|
|
12
|
+
},
|
|
2
13
|
{
|
|
3
14
|
"caseId": "problem-invalid-fbd1092416e2570b",
|
|
4
15
|
"coveredRuleIds": [
|
|
@@ -1,4 +1,15 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"caseId": "problem-invalid-789a2b9a352caea5",
|
|
4
|
+
"coveredRuleIds": [
|
|
5
|
+
"problem:#/$defs/fieldError/properties/paths/items:minLength"
|
|
6
|
+
],
|
|
7
|
+
"schemaId": "urn:gala:schema:problem:2.0.0",
|
|
8
|
+
"schemaPointer": "#/$defs/fieldError/properties/paths/items",
|
|
9
|
+
"keyword": "minLength",
|
|
10
|
+
"instance": "",
|
|
11
|
+
"expectedCodes": ["SCHEMA_STRING_TOO_SHORT"]
|
|
12
|
+
},
|
|
2
13
|
{
|
|
3
14
|
"caseId": "problem-invalid-7b9682224573b367",
|
|
4
15
|
"coveredRuleIds": [
|
|
@@ -8,6 +8,26 @@
|
|
|
8
8
|
"instance": null,
|
|
9
9
|
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
10
10
|
},
|
|
11
|
+
{
|
|
12
|
+
"caseId": "problem-invalid-361b444f240195c2",
|
|
13
|
+
"coveredRuleIds": ["problem:#/$defs/fieldError/properties/reason:type"],
|
|
14
|
+
"schemaId": "urn:gala:schema:problem:2.0.0",
|
|
15
|
+
"schemaPointer": "#/$defs/fieldError/properties/reason",
|
|
16
|
+
"keyword": "type",
|
|
17
|
+
"instance": null,
|
|
18
|
+
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"caseId": "problem-invalid-6729549958d3f9e2",
|
|
22
|
+
"coveredRuleIds": [
|
|
23
|
+
"problem:#/$defs/fieldError/properties/paths/items:type"
|
|
24
|
+
],
|
|
25
|
+
"schemaId": "urn:gala:schema:problem:2.0.0",
|
|
26
|
+
"schemaPointer": "#/$defs/fieldError/properties/paths/items",
|
|
27
|
+
"keyword": "type",
|
|
28
|
+
"instance": null,
|
|
29
|
+
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
30
|
+
},
|
|
11
31
|
{
|
|
12
32
|
"caseId": "problem-invalid-7275fbb8f6f498e7",
|
|
13
33
|
"coveredRuleIds": ["problem:#/$defs/problemCode:type"],
|
|
@@ -79,5 +99,14 @@
|
|
|
79
99
|
"keyword": "type",
|
|
80
100
|
"instance": [],
|
|
81
101
|
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"caseId": "problem-invalid-f7dd9718874abfab",
|
|
105
|
+
"coveredRuleIds": ["problem:#/$defs/fieldError/properties/paths:type"],
|
|
106
|
+
"schemaId": "urn:gala:schema:problem:2.0.0",
|
|
107
|
+
"schemaPointer": "#/$defs/fieldError/properties/paths",
|
|
108
|
+
"keyword": "type",
|
|
109
|
+
"instance": {},
|
|
110
|
+
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
82
111
|
}
|
|
83
112
|
]
|
|
@@ -667,6 +667,23 @@
|
|
|
667
667
|
},
|
|
668
668
|
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
669
669
|
},
|
|
670
|
+
{
|
|
671
|
+
"caseId": "theme-contract-invalid-65634c2f95e6d2fe",
|
|
672
|
+
"coveredRuleIds": [
|
|
673
|
+
"theme-contract:#/properties/palette:additionalProperties"
|
|
674
|
+
],
|
|
675
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
676
|
+
"schemaPointer": "#/properties/palette",
|
|
677
|
+
"keyword": "additionalProperties",
|
|
678
|
+
"instance": {
|
|
679
|
+
"profile": "gala-palette-follow-v1",
|
|
680
|
+
"follow": [
|
|
681
|
+
{ "key": "border-button", "light": ["accent"], "dark": ["accent"] }
|
|
682
|
+
],
|
|
683
|
+
"unexpected": true
|
|
684
|
+
},
|
|
685
|
+
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
686
|
+
},
|
|
670
687
|
{
|
|
671
688
|
"caseId": "theme-contract-invalid-8be84c111c6e2c48",
|
|
672
689
|
"coveredRuleIds": [
|
|
@@ -732,6 +749,22 @@
|
|
|
732
749
|
},
|
|
733
750
|
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
734
751
|
},
|
|
752
|
+
{
|
|
753
|
+
"caseId": "theme-contract-invalid-da27e57a38a39a7d",
|
|
754
|
+
"coveredRuleIds": [
|
|
755
|
+
"theme-contract:#/$defs/paletteFollow:additionalProperties"
|
|
756
|
+
],
|
|
757
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
758
|
+
"schemaPointer": "#/$defs/paletteFollow",
|
|
759
|
+
"keyword": "additionalProperties",
|
|
760
|
+
"instance": {
|
|
761
|
+
"key": "border-button",
|
|
762
|
+
"light": ["accent"],
|
|
763
|
+
"dark": ["accent"],
|
|
764
|
+
"unexpected": true
|
|
765
|
+
},
|
|
766
|
+
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
767
|
+
},
|
|
735
768
|
{
|
|
736
769
|
"caseId": "theme-contract-invalid-e752af67a2ccb4c4",
|
|
737
770
|
"coveredRuleIds": [
|
|
@@ -1,4 +1,64 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"caseId": "theme-contract-invalid-21ce1422a9e478b2",
|
|
4
|
+
"coveredRuleIds": [
|
|
5
|
+
"theme-contract:#/$defs/paletteFollow/allOf/2/then/properties/dark:maxItems"
|
|
6
|
+
],
|
|
7
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
8
|
+
"schemaPointer": "#/$defs/paletteFollow/allOf/2/then/properties/dark",
|
|
9
|
+
"keyword": "maxItems",
|
|
10
|
+
"recipe": {
|
|
11
|
+
"kind": "schema-array-count",
|
|
12
|
+
"schemaPointer": "#/$defs/paletteFollow/allOf/2/then/properties/dark",
|
|
13
|
+
"length": 4
|
|
14
|
+
},
|
|
15
|
+
"expectedCodes": ["SCHEMA_ARRAY_TOO_LONG"]
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"caseId": "theme-contract-invalid-26f6acf56e04f985",
|
|
19
|
+
"coveredRuleIds": [
|
|
20
|
+
"theme-contract:#/$defs/paletteFollow/properties/light:maxItems"
|
|
21
|
+
],
|
|
22
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
23
|
+
"schemaPointer": "#/$defs/paletteFollow/properties/light",
|
|
24
|
+
"keyword": "maxItems",
|
|
25
|
+
"recipe": {
|
|
26
|
+
"kind": "schema-array-count",
|
|
27
|
+
"schemaPointer": "#/$defs/paletteFollow/properties/light",
|
|
28
|
+
"length": 16
|
|
29
|
+
},
|
|
30
|
+
"expectedCodes": ["SCHEMA_ARRAY_TOO_LONG"]
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"caseId": "theme-contract-invalid-2f45a10497a461f4",
|
|
34
|
+
"coveredRuleIds": [
|
|
35
|
+
"theme-contract:#/$defs/paletteFollow/allOf/0/then/properties/dark:maxItems"
|
|
36
|
+
],
|
|
37
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
38
|
+
"schemaPointer": "#/$defs/paletteFollow/allOf/0/then/properties/dark",
|
|
39
|
+
"keyword": "maxItems",
|
|
40
|
+
"recipe": {
|
|
41
|
+
"kind": "schema-array-count",
|
|
42
|
+
"schemaPointer": "#/$defs/paletteFollow/allOf/0/then/properties/dark",
|
|
43
|
+
"length": 2
|
|
44
|
+
},
|
|
45
|
+
"expectedCodes": ["SCHEMA_ARRAY_TOO_LONG"]
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"caseId": "theme-contract-invalid-6906f21a5891bd9f",
|
|
49
|
+
"coveredRuleIds": [
|
|
50
|
+
"theme-contract:#/$defs/paletteFollow/allOf/0/then/properties/light:maxItems"
|
|
51
|
+
],
|
|
52
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
53
|
+
"schemaPointer": "#/$defs/paletteFollow/allOf/0/then/properties/light",
|
|
54
|
+
"keyword": "maxItems",
|
|
55
|
+
"recipe": {
|
|
56
|
+
"kind": "schema-array-count",
|
|
57
|
+
"schemaPointer": "#/$defs/paletteFollow/allOf/0/then/properties/light",
|
|
58
|
+
"length": 2
|
|
59
|
+
},
|
|
60
|
+
"expectedCodes": ["SCHEMA_ARRAY_TOO_LONG"]
|
|
61
|
+
},
|
|
2
62
|
{
|
|
3
63
|
"caseId": "theme-contract-invalid-6cb18f4d298674d8",
|
|
4
64
|
"coveredRuleIds": ["theme-contract:#/properties/cssLayers:maxItems"],
|
|
@@ -25,6 +85,51 @@
|
|
|
25
85
|
},
|
|
26
86
|
"expectedCodes": ["SCHEMA_ARRAY_TOO_LONG"]
|
|
27
87
|
},
|
|
88
|
+
{
|
|
89
|
+
"caseId": "theme-contract-invalid-762aa5c96ee3b59e",
|
|
90
|
+
"coveredRuleIds": [
|
|
91
|
+
"theme-contract:#/$defs/paletteFollow/allOf/3/then/properties/light:maxItems"
|
|
92
|
+
],
|
|
93
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
94
|
+
"schemaPointer": "#/$defs/paletteFollow/allOf/3/then/properties/light",
|
|
95
|
+
"keyword": "maxItems",
|
|
96
|
+
"recipe": {
|
|
97
|
+
"kind": "schema-array-count",
|
|
98
|
+
"schemaPointer": "#/$defs/paletteFollow/allOf/3/then/properties/light",
|
|
99
|
+
"length": 16
|
|
100
|
+
},
|
|
101
|
+
"expectedCodes": ["SCHEMA_ARRAY_TOO_LONG"]
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"caseId": "theme-contract-invalid-7ae155f2e075a011",
|
|
105
|
+
"coveredRuleIds": [
|
|
106
|
+
"theme-contract:#/properties/palette/properties/follow:maxItems"
|
|
107
|
+
],
|
|
108
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
109
|
+
"schemaPointer": "#/properties/palette/properties/follow",
|
|
110
|
+
"keyword": "maxItems",
|
|
111
|
+
"recipe": {
|
|
112
|
+
"kind": "schema-array-count",
|
|
113
|
+
"schemaPointer": "#/properties/palette/properties/follow",
|
|
114
|
+
"length": 41
|
|
115
|
+
},
|
|
116
|
+
"expectedCodes": ["SCHEMA_ARRAY_TOO_LONG"]
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"caseId": "theme-contract-invalid-809759536a3d4eb0",
|
|
120
|
+
"coveredRuleIds": [
|
|
121
|
+
"theme-contract:#/$defs/paletteFollow/allOf/3/then/properties/dark:maxItems"
|
|
122
|
+
],
|
|
123
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
124
|
+
"schemaPointer": "#/$defs/paletteFollow/allOf/3/then/properties/dark",
|
|
125
|
+
"keyword": "maxItems",
|
|
126
|
+
"recipe": {
|
|
127
|
+
"kind": "schema-array-count",
|
|
128
|
+
"schemaPointer": "#/$defs/paletteFollow/allOf/3/then/properties/dark",
|
|
129
|
+
"length": 16
|
|
130
|
+
},
|
|
131
|
+
"expectedCodes": ["SCHEMA_ARRAY_TOO_LONG"]
|
|
132
|
+
},
|
|
28
133
|
{
|
|
29
134
|
"caseId": "theme-contract-invalid-8ce520648a07a7d1",
|
|
30
135
|
"coveredRuleIds": ["theme-contract:#/properties/assets:maxItems"],
|
|
@@ -64,6 +169,51 @@
|
|
|
64
169
|
},
|
|
65
170
|
"expectedCodes": ["SCHEMA_ARRAY_TOO_LONG"]
|
|
66
171
|
},
|
|
172
|
+
{
|
|
173
|
+
"caseId": "theme-contract-invalid-a1c3911912a91644",
|
|
174
|
+
"coveredRuleIds": [
|
|
175
|
+
"theme-contract:#/$defs/paletteFollow/allOf/1/then/properties/light:maxItems"
|
|
176
|
+
],
|
|
177
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
178
|
+
"schemaPointer": "#/$defs/paletteFollow/allOf/1/then/properties/light",
|
|
179
|
+
"keyword": "maxItems",
|
|
180
|
+
"recipe": {
|
|
181
|
+
"kind": "schema-array-count",
|
|
182
|
+
"schemaPointer": "#/$defs/paletteFollow/allOf/1/then/properties/light",
|
|
183
|
+
"length": 2
|
|
184
|
+
},
|
|
185
|
+
"expectedCodes": ["SCHEMA_ARRAY_TOO_LONG"]
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"caseId": "theme-contract-invalid-b2d6db8c174136fd",
|
|
189
|
+
"coveredRuleIds": [
|
|
190
|
+
"theme-contract:#/$defs/paletteFollow/properties/dark:maxItems"
|
|
191
|
+
],
|
|
192
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
193
|
+
"schemaPointer": "#/$defs/paletteFollow/properties/dark",
|
|
194
|
+
"keyword": "maxItems",
|
|
195
|
+
"recipe": {
|
|
196
|
+
"kind": "schema-array-count",
|
|
197
|
+
"schemaPointer": "#/$defs/paletteFollow/properties/dark",
|
|
198
|
+
"length": 16
|
|
199
|
+
},
|
|
200
|
+
"expectedCodes": ["SCHEMA_ARRAY_TOO_LONG"]
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"caseId": "theme-contract-invalid-b8a7768b3028f083",
|
|
204
|
+
"coveredRuleIds": [
|
|
205
|
+
"theme-contract:#/$defs/paletteFollow/allOf/1/then/properties/dark:maxItems"
|
|
206
|
+
],
|
|
207
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
208
|
+
"schemaPointer": "#/$defs/paletteFollow/allOf/1/then/properties/dark",
|
|
209
|
+
"keyword": "maxItems",
|
|
210
|
+
"recipe": {
|
|
211
|
+
"kind": "schema-array-count",
|
|
212
|
+
"schemaPointer": "#/$defs/paletteFollow/allOf/1/then/properties/dark",
|
|
213
|
+
"length": 2
|
|
214
|
+
},
|
|
215
|
+
"expectedCodes": ["SCHEMA_ARRAY_TOO_LONG"]
|
|
216
|
+
},
|
|
67
217
|
{
|
|
68
218
|
"caseId": "theme-contract-invalid-d2504e4625eb2cd5",
|
|
69
219
|
"coveredRuleIds": ["theme-contract:#/properties/fixtures:maxItems"],
|
|
@@ -76,5 +226,20 @@
|
|
|
76
226
|
"length": 65
|
|
77
227
|
},
|
|
78
228
|
"expectedCodes": ["SCHEMA_ARRAY_TOO_LONG"]
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"caseId": "theme-contract-invalid-f6156724c2d96388",
|
|
232
|
+
"coveredRuleIds": [
|
|
233
|
+
"theme-contract:#/$defs/paletteFollow/allOf/2/then/properties/light:maxItems"
|
|
234
|
+
],
|
|
235
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
236
|
+
"schemaPointer": "#/$defs/paletteFollow/allOf/2/then/properties/light",
|
|
237
|
+
"keyword": "maxItems",
|
|
238
|
+
"recipe": {
|
|
239
|
+
"kind": "schema-array-count",
|
|
240
|
+
"schemaPointer": "#/$defs/paletteFollow/allOf/2/then/properties/light",
|
|
241
|
+
"length": 4
|
|
242
|
+
},
|
|
243
|
+
"expectedCodes": ["SCHEMA_ARRAY_TOO_LONG"]
|
|
79
244
|
}
|
|
80
245
|
]
|
|
@@ -1304,17 +1304,6 @@
|
|
|
1304
1304
|
"instance": "font-label-invalid",
|
|
1305
1305
|
"expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
|
|
1306
1306
|
},
|
|
1307
|
-
{
|
|
1308
|
-
"caseId": "theme-contract-invalid-65db61a4b7c75db3",
|
|
1309
|
-
"coveredRuleIds": [
|
|
1310
|
-
"theme-contract:#/allOf/2/then/properties/templateRange:const"
|
|
1311
|
-
],
|
|
1312
|
-
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
1313
|
-
"schemaPointer": "#/allOf/2/then/properties/templateRange",
|
|
1314
|
-
"keyword": "const",
|
|
1315
|
-
"instance": "^4.0.0-invalid",
|
|
1316
|
-
"expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
|
|
1317
|
-
},
|
|
1318
1307
|
{
|
|
1319
1308
|
"caseId": "theme-contract-invalid-65e81ecad3b84ebf",
|
|
1320
1309
|
"coveredRuleIds": [
|
|
@@ -2930,6 +2919,17 @@
|
|
|
2930
2919
|
"instance": "duration-invalid",
|
|
2931
2920
|
"expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
|
|
2932
2921
|
},
|
|
2922
|
+
{
|
|
2923
|
+
"caseId": "theme-contract-invalid-df3bcc169d79a91c",
|
|
2924
|
+
"coveredRuleIds": [
|
|
2925
|
+
"theme-contract:#/properties/palette/properties/profile:const"
|
|
2926
|
+
],
|
|
2927
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
2928
|
+
"schemaPointer": "#/properties/palette/properties/profile",
|
|
2929
|
+
"keyword": "const",
|
|
2930
|
+
"instance": "gala-palette-follow-v1-invalid",
|
|
2931
|
+
"expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
|
|
2932
|
+
},
|
|
2933
2933
|
{
|
|
2934
2934
|
"caseId": "theme-contract-invalid-df98f10ef28798a6",
|
|
2935
2935
|
"coveredRuleIds": [
|
|
@@ -65,6 +65,17 @@
|
|
|
65
65
|
"instance": "__invalid_enum__",
|
|
66
66
|
"expectedCodes": ["SCHEMA_ENUM_INVALID"]
|
|
67
67
|
},
|
|
68
|
+
{
|
|
69
|
+
"caseId": "theme-contract-invalid-3055f347b49113e2",
|
|
70
|
+
"coveredRuleIds": [
|
|
71
|
+
"theme-contract:#/$defs/paletteFollow/allOf/0/if/properties/key:enum"
|
|
72
|
+
],
|
|
73
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
74
|
+
"schemaPointer": "#/$defs/paletteFollow/allOf/0/if/properties/key",
|
|
75
|
+
"keyword": "enum",
|
|
76
|
+
"instance": "__invalid_enum__",
|
|
77
|
+
"expectedCodes": ["SCHEMA_ENUM_INVALID"]
|
|
78
|
+
},
|
|
68
79
|
{
|
|
69
80
|
"caseId": "theme-contract-invalid-391a56fe8fa4e815",
|
|
70
81
|
"coveredRuleIds": [
|
|
@@ -87,6 +98,17 @@
|
|
|
87
98
|
"instance": "__invalid_enum__",
|
|
88
99
|
"expectedCodes": ["SCHEMA_ENUM_INVALID"]
|
|
89
100
|
},
|
|
101
|
+
{
|
|
102
|
+
"caseId": "theme-contract-invalid-3cf4d9a86757c471",
|
|
103
|
+
"coveredRuleIds": [
|
|
104
|
+
"theme-contract:#/$defs/paletteFollow/properties/light/items:enum"
|
|
105
|
+
],
|
|
106
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
107
|
+
"schemaPointer": "#/$defs/paletteFollow/properties/light/items",
|
|
108
|
+
"keyword": "enum",
|
|
109
|
+
"instance": "__invalid_enum__",
|
|
110
|
+
"expectedCodes": ["SCHEMA_ENUM_INVALID"]
|
|
111
|
+
},
|
|
90
112
|
{
|
|
91
113
|
"caseId": "theme-contract-invalid-3d285c2b842038d6",
|
|
92
114
|
"coveredRuleIds": [
|
|
@@ -109,6 +131,17 @@
|
|
|
109
131
|
"instance": "__invalid_enum__",
|
|
110
132
|
"expectedCodes": ["SCHEMA_ENUM_INVALID"]
|
|
111
133
|
},
|
|
134
|
+
{
|
|
135
|
+
"caseId": "theme-contract-invalid-51c91c378d218254",
|
|
136
|
+
"coveredRuleIds": [
|
|
137
|
+
"theme-contract:#/$defs/paletteFollow/allOf/3/if/properties/key:enum"
|
|
138
|
+
],
|
|
139
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
140
|
+
"schemaPointer": "#/$defs/paletteFollow/allOf/3/if/properties/key",
|
|
141
|
+
"keyword": "enum",
|
|
142
|
+
"instance": "__invalid_enum__",
|
|
143
|
+
"expectedCodes": ["SCHEMA_ENUM_INVALID"]
|
|
144
|
+
},
|
|
112
145
|
{
|
|
113
146
|
"caseId": "theme-contract-invalid-6eb7112ca6e93671",
|
|
114
147
|
"coveredRuleIds": [
|
|
@@ -153,6 +186,17 @@
|
|
|
153
186
|
"instance": "__invalid_enum__",
|
|
154
187
|
"expectedCodes": ["SCHEMA_ENUM_INVALID"]
|
|
155
188
|
},
|
|
189
|
+
{
|
|
190
|
+
"caseId": "theme-contract-invalid-83c32de08a76f6ef",
|
|
191
|
+
"coveredRuleIds": [
|
|
192
|
+
"theme-contract:#/$defs/paletteFollow/allOf/1/if/properties/key:enum"
|
|
193
|
+
],
|
|
194
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
195
|
+
"schemaPointer": "#/$defs/paletteFollow/allOf/1/if/properties/key",
|
|
196
|
+
"keyword": "enum",
|
|
197
|
+
"instance": "__invalid_enum__",
|
|
198
|
+
"expectedCodes": ["SCHEMA_ENUM_INVALID"]
|
|
199
|
+
},
|
|
156
200
|
{
|
|
157
201
|
"caseId": "theme-contract-invalid-8956406182b25fee",
|
|
158
202
|
"coveredRuleIds": [
|
|
@@ -164,6 +208,17 @@
|
|
|
164
208
|
"instance": "__invalid_enum__",
|
|
165
209
|
"expectedCodes": ["SCHEMA_ENUM_INVALID"]
|
|
166
210
|
},
|
|
211
|
+
{
|
|
212
|
+
"caseId": "theme-contract-invalid-9e5218c66284e942",
|
|
213
|
+
"coveredRuleIds": [
|
|
214
|
+
"theme-contract:#/$defs/paletteFollow/allOf/2/if/properties/key:enum"
|
|
215
|
+
],
|
|
216
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
217
|
+
"schemaPointer": "#/$defs/paletteFollow/allOf/2/if/properties/key",
|
|
218
|
+
"keyword": "enum",
|
|
219
|
+
"instance": "__invalid_enum__",
|
|
220
|
+
"expectedCodes": ["SCHEMA_ENUM_INVALID"]
|
|
221
|
+
},
|
|
167
222
|
{
|
|
168
223
|
"caseId": "theme-contract-invalid-b09c0bc89032da1d",
|
|
169
224
|
"coveredRuleIds": [
|
|
@@ -186,6 +241,28 @@
|
|
|
186
241
|
"instance": "__invalid_enum__",
|
|
187
242
|
"expectedCodes": ["SCHEMA_ENUM_INVALID"]
|
|
188
243
|
},
|
|
244
|
+
{
|
|
245
|
+
"caseId": "theme-contract-invalid-b23bb4c186ff045c",
|
|
246
|
+
"coveredRuleIds": [
|
|
247
|
+
"theme-contract:#/allOf/2/then/properties/templateRange:enum"
|
|
248
|
+
],
|
|
249
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
250
|
+
"schemaPointer": "#/allOf/2/then/properties/templateRange",
|
|
251
|
+
"keyword": "enum",
|
|
252
|
+
"instance": "__invalid_enum__",
|
|
253
|
+
"expectedCodes": ["SCHEMA_ENUM_INVALID"]
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"caseId": "theme-contract-invalid-b76e311dfaa01987",
|
|
257
|
+
"coveredRuleIds": [
|
|
258
|
+
"theme-contract:#/$defs/paletteFollow/properties/key:enum"
|
|
259
|
+
],
|
|
260
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
261
|
+
"schemaPointer": "#/$defs/paletteFollow/properties/key",
|
|
262
|
+
"keyword": "enum",
|
|
263
|
+
"instance": "__invalid_enum__",
|
|
264
|
+
"expectedCodes": ["SCHEMA_ENUM_INVALID"]
|
|
265
|
+
},
|
|
189
266
|
{
|
|
190
267
|
"caseId": "theme-contract-invalid-b82b74927daf0bb9",
|
|
191
268
|
"coveredRuleIds": [
|
|
@@ -250,6 +327,17 @@
|
|
|
250
327
|
"instance": "__invalid_enum__",
|
|
251
328
|
"expectedCodes": ["SCHEMA_ENUM_INVALID"]
|
|
252
329
|
},
|
|
330
|
+
{
|
|
331
|
+
"caseId": "theme-contract-invalid-df6746644ca5c359",
|
|
332
|
+
"coveredRuleIds": [
|
|
333
|
+
"theme-contract:#/$defs/paletteFollow/properties/dark/items:enum"
|
|
334
|
+
],
|
|
335
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
336
|
+
"schemaPointer": "#/$defs/paletteFollow/properties/dark/items",
|
|
337
|
+
"keyword": "enum",
|
|
338
|
+
"instance": "__invalid_enum__",
|
|
339
|
+
"expectedCodes": ["SCHEMA_ENUM_INVALID"]
|
|
340
|
+
},
|
|
253
341
|
{
|
|
254
342
|
"caseId": "theme-contract-invalid-e17343d73b53a976",
|
|
255
343
|
"coveredRuleIds": [
|