@rathnasgala2/schemas 3.0.0 → 3.2.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 +153 -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 +242 -2
  83. package/openapi/openapi.yaml +6511 -1752
  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
@@ -66,6 +66,17 @@
66
66
  "instance": [],
67
67
  "expectedCodes": ["SCHEMA_TYPE_INVALID"]
68
68
  },
69
+ {
70
+ "caseId": "build-input-invalid-1314952acc0c5f62",
71
+ "coveredRuleIds": [
72
+ "build-input:#/$defs/reactionDefinition/properties/order:type"
73
+ ],
74
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
75
+ "schemaPointer": "#/$defs/reactionDefinition/properties/order",
76
+ "keyword": "type",
77
+ "instance": null,
78
+ "expectedCodes": ["SCHEMA_TYPE_INVALID"]
79
+ },
69
80
  {
70
81
  "caseId": "build-input-invalid-1570049c4e12bef4",
71
82
  "coveredRuleIds": [
@@ -224,6 +235,17 @@
224
235
  "instance": [],
225
236
  "expectedCodes": ["SCHEMA_TYPE_INVALID"]
226
237
  },
238
+ {
239
+ "caseId": "build-input-invalid-4ca2d5c2a4c6e2da",
240
+ "coveredRuleIds": [
241
+ "build-input:#/$defs/interactionsConfig/properties/comments/properties/maxDepth:type"
242
+ ],
243
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
244
+ "schemaPointer": "#/$defs/interactionsConfig/properties/comments/properties/maxDepth",
245
+ "keyword": "type",
246
+ "instance": null,
247
+ "expectedCodes": ["SCHEMA_TYPE_INVALID"]
248
+ },
227
249
  {
228
250
  "caseId": "build-input-invalid-5160c43a9ce03f79",
229
251
  "coveredRuleIds": ["build-input:#/$defs/renderableBody:type"],
@@ -273,6 +295,17 @@
273
295
  "instance": {},
274
296
  "expectedCodes": ["SCHEMA_TYPE_INVALID"]
275
297
  },
298
+ {
299
+ "caseId": "build-input-invalid-6341764cbd701f8c",
300
+ "coveredRuleIds": [
301
+ "build-input:#/$defs/interactionsConfig/properties/publicCounts:type"
302
+ ],
303
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
304
+ "schemaPointer": "#/$defs/interactionsConfig/properties/publicCounts",
305
+ "keyword": "type",
306
+ "instance": [],
307
+ "expectedCodes": ["SCHEMA_TYPE_INVALID"]
308
+ },
276
309
  {
277
310
  "caseId": "build-input-invalid-6e4617efc0a00128",
278
311
  "coveredRuleIds": [
@@ -293,6 +326,17 @@
293
326
  "instance": [],
294
327
  "expectedCodes": ["SCHEMA_TYPE_INVALID"]
295
328
  },
329
+ {
330
+ "caseId": "build-input-invalid-739473a242bc22a3",
331
+ "coveredRuleIds": [
332
+ "build-input:#/$defs/reactionDefinition/properties/enabled:type"
333
+ ],
334
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
335
+ "schemaPointer": "#/$defs/reactionDefinition/properties/enabled",
336
+ "keyword": "type",
337
+ "instance": null,
338
+ "expectedCodes": ["SCHEMA_TYPE_INVALID"]
339
+ },
296
340
  {
297
341
  "caseId": "build-input-invalid-75e9c756986e9150",
298
342
  "coveredRuleIds": [
@@ -346,6 +390,17 @@
346
390
  "instance": {},
347
391
  "expectedCodes": ["SCHEMA_TYPE_INVALID"]
348
392
  },
393
+ {
394
+ "caseId": "build-input-invalid-963e40925ed92d14",
395
+ "coveredRuleIds": [
396
+ "build-input:#/$defs/interactionsConfig/properties/reactions:type"
397
+ ],
398
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
399
+ "schemaPointer": "#/$defs/interactionsConfig/properties/reactions",
400
+ "keyword": "type",
401
+ "instance": [],
402
+ "expectedCodes": ["SCHEMA_TYPE_INVALID"]
403
+ },
349
404
  {
350
405
  "caseId": "build-input-invalid-9658e862d57e5dc5",
351
406
  "coveredRuleIds": ["build-input:#/$defs/buildPackages:type"],
@@ -366,6 +421,26 @@
366
421
  "instance": null,
367
422
  "expectedCodes": ["SCHEMA_TYPE_INVALID"]
368
423
  },
424
+ {
425
+ "caseId": "build-input-invalid-983e979a13ba4790",
426
+ "coveredRuleIds": [
427
+ "build-input:#/$defs/interactionsConfig/properties/comments:type"
428
+ ],
429
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
430
+ "schemaPointer": "#/$defs/interactionsConfig/properties/comments",
431
+ "keyword": "type",
432
+ "instance": [],
433
+ "expectedCodes": ["SCHEMA_TYPE_INVALID"]
434
+ },
435
+ {
436
+ "caseId": "build-input-invalid-9cddaa1dfa692152",
437
+ "coveredRuleIds": ["build-input:#/$defs/reactionKey:type"],
438
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
439
+ "schemaPointer": "#/$defs/reactionKey",
440
+ "keyword": "type",
441
+ "instance": null,
442
+ "expectedCodes": ["SCHEMA_TYPE_INVALID"]
443
+ },
369
444
  {
370
445
  "caseId": "build-input-invalid-9e7ba4f621a99b13",
371
446
  "coveredRuleIds": [
@@ -408,6 +483,17 @@
408
483
  "instance": {},
409
484
  "expectedCodes": ["SCHEMA_TYPE_INVALID"]
410
485
  },
486
+ {
487
+ "caseId": "build-input-invalid-a8994536e3df0082",
488
+ "coveredRuleIds": [
489
+ "build-input:#/$defs/interactionsConfig/properties/reactions/properties/enabled:type"
490
+ ],
491
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
492
+ "schemaPointer": "#/$defs/interactionsConfig/properties/reactions/properties/enabled",
493
+ "keyword": "type",
494
+ "instance": null,
495
+ "expectedCodes": ["SCHEMA_TYPE_INVALID"]
496
+ },
411
497
  {
412
498
  "caseId": "build-input-invalid-ac75e54633cdfc1f",
413
499
  "coveredRuleIds": ["build-input:#/$defs/resolvedMedia:type"],
@@ -466,6 +552,17 @@
466
552
  "instance": null,
467
553
  "expectedCodes": ["SCHEMA_TYPE_INVALID"]
468
554
  },
555
+ {
556
+ "caseId": "build-input-invalid-b4ce967811c0bb52",
557
+ "coveredRuleIds": [
558
+ "build-input:#/$defs/interactionsConfig/properties/publicCounts/properties/comments:type"
559
+ ],
560
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
561
+ "schemaPointer": "#/$defs/interactionsConfig/properties/publicCounts/properties/comments",
562
+ "keyword": "type",
563
+ "instance": null,
564
+ "expectedCodes": ["SCHEMA_TYPE_INVALID"]
565
+ },
469
566
  {
470
567
  "caseId": "build-input-invalid-b4dd8cc81013be05",
471
568
  "coveredRuleIds": ["build-input:#/$defs/normalizedSource/oneOf/0:type"],
@@ -504,6 +601,50 @@
504
601
  "instance": [],
505
602
  "expectedCodes": ["SCHEMA_TYPE_INVALID"]
506
603
  },
604
+ {
605
+ "caseId": "build-input-invalid-c2e83b72002a9459",
606
+ "coveredRuleIds": [
607
+ "build-input:#/$defs/interactionsConfig/properties/comments/properties/allowReplies:type"
608
+ ],
609
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
610
+ "schemaPointer": "#/$defs/interactionsConfig/properties/comments/properties/allowReplies",
611
+ "keyword": "type",
612
+ "instance": null,
613
+ "expectedCodes": ["SCHEMA_TYPE_INVALID"]
614
+ },
615
+ {
616
+ "caseId": "build-input-invalid-d243e10e71679ce6",
617
+ "coveredRuleIds": [
618
+ "build-input:#/$defs/interactionsConfig/properties/publicCounts/properties/reactions:type"
619
+ ],
620
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
621
+ "schemaPointer": "#/$defs/interactionsConfig/properties/publicCounts/properties/reactions",
622
+ "keyword": "type",
623
+ "instance": null,
624
+ "expectedCodes": ["SCHEMA_TYPE_INVALID"]
625
+ },
626
+ {
627
+ "caseId": "build-input-invalid-d71b74f31aaa1f53",
628
+ "coveredRuleIds": [
629
+ "build-input:#/$defs/reactionDefinition/properties/label:type"
630
+ ],
631
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
632
+ "schemaPointer": "#/$defs/reactionDefinition/properties/label",
633
+ "keyword": "type",
634
+ "instance": null,
635
+ "expectedCodes": ["SCHEMA_TYPE_INVALID"]
636
+ },
637
+ {
638
+ "caseId": "build-input-invalid-d7746ac015049482",
639
+ "coveredRuleIds": [
640
+ "build-input:#/$defs/moduleBuildSelection/properties/interactions:type"
641
+ ],
642
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
643
+ "schemaPointer": "#/$defs/moduleBuildSelection/properties/interactions",
644
+ "keyword": "type",
645
+ "instance": [],
646
+ "expectedCodes": ["SCHEMA_TYPE_INVALID"]
647
+ },
507
648
  {
508
649
  "caseId": "build-input-invalid-d794761a1f99fc93",
509
650
  "coveredRuleIds": [
@@ -573,6 +714,17 @@
573
714
  "instance": [],
574
715
  "expectedCodes": ["SCHEMA_TYPE_INVALID"]
575
716
  },
717
+ {
718
+ "caseId": "build-input-invalid-e424c6698f3a6d96",
719
+ "coveredRuleIds": [
720
+ "build-input:#/$defs/interactionsConfig/properties/reactions/properties/definitions:type"
721
+ ],
722
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
723
+ "schemaPointer": "#/$defs/interactionsConfig/properties/reactions/properties/definitions",
724
+ "keyword": "type",
725
+ "instance": {},
726
+ "expectedCodes": ["SCHEMA_TYPE_INVALID"]
727
+ },
576
728
  {
577
729
  "caseId": "build-input-invalid-e4d1d49c028d9238",
578
730
  "coveredRuleIds": ["build-input:#/$defs/contentFrontmatterNormalized:type"],
@@ -593,6 +745,15 @@
593
745
  "instance": null,
594
746
  "expectedCodes": ["SCHEMA_TYPE_INVALID"]
595
747
  },
748
+ {
749
+ "caseId": "build-input-invalid-eb8aa2ae1dbc31c4",
750
+ "coveredRuleIds": ["build-input:#/$defs/reactionDefinition:type"],
751
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
752
+ "schemaPointer": "#/$defs/reactionDefinition",
753
+ "keyword": "type",
754
+ "instance": [],
755
+ "expectedCodes": ["SCHEMA_TYPE_INVALID"]
756
+ },
596
757
  {
597
758
  "caseId": "build-input-invalid-ee0708a6f93e14ac",
598
759
  "coveredRuleIds": [
@@ -604,6 +765,35 @@
604
765
  "instance": {},
605
766
  "expectedCodes": ["SCHEMA_TYPE_INVALID"]
606
767
  },
768
+ {
769
+ "caseId": "build-input-invalid-efd6541a84a1ff8b",
770
+ "coveredRuleIds": [
771
+ "build-input:#/$defs/interactionsConfig/properties/comments/properties/enabled:type"
772
+ ],
773
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
774
+ "schemaPointer": "#/$defs/interactionsConfig/properties/comments/properties/enabled",
775
+ "keyword": "type",
776
+ "instance": null,
777
+ "expectedCodes": ["SCHEMA_TYPE_INVALID"]
778
+ },
779
+ {
780
+ "caseId": "build-input-invalid-f403b6728a0bb1b1",
781
+ "coveredRuleIds": ["build-input:#/$defs/reactionVisual:type"],
782
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
783
+ "schemaPointer": "#/$defs/reactionVisual",
784
+ "keyword": "type",
785
+ "instance": [],
786
+ "expectedCodes": ["SCHEMA_TYPE_INVALID"]
787
+ },
788
+ {
789
+ "caseId": "build-input-invalid-f6f80099dcacfb29",
790
+ "coveredRuleIds": ["build-input:#/$defs/interactionsConfig:type"],
791
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
792
+ "schemaPointer": "#/$defs/interactionsConfig",
793
+ "keyword": "type",
794
+ "instance": [],
795
+ "expectedCodes": ["SCHEMA_TYPE_INVALID"]
796
+ },
607
797
  {
608
798
  "caseId": "build-input-invalid-f8db59dc047c5635",
609
799
  "coveredRuleIds": [
@@ -8,6 +8,28 @@
8
8
  "instance": "2.0.0-invalid",
9
9
  "expectedCodes": ["SCHEMA_VERSION_UNSUPPORTED"]
10
10
  },
11
+ {
12
+ "caseId": "build-input-invalid-3375a1a06e1e62f2",
13
+ "coveredRuleIds": [
14
+ "build-input:#/$defs/interactionsConfig/properties/schemaVersion:const"
15
+ ],
16
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
17
+ "schemaPointer": "#/$defs/interactionsConfig/properties/schemaVersion",
18
+ "keyword": "const",
19
+ "instance": "2.0.0-invalid",
20
+ "expectedCodes": ["SCHEMA_VERSION_UNSUPPORTED"]
21
+ },
22
+ {
23
+ "caseId": "build-input-invalid-34fe05a3817a6a30",
24
+ "coveredRuleIds": [
25
+ "build-input:#/$defs/interactionsConfig/properties/schemaId:const"
26
+ ],
27
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
28
+ "schemaPointer": "#/$defs/interactionsConfig/properties/schemaId",
29
+ "keyword": "const",
30
+ "instance": "urn:gala:schema:interactions-config:2.0.0-invalid",
31
+ "expectedCodes": ["SCHEMA_VERSION_UNSUPPORTED"]
32
+ },
11
33
  {
12
34
  "caseId": "build-input-invalid-acda3b0178323995",
13
35
  "coveredRuleIds": ["build-input:#/properties/schemaId:const"],
@@ -393,17 +393,6 @@
393
393
  "instance": "unfrozen-output-invalid",
394
394
  "expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
395
395
  },
396
- {
397
- "caseId": "build-provenance-invalid-db0e5ecb22e90863",
398
- "coveredRuleIds": [
399
- "build-provenance:#/$defs/manifestRoute/properties/interactionBearing:const"
400
- ],
401
- "schemaId": "urn:gala:metadata:build-provenance:2.0.0",
402
- "schemaPointer": "#/$defs/manifestRoute/properties/interactionBearing",
403
- "keyword": "const",
404
- "instance": null,
405
- "expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
406
- },
407
396
  {
408
397
  "caseId": "build-provenance-invalid-dfe3c9f8c14339ac",
409
398
  "coveredRuleIds": [
@@ -389,6 +389,17 @@
389
389
  "instance": [],
390
390
  "expectedCodes": ["SCHEMA_TYPE_INVALID"]
391
391
  },
392
+ {
393
+ "caseId": "build-provenance-invalid-f6575d14efc78299",
394
+ "coveredRuleIds": [
395
+ "build-provenance:#/$defs/manifestRoute/properties/interactionBearing:type"
396
+ ],
397
+ "schemaId": "urn:gala:metadata:build-provenance:2.0.0",
398
+ "schemaPointer": "#/$defs/manifestRoute/properties/interactionBearing",
399
+ "keyword": "type",
400
+ "instance": null,
401
+ "expectedCodes": ["SCHEMA_TYPE_INVALID"]
402
+ },
392
403
  {
393
404
  "caseId": "build-provenance-invalid-fcd5aaf1a8858d6a",
394
405
  "coveredRuleIds": ["build-provenance:#/$defs/measurement:type"],
@@ -0,0 +1,58 @@
1
+ [
2
+ {
3
+ "caseId": "interactions-config-invalid-11f8a1f22d54f2e3",
4
+ "coveredRuleIds": [
5
+ "interactions-config:#/$defs/bcp47:x-gala-utf8ByteLength"
6
+ ],
7
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
8
+ "schemaPointer": "#/$defs/bcp47",
9
+ "keyword": "x-gala-utf8ByteLength",
10
+ "recipe": { "kind": "repeat-string", "value": "a", "count": 256 },
11
+ "expectedCodes": ["BCP47_INVALID"]
12
+ },
13
+ {
14
+ "caseId": "interactions-config-invalid-20d9da77c303614b",
15
+ "coveredRuleIds": ["interactions-config:#/$defs/bcp47:pattern"],
16
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
17
+ "schemaPointer": "#/$defs/bcp47",
18
+ "keyword": "pattern",
19
+ "instance": "",
20
+ "expectedCodes": ["BCP47_INVALID"]
21
+ },
22
+ {
23
+ "caseId": "interactions-config-invalid-385653ddde975717",
24
+ "coveredRuleIds": ["interactions-config:#/$defs/bcp47:minLength"],
25
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
26
+ "schemaPointer": "#/$defs/bcp47",
27
+ "keyword": "minLength",
28
+ "instance": "",
29
+ "expectedCodes": ["BCP47_INVALID"]
30
+ },
31
+ {
32
+ "caseId": "interactions-config-invalid-72a50c9cb2102b74",
33
+ "coveredRuleIds": ["interactions-config:#/$defs/bcp47:maxLength"],
34
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
35
+ "schemaPointer": "#/$defs/bcp47",
36
+ "keyword": "maxLength",
37
+ "recipe": { "kind": "repeat-string", "value": "a", "count": 256 },
38
+ "expectedCodes": ["BCP47_INVALID"]
39
+ },
40
+ {
41
+ "caseId": "interactions-config-invalid-b6515fb8c8586f9c",
42
+ "coveredRuleIds": ["interactions-config:#/$defs/bcp47:format"],
43
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
44
+ "schemaPointer": "#/$defs/bcp47",
45
+ "keyword": "format",
46
+ "instance": "en-us",
47
+ "expectedCodes": ["BCP47_INVALID"]
48
+ },
49
+ {
50
+ "caseId": "interactions-config-invalid-e2eb92bd473f8b32",
51
+ "coveredRuleIds": ["interactions-config:#/$defs/bcp47:type"],
52
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
53
+ "schemaPointer": "#/$defs/bcp47",
54
+ "keyword": "type",
55
+ "instance": null,
56
+ "expectedCodes": ["BCP47_INVALID"]
57
+ }
58
+ ]
@@ -0,0 +1,38 @@
1
+ [
2
+ {
3
+ "caseId": "interactions-config-invalid-38ceeaf3c5ff71d2",
4
+ "coveredRuleIds": ["interactions-config:#/$defs/canonicalRoute:type"],
5
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
6
+ "schemaPointer": "#/$defs/canonicalRoute",
7
+ "keyword": "type",
8
+ "instance": null,
9
+ "expectedCodes": ["CANONICAL_ROUTE_INVALID"]
10
+ },
11
+ {
12
+ "caseId": "interactions-config-invalid-4874ff89d679b414",
13
+ "coveredRuleIds": ["interactions-config:#/$defs/canonicalRoute:minLength"],
14
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
15
+ "schemaPointer": "#/$defs/canonicalRoute",
16
+ "keyword": "minLength",
17
+ "instance": "",
18
+ "expectedCodes": ["CANONICAL_ROUTE_INVALID"]
19
+ },
20
+ {
21
+ "caseId": "interactions-config-invalid-4ecdd16c1aef9e57",
22
+ "coveredRuleIds": ["interactions-config:#/$defs/canonicalRoute:format"],
23
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
24
+ "schemaPointer": "#/$defs/canonicalRoute",
25
+ "keyword": "format",
26
+ "instance": "/../x",
27
+ "expectedCodes": ["CANONICAL_ROUTE_INVALID"]
28
+ },
29
+ {
30
+ "caseId": "interactions-config-invalid-8f58f0278585cfaf",
31
+ "coveredRuleIds": ["interactions-config:#/$defs/canonicalRoute:pattern"],
32
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
33
+ "schemaPointer": "#/$defs/canonicalRoute",
34
+ "keyword": "pattern",
35
+ "instance": "",
36
+ "expectedCodes": ["CANONICAL_ROUTE_INVALID"]
37
+ }
38
+ ]
@@ -0,0 +1,20 @@
1
+ [
2
+ {
3
+ "caseId": "interactions-config-invalid-1a28082fe0c12d37",
4
+ "coveredRuleIds": ["interactions-config:#/$defs/digest:pattern"],
5
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
6
+ "schemaPointer": "#/$defs/digest",
7
+ "keyword": "pattern",
8
+ "instance": "",
9
+ "expectedCodes": ["DIGEST_INVALID"]
10
+ },
11
+ {
12
+ "caseId": "interactions-config-invalid-39738c4ed37d9834",
13
+ "coveredRuleIds": ["interactions-config:#/$defs/digest:type"],
14
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
15
+ "schemaPointer": "#/$defs/digest",
16
+ "keyword": "type",
17
+ "instance": null,
18
+ "expectedCodes": ["DIGEST_INVALID"]
19
+ }
20
+ ]
@@ -0,0 +1,20 @@
1
+ [
2
+ {
3
+ "caseId": "interactions-config-invalid-7c0c27f9848364f5",
4
+ "coveredRuleIds": ["interactions-config:#/$defs/extensionKey:type"],
5
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
6
+ "schemaPointer": "#/$defs/extensionKey",
7
+ "keyword": "type",
8
+ "instance": null,
9
+ "expectedCodes": ["EXTENSION_KEY_INVALID"]
10
+ },
11
+ {
12
+ "caseId": "interactions-config-invalid-a68cccbada3a63e7",
13
+ "coveredRuleIds": ["interactions-config:#/$defs/extensionKey:format"],
14
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
15
+ "schemaPointer": "#/$defs/extensionKey",
16
+ "keyword": "format",
17
+ "instance": "gala.core",
18
+ "expectedCodes": ["EXTENSION_KEY_INVALID"]
19
+ }
20
+ ]
@@ -0,0 +1,20 @@
1
+ [
2
+ {
3
+ "caseId": "interactions-config-invalid-4d2f408c83836476",
4
+ "coveredRuleIds": ["interactions-config:#/$defs/gitObjectId:pattern"],
5
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
6
+ "schemaPointer": "#/$defs/gitObjectId",
7
+ "keyword": "pattern",
8
+ "instance": "",
9
+ "expectedCodes": ["GIT_OBJECT_ID_INVALID"]
10
+ },
11
+ {
12
+ "caseId": "interactions-config-invalid-572fcf9d318e230e",
13
+ "coveredRuleIds": ["interactions-config:#/$defs/gitObjectId:type"],
14
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
15
+ "schemaPointer": "#/$defs/gitObjectId",
16
+ "keyword": "type",
17
+ "instance": null,
18
+ "expectedCodes": ["GIT_OBJECT_ID_INVALID"]
19
+ }
20
+ ]
@@ -0,0 +1,13 @@
1
+ [
2
+ {
3
+ "caseId": "interactions-config-invalid-284199d1924ae3a7",
4
+ "coveredRuleIds": [
5
+ "interactions-config:#/$defs/reactionDefinition/properties/label:x-gala-graphemeLength"
6
+ ],
7
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
8
+ "schemaPointer": "#/$defs/reactionDefinition/properties/label",
9
+ "keyword": "x-gala-graphemeLength",
10
+ "recipe": { "kind": "repeat-string", "value": "a", "count": 33 },
11
+ "expectedCodes": ["GRAPHEME_LENGTH_INVALID"]
12
+ }
13
+ ]
@@ -0,0 +1,29 @@
1
+ [
2
+ {
3
+ "caseId": "interactions-config-invalid-37aa5d2febb99287",
4
+ "coveredRuleIds": ["interactions-config:#/$defs/urlHttps:pattern"],
5
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
6
+ "schemaPointer": "#/$defs/urlHttps",
7
+ "keyword": "pattern",
8
+ "instance": "",
9
+ "expectedCodes": ["HTTPS_URL_INVALID"]
10
+ },
11
+ {
12
+ "caseId": "interactions-config-invalid-e053478ad5af1f38",
13
+ "coveredRuleIds": ["interactions-config:#/$defs/urlHttps:format"],
14
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
15
+ "schemaPointer": "#/$defs/urlHttps",
16
+ "keyword": "format",
17
+ "instance": "https://%/",
18
+ "expectedCodes": ["HTTPS_URL_INVALID"]
19
+ },
20
+ {
21
+ "caseId": "interactions-config-invalid-fce04c3eb2594301",
22
+ "coveredRuleIds": ["interactions-config:#/$defs/urlHttps:type"],
23
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
24
+ "schemaPointer": "#/$defs/urlHttps",
25
+ "keyword": "type",
26
+ "instance": null,
27
+ "expectedCodes": ["HTTPS_URL_INVALID"]
28
+ }
29
+ ]
@@ -0,0 +1,20 @@
1
+ [
2
+ {
3
+ "caseId": "interactions-config-invalid-8e631082b763831e",
4
+ "coveredRuleIds": ["interactions-config:#/$defs/isoCountry:type"],
5
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
6
+ "schemaPointer": "#/$defs/isoCountry",
7
+ "keyword": "type",
8
+ "instance": null,
9
+ "expectedCodes": ["ISO_COUNTRY_INVALID"]
10
+ },
11
+ {
12
+ "caseId": "interactions-config-invalid-90c61a9a50f542d7",
13
+ "coveredRuleIds": ["interactions-config:#/$defs/isoCountry:pattern"],
14
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
15
+ "schemaPointer": "#/$defs/isoCountry",
16
+ "keyword": "pattern",
17
+ "instance": "",
18
+ "expectedCodes": ["ISO_COUNTRY_INVALID"]
19
+ }
20
+ ]
@@ -0,0 +1,38 @@
1
+ [
2
+ {
3
+ "caseId": "interactions-config-invalid-4b3cadc391c8cb2c",
4
+ "coveredRuleIds": ["interactions-config:#/$defs/packageExact:type"],
5
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
6
+ "schemaPointer": "#/$defs/packageExact",
7
+ "keyword": "type",
8
+ "instance": null,
9
+ "expectedCodes": ["PACKAGE_EXACT_INVALID"]
10
+ },
11
+ {
12
+ "caseId": "interactions-config-invalid-a25ca958747012a8",
13
+ "coveredRuleIds": ["interactions-config:#/$defs/packageExact:pattern"],
14
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
15
+ "schemaPointer": "#/$defs/packageExact",
16
+ "keyword": "pattern",
17
+ "instance": "",
18
+ "expectedCodes": ["PACKAGE_EXACT_INVALID"]
19
+ },
20
+ {
21
+ "caseId": "interactions-config-invalid-b382f11ec83a4809",
22
+ "coveredRuleIds": ["interactions-config:#/$defs/packageExact:format"],
23
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
24
+ "schemaPointer": "#/$defs/packageExact",
25
+ "keyword": "format",
26
+ "instance": "a@latest",
27
+ "expectedCodes": ["PACKAGE_EXACT_INVALID"]
28
+ },
29
+ {
30
+ "caseId": "interactions-config-invalid-d3ef4af9d7526733",
31
+ "coveredRuleIds": ["interactions-config:#/$defs/packageExact:minLength"],
32
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
33
+ "schemaPointer": "#/$defs/packageExact",
34
+ "keyword": "minLength",
35
+ "instance": "aa",
36
+ "expectedCodes": ["PACKAGE_EXACT_INVALID"]
37
+ }
38
+ ]
@@ -0,0 +1,38 @@
1
+ [
2
+ {
3
+ "caseId": "interactions-config-invalid-00198daa853841b6",
4
+ "coveredRuleIds": ["interactions-config:#/$defs/packageRange:format"],
5
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
6
+ "schemaPointer": "#/$defs/packageRange",
7
+ "keyword": "format",
8
+ "instance": "a@latest",
9
+ "expectedCodes": ["PACKAGE_RANGE_INVALID"]
10
+ },
11
+ {
12
+ "caseId": "interactions-config-invalid-728f613711da7f85",
13
+ "coveredRuleIds": ["interactions-config:#/$defs/packageRange:type"],
14
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
15
+ "schemaPointer": "#/$defs/packageRange",
16
+ "keyword": "type",
17
+ "instance": null,
18
+ "expectedCodes": ["PACKAGE_RANGE_INVALID"]
19
+ },
20
+ {
21
+ "caseId": "interactions-config-invalid-7cf6ea866392f4bf",
22
+ "coveredRuleIds": ["interactions-config:#/$defs/packageRange:minLength"],
23
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
24
+ "schemaPointer": "#/$defs/packageRange",
25
+ "keyword": "minLength",
26
+ "instance": "aa",
27
+ "expectedCodes": ["PACKAGE_RANGE_INVALID"]
28
+ },
29
+ {
30
+ "caseId": "interactions-config-invalid-9a0af93ec4e245cc",
31
+ "coveredRuleIds": ["interactions-config:#/$defs/packageRange:pattern"],
32
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
33
+ "schemaPointer": "#/$defs/packageRange",
34
+ "keyword": "pattern",
35
+ "instance": "",
36
+ "expectedCodes": ["PACKAGE_RANGE_INVALID"]
37
+ }
38
+ ]
@@ -0,0 +1,11 @@
1
+ [
2
+ {
3
+ "caseId": "interactions-config-invalid-1aafd1b8603f0ba2",
4
+ "coveredRuleIds": ["interactions-config:#/$defs/passiveVisualToken:false"],
5
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
6
+ "schemaPointer": "#/$defs/passiveVisualToken",
7
+ "keyword": "false",
8
+ "instance": null,
9
+ "expectedCodes": ["PASSIVE_VISUAL_TOKEN_INVALID"]
10
+ }
11
+ ]