@rathnasgala2/schemas 2.22.0 → 3.1.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 (118) hide show
  1. package/README.md +39 -42
  2. package/THIRD_PARTY_LICENSES.json +3 -3
  3. package/diagnostics/diagnostic-map.json +2701 -1449
  4. package/docs/catalogs/app-components.json +435 -1
  5. package/docs/catalogs/app-routes.json +152 -2
  6. package/docs/catalogs/schema-inventory.json +17 -7
  7. package/examples/valid/artifact-manifest/rules.json +2 -2
  8. package/examples/valid/build-input/rules.json +391 -1
  9. package/examples/valid/build-provenance/rules.json +2 -2
  10. package/examples/valid/interactions-config/canonical.json +18 -0
  11. package/examples/valid/interactions-config/rules.json +529 -0
  12. package/examples/valid/publication/rules.json +48 -0
  13. package/examples/valid/theme-contract/canonical.json +355 -19
  14. package/examples/valid/theme-contract/default-3.0.json +660 -0
  15. package/examples/valid/theme-contract/rules.json +3456 -552
  16. package/fixtures/boundary/artifact-manifest/rules.json +2 -2
  17. package/fixtures/boundary/build-input/rules.json +463 -9
  18. package/fixtures/boundary/build-provenance/rules.json +2 -2
  19. package/fixtures/boundary/interactions-config/root.json +18 -0
  20. package/fixtures/boundary/interactions-config/rules.json +725 -0
  21. package/fixtures/boundary/publication/rules.json +53 -0
  22. package/fixtures/boundary/theme-contract/root.json +355 -19
  23. package/fixtures/boundary/theme-contract/rules.json +4158 -1226
  24. package/fixtures/invalid/artifact-manifest/SCHEMA_CONSTANT_INVALID/cases.json +0 -11
  25. package/fixtures/invalid/artifact-manifest/SCHEMA_TYPE_INVALID/cases.json +11 -0
  26. package/fixtures/invalid/build-input/GRAPHEME_LENGTH_INVALID/cases.json +22 -0
  27. package/fixtures/invalid/build-input/HTTPS_URL_INVALID/cases.json +29 -0
  28. package/fixtures/invalid/build-input/REQUEST_FIELD_UNKNOWN/cases.json +168 -0
  29. package/fixtures/invalid/build-input/SCHEMA_ARRAY_TOO_LONG/cases.json +15 -0
  30. package/fixtures/invalid/build-input/SCHEMA_CONSTANT_INVALID/cases.json +20 -0
  31. package/fixtures/invalid/build-input/SCHEMA_ENUM_INVALID/cases.json +22 -0
  32. package/fixtures/invalid/build-input/SCHEMA_NEGATED_RULE_MATCHED/cases.json +9 -0
  33. package/fixtures/invalid/build-input/SCHEMA_NUMBER_TOO_LARGE/cases.json +22 -0
  34. package/fixtures/invalid/build-input/SCHEMA_NUMBER_TOO_SMALL/cases.json +22 -0
  35. package/fixtures/invalid/build-input/SCHEMA_OBJECT_TOO_LARGE/cases.json +0 -15
  36. package/fixtures/invalid/build-input/SCHEMA_PATTERN_INVALID/cases.json +9 -0
  37. package/fixtures/invalid/build-input/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +429 -0
  38. package/fixtures/invalid/build-input/SCHEMA_TYPE_INVALID/cases.json +212 -0
  39. package/fixtures/invalid/build-input/SCHEMA_VERSION_UNSUPPORTED/cases.json +22 -0
  40. package/fixtures/invalid/build-provenance/SCHEMA_CONSTANT_INVALID/cases.json +0 -11
  41. package/fixtures/invalid/build-provenance/SCHEMA_TYPE_INVALID/cases.json +11 -0
  42. package/fixtures/invalid/interactions-config/BCP47_INVALID/cases.json +58 -0
  43. package/fixtures/invalid/interactions-config/CANONICAL_ROUTE_INVALID/cases.json +38 -0
  44. package/fixtures/invalid/interactions-config/DIGEST_INVALID/cases.json +20 -0
  45. package/fixtures/invalid/interactions-config/EXTENSION_KEY_INVALID/cases.json +20 -0
  46. package/fixtures/invalid/interactions-config/GIT_OBJECT_ID_INVALID/cases.json +20 -0
  47. package/fixtures/invalid/interactions-config/GRAPHEME_LENGTH_INVALID/cases.json +13 -0
  48. package/fixtures/invalid/interactions-config/HTTPS_URL_INVALID/cases.json +29 -0
  49. package/fixtures/invalid/interactions-config/ISO_COUNTRY_INVALID/cases.json +20 -0
  50. package/fixtures/invalid/interactions-config/PACKAGE_EXACT_INVALID/cases.json +38 -0
  51. package/fixtures/invalid/interactions-config/PACKAGE_RANGE_INVALID/cases.json +38 -0
  52. package/fixtures/invalid/interactions-config/PASSIVE_VISUAL_TOKEN_INVALID/cases.json +11 -0
  53. package/fixtures/invalid/interactions-config/PLAIN_LABEL_INVALID/cases.json +31 -0
  54. package/fixtures/invalid/interactions-config/PLAIN_TEXT_INVALID/cases.json +20 -0
  55. package/fixtures/invalid/interactions-config/REPOSITORY_GLOB_INVALID/cases.json +49 -0
  56. package/fixtures/invalid/interactions-config/REPOSITORY_PATH_INVALID/cases.json +62 -0
  57. package/fixtures/invalid/interactions-config/REQUEST_FIELD_UNKNOWN/cases.json +108 -0
  58. package/fixtures/invalid/interactions-config/RFC3339_INVALID/cases.json +29 -0
  59. package/fixtures/invalid/interactions-config/SCHEMA_ARRAY_TOO_LONG/cases.json +17 -0
  60. package/fixtures/invalid/interactions-config/SCHEMA_CONSTANT_INVALID/cases.json +22 -0
  61. package/fixtures/invalid/interactions-config/SCHEMA_ENUM_INVALID/cases.json +13 -0
  62. package/fixtures/invalid/interactions-config/SCHEMA_NEGATED_RULE_MATCHED/cases.json +11 -0
  63. package/fixtures/invalid/interactions-config/SCHEMA_NUMBER_TOO_LARGE/cases.json +24 -0
  64. package/fixtures/invalid/interactions-config/SCHEMA_NUMBER_TOO_SMALL/cases.json +24 -0
  65. package/fixtures/invalid/interactions-config/SCHEMA_PATTERN_INVALID/cases.json +11 -0
  66. package/fixtures/invalid/interactions-config/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +305 -0
  67. package/fixtures/invalid/interactions-config/SCHEMA_TYPE_INVALID/cases.json +175 -0
  68. package/fixtures/invalid/interactions-config/SCHEMA_VERSION_UNSUPPORTED/cases.json +20 -0
  69. package/fixtures/invalid/interactions-config/SEMVER_INVALID/cases.json +20 -0
  70. package/fixtures/invalid/interactions-config/SEMVER_RANGE_INVALID/cases.json +38 -0
  71. package/fixtures/invalid/interactions-config/SLUG_INVALID/cases.json +38 -0
  72. package/fixtures/invalid/interactions-config/STABLE_ID_INVALID/cases.json +20 -0
  73. package/fixtures/invalid/interactions-config/URN_INVALID/cases.json +38 -0
  74. package/fixtures/invalid/publication/GRAPHEME_LENGTH_INVALID/cases.json +11 -0
  75. package/fixtures/invalid/publication/REQUEST_FIELD_UNKNOWN/cases.json +23 -0
  76. package/fixtures/invalid/publication/SCHEMA_ENUM_INVALID/cases.json +9 -0
  77. package/fixtures/invalid/publication/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +42 -0
  78. package/fixtures/invalid/publication/SCHEMA_TYPE_INVALID/cases.json +18 -0
  79. package/fixtures/invalid/theme-contract/REQUEST_FIELD_UNKNOWN/cases.json +421 -20
  80. package/fixtures/invalid/theme-contract/SCHEMA_ARRAY_TOO_LONG/cases.json +2 -2
  81. package/fixtures/invalid/theme-contract/SCHEMA_ARRAY_TOO_SHORT/cases.json +1 -1
  82. package/fixtures/invalid/theme-contract/SCHEMA_CONSTANT_INVALID/cases.json +2155 -296
  83. package/fixtures/invalid/theme-contract/SCHEMA_ENUM_INVALID/cases.json +229 -9
  84. package/fixtures/invalid/theme-contract/SCHEMA_PATTERN_INVALID/cases.json +176 -0
  85. package/fixtures/invalid/theme-contract/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +8812 -1517
  86. package/fixtures/invalid/theme-contract/SCHEMA_STRING_TOO_LONG/cases.json +22 -0
  87. package/fixtures/manifest.json +21925 -12282
  88. package/fixtures/s2/empty-modules-placements.json +233 -3
  89. package/fixtures/s2/manifest.json +2 -1
  90. package/fixtures/s2/theme-contracts-digest-cycle.json +888 -36
  91. package/fixtures/unknown-field/artifact-manifest/rules.json +1 -1
  92. package/fixtures/unknown-field/build-input/rules.json +233 -1
  93. package/fixtures/unknown-field/build-provenance/rules.json +1 -1
  94. package/fixtures/unknown-field/interactions-config/root.json +19 -0
  95. package/fixtures/unknown-field/interactions-config/rules.json +227 -0
  96. package/fixtures/unknown-field/publication/rules.json +35 -0
  97. package/fixtures/unknown-field/theme-contract/root.json +355 -19
  98. package/fixtures/unknown-field/theme-contract/rules.json +637 -22
  99. package/generated/browser/validator-core.mjs +4 -3
  100. package/generated/typescript/contracts/artifact-manifest.d.ts +1 -1
  101. package/generated/typescript/contracts/build-input.d.ts +66 -1
  102. package/generated/typescript/contracts/build-provenance.d.ts +1 -1
  103. package/generated/typescript/contracts/interactions-config.d.ts +91 -0
  104. package/generated/typescript/contracts/publication.d.ts +12 -0
  105. package/generated/typescript/contracts/theme-contract.d.ts +529 -9
  106. package/generated/typescript/index.d.ts +4 -0
  107. package/generated/typescript/index.js +14 -0
  108. package/openapi/http-catalog.json +230 -2
  109. package/openapi/openapi.yaml +5941 -1509
  110. package/package.json +2 -1
  111. package/sbom.cdx.json +23 -23
  112. package/schemas/artifact-manifest.schema.json +1 -1
  113. package/schemas/build-input.schema.json +136 -2
  114. package/schemas/build-provenance.schema.json +1 -1
  115. package/schemas/interactions-config.schema.json +222 -0
  116. package/schemas/publication.schema.json +21 -0
  117. package/schemas/theme-contract.schema.json +1178 -83
  118. package/src/internal/schema-validator.js +3 -0
@@ -1,11 +1,88 @@
1
1
  [
2
2
  {
3
- "caseId": "theme-contract-invalid-1d3ca3cec8ac83ac",
3
+ "caseId": "theme-contract-invalid-08a02c320f78a4f7",
4
4
  "coveredRuleIds": [
5
- "theme-contract:#/$defs/themeToken/allOf/3/then/properties/dark:enum"
5
+ "theme-contract:#/properties/tokens/prefixItems/68/allOf/1/properties/dark:enum"
6
6
  ],
7
7
  "schemaId": "urn:gala:schema:theme-contract:2.0.0",
8
- "schemaPointer": "#/$defs/themeToken/allOf/3/then/properties/dark",
8
+ "schemaPointer": "#/properties/tokens/prefixItems/68/allOf/1/properties/dark",
9
+ "keyword": "enum",
10
+ "instance": "__invalid_enum__",
11
+ "expectedCodes": ["SCHEMA_ENUM_INVALID"]
12
+ },
13
+ {
14
+ "caseId": "theme-contract-invalid-0aa4e912d617a928",
15
+ "coveredRuleIds": [
16
+ "theme-contract:#/properties/tokens/prefixItems/54/allOf/1/properties/dark:enum"
17
+ ],
18
+ "schemaId": "urn:gala:schema:theme-contract:2.0.0",
19
+ "schemaPointer": "#/properties/tokens/prefixItems/54/allOf/1/properties/dark",
20
+ "keyword": "enum",
21
+ "instance": "__invalid_enum__",
22
+ "expectedCodes": ["SCHEMA_ENUM_INVALID"]
23
+ },
24
+ {
25
+ "caseId": "theme-contract-invalid-147e35354a6f27e3",
26
+ "coveredRuleIds": [
27
+ "theme-contract:#/properties/tokens/prefixItems/76/allOf/1/properties/dark:enum"
28
+ ],
29
+ "schemaId": "urn:gala:schema:theme-contract:2.0.0",
30
+ "schemaPointer": "#/properties/tokens/prefixItems/76/allOf/1/properties/dark",
31
+ "keyword": "enum",
32
+ "instance": "__invalid_enum__",
33
+ "expectedCodes": ["SCHEMA_ENUM_INVALID"]
34
+ },
35
+ {
36
+ "caseId": "theme-contract-invalid-16119daf8a8c6ae9",
37
+ "coveredRuleIds": [
38
+ "theme-contract:#/properties/tokens/prefixItems/75/allOf/1/properties/dark:enum"
39
+ ],
40
+ "schemaId": "urn:gala:schema:theme-contract:2.0.0",
41
+ "schemaPointer": "#/properties/tokens/prefixItems/75/allOf/1/properties/dark",
42
+ "keyword": "enum",
43
+ "instance": "__invalid_enum__",
44
+ "expectedCodes": ["SCHEMA_ENUM_INVALID"]
45
+ },
46
+ {
47
+ "caseId": "theme-contract-invalid-18ed1049c3668459",
48
+ "coveredRuleIds": [
49
+ "theme-contract:#/properties/tokens/prefixItems/88/allOf/1/properties/light:enum"
50
+ ],
51
+ "schemaId": "urn:gala:schema:theme-contract:2.0.0",
52
+ "schemaPointer": "#/properties/tokens/prefixItems/88/allOf/1/properties/light",
53
+ "keyword": "enum",
54
+ "instance": "__invalid_enum__",
55
+ "expectedCodes": ["SCHEMA_ENUM_INVALID"]
56
+ },
57
+ {
58
+ "caseId": "theme-contract-invalid-1b6f695247355861",
59
+ "coveredRuleIds": [
60
+ "theme-contract:#/properties/tokens/prefixItems/87/allOf/1/properties/dark:enum"
61
+ ],
62
+ "schemaId": "urn:gala:schema:theme-contract:2.0.0",
63
+ "schemaPointer": "#/properties/tokens/prefixItems/87/allOf/1/properties/dark",
64
+ "keyword": "enum",
65
+ "instance": "__invalid_enum__",
66
+ "expectedCodes": ["SCHEMA_ENUM_INVALID"]
67
+ },
68
+ {
69
+ "caseId": "theme-contract-invalid-391a56fe8fa4e815",
70
+ "coveredRuleIds": [
71
+ "theme-contract:#/properties/tokens/prefixItems/107/allOf/1/properties/light:enum"
72
+ ],
73
+ "schemaId": "urn:gala:schema:theme-contract:2.0.0",
74
+ "schemaPointer": "#/properties/tokens/prefixItems/107/allOf/1/properties/light",
75
+ "keyword": "enum",
76
+ "instance": "__invalid_enum__",
77
+ "expectedCodes": ["SCHEMA_ENUM_INVALID"]
78
+ },
79
+ {
80
+ "caseId": "theme-contract-invalid-3c27c82466855248",
81
+ "coveredRuleIds": [
82
+ "theme-contract:#/properties/tokens/prefixItems/88/allOf/1/properties/dark:enum"
83
+ ],
84
+ "schemaId": "urn:gala:schema:theme-contract:2.0.0",
85
+ "schemaPointer": "#/properties/tokens/prefixItems/88/allOf/1/properties/dark",
9
86
  "keyword": "enum",
10
87
  "instance": "__invalid_enum__",
11
88
  "expectedCodes": ["SCHEMA_ENUM_INVALID"]
@@ -22,23 +99,122 @@
22
99
  "expectedCodes": ["SCHEMA_ENUM_INVALID"]
23
100
  },
24
101
  {
25
- "caseId": "theme-contract-invalid-c215078b28b6b548",
102
+ "caseId": "theme-contract-invalid-4527fa1f7f129291",
26
103
  "coveredRuleIds": [
27
- "theme-contract:#/$defs/passiveAsset/properties/mediaType:enum"
104
+ "theme-contract:#/properties/tokens/prefixItems/87/allOf/1/properties/light:enum"
28
105
  ],
29
106
  "schemaId": "urn:gala:schema:theme-contract:2.0.0",
30
- "schemaPointer": "#/$defs/passiveAsset/properties/mediaType",
107
+ "schemaPointer": "#/properties/tokens/prefixItems/87/allOf/1/properties/light",
108
+ "keyword": "enum",
109
+ "instance": "__invalid_enum__",
110
+ "expectedCodes": ["SCHEMA_ENUM_INVALID"]
111
+ },
112
+ {
113
+ "caseId": "theme-contract-invalid-6eb7112ca6e93671",
114
+ "coveredRuleIds": [
115
+ "theme-contract:#/properties/tokens/prefixItems/73/allOf/1/properties/dark:enum"
116
+ ],
117
+ "schemaId": "urn:gala:schema:theme-contract:2.0.0",
118
+ "schemaPointer": "#/properties/tokens/prefixItems/73/allOf/1/properties/dark",
119
+ "keyword": "enum",
120
+ "instance": "__invalid_enum__",
121
+ "expectedCodes": ["SCHEMA_ENUM_INVALID"]
122
+ },
123
+ {
124
+ "caseId": "theme-contract-invalid-76e066a8e4095240",
125
+ "coveredRuleIds": [
126
+ "theme-contract:#/properties/tokens/prefixItems/73/allOf/1/properties/light:enum"
127
+ ],
128
+ "schemaId": "urn:gala:schema:theme-contract:2.0.0",
129
+ "schemaPointer": "#/properties/tokens/prefixItems/73/allOf/1/properties/light",
130
+ "keyword": "enum",
131
+ "instance": "__invalid_enum__",
132
+ "expectedCodes": ["SCHEMA_ENUM_INVALID"]
133
+ },
134
+ {
135
+ "caseId": "theme-contract-invalid-786415a4dabdda8e",
136
+ "coveredRuleIds": [
137
+ "theme-contract:#/properties/tokens/prefixItems/84/allOf/1/properties/dark:enum"
138
+ ],
139
+ "schemaId": "urn:gala:schema:theme-contract:2.0.0",
140
+ "schemaPointer": "#/properties/tokens/prefixItems/84/allOf/1/properties/dark",
31
141
  "keyword": "enum",
32
142
  "instance": "__invalid_enum__",
33
143
  "expectedCodes": ["SCHEMA_ENUM_INVALID"]
34
144
  },
35
145
  {
36
- "caseId": "theme-contract-invalid-c7691a393ebae441",
146
+ "caseId": "theme-contract-invalid-79bab1aa234241fc",
37
147
  "coveredRuleIds": [
38
- "theme-contract:#/$defs/themeToken/allOf/3/then/properties/light:enum"
148
+ "theme-contract:#/properties/tokens/prefixItems/56/allOf/1/properties/light:enum"
39
149
  ],
40
150
  "schemaId": "urn:gala:schema:theme-contract:2.0.0",
41
- "schemaPointer": "#/$defs/themeToken/allOf/3/then/properties/light",
151
+ "schemaPointer": "#/properties/tokens/prefixItems/56/allOf/1/properties/light",
152
+ "keyword": "enum",
153
+ "instance": "__invalid_enum__",
154
+ "expectedCodes": ["SCHEMA_ENUM_INVALID"]
155
+ },
156
+ {
157
+ "caseId": "theme-contract-invalid-8956406182b25fee",
158
+ "coveredRuleIds": [
159
+ "theme-contract:#/properties/tokens/prefixItems/54/allOf/1/properties/light:enum"
160
+ ],
161
+ "schemaId": "urn:gala:schema:theme-contract:2.0.0",
162
+ "schemaPointer": "#/properties/tokens/prefixItems/54/allOf/1/properties/light",
163
+ "keyword": "enum",
164
+ "instance": "__invalid_enum__",
165
+ "expectedCodes": ["SCHEMA_ENUM_INVALID"]
166
+ },
167
+ {
168
+ "caseId": "theme-contract-invalid-b09c0bc89032da1d",
169
+ "coveredRuleIds": [
170
+ "theme-contract:#/properties/tokens/prefixItems/76/allOf/1/properties/light:enum"
171
+ ],
172
+ "schemaId": "urn:gala:schema:theme-contract:2.0.0",
173
+ "schemaPointer": "#/properties/tokens/prefixItems/76/allOf/1/properties/light",
174
+ "keyword": "enum",
175
+ "instance": "__invalid_enum__",
176
+ "expectedCodes": ["SCHEMA_ENUM_INVALID"]
177
+ },
178
+ {
179
+ "caseId": "theme-contract-invalid-b0b59322fd09b1b8",
180
+ "coveredRuleIds": [
181
+ "theme-contract:#/properties/tokens/prefixItems/68/allOf/1/properties/light:enum"
182
+ ],
183
+ "schemaId": "urn:gala:schema:theme-contract:2.0.0",
184
+ "schemaPointer": "#/properties/tokens/prefixItems/68/allOf/1/properties/light",
185
+ "keyword": "enum",
186
+ "instance": "__invalid_enum__",
187
+ "expectedCodes": ["SCHEMA_ENUM_INVALID"]
188
+ },
189
+ {
190
+ "caseId": "theme-contract-invalid-b82b74927daf0bb9",
191
+ "coveredRuleIds": [
192
+ "theme-contract:#/properties/tokens/prefixItems/85/allOf/1/properties/dark:enum"
193
+ ],
194
+ "schemaId": "urn:gala:schema:theme-contract:2.0.0",
195
+ "schemaPointer": "#/properties/tokens/prefixItems/85/allOf/1/properties/dark",
196
+ "keyword": "enum",
197
+ "instance": "__invalid_enum__",
198
+ "expectedCodes": ["SCHEMA_ENUM_INVALID"]
199
+ },
200
+ {
201
+ "caseId": "theme-contract-invalid-baf033918609988a",
202
+ "coveredRuleIds": [
203
+ "theme-contract:#/properties/tokens/prefixItems/84/allOf/1/properties/light:enum"
204
+ ],
205
+ "schemaId": "urn:gala:schema:theme-contract:2.0.0",
206
+ "schemaPointer": "#/properties/tokens/prefixItems/84/allOf/1/properties/light",
207
+ "keyword": "enum",
208
+ "instance": "__invalid_enum__",
209
+ "expectedCodes": ["SCHEMA_ENUM_INVALID"]
210
+ },
211
+ {
212
+ "caseId": "theme-contract-invalid-c215078b28b6b548",
213
+ "coveredRuleIds": [
214
+ "theme-contract:#/$defs/passiveAsset/properties/mediaType:enum"
215
+ ],
216
+ "schemaId": "urn:gala:schema:theme-contract:2.0.0",
217
+ "schemaPointer": "#/$defs/passiveAsset/properties/mediaType",
42
218
  "keyword": "enum",
43
219
  "instance": "__invalid_enum__",
44
220
  "expectedCodes": ["SCHEMA_ENUM_INVALID"]
@@ -51,5 +227,49 @@
51
227
  "keyword": "enum",
52
228
  "instance": "__invalid_enum__",
53
229
  "expectedCodes": ["SCHEMA_ENUM_INVALID"]
230
+ },
231
+ {
232
+ "caseId": "theme-contract-invalid-cca2df42bbbc1d87",
233
+ "coveredRuleIds": [
234
+ "theme-contract:#/properties/tokens/prefixItems/75/allOf/1/properties/light:enum"
235
+ ],
236
+ "schemaId": "urn:gala:schema:theme-contract:2.0.0",
237
+ "schemaPointer": "#/properties/tokens/prefixItems/75/allOf/1/properties/light",
238
+ "keyword": "enum",
239
+ "instance": "__invalid_enum__",
240
+ "expectedCodes": ["SCHEMA_ENUM_INVALID"]
241
+ },
242
+ {
243
+ "caseId": "theme-contract-invalid-cedfd6607da4feb2",
244
+ "coveredRuleIds": [
245
+ "theme-contract:#/properties/tokens/prefixItems/107/allOf/1/properties/dark:enum"
246
+ ],
247
+ "schemaId": "urn:gala:schema:theme-contract:2.0.0",
248
+ "schemaPointer": "#/properties/tokens/prefixItems/107/allOf/1/properties/dark",
249
+ "keyword": "enum",
250
+ "instance": "__invalid_enum__",
251
+ "expectedCodes": ["SCHEMA_ENUM_INVALID"]
252
+ },
253
+ {
254
+ "caseId": "theme-contract-invalid-e17343d73b53a976",
255
+ "coveredRuleIds": [
256
+ "theme-contract:#/properties/tokens/prefixItems/85/allOf/1/properties/light:enum"
257
+ ],
258
+ "schemaId": "urn:gala:schema:theme-contract:2.0.0",
259
+ "schemaPointer": "#/properties/tokens/prefixItems/85/allOf/1/properties/light",
260
+ "keyword": "enum",
261
+ "instance": "__invalid_enum__",
262
+ "expectedCodes": ["SCHEMA_ENUM_INVALID"]
263
+ },
264
+ {
265
+ "caseId": "theme-contract-invalid-f04b46ecddf61e6b",
266
+ "coveredRuleIds": [
267
+ "theme-contract:#/properties/tokens/prefixItems/56/allOf/1/properties/dark:enum"
268
+ ],
269
+ "schemaId": "urn:gala:schema:theme-contract:2.0.0",
270
+ "schemaPointer": "#/properties/tokens/prefixItems/56/allOf/1/properties/dark",
271
+ "keyword": "enum",
272
+ "instance": "__invalid_enum__",
273
+ "expectedCodes": ["SCHEMA_ENUM_INVALID"]
54
274
  }
55
275
  ]
@@ -1,4 +1,59 @@
1
1
  [
2
+ {
3
+ "caseId": "theme-contract-invalid-11908a3dd6bfe1e2",
4
+ "coveredRuleIds": [
5
+ "theme-contract:#/$defs/themeToken/allOf/3/then/properties/dark:pattern"
6
+ ],
7
+ "schemaId": "urn:gala:schema:theme-contract:2.0.0",
8
+ "schemaPointer": "#/$defs/themeToken/allOf/3/then/properties/dark",
9
+ "keyword": "pattern",
10
+ "instance": "",
11
+ "expectedCodes": ["SCHEMA_PATTERN_INVALID"]
12
+ },
13
+ {
14
+ "caseId": "theme-contract-invalid-14426d697489ad93",
15
+ "coveredRuleIds": [
16
+ "theme-contract:#/$defs/themeToken/allOf/5/then/properties/dark:pattern"
17
+ ],
18
+ "schemaId": "urn:gala:schema:theme-contract:2.0.0",
19
+ "schemaPointer": "#/$defs/themeToken/allOf/5/then/properties/dark",
20
+ "keyword": "pattern",
21
+ "instance": "",
22
+ "expectedCodes": ["SCHEMA_PATTERN_INVALID"]
23
+ },
24
+ {
25
+ "caseId": "theme-contract-invalid-1f2ce40cd6d81eeb",
26
+ "coveredRuleIds": [
27
+ "theme-contract:#/$defs/themeToken/allOf/7/then/properties/dark:pattern"
28
+ ],
29
+ "schemaId": "urn:gala:schema:theme-contract:2.0.0",
30
+ "schemaPointer": "#/$defs/themeToken/allOf/7/then/properties/dark",
31
+ "keyword": "pattern",
32
+ "instance": "",
33
+ "expectedCodes": ["SCHEMA_PATTERN_INVALID"]
34
+ },
35
+ {
36
+ "caseId": "theme-contract-invalid-21798c0264a3d435",
37
+ "coveredRuleIds": [
38
+ "theme-contract:#/$defs/themeToken/allOf/8/then/properties/dark:pattern"
39
+ ],
40
+ "schemaId": "urn:gala:schema:theme-contract:2.0.0",
41
+ "schemaPointer": "#/$defs/themeToken/allOf/8/then/properties/dark",
42
+ "keyword": "pattern",
43
+ "instance": "",
44
+ "expectedCodes": ["SCHEMA_PATTERN_INVALID"]
45
+ },
46
+ {
47
+ "caseId": "theme-contract-invalid-2d0e4446b60b2fa4",
48
+ "coveredRuleIds": [
49
+ "theme-contract:#/$defs/themeToken/allOf/7/then/properties/light:pattern"
50
+ ],
51
+ "schemaId": "urn:gala:schema:theme-contract:2.0.0",
52
+ "schemaPointer": "#/$defs/themeToken/allOf/7/then/properties/light",
53
+ "keyword": "pattern",
54
+ "instance": "",
55
+ "expectedCodes": ["SCHEMA_PATTERN_INVALID"]
56
+ },
2
57
  {
3
58
  "caseId": "theme-contract-invalid-321856e85e67c9bc",
4
59
  "coveredRuleIds": [
@@ -10,6 +65,28 @@
10
65
  "instance": "",
11
66
  "expectedCodes": ["SCHEMA_PATTERN_INVALID"]
12
67
  },
68
+ {
69
+ "caseId": "theme-contract-invalid-33f1d13315123dd4",
70
+ "coveredRuleIds": [
71
+ "theme-contract:#/$defs/themeToken/allOf/4/then/properties/dark:pattern"
72
+ ],
73
+ "schemaId": "urn:gala:schema:theme-contract:2.0.0",
74
+ "schemaPointer": "#/$defs/themeToken/allOf/4/then/properties/dark",
75
+ "keyword": "pattern",
76
+ "instance": "",
77
+ "expectedCodes": ["SCHEMA_PATTERN_INVALID"]
78
+ },
79
+ {
80
+ "caseId": "theme-contract-invalid-357c7988e6effd21",
81
+ "coveredRuleIds": [
82
+ "theme-contract:#/$defs/themeToken/allOf/10/then/properties/light:pattern"
83
+ ],
84
+ "schemaId": "urn:gala:schema:theme-contract:2.0.0",
85
+ "schemaPointer": "#/$defs/themeToken/allOf/10/then/properties/light",
86
+ "keyword": "pattern",
87
+ "instance": "",
88
+ "expectedCodes": ["SCHEMA_PATTERN_INVALID"]
89
+ },
13
90
  {
14
91
  "caseId": "theme-contract-invalid-37f17fc415f39b88",
15
92
  "coveredRuleIds": [
@@ -21,6 +98,39 @@
21
98
  "instance": "",
22
99
  "expectedCodes": ["SCHEMA_PATTERN_INVALID"]
23
100
  },
101
+ {
102
+ "caseId": "theme-contract-invalid-38aded7b1e347982",
103
+ "coveredRuleIds": [
104
+ "theme-contract:#/$defs/themeToken/allOf/8/then/properties/light:pattern"
105
+ ],
106
+ "schemaId": "urn:gala:schema:theme-contract:2.0.0",
107
+ "schemaPointer": "#/$defs/themeToken/allOf/8/then/properties/light",
108
+ "keyword": "pattern",
109
+ "instance": "",
110
+ "expectedCodes": ["SCHEMA_PATTERN_INVALID"]
111
+ },
112
+ {
113
+ "caseId": "theme-contract-invalid-39d730cd444ba4f5",
114
+ "coveredRuleIds": [
115
+ "theme-contract:#/$defs/themeToken/allOf/4/then/properties/light:pattern"
116
+ ],
117
+ "schemaId": "urn:gala:schema:theme-contract:2.0.0",
118
+ "schemaPointer": "#/$defs/themeToken/allOf/4/then/properties/light",
119
+ "keyword": "pattern",
120
+ "instance": "",
121
+ "expectedCodes": ["SCHEMA_PATTERN_INVALID"]
122
+ },
123
+ {
124
+ "caseId": "theme-contract-invalid-59b84de4a7f88777",
125
+ "coveredRuleIds": [
126
+ "theme-contract:#/$defs/themeToken/allOf/6/then/properties/dark:pattern"
127
+ ],
128
+ "schemaId": "urn:gala:schema:theme-contract:2.0.0",
129
+ "schemaPointer": "#/$defs/themeToken/allOf/6/then/properties/dark",
130
+ "keyword": "pattern",
131
+ "instance": "",
132
+ "expectedCodes": ["SCHEMA_PATTERN_INVALID"]
133
+ },
24
134
  {
25
135
  "caseId": "theme-contract-invalid-5be029c3359fd3a8",
26
136
  "coveredRuleIds": [
@@ -63,6 +173,39 @@
63
173
  "instance": "",
64
174
  "expectedCodes": ["SCHEMA_PATTERN_INVALID"]
65
175
  },
176
+ {
177
+ "caseId": "theme-contract-invalid-7ac298551cad6b8d",
178
+ "coveredRuleIds": [
179
+ "theme-contract:#/$defs/themeToken/allOf/6/then/properties/light:pattern"
180
+ ],
181
+ "schemaId": "urn:gala:schema:theme-contract:2.0.0",
182
+ "schemaPointer": "#/$defs/themeToken/allOf/6/then/properties/light",
183
+ "keyword": "pattern",
184
+ "instance": "",
185
+ "expectedCodes": ["SCHEMA_PATTERN_INVALID"]
186
+ },
187
+ {
188
+ "caseId": "theme-contract-invalid-7acad068ebeabd75",
189
+ "coveredRuleIds": [
190
+ "theme-contract:#/$defs/themeToken/allOf/3/then/properties/light:pattern"
191
+ ],
192
+ "schemaId": "urn:gala:schema:theme-contract:2.0.0",
193
+ "schemaPointer": "#/$defs/themeToken/allOf/3/then/properties/light",
194
+ "keyword": "pattern",
195
+ "instance": "",
196
+ "expectedCodes": ["SCHEMA_PATTERN_INVALID"]
197
+ },
198
+ {
199
+ "caseId": "theme-contract-invalid-7fd2fc1bb8b90472",
200
+ "coveredRuleIds": [
201
+ "theme-contract:#/$defs/themeToken/allOf/10/then/properties/dark:pattern"
202
+ ],
203
+ "schemaId": "urn:gala:schema:theme-contract:2.0.0",
204
+ "schemaPointer": "#/$defs/themeToken/allOf/10/then/properties/dark",
205
+ "keyword": "pattern",
206
+ "instance": "",
207
+ "expectedCodes": ["SCHEMA_PATTERN_INVALID"]
208
+ },
66
209
  {
67
210
  "caseId": "theme-contract-invalid-8372b0e17d27c095",
68
211
  "coveredRuleIds": [
@@ -74,6 +217,17 @@
74
217
  "instance": "",
75
218
  "expectedCodes": ["SCHEMA_PATTERN_INVALID"]
76
219
  },
220
+ {
221
+ "caseId": "theme-contract-invalid-8ac458352427cafd",
222
+ "coveredRuleIds": [
223
+ "theme-contract:#/$defs/themeToken/allOf/9/then/properties/dark:pattern"
224
+ ],
225
+ "schemaId": "urn:gala:schema:theme-contract:2.0.0",
226
+ "schemaPointer": "#/$defs/themeToken/allOf/9/then/properties/dark",
227
+ "keyword": "pattern",
228
+ "instance": "",
229
+ "expectedCodes": ["SCHEMA_PATTERN_INVALID"]
230
+ },
77
231
  {
78
232
  "caseId": "theme-contract-invalid-8b15ba64537e2171",
79
233
  "coveredRuleIds": [
@@ -147,6 +301,17 @@
147
301
  "instance": "",
148
302
  "expectedCodes": ["SCHEMA_PATTERN_INVALID"]
149
303
  },
304
+ {
305
+ "caseId": "theme-contract-invalid-cff1217d082162df",
306
+ "coveredRuleIds": [
307
+ "theme-contract:#/$defs/themeToken/allOf/9/then/properties/light:pattern"
308
+ ],
309
+ "schemaId": "urn:gala:schema:theme-contract:2.0.0",
310
+ "schemaPointer": "#/$defs/themeToken/allOf/9/then/properties/light",
311
+ "keyword": "pattern",
312
+ "instance": "",
313
+ "expectedCodes": ["SCHEMA_PATTERN_INVALID"]
314
+ },
150
315
  {
151
316
  "caseId": "theme-contract-invalid-e9f5cc90761c22f1",
152
317
  "coveredRuleIds": ["theme-contract:#/properties/package/allOf/1:pattern"],
@@ -155,5 +320,16 @@
155
320
  "keyword": "pattern",
156
321
  "instance": "",
157
322
  "expectedCodes": ["SCHEMA_PATTERN_INVALID"]
323
+ },
324
+ {
325
+ "caseId": "theme-contract-invalid-ef392791e0ad8174",
326
+ "coveredRuleIds": [
327
+ "theme-contract:#/$defs/themeToken/allOf/5/then/properties/light:pattern"
328
+ ],
329
+ "schemaId": "urn:gala:schema:theme-contract:2.0.0",
330
+ "schemaPointer": "#/$defs/themeToken/allOf/5/then/properties/light",
331
+ "keyword": "pattern",
332
+ "instance": "",
333
+ "expectedCodes": ["SCHEMA_PATTERN_INVALID"]
158
334
  }
159
335
  ]