@rathnasgala2/schemas 3.0.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 (90) hide show
  1. package/README.md +39 -42
  2. package/THIRD_PARTY_LICENSES.json +1 -1
  3. package/diagnostics/diagnostic-map.json +557 -7
  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 +15 -5
  7. package/examples/valid/artifact-manifest/rules.json +2 -2
  8. package/examples/valid/build-input/rules.json +341 -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/fixtures/boundary/artifact-manifest/rules.json +2 -2
  13. package/fixtures/boundary/build-input/rules.json +408 -9
  14. package/fixtures/boundary/build-provenance/rules.json +2 -2
  15. package/fixtures/boundary/interactions-config/root.json +18 -0
  16. package/fixtures/boundary/interactions-config/rules.json +725 -0
  17. package/fixtures/invalid/artifact-manifest/SCHEMA_CONSTANT_INVALID/cases.json +0 -11
  18. package/fixtures/invalid/artifact-manifest/SCHEMA_TYPE_INVALID/cases.json +11 -0
  19. package/fixtures/invalid/build-input/GRAPHEME_LENGTH_INVALID/cases.json +11 -0
  20. package/fixtures/invalid/build-input/HTTPS_URL_INVALID/cases.json +29 -0
  21. package/fixtures/invalid/build-input/REQUEST_FIELD_UNKNOWN/cases.json +141 -0
  22. package/fixtures/invalid/build-input/SCHEMA_ARRAY_TOO_LONG/cases.json +15 -0
  23. package/fixtures/invalid/build-input/SCHEMA_CONSTANT_INVALID/cases.json +20 -0
  24. package/fixtures/invalid/build-input/SCHEMA_ENUM_INVALID/cases.json +11 -0
  25. package/fixtures/invalid/build-input/SCHEMA_NEGATED_RULE_MATCHED/cases.json +9 -0
  26. package/fixtures/invalid/build-input/SCHEMA_NUMBER_TOO_LARGE/cases.json +22 -0
  27. package/fixtures/invalid/build-input/SCHEMA_NUMBER_TOO_SMALL/cases.json +22 -0
  28. package/fixtures/invalid/build-input/SCHEMA_OBJECT_TOO_LARGE/cases.json +0 -15
  29. package/fixtures/invalid/build-input/SCHEMA_PATTERN_INVALID/cases.json +9 -0
  30. package/fixtures/invalid/build-input/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +379 -0
  31. package/fixtures/invalid/build-input/SCHEMA_TYPE_INVALID/cases.json +190 -0
  32. package/fixtures/invalid/build-input/SCHEMA_VERSION_UNSUPPORTED/cases.json +22 -0
  33. package/fixtures/invalid/build-provenance/SCHEMA_CONSTANT_INVALID/cases.json +0 -11
  34. package/fixtures/invalid/build-provenance/SCHEMA_TYPE_INVALID/cases.json +11 -0
  35. package/fixtures/invalid/interactions-config/BCP47_INVALID/cases.json +58 -0
  36. package/fixtures/invalid/interactions-config/CANONICAL_ROUTE_INVALID/cases.json +38 -0
  37. package/fixtures/invalid/interactions-config/DIGEST_INVALID/cases.json +20 -0
  38. package/fixtures/invalid/interactions-config/EXTENSION_KEY_INVALID/cases.json +20 -0
  39. package/fixtures/invalid/interactions-config/GIT_OBJECT_ID_INVALID/cases.json +20 -0
  40. package/fixtures/invalid/interactions-config/GRAPHEME_LENGTH_INVALID/cases.json +13 -0
  41. package/fixtures/invalid/interactions-config/HTTPS_URL_INVALID/cases.json +29 -0
  42. package/fixtures/invalid/interactions-config/ISO_COUNTRY_INVALID/cases.json +20 -0
  43. package/fixtures/invalid/interactions-config/PACKAGE_EXACT_INVALID/cases.json +38 -0
  44. package/fixtures/invalid/interactions-config/PACKAGE_RANGE_INVALID/cases.json +38 -0
  45. package/fixtures/invalid/interactions-config/PASSIVE_VISUAL_TOKEN_INVALID/cases.json +11 -0
  46. package/fixtures/invalid/interactions-config/PLAIN_LABEL_INVALID/cases.json +31 -0
  47. package/fixtures/invalid/interactions-config/PLAIN_TEXT_INVALID/cases.json +20 -0
  48. package/fixtures/invalid/interactions-config/REPOSITORY_GLOB_INVALID/cases.json +49 -0
  49. package/fixtures/invalid/interactions-config/REPOSITORY_PATH_INVALID/cases.json +62 -0
  50. package/fixtures/invalid/interactions-config/REQUEST_FIELD_UNKNOWN/cases.json +108 -0
  51. package/fixtures/invalid/interactions-config/RFC3339_INVALID/cases.json +29 -0
  52. package/fixtures/invalid/interactions-config/SCHEMA_ARRAY_TOO_LONG/cases.json +17 -0
  53. package/fixtures/invalid/interactions-config/SCHEMA_CONSTANT_INVALID/cases.json +22 -0
  54. package/fixtures/invalid/interactions-config/SCHEMA_ENUM_INVALID/cases.json +13 -0
  55. package/fixtures/invalid/interactions-config/SCHEMA_NEGATED_RULE_MATCHED/cases.json +11 -0
  56. package/fixtures/invalid/interactions-config/SCHEMA_NUMBER_TOO_LARGE/cases.json +24 -0
  57. package/fixtures/invalid/interactions-config/SCHEMA_NUMBER_TOO_SMALL/cases.json +24 -0
  58. package/fixtures/invalid/interactions-config/SCHEMA_PATTERN_INVALID/cases.json +11 -0
  59. package/fixtures/invalid/interactions-config/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +305 -0
  60. package/fixtures/invalid/interactions-config/SCHEMA_TYPE_INVALID/cases.json +175 -0
  61. package/fixtures/invalid/interactions-config/SCHEMA_VERSION_UNSUPPORTED/cases.json +20 -0
  62. package/fixtures/invalid/interactions-config/SEMVER_INVALID/cases.json +20 -0
  63. package/fixtures/invalid/interactions-config/SEMVER_RANGE_INVALID/cases.json +38 -0
  64. package/fixtures/invalid/interactions-config/SLUG_INVALID/cases.json +38 -0
  65. package/fixtures/invalid/interactions-config/STABLE_ID_INVALID/cases.json +20 -0
  66. package/fixtures/invalid/interactions-config/URN_INVALID/cases.json +38 -0
  67. package/fixtures/manifest.json +4287 -26
  68. package/fixtures/s2/empty-modules-placements.json +233 -3
  69. package/fixtures/s2/manifest.json +1 -0
  70. package/fixtures/unknown-field/artifact-manifest/rules.json +1 -1
  71. package/fixtures/unknown-field/build-input/rules.json +198 -1
  72. package/fixtures/unknown-field/build-provenance/rules.json +1 -1
  73. package/fixtures/unknown-field/interactions-config/root.json +19 -0
  74. package/fixtures/unknown-field/interactions-config/rules.json +227 -0
  75. package/generated/browser/validator-core.mjs +4 -3
  76. package/generated/typescript/contracts/artifact-manifest.d.ts +1 -1
  77. package/generated/typescript/contracts/build-input.d.ts +58 -1
  78. package/generated/typescript/contracts/build-provenance.d.ts +1 -1
  79. package/generated/typescript/contracts/interactions-config.d.ts +91 -0
  80. package/generated/typescript/index.d.ts +4 -0
  81. package/generated/typescript/index.js +14 -0
  82. package/openapi/http-catalog.json +230 -2
  83. package/openapi/openapi.yaml +5941 -1509
  84. package/package.json +2 -1
  85. package/sbom.cdx.json +23 -23
  86. package/schemas/artifact-manifest.schema.json +1 -1
  87. package/schemas/build-input.schema.json +117 -2
  88. package/schemas/build-provenance.schema.json +1 -1
  89. package/schemas/interactions-config.schema.json +222 -0
  90. package/src/internal/schema-validator.js +3 -0
@@ -0,0 +1,725 @@
1
+ [
2
+ {
3
+ "caseId": "interactions-config-boundary-089b5be4adfb4363",
4
+ "coveredRuleIds": [
5
+ "interactions-config:#/$defs/reactionDefinition/properties/label:type"
6
+ ],
7
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
8
+ "schemaPointer": "#/$defs/reactionDefinition/properties/label",
9
+ "keyword": "type",
10
+ "instance": "fixture-1"
11
+ },
12
+ {
13
+ "caseId": "interactions-config-boundary-1251e32ceed19984",
14
+ "coveredRuleIds": [
15
+ "interactions-config:#/$defs/plainLabel:format",
16
+ "interactions-config:#/$defs/plainLabel:type"
17
+ ],
18
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
19
+ "schemaPointer": "#/$defs/plainLabel",
20
+ "keyword": "format",
21
+ "instance": "fixture-1"
22
+ },
23
+ {
24
+ "caseId": "interactions-config-boundary-1994b0284b84ae9c",
25
+ "coveredRuleIds": [
26
+ "interactions-config:#/$defs/glob:format",
27
+ "interactions-config:#/$defs/glob:type"
28
+ ],
29
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
30
+ "schemaPointer": "#/$defs/glob",
31
+ "keyword": "format",
32
+ "instance": "**"
33
+ },
34
+ {
35
+ "caseId": "interactions-config-boundary-21d490e9f18e9020",
36
+ "coveredRuleIds": [
37
+ "interactions-config:#/$defs/glob:maxLength",
38
+ "interactions-config:#/$defs/glob:x-gala-utf8ByteLength"
39
+ ],
40
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
41
+ "schemaPointer": "#/$defs/glob",
42
+ "keyword": "maxLength",
43
+ "recipe": {
44
+ "kind": "schema-string-boundary",
45
+ "schemaPointer": "#/$defs/glob",
46
+ "length": 256,
47
+ "direction": "maximum"
48
+ }
49
+ },
50
+ {
51
+ "caseId": "interactions-config-boundary-23f69dce4e1ad678",
52
+ "coveredRuleIds": [
53
+ "interactions-config:#/$defs/packageRange:format",
54
+ "interactions-config:#/$defs/packageRange:pattern",
55
+ "interactions-config:#/$defs/packageRange:type"
56
+ ],
57
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
58
+ "schemaPointer": "#/$defs/packageRange",
59
+ "keyword": "format",
60
+ "instance": "@rathnasgala2/fixture-1@^2.0.0"
61
+ },
62
+ {
63
+ "caseId": "interactions-config-boundary-2998608e713d981b",
64
+ "coveredRuleIds": [
65
+ "interactions-config:#/$defs/repoRelativePath:maxLength",
66
+ "interactions-config:#/$defs/repoRelativePath:x-gala-utf8ByteLength"
67
+ ],
68
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
69
+ "schemaPointer": "#/$defs/repoRelativePath",
70
+ "keyword": "maxLength",
71
+ "recipe": {
72
+ "kind": "schema-string-boundary",
73
+ "schemaPointer": "#/$defs/repoRelativePath",
74
+ "length": 512,
75
+ "direction": "maximum"
76
+ }
77
+ },
78
+ {
79
+ "caseId": "interactions-config-boundary-2bb7f0d3a7e36e4e",
80
+ "coveredRuleIds": ["interactions-config:#/$defs/reactionKey/not:const"],
81
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
82
+ "schemaPointer": "#/$defs/reactionKey/not",
83
+ "keyword": "const",
84
+ "instance": "like"
85
+ },
86
+ {
87
+ "caseId": "interactions-config-boundary-2c0d28c211de74c5",
88
+ "coveredRuleIds": [
89
+ "interactions-config:#/$defs/reactionDefinition/properties/enabled:type"
90
+ ],
91
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
92
+ "schemaPointer": "#/$defs/reactionDefinition/properties/enabled",
93
+ "keyword": "type",
94
+ "instance": false
95
+ },
96
+ {
97
+ "caseId": "interactions-config-boundary-3084d1d86c619ace",
98
+ "coveredRuleIds": [
99
+ "interactions-config:#/$defs/urn:format",
100
+ "interactions-config:#/$defs/urn:pattern",
101
+ "interactions-config:#/$defs/urn:type"
102
+ ],
103
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
104
+ "schemaPointer": "#/$defs/urn",
105
+ "keyword": "format",
106
+ "instance": "urn:gala:fixture:value-1"
107
+ },
108
+ {
109
+ "caseId": "interactions-config-boundary-30d5a4d5c7e3d90c",
110
+ "coveredRuleIds": [
111
+ "interactions-config:#/$defs/semverRange:format",
112
+ "interactions-config:#/$defs/semverRange:pattern",
113
+ "interactions-config:#/$defs/semverRange:type"
114
+ ],
115
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
116
+ "schemaPointer": "#/$defs/semverRange",
117
+ "keyword": "format",
118
+ "instance": "^2.0.0"
119
+ },
120
+ {
121
+ "caseId": "interactions-config-boundary-36b0ea8d43ddf243",
122
+ "coveredRuleIds": [
123
+ "interactions-config:#/properties/comments/properties/maxDepth:maximum"
124
+ ],
125
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
126
+ "schemaPointer": "#/properties/comments/properties/maxDepth",
127
+ "keyword": "maximum",
128
+ "instance": 4
129
+ },
130
+ {
131
+ "caseId": "interactions-config-boundary-37bf3572ba155ee1",
132
+ "coveredRuleIds": [
133
+ "interactions-config:#/properties/reactions/properties/definitions:maxItems"
134
+ ],
135
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
136
+ "schemaPointer": "#/properties/reactions/properties/definitions",
137
+ "keyword": "maxItems",
138
+ "recipe": {
139
+ "kind": "schema-array-boundary",
140
+ "schemaPointer": "#/properties/reactions/properties/definitions",
141
+ "length": 16
142
+ }
143
+ },
144
+ {
145
+ "caseId": "interactions-config-boundary-3a2e821669f796be",
146
+ "coveredRuleIds": [
147
+ "interactions-config:#/$defs/reactionDefinition:additionalProperties",
148
+ "interactions-config:#/$defs/reactionDefinition:required:enabled",
149
+ "interactions-config:#/$defs/reactionDefinition:required:key",
150
+ "interactions-config:#/$defs/reactionDefinition:required:label",
151
+ "interactions-config:#/$defs/reactionDefinition:required:order",
152
+ "interactions-config:#/$defs/reactionDefinition:required:visual",
153
+ "interactions-config:#/$defs/reactionDefinition:type"
154
+ ],
155
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
156
+ "schemaPointer": "#/$defs/reactionDefinition",
157
+ "keyword": "additionalProperties",
158
+ "instance": {
159
+ "key": "fixture-1",
160
+ "label": "fixture-1",
161
+ "visual": { "kind": "emoji", "token": "👍" },
162
+ "order": 1,
163
+ "enabled": false
164
+ }
165
+ },
166
+ {
167
+ "caseId": "interactions-config-boundary-426314f493aebbf8",
168
+ "coveredRuleIds": [
169
+ "interactions-config:#/$defs/semver:pattern",
170
+ "interactions-config:#/$defs/semver:type"
171
+ ],
172
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
173
+ "schemaPointer": "#/$defs/semver",
174
+ "keyword": "pattern",
175
+ "instance": "2.0.0"
176
+ },
177
+ {
178
+ "caseId": "interactions-config-boundary-457bb37da57f3fa6",
179
+ "coveredRuleIds": [
180
+ "interactions-config:#/$defs/reactionDefinition/properties/label:x-gala-graphemeLength"
181
+ ],
182
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
183
+ "schemaPointer": "#/$defs/reactionDefinition/properties/label",
184
+ "keyword": "x-gala-graphemeLength",
185
+ "recipe": {
186
+ "kind": "schema-string-boundary",
187
+ "schemaPointer": "#/$defs/reactionDefinition/properties/label",
188
+ "length": 32,
189
+ "direction": "maximum"
190
+ }
191
+ },
192
+ {
193
+ "caseId": "interactions-config-boundary-45fa7ec39ab0ba71",
194
+ "coveredRuleIds": [
195
+ "interactions-config:#/$defs/reactionKey:not",
196
+ "interactions-config:#/$defs/reactionKey:pattern",
197
+ "interactions-config:#/$defs/reactionKey:type"
198
+ ],
199
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
200
+ "schemaPointer": "#/$defs/reactionKey",
201
+ "keyword": "not",
202
+ "instance": "fixture-1"
203
+ },
204
+ {
205
+ "caseId": "interactions-config-boundary-5b5e96f439400c47",
206
+ "coveredRuleIds": [
207
+ "interactions-config:#/$defs/rfc3339:format",
208
+ "interactions-config:#/$defs/rfc3339:pattern",
209
+ "interactions-config:#/$defs/rfc3339:type"
210
+ ],
211
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
212
+ "schemaPointer": "#/$defs/rfc3339",
213
+ "keyword": "format",
214
+ "instance": "2026-09-13T12:00:00.000Z"
215
+ },
216
+ {
217
+ "caseId": "interactions-config-boundary-5ea099a3e7665c6c",
218
+ "coveredRuleIds": [
219
+ "interactions-config:#/$defs/canonicalRoute:format",
220
+ "interactions-config:#/$defs/canonicalRoute:pattern",
221
+ "interactions-config:#/$defs/canonicalRoute:type"
222
+ ],
223
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
224
+ "schemaPointer": "#/$defs/canonicalRoute",
225
+ "keyword": "format",
226
+ "instance": "/fixture-1"
227
+ },
228
+ {
229
+ "caseId": "interactions-config-boundary-5ed2c3704f5a6bb1",
230
+ "coveredRuleIds": [
231
+ "interactions-config:#/$defs/repoRelativePath:minLength"
232
+ ],
233
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
234
+ "schemaPointer": "#/$defs/repoRelativePath",
235
+ "keyword": "minLength",
236
+ "recipe": {
237
+ "kind": "schema-string-boundary",
238
+ "schemaPointer": "#/$defs/repoRelativePath",
239
+ "length": 1,
240
+ "direction": "minimum"
241
+ }
242
+ },
243
+ {
244
+ "caseId": "interactions-config-boundary-5f0075a8a9ab620b",
245
+ "coveredRuleIds": ["interactions-config:#/$defs/glob:minLength"],
246
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
247
+ "schemaPointer": "#/$defs/glob",
248
+ "keyword": "minLength",
249
+ "recipe": {
250
+ "kind": "schema-string-boundary",
251
+ "schemaPointer": "#/$defs/glob",
252
+ "length": 1,
253
+ "direction": "minimum"
254
+ }
255
+ },
256
+ {
257
+ "caseId": "interactions-config-boundary-63726a4f5d6169fe",
258
+ "coveredRuleIds": [
259
+ "interactions-config:#/$defs/urlHttps:format",
260
+ "interactions-config:#/$defs/urlHttps:pattern",
261
+ "interactions-config:#/$defs/urlHttps:type"
262
+ ],
263
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
264
+ "schemaPointer": "#/$defs/urlHttps",
265
+ "keyword": "format",
266
+ "instance": "https://fixture-1.example.com/"
267
+ },
268
+ {
269
+ "caseId": "interactions-config-boundary-640a4c54c680b1b8",
270
+ "coveredRuleIds": [
271
+ "interactions-config:#/$defs/reactionVisual:additionalProperties",
272
+ "interactions-config:#/$defs/reactionVisual:required:kind",
273
+ "interactions-config:#/$defs/reactionVisual:required:token",
274
+ "interactions-config:#/$defs/reactionVisual:type"
275
+ ],
276
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
277
+ "schemaPointer": "#/$defs/reactionVisual",
278
+ "keyword": "additionalProperties",
279
+ "instance": { "kind": "emoji", "token": "👍" }
280
+ },
281
+ {
282
+ "caseId": "interactions-config-boundary-6d8e769d019903ac",
283
+ "coveredRuleIds": ["interactions-config:#/$defs/urn:minLength"],
284
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
285
+ "schemaPointer": "#/$defs/urn",
286
+ "keyword": "minLength",
287
+ "recipe": {
288
+ "kind": "schema-string-boundary",
289
+ "schemaPointer": "#/$defs/urn",
290
+ "length": 10,
291
+ "direction": "minimum"
292
+ }
293
+ },
294
+ {
295
+ "caseId": "interactions-config-boundary-6fd6c8c15e269af1",
296
+ "coveredRuleIds": [
297
+ "interactions-config:#/properties/reactions/properties/definitions:type"
298
+ ],
299
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
300
+ "schemaPointer": "#/properties/reactions/properties/definitions",
301
+ "keyword": "type",
302
+ "instance": [
303
+ {
304
+ "key": "fixture-1",
305
+ "label": "fixture-1",
306
+ "visual": { "kind": "emoji", "token": "👍" },
307
+ "order": 1,
308
+ "enabled": false
309
+ }
310
+ ]
311
+ },
312
+ {
313
+ "caseId": "interactions-config-boundary-7274eea62a7303c4",
314
+ "coveredRuleIds": [
315
+ "interactions-config:#/$defs/plainText:format",
316
+ "interactions-config:#/$defs/plainText:type"
317
+ ],
318
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
319
+ "schemaPointer": "#/$defs/plainText",
320
+ "keyword": "format",
321
+ "instance": "fixture-1"
322
+ },
323
+ {
324
+ "caseId": "interactions-config-boundary-7e1f0587001630ab",
325
+ "coveredRuleIds": [
326
+ "interactions-config:#/$defs/reactionDefinition/properties/order:minimum",
327
+ "interactions-config:#/$defs/reactionDefinition/properties/order:type"
328
+ ],
329
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
330
+ "schemaPointer": "#/$defs/reactionDefinition/properties/order",
331
+ "keyword": "minimum",
332
+ "instance": 1
333
+ },
334
+ {
335
+ "caseId": "interactions-config-boundary-82291af87f885920",
336
+ "coveredRuleIds": [
337
+ "interactions-config:#/properties/reactions/properties/enabled:type"
338
+ ],
339
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
340
+ "schemaPointer": "#/properties/reactions/properties/enabled",
341
+ "keyword": "type",
342
+ "instance": false
343
+ },
344
+ {
345
+ "caseId": "interactions-config-boundary-83ef50b3c971e4ce",
346
+ "coveredRuleIds": [
347
+ "interactions-config:#/$defs/stableId:pattern",
348
+ "interactions-config:#/$defs/stableId:type"
349
+ ],
350
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
351
+ "schemaPointer": "#/$defs/stableId",
352
+ "keyword": "pattern",
353
+ "instance": "019c0000-0000-7000-8000-000000000001"
354
+ },
355
+ {
356
+ "caseId": "interactions-config-boundary-8a60be945d42cc59",
357
+ "coveredRuleIds": ["interactions-config:#/$defs/slug:minLength"],
358
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
359
+ "schemaPointer": "#/$defs/slug",
360
+ "keyword": "minLength",
361
+ "recipe": {
362
+ "kind": "schema-string-boundary",
363
+ "schemaPointer": "#/$defs/slug",
364
+ "length": 1,
365
+ "direction": "minimum"
366
+ }
367
+ },
368
+ {
369
+ "caseId": "interactions-config-boundary-920b8ed84b3d6f20",
370
+ "coveredRuleIds": ["interactions-config:#/properties/schemaId:const"],
371
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
372
+ "schemaPointer": "#/properties/schemaId",
373
+ "keyword": "const",
374
+ "instance": "urn:gala:schema:interactions-config:2.0.0"
375
+ },
376
+ {
377
+ "caseId": "interactions-config-boundary-9513b91bbfc3d7b8",
378
+ "coveredRuleIds": [
379
+ "interactions-config:#/$defs/gitObjectId:pattern",
380
+ "interactions-config:#/$defs/gitObjectId:type"
381
+ ],
382
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
383
+ "schemaPointer": "#/$defs/gitObjectId",
384
+ "keyword": "pattern",
385
+ "instance": "sha1:0000000000000000000000000000000000000001"
386
+ },
387
+ {
388
+ "caseId": "interactions-config-boundary-959a1dcaa5dcb36c",
389
+ "coveredRuleIds": [
390
+ "interactions-config:#/properties/reactions/properties/definitions:minItems"
391
+ ],
392
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
393
+ "schemaPointer": "#/properties/reactions/properties/definitions",
394
+ "keyword": "minItems",
395
+ "recipe": {
396
+ "kind": "schema-array-boundary",
397
+ "schemaPointer": "#/properties/reactions/properties/definitions",
398
+ "length": 0
399
+ }
400
+ },
401
+ {
402
+ "caseId": "interactions-config-boundary-a250b1bae89bc23f",
403
+ "coveredRuleIds": [
404
+ "interactions-config:#:additionalProperties",
405
+ "interactions-config:#:required:comments",
406
+ "interactions-config:#:required:publicCounts",
407
+ "interactions-config:#:required:reactions",
408
+ "interactions-config:#:required:schemaId",
409
+ "interactions-config:#:required:schemaVersion",
410
+ "interactions-config:#:type"
411
+ ],
412
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
413
+ "schemaPointer": "#",
414
+ "keyword": "additionalProperties",
415
+ "instance": {
416
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
417
+ "schemaVersion": "2.0.0",
418
+ "reactions": {
419
+ "enabled": false,
420
+ "definitions": [
421
+ {
422
+ "key": "fixture-1",
423
+ "label": "fixture-1",
424
+ "visual": { "kind": "emoji", "token": "👍" },
425
+ "order": 1,
426
+ "enabled": false
427
+ }
428
+ ]
429
+ },
430
+ "comments": { "enabled": false, "allowReplies": false, "maxDepth": 1 },
431
+ "publicCounts": { "reactions": false, "comments": false }
432
+ }
433
+ },
434
+ {
435
+ "caseId": "interactions-config-boundary-a9defb191b0db7c2",
436
+ "coveredRuleIds": [
437
+ "interactions-config:#/$defs/repoRelativePath:format",
438
+ "interactions-config:#/$defs/repoRelativePath:pattern",
439
+ "interactions-config:#/$defs/repoRelativePath:type"
440
+ ],
441
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
442
+ "schemaPointer": "#/$defs/repoRelativePath",
443
+ "keyword": "format",
444
+ "instance": "content/fixture-1.md"
445
+ },
446
+ {
447
+ "caseId": "interactions-config-boundary-ab4faf80ddb7434f",
448
+ "coveredRuleIds": [
449
+ "interactions-config:#/properties/comments/properties/maxDepth:minimum",
450
+ "interactions-config:#/properties/comments/properties/maxDepth:type"
451
+ ],
452
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
453
+ "schemaPointer": "#/properties/comments/properties/maxDepth",
454
+ "keyword": "minimum",
455
+ "instance": 1
456
+ },
457
+ {
458
+ "caseId": "interactions-config-boundary-ae6f74d487076265",
459
+ "coveredRuleIds": [
460
+ "interactions-config:#/properties/publicCounts/properties/reactions:type"
461
+ ],
462
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
463
+ "schemaPointer": "#/properties/publicCounts/properties/reactions",
464
+ "keyword": "type",
465
+ "instance": false
466
+ },
467
+ {
468
+ "caseId": "interactions-config-boundary-b16096e9a6998b94",
469
+ "coveredRuleIds": [
470
+ "interactions-config:#/$defs/bcp47:format",
471
+ "interactions-config:#/$defs/bcp47:pattern",
472
+ "interactions-config:#/$defs/bcp47:type"
473
+ ],
474
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
475
+ "schemaPointer": "#/$defs/bcp47",
476
+ "keyword": "format",
477
+ "instance": "en-US"
478
+ },
479
+ {
480
+ "caseId": "interactions-config-boundary-b394183662e569ad",
481
+ "coveredRuleIds": [
482
+ "interactions-config:#/$defs/digest:pattern",
483
+ "interactions-config:#/$defs/digest:type"
484
+ ],
485
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
486
+ "schemaPointer": "#/$defs/digest",
487
+ "keyword": "pattern",
488
+ "instance": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
489
+ },
490
+ {
491
+ "caseId": "interactions-config-boundary-b40be083c5e04e5c",
492
+ "coveredRuleIds": [
493
+ "interactions-config:#/$defs/packageExact:format",
494
+ "interactions-config:#/$defs/packageExact:pattern",
495
+ "interactions-config:#/$defs/packageExact:type"
496
+ ],
497
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
498
+ "schemaPointer": "#/$defs/packageExact",
499
+ "keyword": "format",
500
+ "instance": "@rathnasgala2/fixture-1@2.0.0"
501
+ },
502
+ {
503
+ "caseId": "interactions-config-boundary-b4b70f46e415e8bc",
504
+ "coveredRuleIds": [
505
+ "interactions-config:#/properties/comments:additionalProperties",
506
+ "interactions-config:#/properties/comments:required:allowReplies",
507
+ "interactions-config:#/properties/comments:required:enabled",
508
+ "interactions-config:#/properties/comments:required:maxDepth",
509
+ "interactions-config:#/properties/comments:type"
510
+ ],
511
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
512
+ "schemaPointer": "#/properties/comments",
513
+ "keyword": "additionalProperties",
514
+ "instance": { "enabled": false, "allowReplies": false, "maxDepth": 1 }
515
+ },
516
+ {
517
+ "caseId": "interactions-config-boundary-b554e3797e8e5321",
518
+ "coveredRuleIds": [
519
+ "interactions-config:#/$defs/reactionVisual/properties/token:enum"
520
+ ],
521
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
522
+ "schemaPointer": "#/$defs/reactionVisual/properties/token",
523
+ "keyword": "enum",
524
+ "instance": "👍"
525
+ },
526
+ {
527
+ "caseId": "interactions-config-boundary-ba5073d37e61c16f",
528
+ "coveredRuleIds": [
529
+ "interactions-config:#/$defs/plainLabel:x-gala-graphemeLength"
530
+ ],
531
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
532
+ "schemaPointer": "#/$defs/plainLabel",
533
+ "keyword": "x-gala-graphemeLength",
534
+ "recipe": {
535
+ "kind": "schema-string-boundary",
536
+ "schemaPointer": "#/$defs/plainLabel",
537
+ "length": 80,
538
+ "direction": "maximum"
539
+ }
540
+ },
541
+ {
542
+ "caseId": "interactions-config-boundary-bd984d4491127cb9",
543
+ "coveredRuleIds": [
544
+ "interactions-config:#/$defs/isoCountry:format",
545
+ "interactions-config:#/$defs/isoCountry:pattern",
546
+ "interactions-config:#/$defs/isoCountry:type"
547
+ ],
548
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
549
+ "schemaPointer": "#/$defs/isoCountry",
550
+ "keyword": "format",
551
+ "instance": "US"
552
+ },
553
+ {
554
+ "caseId": "interactions-config-boundary-bfc81853694e2776",
555
+ "coveredRuleIds": ["interactions-config:#/$defs/slug:maxLength"],
556
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
557
+ "schemaPointer": "#/$defs/slug",
558
+ "keyword": "maxLength",
559
+ "recipe": {
560
+ "kind": "schema-string-boundary",
561
+ "schemaPointer": "#/$defs/slug",
562
+ "length": 80,
563
+ "direction": "maximum"
564
+ }
565
+ },
566
+ {
567
+ "caseId": "interactions-config-boundary-c490f6fec525db4f",
568
+ "coveredRuleIds": ["interactions-config:#/$defs/urn:maxLength"],
569
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
570
+ "schemaPointer": "#/$defs/urn",
571
+ "keyword": "maxLength",
572
+ "recipe": {
573
+ "kind": "schema-string-boundary",
574
+ "schemaPointer": "#/$defs/urn",
575
+ "length": 255,
576
+ "direction": "maximum"
577
+ }
578
+ },
579
+ {
580
+ "caseId": "interactions-config-boundary-c7e8ab73f01ce02c",
581
+ "coveredRuleIds": ["interactions-config:#/$defs/canonicalRoute:minLength"],
582
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
583
+ "schemaPointer": "#/$defs/canonicalRoute",
584
+ "keyword": "minLength",
585
+ "recipe": {
586
+ "kind": "schema-string-boundary",
587
+ "schemaPointer": "#/$defs/canonicalRoute",
588
+ "length": 1,
589
+ "direction": "minimum"
590
+ }
591
+ },
592
+ {
593
+ "caseId": "interactions-config-boundary-d74f0c9e553e593e",
594
+ "coveredRuleIds": [
595
+ "interactions-config:#/$defs/slug:pattern",
596
+ "interactions-config:#/$defs/slug:type"
597
+ ],
598
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
599
+ "schemaPointer": "#/$defs/slug",
600
+ "keyword": "pattern",
601
+ "instance": "fixture-1"
602
+ },
603
+ {
604
+ "caseId": "interactions-config-boundary-d7e9516f5979c6a1",
605
+ "coveredRuleIds": [
606
+ "interactions-config:#/properties/comments/properties/enabled:type"
607
+ ],
608
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
609
+ "schemaPointer": "#/properties/comments/properties/enabled",
610
+ "keyword": "type",
611
+ "instance": false
612
+ },
613
+ {
614
+ "caseId": "interactions-config-boundary-d86f88097392b8c0",
615
+ "coveredRuleIds": [
616
+ "interactions-config:#/$defs/reactionVisual/properties/kind:const"
617
+ ],
618
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
619
+ "schemaPointer": "#/$defs/reactionVisual/properties/kind",
620
+ "keyword": "const",
621
+ "instance": "emoji"
622
+ },
623
+ {
624
+ "caseId": "interactions-config-boundary-dc1935da08adc8e9",
625
+ "coveredRuleIds": [
626
+ "interactions-config:#/$defs/extensionKey:format",
627
+ "interactions-config:#/$defs/extensionKey:type"
628
+ ],
629
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
630
+ "schemaPointer": "#/$defs/extensionKey",
631
+ "keyword": "format",
632
+ "instance": "com.example.fixture-1"
633
+ },
634
+ {
635
+ "caseId": "interactions-config-boundary-e21a9c992c84cf81",
636
+ "coveredRuleIds": [
637
+ "interactions-config:#/$defs/reactionDefinition/properties/order:maximum"
638
+ ],
639
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
640
+ "schemaPointer": "#/$defs/reactionDefinition/properties/order",
641
+ "keyword": "maximum",
642
+ "instance": 16
643
+ },
644
+ {
645
+ "caseId": "interactions-config-boundary-ec0e07fa303716fb",
646
+ "coveredRuleIds": ["interactions-config:#/properties/schemaVersion:const"],
647
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
648
+ "schemaPointer": "#/properties/schemaVersion",
649
+ "keyword": "const",
650
+ "instance": "2.0.0"
651
+ },
652
+ {
653
+ "caseId": "interactions-config-boundary-f0f505c92729ddac",
654
+ "coveredRuleIds": [
655
+ "interactions-config:#/$defs/bcp47:maxLength",
656
+ "interactions-config:#/$defs/bcp47:x-gala-utf8ByteLength"
657
+ ],
658
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
659
+ "schemaPointer": "#/$defs/bcp47",
660
+ "keyword": "maxLength",
661
+ "recipe": {
662
+ "kind": "schema-string-boundary",
663
+ "schemaPointer": "#/$defs/bcp47",
664
+ "length": 255,
665
+ "direction": "maximum"
666
+ }
667
+ },
668
+ {
669
+ "caseId": "interactions-config-boundary-f1d82af7521fe08d",
670
+ "coveredRuleIds": [
671
+ "interactions-config:#/properties/reactions:additionalProperties",
672
+ "interactions-config:#/properties/reactions:required:definitions",
673
+ "interactions-config:#/properties/reactions:required:enabled",
674
+ "interactions-config:#/properties/reactions:type"
675
+ ],
676
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
677
+ "schemaPointer": "#/properties/reactions",
678
+ "keyword": "additionalProperties",
679
+ "instance": {
680
+ "enabled": false,
681
+ "definitions": [
682
+ {
683
+ "key": "fixture-1",
684
+ "label": "fixture-1",
685
+ "visual": { "kind": "emoji", "token": "👍" },
686
+ "order": 1,
687
+ "enabled": false
688
+ }
689
+ ]
690
+ }
691
+ },
692
+ {
693
+ "caseId": "interactions-config-boundary-f753dc528d54c493",
694
+ "coveredRuleIds": [
695
+ "interactions-config:#/properties/publicCounts:additionalProperties",
696
+ "interactions-config:#/properties/publicCounts:required:comments",
697
+ "interactions-config:#/properties/publicCounts:required:reactions",
698
+ "interactions-config:#/properties/publicCounts:type"
699
+ ],
700
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
701
+ "schemaPointer": "#/properties/publicCounts",
702
+ "keyword": "additionalProperties",
703
+ "instance": { "reactions": false, "comments": false }
704
+ },
705
+ {
706
+ "caseId": "interactions-config-boundary-fa57948e3fc4c14b",
707
+ "coveredRuleIds": [
708
+ "interactions-config:#/properties/publicCounts/properties/comments:type"
709
+ ],
710
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
711
+ "schemaPointer": "#/properties/publicCounts/properties/comments",
712
+ "keyword": "type",
713
+ "instance": false
714
+ },
715
+ {
716
+ "caseId": "interactions-config-boundary-fdeab278bc17dbdd",
717
+ "coveredRuleIds": [
718
+ "interactions-config:#/properties/comments/properties/allowReplies:type"
719
+ ],
720
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
721
+ "schemaPointer": "#/properties/comments/properties/allowReplies",
722
+ "keyword": "type",
723
+ "instance": false
724
+ }
725
+ ]