@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
@@ -29,7 +29,7 @@
29
29
  "version": "2.0.0",
30
30
  "path": "schemas/artifact-manifest.schema.json",
31
31
  "materialized": true,
32
- "sourceDigest": "sha256:ee2107c4ae162bc975ceac5e3c543a77ca57aa50892a037fc55a9878a57785cf",
32
+ "sourceDigest": "sha256:2d99b1af6e435acb50aac4b5f2c3f3e620eaa504097ea908ec6b1951829119f4",
33
33
  "typescriptRootType": "ArtifactManifestDocument"
34
34
  },
35
35
  {
@@ -49,7 +49,7 @@
49
49
  "version": "2.0.0",
50
50
  "path": "schemas/build-input.schema.json",
51
51
  "materialized": true,
52
- "sourceDigest": "sha256:6ff16c42597f2a42211ecc2cff40c364e9e4c589d7443d1d3f048b267ef9cdaa",
52
+ "sourceDigest": "sha256:0a8f2b34b96b70a9d6c3086effb5249c8392c862d018af8a358ce08e94a25f6f",
53
53
  "typescriptRootType": "BuildInputDocument"
54
54
  },
55
55
  {
@@ -59,7 +59,7 @@
59
59
  "version": "2.0.0",
60
60
  "path": "schemas/build-provenance.schema.json",
61
61
  "materialized": true,
62
- "sourceDigest": "sha256:d97d133c083770f75f91356bcc084a0f1df33c0d8ff3e60bc2799204d2ae9958",
62
+ "sourceDigest": "sha256:6af2c4f1b9092e08e32e17a1a57ebbfd6a519fb023d0cb5196c41feb20e31a67",
63
63
  "typescriptRootType": "BuildProvenanceDocument"
64
64
  },
65
65
  {
@@ -112,6 +112,16 @@
112
112
  "sourceDigest": "sha256:aa1df78fa2c78bb1eb0dcf6dab1a65a7553bfeb9ef13d180827ebbf0bd7aab92",
113
113
  "typescriptRootType": "EventEnvelopeDocument"
114
114
  },
115
+ {
116
+ "contract": "interactions-config",
117
+ "artifactKind": "JSON_SCHEMA",
118
+ "id": "urn:gala:schema:interactions-config:2.0.0",
119
+ "version": "2.0.0",
120
+ "path": "schemas/interactions-config.schema.json",
121
+ "materialized": true,
122
+ "sourceDigest": "sha256:3e4becec944a33fa3119803ca0729f56a609736adc71f3037d2ba933af5037a2",
123
+ "typescriptRootType": "InteractionsConfigDocument"
124
+ },
115
125
  {
116
126
  "contract": "lock",
117
127
  "artifactKind": "JSON_SCHEMA",
@@ -209,9 +219,9 @@
209
219
  "version": "2.0.0",
210
220
  "path": "openapi/openapi.yaml",
211
221
  "materialized": true,
212
- "sourceDigest": "sha256:f3d0acf21a5fe89857d94dfa3067bbb59486a3e3a7f263cdd261695238303290",
222
+ "sourceDigest": "sha256:b926672f6094bd397d63ae05f96eff46a47109e12aeca1761bdb3ee7c3957e5e",
213
223
  "typescriptRootType": null
214
224
  }
215
225
  ],
216
- "digest": "sha256:3d35283456b9c4902db8833aa923b8c163afdb10eace028bcfb126848fb92482"
226
+ "digest": "sha256:236ad080e7ad34f946204ed53078ef03857055740a0926e0a7a06aac856a2b68"
217
227
  }
@@ -1426,11 +1426,11 @@
1426
1426
  {
1427
1427
  "caseId": "artifact-manifest-valid-738056632652b2e7",
1428
1428
  "coveredRuleIds": [
1429
- "artifact-manifest:#/$defs/manifestRoute/properties/interactionBearing:const"
1429
+ "artifact-manifest:#/$defs/manifestRoute/properties/interactionBearing:type"
1430
1430
  ],
1431
1431
  "schemaId": "urn:gala:schema:artifact-manifest:2.0.0",
1432
1432
  "schemaPointer": "#/$defs/manifestRoute/properties/interactionBearing",
1433
- "keyword": "const",
1433
+ "keyword": "type",
1434
1434
  "instance": false
1435
1435
  },
1436
1436
  {
@@ -257,6 +257,20 @@
257
257
  "keyword": "not",
258
258
  "instance": { "route": null }
259
259
  },
260
+ {
261
+ "caseId": "build-input-valid-0ac82bcd811aa1d8",
262
+ "coveredRuleIds": [
263
+ "build-input:#/$defs/interactionsConfig/properties/comments:additionalProperties",
264
+ "build-input:#/$defs/interactionsConfig/properties/comments:required:allowReplies",
265
+ "build-input:#/$defs/interactionsConfig/properties/comments:required:enabled",
266
+ "build-input:#/$defs/interactionsConfig/properties/comments:required:maxDepth",
267
+ "build-input:#/$defs/interactionsConfig/properties/comments:type"
268
+ ],
269
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
270
+ "schemaPointer": "#/$defs/interactionsConfig/properties/comments",
271
+ "keyword": "additionalProperties",
272
+ "instance": { "enabled": false, "allowReplies": false, "maxDepth": 1 }
273
+ },
260
274
  {
261
275
  "caseId": "build-input-valid-0b53e972d2ab2c5b",
262
276
  "coveredRuleIds": [
@@ -283,6 +297,18 @@
283
297
  }
284
298
  ]
285
299
  },
300
+ {
301
+ "caseId": "build-input-valid-0e1d0f2c24de809f",
302
+ "coveredRuleIds": [
303
+ "build-input:#/$defs/interactionsServiceOrigin:maxLength",
304
+ "build-input:#/$defs/interactionsServiceOrigin:pattern",
305
+ "build-input:#/$defs/interactionsServiceOrigin:type"
306
+ ],
307
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
308
+ "schemaPointer": "#/$defs/interactionsServiceOrigin",
309
+ "keyword": "maxLength",
310
+ "instance": "https://fixture-1.example.com"
311
+ },
286
312
  {
287
313
  "caseId": "build-input-valid-15dc616a37a9207f",
288
314
  "coveredRuleIds": [
@@ -402,6 +428,16 @@
402
428
  }
403
429
  }
404
430
  },
431
+ {
432
+ "caseId": "build-input-valid-1acb1fc4b169c1ea",
433
+ "coveredRuleIds": [
434
+ "build-input:#/$defs/interactionsConfig/properties/publicCounts/properties/reactions:type"
435
+ ],
436
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
437
+ "schemaPointer": "#/$defs/interactionsConfig/properties/publicCounts/properties/reactions",
438
+ "keyword": "type",
439
+ "instance": false
440
+ },
405
441
  {
406
442
  "caseId": "build-input-valid-1f162f1bb1a03f9d",
407
443
  "coveredRuleIds": [
@@ -441,6 +477,26 @@
441
477
  "keyword": "x-gala-graphemeLength",
442
478
  "instance": "fixture-1"
443
479
  },
480
+ {
481
+ "caseId": "build-input-valid-21b82ef8b0f22a28",
482
+ "coveredRuleIds": [
483
+ "build-input:#/$defs/interactionsConfig/properties/comments/properties/allowReplies:type"
484
+ ],
485
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
486
+ "schemaPointer": "#/$defs/interactionsConfig/properties/comments/properties/allowReplies",
487
+ "keyword": "type",
488
+ "instance": false
489
+ },
490
+ {
491
+ "caseId": "build-input-valid-227809fbe76d181d",
492
+ "coveredRuleIds": [
493
+ "build-input:#/$defs/reactionDefinition/properties/enabled:type"
494
+ ],
495
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
496
+ "schemaPointer": "#/$defs/reactionDefinition/properties/enabled",
497
+ "keyword": "type",
498
+ "instance": false
499
+ },
444
500
  {
445
501
  "caseId": "build-input-valid-2330ba3ae3cda318",
446
502
  "coveredRuleIds": [
@@ -541,6 +597,16 @@
541
597
  "keyword": "format",
542
598
  "instance": "content/fixture-1.md"
543
599
  },
600
+ {
601
+ "caseId": "build-input-valid-2de642706d96dcf4",
602
+ "coveredRuleIds": [
603
+ "build-input:#/$defs/interactionsConfig/properties/schemaVersion:const"
604
+ ],
605
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
606
+ "schemaPointer": "#/$defs/interactionsConfig/properties/schemaVersion",
607
+ "keyword": "const",
608
+ "instance": "2.0.0"
609
+ },
544
610
  {
545
611
  "caseId": "build-input-valid-2e5700695c2a3878",
546
612
  "coveredRuleIds": ["build-input:#/properties/placements:const"],
@@ -616,6 +682,28 @@
616
682
  "keyword": "required",
617
683
  "instance": { "route": null }
618
684
  },
685
+ {
686
+ "caseId": "build-input-valid-32690b22292983d6",
687
+ "coveredRuleIds": [
688
+ "build-input:#/$defs/reactionDefinition:additionalProperties",
689
+ "build-input:#/$defs/reactionDefinition:required:enabled",
690
+ "build-input:#/$defs/reactionDefinition:required:key",
691
+ "build-input:#/$defs/reactionDefinition:required:label",
692
+ "build-input:#/$defs/reactionDefinition:required:order",
693
+ "build-input:#/$defs/reactionDefinition:required:visual",
694
+ "build-input:#/$defs/reactionDefinition:type"
695
+ ],
696
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
697
+ "schemaPointer": "#/$defs/reactionDefinition",
698
+ "keyword": "additionalProperties",
699
+ "instance": {
700
+ "key": "fixture-1",
701
+ "label": "fixture-1",
702
+ "visual": { "kind": "emoji", "token": "👍" },
703
+ "order": 1,
704
+ "enabled": false
705
+ }
706
+ },
619
707
  {
620
708
  "caseId": "build-input-valid-32d14fd0ba2b5ea1",
621
709
  "coveredRuleIds": [
@@ -626,6 +714,16 @@
626
714
  "keyword": "type",
627
715
  "instance": false
628
716
  },
717
+ {
718
+ "caseId": "build-input-valid-32d286f6b3477b79",
719
+ "coveredRuleIds": [
720
+ "build-input:#/$defs/reactionVisual/properties/token:enum"
721
+ ],
722
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
723
+ "schemaPointer": "#/$defs/reactionVisual/properties/token",
724
+ "keyword": "enum",
725
+ "instance": "👍"
726
+ },
629
727
  {
630
728
  "caseId": "build-input-valid-334359b90efed75d",
631
729
  "coveredRuleIds": [
@@ -909,6 +1007,41 @@
909
1007
  }
910
1008
  }
911
1009
  },
1010
+ {
1011
+ "caseId": "build-input-valid-39a0234ee4a035d0",
1012
+ "coveredRuleIds": [
1013
+ "build-input:#/$defs/moduleBuildSelection/properties/interactions:additionalProperties",
1014
+ "build-input:#/$defs/moduleBuildSelection/properties/interactions:required:apiOrigin",
1015
+ "build-input:#/$defs/moduleBuildSelection/properties/interactions:required:appOrigin",
1016
+ "build-input:#/$defs/moduleBuildSelection/properties/interactions:required:config",
1017
+ "build-input:#/$defs/moduleBuildSelection/properties/interactions:type"
1018
+ ],
1019
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
1020
+ "schemaPointer": "#/$defs/moduleBuildSelection/properties/interactions",
1021
+ "keyword": "additionalProperties",
1022
+ "instance": {
1023
+ "config": {
1024
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
1025
+ "schemaVersion": "2.0.0",
1026
+ "reactions": {
1027
+ "enabled": false,
1028
+ "definitions": [
1029
+ {
1030
+ "key": "fixture-1",
1031
+ "label": "fixture-1",
1032
+ "visual": { "kind": "emoji", "token": "👍" },
1033
+ "order": 1,
1034
+ "enabled": false
1035
+ }
1036
+ ]
1037
+ },
1038
+ "comments": { "enabled": false, "allowReplies": false, "maxDepth": 1 },
1039
+ "publicCounts": { "reactions": false, "comments": false }
1040
+ },
1041
+ "apiOrigin": "https://fixture-1.example.com",
1042
+ "appOrigin": "https://fixture-1.example.com"
1043
+ }
1044
+ },
912
1045
  {
913
1046
  "caseId": "build-input-valid-3b188d4e77d173de",
914
1047
  "coveredRuleIds": [
@@ -929,6 +1062,39 @@
929
1062
  "keyword": "const",
930
1063
  "instance": "built-in-default"
931
1064
  },
1065
+ {
1066
+ "caseId": "build-input-valid-3e63676d6a733634",
1067
+ "coveredRuleIds": [
1068
+ "build-input:#/$defs/interactionsConfig:additionalProperties",
1069
+ "build-input:#/$defs/interactionsConfig:required:comments",
1070
+ "build-input:#/$defs/interactionsConfig:required:publicCounts",
1071
+ "build-input:#/$defs/interactionsConfig:required:reactions",
1072
+ "build-input:#/$defs/interactionsConfig:required:schemaId",
1073
+ "build-input:#/$defs/interactionsConfig:required:schemaVersion",
1074
+ "build-input:#/$defs/interactionsConfig:type"
1075
+ ],
1076
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
1077
+ "schemaPointer": "#/$defs/interactionsConfig",
1078
+ "keyword": "additionalProperties",
1079
+ "instance": {
1080
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
1081
+ "schemaVersion": "2.0.0",
1082
+ "reactions": {
1083
+ "enabled": false,
1084
+ "definitions": [
1085
+ {
1086
+ "key": "fixture-1",
1087
+ "label": "fixture-1",
1088
+ "visual": { "kind": "emoji", "token": "👍" },
1089
+ "order": 1,
1090
+ "enabled": false
1091
+ }
1092
+ ]
1093
+ },
1094
+ "comments": { "enabled": false, "allowReplies": false, "maxDepth": 1 },
1095
+ "publicCounts": { "reactions": false, "comments": false }
1096
+ }
1097
+ },
932
1098
  {
933
1099
  "caseId": "build-input-valid-3e704a85aded3da0",
934
1100
  "coveredRuleIds": [
@@ -1244,6 +1410,28 @@
1244
1410
  }
1245
1411
  ]
1246
1412
  },
1413
+ {
1414
+ "caseId": "build-input-valid-542cb60dc0cd0988",
1415
+ "coveredRuleIds": [
1416
+ "build-input:#/$defs/interactionsConfig/properties/comments/properties/enabled:type"
1417
+ ],
1418
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
1419
+ "schemaPointer": "#/$defs/interactionsConfig/properties/comments/properties/enabled",
1420
+ "keyword": "type",
1421
+ "instance": false
1422
+ },
1423
+ {
1424
+ "caseId": "build-input-valid-57a4e9646af8b6f1",
1425
+ "coveredRuleIds": [
1426
+ "build-input:#/$defs/reactionDefinition/properties/order:maximum",
1427
+ "build-input:#/$defs/reactionDefinition/properties/order:minimum",
1428
+ "build-input:#/$defs/reactionDefinition/properties/order:type"
1429
+ ],
1430
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
1431
+ "schemaPointer": "#/$defs/reactionDefinition/properties/order",
1432
+ "keyword": "maximum",
1433
+ "instance": 1
1434
+ },
1247
1435
  {
1248
1436
  "caseId": "build-input-valid-5838043483525c02",
1249
1437
  "coveredRuleIds": [
@@ -1306,6 +1494,18 @@
1306
1494
  }
1307
1495
  ]
1308
1496
  },
1497
+ {
1498
+ "caseId": "build-input-valid-6a75ae389f594781",
1499
+ "coveredRuleIds": [
1500
+ "build-input:#/$defs/reactionKey:not",
1501
+ "build-input:#/$defs/reactionKey:pattern",
1502
+ "build-input:#/$defs/reactionKey:type"
1503
+ ],
1504
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
1505
+ "schemaPointer": "#/$defs/reactionKey",
1506
+ "keyword": "not",
1507
+ "instance": "fixture-1"
1508
+ },
1309
1509
  {
1310
1510
  "caseId": "build-input-valid-6c8df9dafddc200f",
1311
1511
  "coveredRuleIds": [
@@ -1356,6 +1556,14 @@
1356
1556
  "keyword": "x-gala-graphemeLength",
1357
1557
  "instance": "fixture-1"
1358
1558
  },
1559
+ {
1560
+ "caseId": "build-input-valid-7314e2e8181b7a0a",
1561
+ "coveredRuleIds": ["build-input:#/$defs/reactionKey/not:const"],
1562
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
1563
+ "schemaPointer": "#/$defs/reactionKey/not",
1564
+ "keyword": "const",
1565
+ "instance": "like"
1566
+ },
1359
1567
  {
1360
1568
  "caseId": "build-input-valid-74061890596a952b",
1361
1569
  "coveredRuleIds": [
@@ -1427,6 +1635,26 @@
1427
1635
  "keyword": "const",
1428
1636
  "instance": "light"
1429
1637
  },
1638
+ {
1639
+ "caseId": "build-input-valid-7fda9e8808193e3d",
1640
+ "coveredRuleIds": [
1641
+ "build-input:#/$defs/interactionsConfig/properties/reactions/properties/definitions:maxItems",
1642
+ "build-input:#/$defs/interactionsConfig/properties/reactions/properties/definitions:minItems",
1643
+ "build-input:#/$defs/interactionsConfig/properties/reactions/properties/definitions:type"
1644
+ ],
1645
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
1646
+ "schemaPointer": "#/$defs/interactionsConfig/properties/reactions/properties/definitions",
1647
+ "keyword": "maxItems",
1648
+ "instance": [
1649
+ {
1650
+ "key": "fixture-1",
1651
+ "label": "fixture-1",
1652
+ "visual": { "kind": "emoji", "token": "👍" },
1653
+ "order": 1,
1654
+ "enabled": false
1655
+ }
1656
+ ]
1657
+ },
1430
1658
  {
1431
1659
  "caseId": "build-input-valid-81e47acb3276faad",
1432
1660
  "coveredRuleIds": [
@@ -1538,6 +1766,16 @@
1538
1766
  "keyword": "enum",
1539
1767
  "instance": "light"
1540
1768
  },
1769
+ {
1770
+ "caseId": "build-input-valid-90ce5901046095a1",
1771
+ "coveredRuleIds": [
1772
+ "build-input:#/$defs/interactionsConfig/properties/publicCounts/properties/comments:type"
1773
+ ],
1774
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
1775
+ "schemaPointer": "#/$defs/interactionsConfig/properties/publicCounts/properties/comments",
1776
+ "keyword": "type",
1777
+ "instance": false
1778
+ },
1541
1779
  {
1542
1780
  "caseId": "build-input-valid-921cd78eaf7e28e9",
1543
1781
  "coveredRuleIds": [
@@ -1733,6 +1971,29 @@
1733
1971
  "keyword": "maxItems",
1734
1972
  "instance": ["019c0000-0000-7000-8000-000000000001"]
1735
1973
  },
1974
+ {
1975
+ "caseId": "build-input-valid-aa780f7f611f7ee7",
1976
+ "coveredRuleIds": [
1977
+ "build-input:#/$defs/interactionsConfig/properties/publicCounts:additionalProperties",
1978
+ "build-input:#/$defs/interactionsConfig/properties/publicCounts:required:comments",
1979
+ "build-input:#/$defs/interactionsConfig/properties/publicCounts:required:reactions",
1980
+ "build-input:#/$defs/interactionsConfig/properties/publicCounts:type"
1981
+ ],
1982
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
1983
+ "schemaPointer": "#/$defs/interactionsConfig/properties/publicCounts",
1984
+ "keyword": "additionalProperties",
1985
+ "instance": { "reactions": false, "comments": false }
1986
+ },
1987
+ {
1988
+ "caseId": "build-input-valid-aa92c8059981419b",
1989
+ "coveredRuleIds": [
1990
+ "build-input:#/$defs/interactionsConfig/properties/schemaId:const"
1991
+ ],
1992
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
1993
+ "schemaPointer": "#/$defs/interactionsConfig/properties/schemaId",
1994
+ "keyword": "const",
1995
+ "instance": "urn:gala:schema:interactions-config:2.0.0"
1996
+ },
1736
1997
  {
1737
1998
  "caseId": "build-input-valid-abb26fa16d36a229",
1738
1999
  "coveredRuleIds": [
@@ -1747,7 +2008,6 @@
1747
2008
  "caseId": "build-input-valid-ad3a9e70024dcd1c",
1748
2009
  "coveredRuleIds": [
1749
2010
  "build-input:#/$defs/moduleBuildSelection:additionalProperties",
1750
- "build-input:#/$defs/moduleBuildSelection:maxProperties",
1751
2011
  "build-input:#/$defs/moduleBuildSelection:type"
1752
2012
  ],
1753
2013
  "schemaId": "urn:gala:schema:build-input:2.0.0",
@@ -1908,6 +2168,16 @@
1908
2168
  "keyword": "required",
1909
2169
  "instance": { "mediaType": "audio/mpeg" }
1910
2170
  },
2171
+ {
2172
+ "caseId": "build-input-valid-cf7f7f1d7cb4c32d",
2173
+ "coveredRuleIds": [
2174
+ "build-input:#/$defs/reactionVisual/properties/kind:const"
2175
+ ],
2176
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
2177
+ "schemaPointer": "#/$defs/reactionVisual/properties/kind",
2178
+ "keyword": "const",
2179
+ "instance": "emoji"
2180
+ },
1911
2181
  {
1912
2182
  "caseId": "build-input-valid-d3f6cc6ab7220249",
1913
2183
  "coveredRuleIds": ["build-input:#/$defs/normalizedSource:oneOf"],
@@ -2118,6 +2388,19 @@
2118
2388
  "keyword": "const",
2119
2389
  "instance": "@rathnasgala2/template"
2120
2390
  },
2391
+ {
2392
+ "caseId": "build-input-valid-e33d59edd841db65",
2393
+ "coveredRuleIds": [
2394
+ "build-input:#/$defs/reactionVisual:additionalProperties",
2395
+ "build-input:#/$defs/reactionVisual:required:kind",
2396
+ "build-input:#/$defs/reactionVisual:required:token",
2397
+ "build-input:#/$defs/reactionVisual:type"
2398
+ ],
2399
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
2400
+ "schemaPointer": "#/$defs/reactionVisual",
2401
+ "keyword": "additionalProperties",
2402
+ "instance": { "kind": "emoji", "token": "👍" }
2403
+ },
2121
2404
  {
2122
2405
  "caseId": "build-input-valid-e5d053ef3f3709f2",
2123
2406
  "coveredRuleIds": [
@@ -2223,6 +2506,30 @@
2223
2506
  "keyword": "pattern",
2224
2507
  "instance": "019c0000-0000-7000-8000-000000000001"
2225
2508
  },
2509
+ {
2510
+ "caseId": "build-input-valid-f10e4d8207bd7581",
2511
+ "coveredRuleIds": [
2512
+ "build-input:#/$defs/interactionsConfig/properties/reactions:additionalProperties",
2513
+ "build-input:#/$defs/interactionsConfig/properties/reactions:required:definitions",
2514
+ "build-input:#/$defs/interactionsConfig/properties/reactions:required:enabled",
2515
+ "build-input:#/$defs/interactionsConfig/properties/reactions:type"
2516
+ ],
2517
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
2518
+ "schemaPointer": "#/$defs/interactionsConfig/properties/reactions",
2519
+ "keyword": "additionalProperties",
2520
+ "instance": {
2521
+ "enabled": false,
2522
+ "definitions": [
2523
+ {
2524
+ "key": "fixture-1",
2525
+ "label": "fixture-1",
2526
+ "visual": { "kind": "emoji", "token": "👍" },
2527
+ "order": 1,
2528
+ "enabled": false
2529
+ }
2530
+ ]
2531
+ }
2532
+ },
2226
2533
  {
2227
2534
  "caseId": "build-input-valid-f15536e08dbd6868",
2228
2535
  "coveredRuleIds": [
@@ -2242,6 +2549,28 @@
2242
2549
  }
2243
2550
  ]
2244
2551
  },
2552
+ {
2553
+ "caseId": "build-input-valid-f165210270277ed4",
2554
+ "coveredRuleIds": [
2555
+ "build-input:#/$defs/interactionsConfig/properties/reactions/properties/enabled:type"
2556
+ ],
2557
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
2558
+ "schemaPointer": "#/$defs/interactionsConfig/properties/reactions/properties/enabled",
2559
+ "keyword": "type",
2560
+ "instance": false
2561
+ },
2562
+ {
2563
+ "caseId": "build-input-valid-f32995a8c5e4e569",
2564
+ "coveredRuleIds": [
2565
+ "build-input:#/$defs/interactionsConfig/properties/comments/properties/maxDepth:maximum",
2566
+ "build-input:#/$defs/interactionsConfig/properties/comments/properties/maxDepth:minimum",
2567
+ "build-input:#/$defs/interactionsConfig/properties/comments/properties/maxDepth:type"
2568
+ ],
2569
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
2570
+ "schemaPointer": "#/$defs/interactionsConfig/properties/comments/properties/maxDepth",
2571
+ "keyword": "maximum",
2572
+ "instance": 1
2573
+ },
2245
2574
  {
2246
2575
  "caseId": "build-input-valid-f3a17a27206407ab",
2247
2576
  "coveredRuleIds": [
@@ -2268,6 +2597,17 @@
2268
2597
  "keyword": "required",
2269
2598
  "instance": { "mediaType": "image/png" }
2270
2599
  },
2600
+ {
2601
+ "caseId": "build-input-valid-f47050489e881708",
2602
+ "coveredRuleIds": [
2603
+ "build-input:#/$defs/reactionDefinition/properties/label:type",
2604
+ "build-input:#/$defs/reactionDefinition/properties/label:x-gala-graphemeLength"
2605
+ ],
2606
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
2607
+ "schemaPointer": "#/$defs/reactionDefinition/properties/label",
2608
+ "keyword": "type",
2609
+ "instance": "fixture-1"
2610
+ },
2271
2611
  {
2272
2612
  "caseId": "build-input-valid-f60d3692dc6e9132",
2273
2613
  "coveredRuleIds": [
@@ -1088,11 +1088,11 @@
1088
1088
  {
1089
1089
  "caseId": "build-provenance-valid-738056632652b2e7",
1090
1090
  "coveredRuleIds": [
1091
- "build-provenance:#/$defs/manifestRoute/properties/interactionBearing:const"
1091
+ "build-provenance:#/$defs/manifestRoute/properties/interactionBearing:type"
1092
1092
  ],
1093
1093
  "schemaId": "urn:gala:metadata:build-provenance:2.0.0",
1094
1094
  "schemaPointer": "#/$defs/manifestRoute/properties/interactionBearing",
1095
- "keyword": "const",
1095
+ "keyword": "type",
1096
1096
  "instance": false
1097
1097
  },
1098
1098
  {
@@ -0,0 +1,18 @@
1
+ {
2
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
3
+ "schemaVersion": "2.0.0",
4
+ "reactions": {
5
+ "enabled": false,
6
+ "definitions": [
7
+ {
8
+ "key": "fixture-1",
9
+ "label": "fixture-1",
10
+ "visual": { "kind": "emoji", "token": "👍" },
11
+ "order": 1,
12
+ "enabled": false
13
+ }
14
+ ]
15
+ },
16
+ "comments": { "enabled": false, "allowReplies": false, "maxDepth": 1 },
17
+ "publicCounts": { "reactions": false, "comments": false }
18
+ }