@rathnasgala2/schemas 3.9.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 +255 -9
- 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 +2 -2
- package/openapi/openapi.yaml +56 -2
- 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
|
@@ -1619,6 +1619,17 @@
|
|
|
1619
1619
|
"keyword": "additionalProperties",
|
|
1620
1620
|
"instance": { "showMadeWith": false }
|
|
1621
1621
|
},
|
|
1622
|
+
{
|
|
1623
|
+
"caseId": "build-input-valid-6fd5337605d139e4",
|
|
1624
|
+
"coveredRuleIds": [
|
|
1625
|
+
"build-input:#/$defs/semanticTokens/properties/text/properties/dark:pattern",
|
|
1626
|
+
"build-input:#/$defs/semanticTokens/properties/text/properties/dark:type"
|
|
1627
|
+
],
|
|
1628
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
1629
|
+
"schemaPointer": "#/$defs/semanticTokens/properties/text/properties/dark",
|
|
1630
|
+
"keyword": "pattern",
|
|
1631
|
+
"instance": "#000000"
|
|
1632
|
+
},
|
|
1622
1633
|
{
|
|
1623
1634
|
"caseId": "build-input-valid-7292f5fd7b716d08",
|
|
1624
1635
|
"coveredRuleIds": [
|
|
@@ -1637,6 +1648,17 @@
|
|
|
1637
1648
|
"keyword": "const",
|
|
1638
1649
|
"instance": "like"
|
|
1639
1650
|
},
|
|
1651
|
+
{
|
|
1652
|
+
"caseId": "build-input-valid-73a8bcee76b754e6",
|
|
1653
|
+
"coveredRuleIds": [
|
|
1654
|
+
"build-input:#/$defs/semanticTokens/properties/accent/properties/dark:pattern",
|
|
1655
|
+
"build-input:#/$defs/semanticTokens/properties/accent/properties/dark:type"
|
|
1656
|
+
],
|
|
1657
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
1658
|
+
"schemaPointer": "#/$defs/semanticTokens/properties/accent/properties/dark",
|
|
1659
|
+
"keyword": "pattern",
|
|
1660
|
+
"instance": "#000000"
|
|
1661
|
+
},
|
|
1640
1662
|
{
|
|
1641
1663
|
"caseId": "build-input-valid-74061890596a952b",
|
|
1642
1664
|
"coveredRuleIds": [
|
|
@@ -1688,6 +1710,19 @@
|
|
|
1688
1710
|
"keyword": "const",
|
|
1689
1711
|
"instance": "text/html"
|
|
1690
1712
|
},
|
|
1713
|
+
{
|
|
1714
|
+
"caseId": "build-input-valid-78e7a761eab25ca7",
|
|
1715
|
+
"coveredRuleIds": [
|
|
1716
|
+
"build-input:#/$defs/semanticTokens/properties/canvas:additionalProperties",
|
|
1717
|
+
"build-input:#/$defs/semanticTokens/properties/canvas:required:dark",
|
|
1718
|
+
"build-input:#/$defs/semanticTokens/properties/canvas:required:light",
|
|
1719
|
+
"build-input:#/$defs/semanticTokens/properties/canvas:type"
|
|
1720
|
+
],
|
|
1721
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
1722
|
+
"schemaPointer": "#/$defs/semanticTokens/properties/canvas",
|
|
1723
|
+
"keyword": "additionalProperties",
|
|
1724
|
+
"instance": { "light": "#000000", "dark": "#000000" }
|
|
1725
|
+
},
|
|
1691
1726
|
{
|
|
1692
1727
|
"caseId": "build-input-valid-7979c30784d09358",
|
|
1693
1728
|
"coveredRuleIds": [
|
|
@@ -1734,6 +1769,17 @@
|
|
|
1734
1769
|
"keyword": "const",
|
|
1735
1770
|
"instance": "light"
|
|
1736
1771
|
},
|
|
1772
|
+
{
|
|
1773
|
+
"caseId": "build-input-valid-7fd32edc12383e67",
|
|
1774
|
+
"coveredRuleIds": [
|
|
1775
|
+
"build-input:#/$defs/semanticTokens/properties/text/properties/light:pattern",
|
|
1776
|
+
"build-input:#/$defs/semanticTokens/properties/text/properties/light:type"
|
|
1777
|
+
],
|
|
1778
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
1779
|
+
"schemaPointer": "#/$defs/semanticTokens/properties/text/properties/light",
|
|
1780
|
+
"keyword": "pattern",
|
|
1781
|
+
"instance": "#000000"
|
|
1782
|
+
},
|
|
1737
1783
|
{
|
|
1738
1784
|
"caseId": "build-input-valid-7fda9e8808193e3d",
|
|
1739
1785
|
"coveredRuleIds": [
|
|
@@ -2049,6 +2095,17 @@
|
|
|
2049
2095
|
"keyword": "required",
|
|
2050
2096
|
"instance": { "type": "internal" }
|
|
2051
2097
|
},
|
|
2098
|
+
{
|
|
2099
|
+
"caseId": "build-input-valid-a5d34bfee1280079",
|
|
2100
|
+
"coveredRuleIds": [
|
|
2101
|
+
"build-input:#/$defs/semanticTokens/properties/accent/properties/light:pattern",
|
|
2102
|
+
"build-input:#/$defs/semanticTokens/properties/accent/properties/light:type"
|
|
2103
|
+
],
|
|
2104
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
2105
|
+
"schemaPointer": "#/$defs/semanticTokens/properties/accent/properties/light",
|
|
2106
|
+
"keyword": "pattern",
|
|
2107
|
+
"instance": "#000000"
|
|
2108
|
+
},
|
|
2052
2109
|
{
|
|
2053
2110
|
"caseId": "build-input-valid-a863eab909e45385",
|
|
2054
2111
|
"coveredRuleIds": [
|
|
@@ -2124,6 +2181,19 @@
|
|
|
2124
2181
|
"keyword": "x-gala-graphemeLength",
|
|
2125
2182
|
"instance": "fixture-1"
|
|
2126
2183
|
},
|
|
2184
|
+
{
|
|
2185
|
+
"caseId": "build-input-valid-ace067b399cf0427",
|
|
2186
|
+
"coveredRuleIds": [
|
|
2187
|
+
"build-input:#/$defs/semanticTokens/properties/text:additionalProperties",
|
|
2188
|
+
"build-input:#/$defs/semanticTokens/properties/text:required:dark",
|
|
2189
|
+
"build-input:#/$defs/semanticTokens/properties/text:required:light",
|
|
2190
|
+
"build-input:#/$defs/semanticTokens/properties/text:type"
|
|
2191
|
+
],
|
|
2192
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
2193
|
+
"schemaPointer": "#/$defs/semanticTokens/properties/text",
|
|
2194
|
+
"keyword": "additionalProperties",
|
|
2195
|
+
"instance": { "light": "#000000", "dark": "#000000" }
|
|
2196
|
+
},
|
|
2127
2197
|
{
|
|
2128
2198
|
"caseId": "build-input-valid-ad3a9e70024dcd1c",
|
|
2129
2199
|
"coveredRuleIds": [
|
|
@@ -2298,6 +2368,17 @@
|
|
|
2298
2368
|
"keyword": "const",
|
|
2299
2369
|
"instance": "emoji"
|
|
2300
2370
|
},
|
|
2371
|
+
{
|
|
2372
|
+
"caseId": "build-input-valid-d063d490a6ea44d7",
|
|
2373
|
+
"coveredRuleIds": [
|
|
2374
|
+
"build-input:#/$defs/semanticTokens/properties/canvas/properties/dark:pattern",
|
|
2375
|
+
"build-input:#/$defs/semanticTokens/properties/canvas/properties/dark:type"
|
|
2376
|
+
],
|
|
2377
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
2378
|
+
"schemaPointer": "#/$defs/semanticTokens/properties/canvas/properties/dark",
|
|
2379
|
+
"keyword": "pattern",
|
|
2380
|
+
"instance": "#000000"
|
|
2381
|
+
},
|
|
2301
2382
|
{
|
|
2302
2383
|
"caseId": "build-input-valid-d3f6cc6ab7220249",
|
|
2303
2384
|
"coveredRuleIds": ["build-input:#/$defs/normalizedSource:oneOf"],
|
|
@@ -2484,6 +2565,19 @@
|
|
|
2484
2565
|
"digest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
|
|
2485
2566
|
}
|
|
2486
2567
|
},
|
|
2568
|
+
{
|
|
2569
|
+
"caseId": "build-input-valid-de3b662db45eefe2",
|
|
2570
|
+
"coveredRuleIds": [
|
|
2571
|
+
"build-input:#/$defs/semanticTokens/properties/accent:additionalProperties",
|
|
2572
|
+
"build-input:#/$defs/semanticTokens/properties/accent:required:dark",
|
|
2573
|
+
"build-input:#/$defs/semanticTokens/properties/accent:required:light",
|
|
2574
|
+
"build-input:#/$defs/semanticTokens/properties/accent:type"
|
|
2575
|
+
],
|
|
2576
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
2577
|
+
"schemaPointer": "#/$defs/semanticTokens/properties/accent",
|
|
2578
|
+
"keyword": "additionalProperties",
|
|
2579
|
+
"instance": { "light": "#000000", "dark": "#000000" }
|
|
2580
|
+
},
|
|
2487
2581
|
{
|
|
2488
2582
|
"caseId": "build-input-valid-de74efda4f10cb07",
|
|
2489
2583
|
"coveredRuleIds": [
|
|
@@ -2508,7 +2602,6 @@
|
|
|
2508
2602
|
"caseId": "build-input-valid-e01b29a6b0d28dc0",
|
|
2509
2603
|
"coveredRuleIds": [
|
|
2510
2604
|
"build-input:#/$defs/semanticTokens:additionalProperties",
|
|
2511
|
-
"build-input:#/$defs/semanticTokens:maxProperties",
|
|
2512
2605
|
"build-input:#/$defs/semanticTokens:type"
|
|
2513
2606
|
],
|
|
2514
2607
|
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
@@ -2994,5 +3087,16 @@
|
|
|
2994
3087
|
}
|
|
2995
3088
|
]
|
|
2996
3089
|
}
|
|
3090
|
+
},
|
|
3091
|
+
{
|
|
3092
|
+
"caseId": "build-input-valid-fd97a2055a6f436d",
|
|
3093
|
+
"coveredRuleIds": [
|
|
3094
|
+
"build-input:#/$defs/semanticTokens/properties/canvas/properties/light:pattern",
|
|
3095
|
+
"build-input:#/$defs/semanticTokens/properties/canvas/properties/light:type"
|
|
3096
|
+
],
|
|
3097
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
3098
|
+
"schemaPointer": "#/$defs/semanticTokens/properties/canvas/properties/light",
|
|
3099
|
+
"keyword": "pattern",
|
|
3100
|
+
"instance": "#000000"
|
|
2997
3101
|
}
|
|
2998
3102
|
]
|
|
@@ -455,6 +455,16 @@
|
|
|
455
455
|
"keyword": "const",
|
|
456
456
|
"instance": "font-weight"
|
|
457
457
|
},
|
|
458
|
+
{
|
|
459
|
+
"caseId": "theme-contract-valid-17439c542abec25c",
|
|
460
|
+
"coveredRuleIds": [
|
|
461
|
+
"theme-contract:#/$defs/paletteFollow/properties/key:enum"
|
|
462
|
+
],
|
|
463
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
464
|
+
"schemaPointer": "#/$defs/paletteFollow/properties/key",
|
|
465
|
+
"keyword": "enum",
|
|
466
|
+
"instance": "border-button"
|
|
467
|
+
},
|
|
458
468
|
{
|
|
459
469
|
"caseId": "theme-contract-valid-176d4596f966eed4",
|
|
460
470
|
"coveredRuleIds": [
|
|
@@ -638,6 +648,16 @@
|
|
|
638
648
|
"keyword": "const",
|
|
639
649
|
"instance": "color-syntax-comment"
|
|
640
650
|
},
|
|
651
|
+
{
|
|
652
|
+
"caseId": "theme-contract-valid-21890d6b9747bbcf",
|
|
653
|
+
"coveredRuleIds": [
|
|
654
|
+
"theme-contract:#/properties/palette/properties/profile:const"
|
|
655
|
+
],
|
|
656
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
657
|
+
"schemaPointer": "#/properties/palette/properties/profile",
|
|
658
|
+
"keyword": "const",
|
|
659
|
+
"instance": "gala-palette-follow-v1"
|
|
660
|
+
},
|
|
641
661
|
{
|
|
642
662
|
"caseId": "theme-contract-valid-21a8a73d6fc320bb",
|
|
643
663
|
"coveredRuleIds": [
|
|
@@ -778,6 +798,16 @@
|
|
|
778
798
|
"keyword": "enum",
|
|
779
799
|
"instance": "normal"
|
|
780
800
|
},
|
|
801
|
+
{
|
|
802
|
+
"caseId": "theme-contract-valid-274913165cef3c5c",
|
|
803
|
+
"coveredRuleIds": [
|
|
804
|
+
"theme-contract:#/$defs/paletteFollow/properties/light/items:enum"
|
|
805
|
+
],
|
|
806
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
807
|
+
"schemaPointer": "#/$defs/paletteFollow/properties/light/items",
|
|
808
|
+
"keyword": "enum",
|
|
809
|
+
"instance": "accent"
|
|
810
|
+
},
|
|
781
811
|
{
|
|
782
812
|
"caseId": "theme-contract-valid-275c713f9d84206c",
|
|
783
813
|
"coveredRuleIds": [
|
|
@@ -788,6 +818,16 @@
|
|
|
788
818
|
"keyword": "const",
|
|
789
819
|
"instance": "paint"
|
|
790
820
|
},
|
|
821
|
+
{
|
|
822
|
+
"caseId": "theme-contract-valid-27c36b319c08aa6d",
|
|
823
|
+
"coveredRuleIds": [
|
|
824
|
+
"theme-contract:#/$defs/paletteFollow/allOf/3/if:required:key"
|
|
825
|
+
],
|
|
826
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
827
|
+
"schemaPointer": "#/$defs/paletteFollow/allOf/3/if",
|
|
828
|
+
"keyword": "required",
|
|
829
|
+
"instance": { "key": "paint-button" }
|
|
830
|
+
},
|
|
791
831
|
{
|
|
792
832
|
"caseId": "theme-contract-valid-27d349816113c2a4",
|
|
793
833
|
"coveredRuleIds": [
|
|
@@ -1853,6 +1893,16 @@
|
|
|
1853
1893
|
"keyword": "required",
|
|
1854
1894
|
"instance": { "profile": "developer" }
|
|
1855
1895
|
},
|
|
1896
|
+
{
|
|
1897
|
+
"caseId": "theme-contract-valid-43171afd4b02baca",
|
|
1898
|
+
"coveredRuleIds": [
|
|
1899
|
+
"theme-contract:#/$defs/paletteFollow/allOf/2/then/properties/dark:maxItems"
|
|
1900
|
+
],
|
|
1901
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
1902
|
+
"schemaPointer": "#/$defs/paletteFollow/allOf/2/then/properties/dark",
|
|
1903
|
+
"keyword": "maxItems",
|
|
1904
|
+
"instance": null
|
|
1905
|
+
},
|
|
1856
1906
|
{
|
|
1857
1907
|
"caseId": "theme-contract-valid-4355fb1160dae3f2",
|
|
1858
1908
|
"coveredRuleIds": [
|
|
@@ -1953,6 +2003,16 @@
|
|
|
1953
2003
|
"keyword": "const",
|
|
1954
2004
|
"instance": "color-selection"
|
|
1955
2005
|
},
|
|
2006
|
+
{
|
|
2007
|
+
"caseId": "theme-contract-valid-499853514efa8b0c",
|
|
2008
|
+
"coveredRuleIds": [
|
|
2009
|
+
"theme-contract:#/$defs/paletteFollow/allOf/1/if:required:key"
|
|
2010
|
+
],
|
|
2011
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
2012
|
+
"schemaPointer": "#/$defs/paletteFollow/allOf/1/if",
|
|
2013
|
+
"keyword": "required",
|
|
2014
|
+
"instance": { "key": "border-button" }
|
|
2015
|
+
},
|
|
1956
2016
|
{
|
|
1957
2017
|
"caseId": "theme-contract-valid-4a7a472d5110735f",
|
|
1958
2018
|
"coveredRuleIds": [
|
|
@@ -2023,6 +2083,16 @@
|
|
|
2023
2083
|
"keyword": "required",
|
|
2024
2084
|
"instance": { "profile": "editorial" }
|
|
2025
2085
|
},
|
|
2086
|
+
{
|
|
2087
|
+
"caseId": "theme-contract-valid-4d5afd8c9ec391d2",
|
|
2088
|
+
"coveredRuleIds": [
|
|
2089
|
+
"theme-contract:#/$defs/paletteFollow/allOf/0/then/properties/dark:maxItems"
|
|
2090
|
+
],
|
|
2091
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
2092
|
+
"schemaPointer": "#/$defs/paletteFollow/allOf/0/then/properties/dark",
|
|
2093
|
+
"keyword": "maxItems",
|
|
2094
|
+
"instance": null
|
|
2095
|
+
},
|
|
2026
2096
|
{
|
|
2027
2097
|
"caseId": "theme-contract-valid-4d78821622e0d940",
|
|
2028
2098
|
"coveredRuleIds": [
|
|
@@ -2147,6 +2217,16 @@
|
|
|
2147
2217
|
"keyword": "const",
|
|
2148
2218
|
"instance": "weight-display"
|
|
2149
2219
|
},
|
|
2220
|
+
{
|
|
2221
|
+
"caseId": "theme-contract-valid-53645386aa141afc",
|
|
2222
|
+
"coveredRuleIds": [
|
|
2223
|
+
"theme-contract:#/$defs/paletteFollow/allOf/1/then/properties/dark:maxItems"
|
|
2224
|
+
],
|
|
2225
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
2226
|
+
"schemaPointer": "#/$defs/paletteFollow/allOf/1/then/properties/dark",
|
|
2227
|
+
"keyword": "maxItems",
|
|
2228
|
+
"instance": null
|
|
2229
|
+
},
|
|
2150
2230
|
{
|
|
2151
2231
|
"caseId": "theme-contract-valid-53788a4d0780690b",
|
|
2152
2232
|
"coveredRuleIds": [
|
|
@@ -2286,6 +2366,16 @@
|
|
|
2286
2366
|
"keyword": "const",
|
|
2287
2367
|
"instance": "color-canvas"
|
|
2288
2368
|
},
|
|
2369
|
+
{
|
|
2370
|
+
"caseId": "theme-contract-valid-5acbc30e5258fbff",
|
|
2371
|
+
"coveredRuleIds": [
|
|
2372
|
+
"theme-contract:#/$defs/paletteFollow/allOf/0/if/properties/key:enum"
|
|
2373
|
+
],
|
|
2374
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
2375
|
+
"schemaPointer": "#/$defs/paletteFollow/allOf/0/if/properties/key",
|
|
2376
|
+
"keyword": "enum",
|
|
2377
|
+
"instance": "color-accent"
|
|
2378
|
+
},
|
|
2289
2379
|
{
|
|
2290
2380
|
"caseId": "theme-contract-valid-5aceeb9a12703630",
|
|
2291
2381
|
"coveredRuleIds": [
|
|
@@ -2296,6 +2386,16 @@
|
|
|
2296
2386
|
"keyword": "pattern",
|
|
2297
2387
|
"instance": "none"
|
|
2298
2388
|
},
|
|
2389
|
+
{
|
|
2390
|
+
"caseId": "theme-contract-valid-5b9fa599bad25f2c",
|
|
2391
|
+
"coveredRuleIds": [
|
|
2392
|
+
"theme-contract:#/$defs/paletteFollow/allOf/3/if/properties/key:enum"
|
|
2393
|
+
],
|
|
2394
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
2395
|
+
"schemaPointer": "#/$defs/paletteFollow/allOf/3/if/properties/key",
|
|
2396
|
+
"keyword": "enum",
|
|
2397
|
+
"instance": "paint-button"
|
|
2398
|
+
},
|
|
2299
2399
|
{
|
|
2300
2400
|
"caseId": "theme-contract-valid-5bc9b77cdce1698b",
|
|
2301
2401
|
"coveredRuleIds": ["theme-contract:#/allOf/2/if:required:contractVersion"],
|
|
@@ -2380,6 +2480,16 @@
|
|
|
2380
2480
|
"keyword": "const",
|
|
2381
2481
|
"instance": "number"
|
|
2382
2482
|
},
|
|
2483
|
+
{
|
|
2484
|
+
"caseId": "theme-contract-valid-61ab37a2b223bd97",
|
|
2485
|
+
"coveredRuleIds": [
|
|
2486
|
+
"theme-contract:#/$defs/paletteFollow/allOf/2/then/properties/light:maxItems"
|
|
2487
|
+
],
|
|
2488
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
2489
|
+
"schemaPointer": "#/$defs/paletteFollow/allOf/2/then/properties/light",
|
|
2490
|
+
"keyword": "maxItems",
|
|
2491
|
+
"instance": null
|
|
2492
|
+
},
|
|
2383
2493
|
{
|
|
2384
2494
|
"caseId": "theme-contract-valid-61f7310cdea83c5b",
|
|
2385
2495
|
"coveredRuleIds": [
|
|
@@ -2525,11 +2635,11 @@
|
|
|
2525
2635
|
{
|
|
2526
2636
|
"caseId": "theme-contract-valid-6c6b543bac68d9f1",
|
|
2527
2637
|
"coveredRuleIds": [
|
|
2528
|
-
"theme-contract:#/allOf/2/then/properties/templateRange:
|
|
2638
|
+
"theme-contract:#/allOf/2/then/properties/templateRange:enum"
|
|
2529
2639
|
],
|
|
2530
2640
|
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
2531
2641
|
"schemaPointer": "#/allOf/2/then/properties/templateRange",
|
|
2532
|
-
"keyword": "
|
|
2642
|
+
"keyword": "enum",
|
|
2533
2643
|
"instance": "^4.0.0"
|
|
2534
2644
|
},
|
|
2535
2645
|
{
|
|
@@ -2552,6 +2662,16 @@
|
|
|
2552
2662
|
"keyword": "pattern",
|
|
2553
2663
|
"instance": "1"
|
|
2554
2664
|
},
|
|
2665
|
+
{
|
|
2666
|
+
"caseId": "theme-contract-valid-6d64d4ef44525e2b",
|
|
2667
|
+
"coveredRuleIds": [
|
|
2668
|
+
"theme-contract:#/$defs/paletteFollow/allOf/2/if:required:key"
|
|
2669
|
+
],
|
|
2670
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
2671
|
+
"schemaPointer": "#/$defs/paletteFollow/allOf/2/if",
|
|
2672
|
+
"keyword": "required",
|
|
2673
|
+
"instance": { "key": "shadow-avatar-ring" }
|
|
2674
|
+
},
|
|
2555
2675
|
{
|
|
2556
2676
|
"caseId": "theme-contract-valid-6d676fdd5df91d42",
|
|
2557
2677
|
"coveredRuleIds": [
|
|
@@ -2592,6 +2712,18 @@
|
|
|
2592
2712
|
"keyword": "const",
|
|
2593
2713
|
"instance": "zebra"
|
|
2594
2714
|
},
|
|
2715
|
+
{
|
|
2716
|
+
"caseId": "theme-contract-valid-7048bc3ac6495d9d",
|
|
2717
|
+
"coveredRuleIds": [
|
|
2718
|
+
"theme-contract:#/$defs/paletteFollow/properties/light:maxItems",
|
|
2719
|
+
"theme-contract:#/$defs/paletteFollow/properties/light:minItems",
|
|
2720
|
+
"theme-contract:#/$defs/paletteFollow/properties/light:type"
|
|
2721
|
+
],
|
|
2722
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
2723
|
+
"schemaPointer": "#/$defs/paletteFollow/properties/light",
|
|
2724
|
+
"keyword": "maxItems",
|
|
2725
|
+
"instance": ["accent"]
|
|
2726
|
+
},
|
|
2595
2727
|
{
|
|
2596
2728
|
"caseId": "theme-contract-valid-7111e326ecc28c8e",
|
|
2597
2729
|
"coveredRuleIds": [
|
|
@@ -2602,6 +2734,16 @@
|
|
|
2602
2734
|
"keyword": "pattern",
|
|
2603
2735
|
"instance": "@rathnasgala2/theme-amaze@2.0.0"
|
|
2604
2736
|
},
|
|
2737
|
+
{
|
|
2738
|
+
"caseId": "theme-contract-valid-71c580f1f32e6cd6",
|
|
2739
|
+
"coveredRuleIds": [
|
|
2740
|
+
"theme-contract:#/$defs/paletteFollow/allOf/0/if:required:key"
|
|
2741
|
+
],
|
|
2742
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
2743
|
+
"schemaPointer": "#/$defs/paletteFollow/allOf/0/if",
|
|
2744
|
+
"keyword": "required",
|
|
2745
|
+
"instance": { "key": "color-accent" }
|
|
2746
|
+
},
|
|
2605
2747
|
{
|
|
2606
2748
|
"caseId": "theme-contract-valid-7243c46f71360951",
|
|
2607
2749
|
"coveredRuleIds": [
|
|
@@ -2702,6 +2844,16 @@
|
|
|
2702
2844
|
"keyword": "const",
|
|
2703
2845
|
"instance": "color-text-muted"
|
|
2704
2846
|
},
|
|
2847
|
+
{
|
|
2848
|
+
"caseId": "theme-contract-valid-7916d39fcedfbbd3",
|
|
2849
|
+
"coveredRuleIds": [
|
|
2850
|
+
"theme-contract:#/$defs/paletteFollow/allOf/3/then/properties/light:maxItems"
|
|
2851
|
+
],
|
|
2852
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
2853
|
+
"schemaPointer": "#/$defs/paletteFollow/allOf/3/then/properties/light",
|
|
2854
|
+
"keyword": "maxItems",
|
|
2855
|
+
"instance": null
|
|
2856
|
+
},
|
|
2705
2857
|
{
|
|
2706
2858
|
"caseId": "theme-contract-valid-7941af4aaf3f4547",
|
|
2707
2859
|
"coveredRuleIds": [
|
|
@@ -2979,6 +3131,16 @@
|
|
|
2979
3131
|
"keyword": "const",
|
|
2980
3132
|
"instance": "editorial"
|
|
2981
3133
|
},
|
|
3134
|
+
{
|
|
3135
|
+
"caseId": "theme-contract-valid-84dda5cd83b06764",
|
|
3136
|
+
"coveredRuleIds": [
|
|
3137
|
+
"theme-contract:#/$defs/paletteFollow/allOf/2/if/properties/key:enum"
|
|
3138
|
+
],
|
|
3139
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
3140
|
+
"schemaPointer": "#/$defs/paletteFollow/allOf/2/if/properties/key",
|
|
3141
|
+
"keyword": "enum",
|
|
3142
|
+
"instance": "shadow-avatar-ring"
|
|
3143
|
+
},
|
|
2982
3144
|
{
|
|
2983
3145
|
"caseId": "theme-contract-valid-861eafc8ea30d249",
|
|
2984
3146
|
"coveredRuleIds": ["theme-contract:#/allOf/1:oneOf"],
|
|
@@ -3110,6 +3272,16 @@
|
|
|
3110
3272
|
"keyword": "const",
|
|
3111
3273
|
"instance": "color"
|
|
3112
3274
|
},
|
|
3275
|
+
{
|
|
3276
|
+
"caseId": "theme-contract-valid-8c11234405947129",
|
|
3277
|
+
"coveredRuleIds": [
|
|
3278
|
+
"theme-contract:#/$defs/paletteFollow/properties/dark/items:enum"
|
|
3279
|
+
],
|
|
3280
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
3281
|
+
"schemaPointer": "#/$defs/paletteFollow/properties/dark/items",
|
|
3282
|
+
"keyword": "enum",
|
|
3283
|
+
"instance": "accent"
|
|
3284
|
+
},
|
|
3113
3285
|
{
|
|
3114
3286
|
"caseId": "theme-contract-valid-8c6a9c5209d25b0b",
|
|
3115
3287
|
"coveredRuleIds": [
|
|
@@ -3489,6 +3661,16 @@
|
|
|
3489
3661
|
"keyword": "const",
|
|
3490
3662
|
"instance": "editorial"
|
|
3491
3663
|
},
|
|
3664
|
+
{
|
|
3665
|
+
"caseId": "theme-contract-valid-9e31bb6a4a81e174",
|
|
3666
|
+
"coveredRuleIds": [
|
|
3667
|
+
"theme-contract:#/$defs/paletteFollow/allOf/3/then/properties/dark:maxItems"
|
|
3668
|
+
],
|
|
3669
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
3670
|
+
"schemaPointer": "#/$defs/paletteFollow/allOf/3/then/properties/dark",
|
|
3671
|
+
"keyword": "maxItems",
|
|
3672
|
+
"instance": null
|
|
3673
|
+
},
|
|
3492
3674
|
{
|
|
3493
3675
|
"caseId": "theme-contract-valid-9f85e1ee0db440a1",
|
|
3494
3676
|
"coveredRuleIds": [
|
|
@@ -3687,6 +3869,16 @@
|
|
|
3687
3869
|
"keyword": "const",
|
|
3688
3870
|
"instance": "shadow-card"
|
|
3689
3871
|
},
|
|
3872
|
+
{
|
|
3873
|
+
"caseId": "theme-contract-valid-ac11be5ba303e635",
|
|
3874
|
+
"coveredRuleIds": [
|
|
3875
|
+
"theme-contract:#/$defs/paletteFollow/allOf/1/if/properties/key:enum"
|
|
3876
|
+
],
|
|
3877
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
3878
|
+
"schemaPointer": "#/$defs/paletteFollow/allOf/1/if/properties/key",
|
|
3879
|
+
"keyword": "enum",
|
|
3880
|
+
"instance": "border-button"
|
|
3881
|
+
},
|
|
3690
3882
|
{
|
|
3691
3883
|
"caseId": "theme-contract-valid-ac5fa03015a1229e",
|
|
3692
3884
|
"coveredRuleIds": [
|
|
@@ -4301,6 +4493,16 @@
|
|
|
4301
4493
|
"keyword": "const",
|
|
4302
4494
|
"instance": "length"
|
|
4303
4495
|
},
|
|
4496
|
+
{
|
|
4497
|
+
"caseId": "theme-contract-valid-cd45e4a28539d8cc",
|
|
4498
|
+
"coveredRuleIds": [
|
|
4499
|
+
"theme-contract:#/$defs/paletteFollow/allOf/0/then/properties/light:maxItems"
|
|
4500
|
+
],
|
|
4501
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
4502
|
+
"schemaPointer": "#/$defs/paletteFollow/allOf/0/then/properties/light",
|
|
4503
|
+
"keyword": "maxItems",
|
|
4504
|
+
"instance": null
|
|
4505
|
+
},
|
|
4304
4506
|
{
|
|
4305
4507
|
"caseId": "theme-contract-valid-cd79f70b87a09e49",
|
|
4306
4508
|
"coveredRuleIds": [
|
|
@@ -4422,6 +4624,18 @@
|
|
|
4422
4624
|
"keyword": "const",
|
|
4423
4625
|
"instance": "border-row-divider"
|
|
4424
4626
|
},
|
|
4627
|
+
{
|
|
4628
|
+
"caseId": "theme-contract-valid-d16142121f258b60",
|
|
4629
|
+
"coveredRuleIds": [
|
|
4630
|
+
"theme-contract:#/$defs/paletteFollow/properties/dark:maxItems",
|
|
4631
|
+
"theme-contract:#/$defs/paletteFollow/properties/dark:minItems",
|
|
4632
|
+
"theme-contract:#/$defs/paletteFollow/properties/dark:type"
|
|
4633
|
+
],
|
|
4634
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
4635
|
+
"schemaPointer": "#/$defs/paletteFollow/properties/dark",
|
|
4636
|
+
"keyword": "maxItems",
|
|
4637
|
+
"instance": ["accent"]
|
|
4638
|
+
},
|
|
4425
4639
|
{
|
|
4426
4640
|
"caseId": "theme-contract-valid-d23f73673df97194",
|
|
4427
4641
|
"coveredRuleIds": [
|
|
@@ -5332,6 +5546,24 @@
|
|
|
5332
5546
|
"keyword": "const",
|
|
5333
5547
|
"instance": "biography"
|
|
5334
5548
|
},
|
|
5549
|
+
{
|
|
5550
|
+
"caseId": "theme-contract-valid-e4f0412c78d67aae",
|
|
5551
|
+
"coveredRuleIds": [
|
|
5552
|
+
"theme-contract:#/$defs/paletteFollow:additionalProperties",
|
|
5553
|
+
"theme-contract:#/$defs/paletteFollow:required:dark",
|
|
5554
|
+
"theme-contract:#/$defs/paletteFollow:required:key",
|
|
5555
|
+
"theme-contract:#/$defs/paletteFollow:required:light",
|
|
5556
|
+
"theme-contract:#/$defs/paletteFollow:type"
|
|
5557
|
+
],
|
|
5558
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
5559
|
+
"schemaPointer": "#/$defs/paletteFollow",
|
|
5560
|
+
"keyword": "additionalProperties",
|
|
5561
|
+
"instance": {
|
|
5562
|
+
"key": "border-button",
|
|
5563
|
+
"light": ["accent"],
|
|
5564
|
+
"dark": ["accent"]
|
|
5565
|
+
}
|
|
5566
|
+
},
|
|
5335
5567
|
{
|
|
5336
5568
|
"caseId": "theme-contract-valid-e58a0f245f21e8f8",
|
|
5337
5569
|
"coveredRuleIds": [
|
|
@@ -5742,6 +5974,20 @@
|
|
|
5742
5974
|
"keyword": "required",
|
|
5743
5975
|
"instance": { "composition": null }
|
|
5744
5976
|
},
|
|
5977
|
+
{
|
|
5978
|
+
"caseId": "theme-contract-valid-f77e57279f9e36af",
|
|
5979
|
+
"coveredRuleIds": [
|
|
5980
|
+
"theme-contract:#/properties/palette/properties/follow:maxItems",
|
|
5981
|
+
"theme-contract:#/properties/palette/properties/follow:minItems",
|
|
5982
|
+
"theme-contract:#/properties/palette/properties/follow:type"
|
|
5983
|
+
],
|
|
5984
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
5985
|
+
"schemaPointer": "#/properties/palette/properties/follow",
|
|
5986
|
+
"keyword": "maxItems",
|
|
5987
|
+
"instance": [
|
|
5988
|
+
{ "key": "border-button", "light": ["accent"], "dark": ["accent"] }
|
|
5989
|
+
]
|
|
5990
|
+
},
|
|
5745
5991
|
{
|
|
5746
5992
|
"caseId": "theme-contract-valid-f7d8f9cf991043bf",
|
|
5747
5993
|
"coveredRuleIds": [
|
|
@@ -5871,6 +6117,16 @@
|
|
|
5871
6117
|
"keyword": "format",
|
|
5872
6118
|
"instance": "en-US"
|
|
5873
6119
|
},
|
|
6120
|
+
{
|
|
6121
|
+
"caseId": "theme-contract-valid-fcc86f00dc3b9d1c",
|
|
6122
|
+
"coveredRuleIds": [
|
|
6123
|
+
"theme-contract:#/$defs/paletteFollow/allOf/1/then/properties/light:maxItems"
|
|
6124
|
+
],
|
|
6125
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
6126
|
+
"schemaPointer": "#/$defs/paletteFollow/allOf/1/then/properties/light",
|
|
6127
|
+
"keyword": "maxItems",
|
|
6128
|
+
"instance": null
|
|
6129
|
+
},
|
|
5874
6130
|
{
|
|
5875
6131
|
"caseId": "theme-contract-valid-fce1ca9d273c5d9c",
|
|
5876
6132
|
"coveredRuleIds": [
|
|
@@ -5881,6 +6137,24 @@
|
|
|
5881
6137
|
"keyword": "const",
|
|
5882
6138
|
"instance": "title-transform"
|
|
5883
6139
|
},
|
|
6140
|
+
{
|
|
6141
|
+
"caseId": "theme-contract-valid-fd3ae1f1085eb0ae",
|
|
6142
|
+
"coveredRuleIds": [
|
|
6143
|
+
"theme-contract:#/properties/palette:additionalProperties",
|
|
6144
|
+
"theme-contract:#/properties/palette:required:follow",
|
|
6145
|
+
"theme-contract:#/properties/palette:required:profile",
|
|
6146
|
+
"theme-contract:#/properties/palette:type"
|
|
6147
|
+
],
|
|
6148
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
6149
|
+
"schemaPointer": "#/properties/palette",
|
|
6150
|
+
"keyword": "additionalProperties",
|
|
6151
|
+
"instance": {
|
|
6152
|
+
"profile": "gala-palette-follow-v1",
|
|
6153
|
+
"follow": [
|
|
6154
|
+
{ "key": "border-button", "light": ["accent"], "dark": ["accent"] }
|
|
6155
|
+
]
|
|
6156
|
+
}
|
|
6157
|
+
},
|
|
5884
6158
|
{
|
|
5885
6159
|
"caseId": "theme-contract-valid-fdd1b85bdb647285",
|
|
5886
6160
|
"coveredRuleIds": ["theme-contract:#/allOf/0:oneOf"],
|