@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.
Files changed (47) hide show
  1. package/THIRD_PARTY_LICENSES.json +1 -1
  2. package/diagnostics/diagnostic-map.json +255 -9
  3. package/docs/catalogs/app-components.json +71 -1
  4. package/docs/catalogs/app-routes.json +27 -4
  5. package/docs/catalogs/schema-inventory.json +5 -5
  6. package/examples/valid/appearance/rules.json +105 -1
  7. package/examples/valid/build-input/rules.json +105 -1
  8. package/examples/valid/theme-contract/rules.json +276 -2
  9. package/fixtures/boundary/appearance/rules.json +105 -12
  10. package/fixtures/boundary/build-input/rules.json +105 -12
  11. package/fixtures/boundary/theme-contract/rules.json +386 -2
  12. package/fixtures/invalid/appearance/REQUEST_FIELD_UNKNOWN/cases.json +33 -0
  13. package/fixtures/invalid/appearance/SCHEMA_OBJECT_TOO_LARGE/cases.json +0 -13
  14. package/fixtures/invalid/appearance/SCHEMA_PATTERN_INVALID/cases.json +68 -0
  15. package/fixtures/invalid/appearance/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +66 -0
  16. package/fixtures/invalid/appearance/SCHEMA_TYPE_INVALID/cases.json +99 -0
  17. package/fixtures/invalid/build-input/REQUEST_FIELD_UNKNOWN/cases.json +33 -0
  18. package/fixtures/invalid/build-input/SCHEMA_PATTERN_INVALID/cases.json +66 -0
  19. package/fixtures/invalid/build-input/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +66 -0
  20. package/fixtures/invalid/build-input/SCHEMA_TYPE_INVALID/cases.json +99 -0
  21. package/fixtures/invalid/theme-contract/REQUEST_FIELD_UNKNOWN/cases.json +33 -0
  22. package/fixtures/invalid/theme-contract/SCHEMA_ARRAY_TOO_LONG/cases.json +165 -0
  23. package/fixtures/invalid/theme-contract/SCHEMA_CONSTANT_INVALID/cases.json +11 -11
  24. package/fixtures/invalid/theme-contract/SCHEMA_ENUM_INVALID/cases.json +88 -0
  25. package/fixtures/invalid/theme-contract/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +93 -0
  26. package/fixtures/invalid/theme-contract/SCHEMA_TYPE_INVALID/cases.json +51 -0
  27. package/fixtures/manifest.json +1955 -35
  28. package/fixtures/unknown-field/appearance/rules.json +54 -1
  29. package/fixtures/unknown-field/build-input/rules.json +54 -1
  30. package/fixtures/unknown-field/theme-contract/rules.json +70 -1
  31. package/generated/browser/validator-core.mjs +3 -3
  32. package/generated/typescript/contracts/appearance.d.ts +14 -1
  33. package/generated/typescript/contracts/build-input.d.ts +14 -1
  34. package/generated/typescript/contracts/theme-contract.d.ts +51 -0
  35. package/openapi/http-catalog.json +38 -2
  36. package/openapi/openapi.yaml +598 -3
  37. package/package.json +10 -1
  38. package/parity/palette/golden-vectors.json +883 -0
  39. package/parity/palette/stress-corpus.json +521 -0
  40. package/parity/palette/theme-default.fixture.json +698 -0
  41. package/sbom.cdx.json +23 -23
  42. package/schemas/appearance.schema.json +30 -3
  43. package/schemas/build-input.schema.json +30 -3
  44. package/schemas/theme-contract.schema.json +185 -1
  45. package/src/palette.js +919 -0
  46. package/types/palette.d.ts +305 -0
  47. package/fixtures/invalid/build-input/SCHEMA_OBJECT_TOO_LARGE/cases.json +0 -15
@@ -692,6 +692,17 @@
692
692
  "keyword": "format",
693
693
  "instance": "@rathnasgala2/fixture-1@^2.0.0"
694
694
  },
695
+ {
696
+ "caseId": "build-input-boundary-24bf65041aad21aa",
697
+ "coveredRuleIds": [
698
+ "build-input:#/$defs/semanticTokens/properties/canvas/properties/dark:pattern",
699
+ "build-input:#/$defs/semanticTokens/properties/canvas/properties/dark:type"
700
+ ],
701
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
702
+ "schemaPointer": "#/$defs/semanticTokens/properties/canvas/properties/dark",
703
+ "keyword": "pattern",
704
+ "instance": "#000000"
705
+ },
695
706
  {
696
707
  "caseId": "build-input-boundary-2554507ba547b402",
697
708
  "coveredRuleIds": [
@@ -1482,6 +1493,17 @@
1482
1493
  "authorIds": ["019c0000-0000-7000-8000-000000000001"]
1483
1494
  }
1484
1495
  },
1496
+ {
1497
+ "caseId": "build-input-boundary-4b9a9c6f625ab688",
1498
+ "coveredRuleIds": [
1499
+ "build-input:#/$defs/semanticTokens/properties/accent/properties/light:pattern",
1500
+ "build-input:#/$defs/semanticTokens/properties/accent/properties/light:type"
1501
+ ],
1502
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
1503
+ "schemaPointer": "#/$defs/semanticTokens/properties/accent/properties/light",
1504
+ "keyword": "pattern",
1505
+ "instance": "#000000"
1506
+ },
1485
1507
  {
1486
1508
  "caseId": "build-input-boundary-4d6a56fe62287b0e",
1487
1509
  "coveredRuleIds": [
@@ -1588,6 +1610,17 @@
1588
1610
  "direction": "maximum"
1589
1611
  }
1590
1612
  },
1613
+ {
1614
+ "caseId": "build-input-boundary-58f758ff72ff31a5",
1615
+ "coveredRuleIds": [
1616
+ "build-input:#/$defs/semanticTokens/properties/text/properties/dark:pattern",
1617
+ "build-input:#/$defs/semanticTokens/properties/text/properties/dark:type"
1618
+ ],
1619
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
1620
+ "schemaPointer": "#/$defs/semanticTokens/properties/text/properties/dark",
1621
+ "keyword": "pattern",
1622
+ "instance": "#000000"
1623
+ },
1591
1624
  {
1592
1625
  "caseId": "build-input-boundary-5b5e96f439400c47",
1593
1626
  "coveredRuleIds": [
@@ -1600,6 +1633,19 @@
1600
1633
  "keyword": "format",
1601
1634
  "instance": "2026-09-13T12:00:00.000Z"
1602
1635
  },
1636
+ {
1637
+ "caseId": "build-input-boundary-5bc0e7f32d9bd543",
1638
+ "coveredRuleIds": [
1639
+ "build-input:#/$defs/semanticTokens/properties/text:additionalProperties",
1640
+ "build-input:#/$defs/semanticTokens/properties/text:required:dark",
1641
+ "build-input:#/$defs/semanticTokens/properties/text:required:light",
1642
+ "build-input:#/$defs/semanticTokens/properties/text:type"
1643
+ ],
1644
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
1645
+ "schemaPointer": "#/$defs/semanticTokens/properties/text",
1646
+ "keyword": "additionalProperties",
1647
+ "instance": { "light": "#000000", "dark": "#000000" }
1648
+ },
1603
1649
  {
1604
1650
  "caseId": "build-input-boundary-5c40fd3624829293",
1605
1651
  "coveredRuleIds": ["build-input:#/properties/content:type"],
@@ -2707,6 +2753,17 @@
2707
2753
  "direction": "maximum"
2708
2754
  }
2709
2755
  },
2756
+ {
2757
+ "caseId": "build-input-boundary-a5f5543c93fa0ef0",
2758
+ "coveredRuleIds": [
2759
+ "build-input:#/$defs/semanticTokens/properties/canvas/properties/light:pattern",
2760
+ "build-input:#/$defs/semanticTokens/properties/canvas/properties/light:type"
2761
+ ],
2762
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
2763
+ "schemaPointer": "#/$defs/semanticTokens/properties/canvas/properties/light",
2764
+ "keyword": "pattern",
2765
+ "instance": "#000000"
2766
+ },
2710
2767
  {
2711
2768
  "caseId": "build-input-boundary-a73e91966f396954",
2712
2769
  "coveredRuleIds": [
@@ -2771,6 +2828,17 @@
2771
2828
  "length": 3
2772
2829
  }
2773
2830
  },
2831
+ {
2832
+ "caseId": "build-input-boundary-ac832a2fd4123956",
2833
+ "coveredRuleIds": [
2834
+ "build-input:#/$defs/semanticTokens/properties/text/properties/light:pattern",
2835
+ "build-input:#/$defs/semanticTokens/properties/text/properties/light:type"
2836
+ ],
2837
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
2838
+ "schemaPointer": "#/$defs/semanticTokens/properties/text/properties/light",
2839
+ "keyword": "pattern",
2840
+ "instance": "#000000"
2841
+ },
2774
2842
  {
2775
2843
  "caseId": "build-input-boundary-acc0d4fc1d862159",
2776
2844
  "coveredRuleIds": [
@@ -2861,6 +2929,19 @@
2861
2929
  "keyword": "format",
2862
2930
  "instance": "@rathnasgala2/fixture-1@2.0.0"
2863
2931
  },
2932
+ {
2933
+ "caseId": "build-input-boundary-b4a9e7b761e8db88",
2934
+ "coveredRuleIds": [
2935
+ "build-input:#/$defs/semanticTokens/properties/canvas:additionalProperties",
2936
+ "build-input:#/$defs/semanticTokens/properties/canvas:required:dark",
2937
+ "build-input:#/$defs/semanticTokens/properties/canvas:required:light",
2938
+ "build-input:#/$defs/semanticTokens/properties/canvas:type"
2939
+ ],
2940
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
2941
+ "schemaPointer": "#/$defs/semanticTokens/properties/canvas",
2942
+ "keyword": "additionalProperties",
2943
+ "instance": { "light": "#000000", "dark": "#000000" }
2944
+ },
2864
2945
  {
2865
2946
  "caseId": "build-input-boundary-b554e3797e8e5321",
2866
2947
  "coveredRuleIds": [
@@ -3196,6 +3277,19 @@
3196
3277
  "keyword": "type",
3197
3278
  "instance": ["019c0000-0000-7000-8000-000000000001"]
3198
3279
  },
3280
+ {
3281
+ "caseId": "build-input-boundary-cc9042a64444580d",
3282
+ "coveredRuleIds": [
3283
+ "build-input:#/$defs/semanticTokens/properties/accent:additionalProperties",
3284
+ "build-input:#/$defs/semanticTokens/properties/accent:required:dark",
3285
+ "build-input:#/$defs/semanticTokens/properties/accent:required:light",
3286
+ "build-input:#/$defs/semanticTokens/properties/accent:type"
3287
+ ],
3288
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
3289
+ "schemaPointer": "#/$defs/semanticTokens/properties/accent",
3290
+ "keyword": "additionalProperties",
3291
+ "instance": { "light": "#000000", "dark": "#000000" }
3292
+ },
3199
3293
  {
3200
3294
  "caseId": "build-input-boundary-ccdbb6f95b3a7852",
3201
3295
  "coveredRuleIds": [
@@ -3674,6 +3768,17 @@
3674
3768
  "keyword": "const",
3675
3769
  "instance": "urn:gala:schema:interactions-config:2.0.0"
3676
3770
  },
3771
+ {
3772
+ "caseId": "build-input-boundary-edec991d984dee75",
3773
+ "coveredRuleIds": [
3774
+ "build-input:#/$defs/semanticTokens/properties/accent/properties/dark:pattern",
3775
+ "build-input:#/$defs/semanticTokens/properties/accent/properties/dark:type"
3776
+ ],
3777
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
3778
+ "schemaPointer": "#/$defs/semanticTokens/properties/accent/properties/dark",
3779
+ "keyword": "pattern",
3780
+ "instance": "#000000"
3781
+ },
3677
3782
  {
3678
3783
  "caseId": "build-input-boundary-ee7585b9a9107522",
3679
3784
  "coveredRuleIds": [
@@ -3724,18 +3829,6 @@
3724
3829
  "keyword": "required",
3725
3830
  "instance": { "route": null }
3726
3831
  },
3727
- {
3728
- "caseId": "build-input-boundary-f2509ab8b361c58c",
3729
- "coveredRuleIds": ["build-input:#/$defs/semanticTokens:maxProperties"],
3730
- "schemaId": "urn:gala:schema:build-input:2.0.0",
3731
- "schemaPointer": "#/$defs/semanticTokens",
3732
- "keyword": "maxProperties",
3733
- "recipe": {
3734
- "kind": "numbered-object",
3735
- "schemaPointer": "#/$defs/semanticTokens",
3736
- "count": 0
3737
- }
3738
- },
3739
3832
  {
3740
3833
  "caseId": "build-input-boundary-f2bff0b258c39925",
3741
3834
  "coveredRuleIds": [