@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
@@ -395,17 +395,6 @@
395
395
  "instance": "gala-artifact-validation-v2-invalid",
396
396
  "expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
397
397
  },
398
- {
399
- "caseId": "artifact-manifest-invalid-b024c0db761db968",
400
- "coveredRuleIds": [
401
- "artifact-manifest:#/$defs/manifestRoute/properties/interactionBearing:const"
402
- ],
403
- "schemaId": "urn:gala:schema:artifact-manifest:2.0.0",
404
- "schemaPointer": "#/$defs/manifestRoute/properties/interactionBearing",
405
- "keyword": "const",
406
- "instance": null,
407
- "expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
408
- },
409
398
  {
410
399
  "caseId": "artifact-manifest-invalid-b211cc78348f1693",
411
400
  "coveredRuleIds": [
@@ -266,6 +266,17 @@
266
266
  "instance": [],
267
267
  "expectedCodes": ["SCHEMA_TYPE_INVALID"]
268
268
  },
269
+ {
270
+ "caseId": "artifact-manifest-invalid-787dc2189ad26a82",
271
+ "coveredRuleIds": [
272
+ "artifact-manifest:#/$defs/manifestRoute/properties/interactionBearing:type"
273
+ ],
274
+ "schemaId": "urn:gala:schema:artifact-manifest:2.0.0",
275
+ "schemaPointer": "#/$defs/manifestRoute/properties/interactionBearing",
276
+ "keyword": "type",
277
+ "instance": null,
278
+ "expectedCodes": ["SCHEMA_TYPE_INVALID"]
279
+ },
269
280
  {
270
281
  "caseId": "artifact-manifest-invalid-90a6186dc70cfe33",
271
282
  "coveredRuleIds": ["artifact-manifest:#/$defs/workflowFileEvidence:type"],
@@ -76,6 +76,17 @@
76
76
  "recipe": { "kind": "repeat-string", "value": "a", "count": 2001 },
77
77
  "expectedCodes": ["GRAPHEME_LENGTH_INVALID"]
78
78
  },
79
+ {
80
+ "caseId": "build-input-invalid-6b10c08f816996e4",
81
+ "coveredRuleIds": [
82
+ "build-input:#/$defs/reactionDefinition/properties/label:x-gala-graphemeLength"
83
+ ],
84
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
85
+ "schemaPointer": "#/$defs/reactionDefinition/properties/label",
86
+ "keyword": "x-gala-graphemeLength",
87
+ "recipe": { "kind": "repeat-string", "value": "a", "count": 33 },
88
+ "expectedCodes": ["GRAPHEME_LENGTH_INVALID"]
89
+ },
79
90
  {
80
91
  "caseId": "build-input-invalid-89b0092dc251a8a9",
81
92
  "coveredRuleIds": [
@@ -8,6 +8,35 @@
8
8
  "instance": "",
9
9
  "expectedCodes": ["HTTPS_URL_INVALID"]
10
10
  },
11
+ {
12
+ "caseId": "build-input-invalid-10318dedc18e52cd",
13
+ "coveredRuleIds": ["build-input:#/$defs/interactionsServiceOrigin:type"],
14
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
15
+ "schemaPointer": "#/$defs/interactionsServiceOrigin",
16
+ "keyword": "type",
17
+ "instance": null,
18
+ "expectedCodes": ["HTTPS_URL_INVALID"]
19
+ },
20
+ {
21
+ "caseId": "build-input-invalid-2bed5583fa23011a",
22
+ "coveredRuleIds": ["build-input:#/$defs/interactionsServiceOrigin:pattern"],
23
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
24
+ "schemaPointer": "#/$defs/interactionsServiceOrigin",
25
+ "keyword": "pattern",
26
+ "instance": "",
27
+ "expectedCodes": ["HTTPS_URL_INVALID"]
28
+ },
29
+ {
30
+ "caseId": "build-input-invalid-5a7760620de1abc4",
31
+ "coveredRuleIds": [
32
+ "build-input:#/$defs/interactionsServiceOrigin:maxLength"
33
+ ],
34
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
35
+ "schemaPointer": "#/$defs/interactionsServiceOrigin",
36
+ "keyword": "maxLength",
37
+ "recipe": { "kind": "repeat-string", "value": "a", "count": 256 },
38
+ "expectedCodes": ["HTTPS_URL_INVALID"]
39
+ },
11
40
  {
12
41
  "caseId": "build-input-invalid-795f8420d623acd9",
13
42
  "coveredRuleIds": ["build-input:#/$defs/urlHttps:format"],
@@ -166,6 +166,39 @@
166
166
  },
167
167
  "expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
168
168
  },
169
+ {
170
+ "caseId": "build-input-invalid-342f95db8b266b3a",
171
+ "coveredRuleIds": [
172
+ "build-input:#/$defs/moduleBuildSelection/properties/interactions:additionalProperties"
173
+ ],
174
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
175
+ "schemaPointer": "#/$defs/moduleBuildSelection/properties/interactions",
176
+ "keyword": "additionalProperties",
177
+ "instance": {
178
+ "config": {
179
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
180
+ "schemaVersion": "2.0.0",
181
+ "reactions": {
182
+ "enabled": false,
183
+ "definitions": [
184
+ {
185
+ "key": "fixture-1",
186
+ "label": "fixture-1",
187
+ "visual": { "kind": "emoji", "token": "👍" },
188
+ "order": 1,
189
+ "enabled": false
190
+ }
191
+ ]
192
+ },
193
+ "comments": { "enabled": false, "allowReplies": false, "maxDepth": 1 },
194
+ "publicCounts": { "reactions": false, "comments": false }
195
+ },
196
+ "apiOrigin": "https://fixture-1.example.com",
197
+ "appOrigin": "https://fixture-1.example.com",
198
+ "unexpected": true
199
+ },
200
+ "expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
201
+ },
169
202
  {
170
203
  "caseId": "build-input-invalid-3a3a81c31c4ec387",
171
204
  "coveredRuleIds": ["build-input:#/$defs/socialLink:additionalProperties"],
@@ -341,6 +374,35 @@
341
374
  },
342
375
  "expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
343
376
  },
377
+ {
378
+ "caseId": "build-input-invalid-965ba077aca43160",
379
+ "coveredRuleIds": [
380
+ "build-input:#/$defs/interactionsConfig:additionalProperties"
381
+ ],
382
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
383
+ "schemaPointer": "#/$defs/interactionsConfig",
384
+ "keyword": "additionalProperties",
385
+ "instance": {
386
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
387
+ "schemaVersion": "2.0.0",
388
+ "reactions": {
389
+ "enabled": false,
390
+ "definitions": [
391
+ {
392
+ "key": "fixture-1",
393
+ "label": "fixture-1",
394
+ "visual": { "kind": "emoji", "token": "👍" },
395
+ "order": 1,
396
+ "enabled": false
397
+ }
398
+ ]
399
+ },
400
+ "comments": { "enabled": false, "allowReplies": false, "maxDepth": 1 },
401
+ "publicCounts": { "reactions": false, "comments": false },
402
+ "unexpected": true
403
+ },
404
+ "expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
405
+ },
344
406
  {
345
407
  "caseId": "build-input-invalid-97b92a16cfbd0d25",
346
408
  "coveredRuleIds": [
@@ -472,6 +534,22 @@
472
534
  },
473
535
  "expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
474
536
  },
537
+ {
538
+ "caseId": "build-input-invalid-a71e75816d3ab0da",
539
+ "coveredRuleIds": [
540
+ "build-input:#/$defs/interactionsConfig/properties/comments:additionalProperties"
541
+ ],
542
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
543
+ "schemaPointer": "#/$defs/interactionsConfig/properties/comments",
544
+ "keyword": "additionalProperties",
545
+ "instance": {
546
+ "enabled": false,
547
+ "allowReplies": false,
548
+ "maxDepth": 1,
549
+ "unexpected": true
550
+ },
551
+ "expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
552
+ },
475
553
  {
476
554
  "caseId": "build-input-invalid-a8608ad957efb4b5",
477
555
  "coveredRuleIds": [
@@ -514,6 +592,17 @@
514
592
  },
515
593
  "expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
516
594
  },
595
+ {
596
+ "caseId": "build-input-invalid-ae3b99e46fbddcf9",
597
+ "coveredRuleIds": [
598
+ "build-input:#/$defs/interactionsConfig/properties/publicCounts:additionalProperties"
599
+ ],
600
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
601
+ "schemaPointer": "#/$defs/interactionsConfig/properties/publicCounts",
602
+ "keyword": "additionalProperties",
603
+ "instance": { "reactions": false, "comments": false, "unexpected": true },
604
+ "expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
605
+ },
517
606
  {
518
607
  "caseId": "build-input-invalid-b1719a271cd93fb0",
519
608
  "coveredRuleIds": [
@@ -537,6 +626,35 @@
537
626
  },
538
627
  "expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
539
628
  },
629
+ {
630
+ "caseId": "build-input-invalid-b4985b4b9a8e00fc",
631
+ "coveredRuleIds": [
632
+ "build-input:#/$defs/reactionDefinition:additionalProperties"
633
+ ],
634
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
635
+ "schemaPointer": "#/$defs/reactionDefinition",
636
+ "keyword": "additionalProperties",
637
+ "instance": {
638
+ "key": "fixture-1",
639
+ "label": "fixture-1",
640
+ "visual": { "kind": "emoji", "token": "👍" },
641
+ "order": 1,
642
+ "enabled": false,
643
+ "unexpected": true
644
+ },
645
+ "expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
646
+ },
647
+ {
648
+ "caseId": "build-input-invalid-b636e04b4067cf77",
649
+ "coveredRuleIds": [
650
+ "build-input:#/$defs/reactionVisual:additionalProperties"
651
+ ],
652
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
653
+ "schemaPointer": "#/$defs/reactionVisual",
654
+ "keyword": "additionalProperties",
655
+ "instance": { "kind": "emoji", "token": "👍", "unexpected": true },
656
+ "expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
657
+ },
540
658
  {
541
659
  "caseId": "build-input-invalid-bfdcadcf00fc8eb0",
542
660
  "coveredRuleIds": ["build-input:#:additionalProperties"],
@@ -745,6 +863,29 @@
745
863
  },
746
864
  "expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
747
865
  },
866
+ {
867
+ "caseId": "build-input-invalid-cff55357f8adf2b6",
868
+ "coveredRuleIds": [
869
+ "build-input:#/$defs/interactionsConfig/properties/reactions:additionalProperties"
870
+ ],
871
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
872
+ "schemaPointer": "#/$defs/interactionsConfig/properties/reactions",
873
+ "keyword": "additionalProperties",
874
+ "instance": {
875
+ "enabled": false,
876
+ "definitions": [
877
+ {
878
+ "key": "fixture-1",
879
+ "label": "fixture-1",
880
+ "visual": { "kind": "emoji", "token": "👍" },
881
+ "order": 1,
882
+ "enabled": false
883
+ }
884
+ ],
885
+ "unexpected": true
886
+ },
887
+ "expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
888
+ },
748
889
  {
749
890
  "caseId": "build-input-invalid-d6c4472e305dfe9c",
750
891
  "coveredRuleIds": [
@@ -145,6 +145,21 @@
145
145
  },
146
146
  "expectedCodes": ["SCHEMA_ARRAY_TOO_LONG"]
147
147
  },
148
+ {
149
+ "caseId": "build-input-invalid-a15c50cf2d61e7a8",
150
+ "coveredRuleIds": [
151
+ "build-input:#/$defs/interactionsConfig/properties/reactions/properties/definitions:maxItems"
152
+ ],
153
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
154
+ "schemaPointer": "#/$defs/interactionsConfig/properties/reactions/properties/definitions",
155
+ "keyword": "maxItems",
156
+ "recipe": {
157
+ "kind": "schema-array-count",
158
+ "schemaPointer": "#/$defs/interactionsConfig/properties/reactions/properties/definitions",
159
+ "length": 17
160
+ },
161
+ "expectedCodes": ["SCHEMA_ARRAY_TOO_LONG"]
162
+ },
148
163
  {
149
164
  "caseId": "build-input-invalid-bbfa6459eb1f7d10",
150
165
  "coveredRuleIds": [
@@ -184,6 +184,26 @@
184
184
  "instance": "dark-invalid",
185
185
  "expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
186
186
  },
187
+ {
188
+ "caseId": "build-input-invalid-a42bdc180c5491f2",
189
+ "coveredRuleIds": [
190
+ "build-input:#/$defs/reactionVisual/properties/kind:const"
191
+ ],
192
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
193
+ "schemaPointer": "#/$defs/reactionVisual/properties/kind",
194
+ "keyword": "const",
195
+ "instance": "emoji-invalid",
196
+ "expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
197
+ },
198
+ {
199
+ "caseId": "build-input-invalid-abde74c464514ff8",
200
+ "coveredRuleIds": ["build-input:#/$defs/reactionKey/not:const"],
201
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
202
+ "schemaPointer": "#/$defs/reactionKey/not",
203
+ "keyword": "const",
204
+ "instance": "like-invalid",
205
+ "expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
206
+ },
187
207
  {
188
208
  "caseId": "build-input-invalid-ba59109f4a794651",
189
209
  "coveredRuleIds": [
@@ -74,6 +74,17 @@
74
74
  "instance": "__invalid_enum__",
75
75
  "expectedCodes": ["SCHEMA_ENUM_INVALID"]
76
76
  },
77
+ {
78
+ "caseId": "build-input-invalid-41a61938fc9dc098",
79
+ "coveredRuleIds": [
80
+ "build-input:#/$defs/reactionVisual/properties/token:enum"
81
+ ],
82
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
83
+ "schemaPointer": "#/$defs/reactionVisual/properties/token",
84
+ "keyword": "enum",
85
+ "instance": "__invalid_enum__",
86
+ "expectedCodes": ["SCHEMA_ENUM_INVALID"]
87
+ },
77
88
  {
78
89
  "caseId": "build-input-invalid-589156d8da12f8e4",
79
90
  "coveredRuleIds": [
@@ -26,6 +26,15 @@
26
26
  "instance": { "route": null },
27
27
  "expectedCodes": ["SCHEMA_NEGATED_RULE_MATCHED"]
28
28
  },
29
+ {
30
+ "caseId": "build-input-invalid-cb6ab167e9a387cb",
31
+ "coveredRuleIds": ["build-input:#/$defs/reactionKey:not"],
32
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
33
+ "schemaPointer": "#/$defs/reactionKey",
34
+ "keyword": "not",
35
+ "instance": "like",
36
+ "expectedCodes": ["SCHEMA_NEGATED_RULE_MATCHED"]
37
+ },
29
38
  {
30
39
  "caseId": "build-input-invalid-fced846c573232d7",
31
40
  "coveredRuleIds": ["build-input:#/$defs/navigationItem/allOf/0/then:not"],
@@ -10,6 +10,28 @@
10
10
  "instance": 52428801,
11
11
  "expectedCodes": ["SCHEMA_NUMBER_TOO_LARGE"]
12
12
  },
13
+ {
14
+ "caseId": "build-input-invalid-846eb6449989d3c3",
15
+ "coveredRuleIds": [
16
+ "build-input:#/$defs/interactionsConfig/properties/comments/properties/maxDepth:maximum"
17
+ ],
18
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
19
+ "schemaPointer": "#/$defs/interactionsConfig/properties/comments/properties/maxDepth",
20
+ "keyword": "maximum",
21
+ "instance": 5,
22
+ "expectedCodes": ["SCHEMA_NUMBER_TOO_LARGE"]
23
+ },
24
+ {
25
+ "caseId": "build-input-invalid-a1defba25913e967",
26
+ "coveredRuleIds": [
27
+ "build-input:#/$defs/reactionDefinition/properties/order:maximum"
28
+ ],
29
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
30
+ "schemaPointer": "#/$defs/reactionDefinition/properties/order",
31
+ "keyword": "maximum",
32
+ "instance": 17,
33
+ "expectedCodes": ["SCHEMA_NUMBER_TOO_LARGE"]
34
+ },
13
35
  {
14
36
  "caseId": "build-input-invalid-b97973873c4a39b5",
15
37
  "coveredRuleIds": [
@@ -1,4 +1,15 @@
1
1
  [
2
+ {
3
+ "caseId": "build-input-invalid-5a4fe0dd501518da",
4
+ "coveredRuleIds": [
5
+ "build-input:#/$defs/interactionsConfig/properties/comments/properties/maxDepth:minimum"
6
+ ],
7
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
8
+ "schemaPointer": "#/$defs/interactionsConfig/properties/comments/properties/maxDepth",
9
+ "keyword": "minimum",
10
+ "instance": 0,
11
+ "expectedCodes": ["SCHEMA_NUMBER_TOO_SMALL"]
12
+ },
2
13
  {
3
14
  "caseId": "build-input-invalid-7d7008685fde4378",
4
15
  "coveredRuleIds": [
@@ -10,6 +21,17 @@
10
21
  "instance": 0,
11
22
  "expectedCodes": ["SCHEMA_NUMBER_TOO_SMALL"]
12
23
  },
24
+ {
25
+ "caseId": "build-input-invalid-80ccfe4c1060b9f3",
26
+ "coveredRuleIds": [
27
+ "build-input:#/$defs/reactionDefinition/properties/order:minimum"
28
+ ],
29
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
30
+ "schemaPointer": "#/$defs/reactionDefinition/properties/order",
31
+ "keyword": "minimum",
32
+ "instance": 0,
33
+ "expectedCodes": ["SCHEMA_NUMBER_TOO_SMALL"]
34
+ },
13
35
  {
14
36
  "caseId": "build-input-invalid-f08214fcddcfb213",
15
37
  "coveredRuleIds": [
@@ -1,19 +1,4 @@
1
1
  [
2
- {
3
- "caseId": "build-input-invalid-8c4cf2d139b126ce",
4
- "coveredRuleIds": [
5
- "build-input:#/$defs/moduleBuildSelection:maxProperties"
6
- ],
7
- "schemaId": "urn:gala:schema:build-input:2.0.0",
8
- "schemaPointer": "#/$defs/moduleBuildSelection",
9
- "keyword": "maxProperties",
10
- "recipe": {
11
- "kind": "numbered-object",
12
- "schemaPointer": "#/$defs/moduleBuildSelection",
13
- "count": 1
14
- },
15
- "expectedCodes": ["SCHEMA_OBJECT_TOO_LARGE"]
16
- },
17
2
  {
18
3
  "caseId": "build-input-invalid-939226632d6b9645",
19
4
  "coveredRuleIds": ["build-input:#/$defs/semanticTokens:maxProperties"],
@@ -38,5 +38,14 @@
38
38
  "keyword": "pattern",
39
39
  "instance": "",
40
40
  "expectedCodes": ["SCHEMA_PATTERN_INVALID"]
41
+ },
42
+ {
43
+ "caseId": "build-input-invalid-e1b12cc5c7e30288",
44
+ "coveredRuleIds": ["build-input:#/$defs/reactionKey:pattern"],
45
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
46
+ "schemaPointer": "#/$defs/reactionKey",
47
+ "keyword": "pattern",
48
+ "instance": "",
49
+ "expectedCodes": ["SCHEMA_PATTERN_INVALID"]
41
50
  }
42
51
  ]