@rathnasgala2/schemas 2.22.0 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (118) hide show
  1. package/README.md +39 -42
  2. package/THIRD_PARTY_LICENSES.json +3 -3
  3. package/diagnostics/diagnostic-map.json +2701 -1449
  4. package/docs/catalogs/app-components.json +435 -1
  5. package/docs/catalogs/app-routes.json +152 -2
  6. package/docs/catalogs/schema-inventory.json +17 -7
  7. package/examples/valid/artifact-manifest/rules.json +2 -2
  8. package/examples/valid/build-input/rules.json +391 -1
  9. package/examples/valid/build-provenance/rules.json +2 -2
  10. package/examples/valid/interactions-config/canonical.json +18 -0
  11. package/examples/valid/interactions-config/rules.json +529 -0
  12. package/examples/valid/publication/rules.json +48 -0
  13. package/examples/valid/theme-contract/canonical.json +355 -19
  14. package/examples/valid/theme-contract/default-3.0.json +660 -0
  15. package/examples/valid/theme-contract/rules.json +3456 -552
  16. package/fixtures/boundary/artifact-manifest/rules.json +2 -2
  17. package/fixtures/boundary/build-input/rules.json +463 -9
  18. package/fixtures/boundary/build-provenance/rules.json +2 -2
  19. package/fixtures/boundary/interactions-config/root.json +18 -0
  20. package/fixtures/boundary/interactions-config/rules.json +725 -0
  21. package/fixtures/boundary/publication/rules.json +53 -0
  22. package/fixtures/boundary/theme-contract/root.json +355 -19
  23. package/fixtures/boundary/theme-contract/rules.json +4158 -1226
  24. package/fixtures/invalid/artifact-manifest/SCHEMA_CONSTANT_INVALID/cases.json +0 -11
  25. package/fixtures/invalid/artifact-manifest/SCHEMA_TYPE_INVALID/cases.json +11 -0
  26. package/fixtures/invalid/build-input/GRAPHEME_LENGTH_INVALID/cases.json +22 -0
  27. package/fixtures/invalid/build-input/HTTPS_URL_INVALID/cases.json +29 -0
  28. package/fixtures/invalid/build-input/REQUEST_FIELD_UNKNOWN/cases.json +168 -0
  29. package/fixtures/invalid/build-input/SCHEMA_ARRAY_TOO_LONG/cases.json +15 -0
  30. package/fixtures/invalid/build-input/SCHEMA_CONSTANT_INVALID/cases.json +20 -0
  31. package/fixtures/invalid/build-input/SCHEMA_ENUM_INVALID/cases.json +22 -0
  32. package/fixtures/invalid/build-input/SCHEMA_NEGATED_RULE_MATCHED/cases.json +9 -0
  33. package/fixtures/invalid/build-input/SCHEMA_NUMBER_TOO_LARGE/cases.json +22 -0
  34. package/fixtures/invalid/build-input/SCHEMA_NUMBER_TOO_SMALL/cases.json +22 -0
  35. package/fixtures/invalid/build-input/SCHEMA_OBJECT_TOO_LARGE/cases.json +0 -15
  36. package/fixtures/invalid/build-input/SCHEMA_PATTERN_INVALID/cases.json +9 -0
  37. package/fixtures/invalid/build-input/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +429 -0
  38. package/fixtures/invalid/build-input/SCHEMA_TYPE_INVALID/cases.json +212 -0
  39. package/fixtures/invalid/build-input/SCHEMA_VERSION_UNSUPPORTED/cases.json +22 -0
  40. package/fixtures/invalid/build-provenance/SCHEMA_CONSTANT_INVALID/cases.json +0 -11
  41. package/fixtures/invalid/build-provenance/SCHEMA_TYPE_INVALID/cases.json +11 -0
  42. package/fixtures/invalid/interactions-config/BCP47_INVALID/cases.json +58 -0
  43. package/fixtures/invalid/interactions-config/CANONICAL_ROUTE_INVALID/cases.json +38 -0
  44. package/fixtures/invalid/interactions-config/DIGEST_INVALID/cases.json +20 -0
  45. package/fixtures/invalid/interactions-config/EXTENSION_KEY_INVALID/cases.json +20 -0
  46. package/fixtures/invalid/interactions-config/GIT_OBJECT_ID_INVALID/cases.json +20 -0
  47. package/fixtures/invalid/interactions-config/GRAPHEME_LENGTH_INVALID/cases.json +13 -0
  48. package/fixtures/invalid/interactions-config/HTTPS_URL_INVALID/cases.json +29 -0
  49. package/fixtures/invalid/interactions-config/ISO_COUNTRY_INVALID/cases.json +20 -0
  50. package/fixtures/invalid/interactions-config/PACKAGE_EXACT_INVALID/cases.json +38 -0
  51. package/fixtures/invalid/interactions-config/PACKAGE_RANGE_INVALID/cases.json +38 -0
  52. package/fixtures/invalid/interactions-config/PASSIVE_VISUAL_TOKEN_INVALID/cases.json +11 -0
  53. package/fixtures/invalid/interactions-config/PLAIN_LABEL_INVALID/cases.json +31 -0
  54. package/fixtures/invalid/interactions-config/PLAIN_TEXT_INVALID/cases.json +20 -0
  55. package/fixtures/invalid/interactions-config/REPOSITORY_GLOB_INVALID/cases.json +49 -0
  56. package/fixtures/invalid/interactions-config/REPOSITORY_PATH_INVALID/cases.json +62 -0
  57. package/fixtures/invalid/interactions-config/REQUEST_FIELD_UNKNOWN/cases.json +108 -0
  58. package/fixtures/invalid/interactions-config/RFC3339_INVALID/cases.json +29 -0
  59. package/fixtures/invalid/interactions-config/SCHEMA_ARRAY_TOO_LONG/cases.json +17 -0
  60. package/fixtures/invalid/interactions-config/SCHEMA_CONSTANT_INVALID/cases.json +22 -0
  61. package/fixtures/invalid/interactions-config/SCHEMA_ENUM_INVALID/cases.json +13 -0
  62. package/fixtures/invalid/interactions-config/SCHEMA_NEGATED_RULE_MATCHED/cases.json +11 -0
  63. package/fixtures/invalid/interactions-config/SCHEMA_NUMBER_TOO_LARGE/cases.json +24 -0
  64. package/fixtures/invalid/interactions-config/SCHEMA_NUMBER_TOO_SMALL/cases.json +24 -0
  65. package/fixtures/invalid/interactions-config/SCHEMA_PATTERN_INVALID/cases.json +11 -0
  66. package/fixtures/invalid/interactions-config/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +305 -0
  67. package/fixtures/invalid/interactions-config/SCHEMA_TYPE_INVALID/cases.json +175 -0
  68. package/fixtures/invalid/interactions-config/SCHEMA_VERSION_UNSUPPORTED/cases.json +20 -0
  69. package/fixtures/invalid/interactions-config/SEMVER_INVALID/cases.json +20 -0
  70. package/fixtures/invalid/interactions-config/SEMVER_RANGE_INVALID/cases.json +38 -0
  71. package/fixtures/invalid/interactions-config/SLUG_INVALID/cases.json +38 -0
  72. package/fixtures/invalid/interactions-config/STABLE_ID_INVALID/cases.json +20 -0
  73. package/fixtures/invalid/interactions-config/URN_INVALID/cases.json +38 -0
  74. package/fixtures/invalid/publication/GRAPHEME_LENGTH_INVALID/cases.json +11 -0
  75. package/fixtures/invalid/publication/REQUEST_FIELD_UNKNOWN/cases.json +23 -0
  76. package/fixtures/invalid/publication/SCHEMA_ENUM_INVALID/cases.json +9 -0
  77. package/fixtures/invalid/publication/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +42 -0
  78. package/fixtures/invalid/publication/SCHEMA_TYPE_INVALID/cases.json +18 -0
  79. package/fixtures/invalid/theme-contract/REQUEST_FIELD_UNKNOWN/cases.json +421 -20
  80. package/fixtures/invalid/theme-contract/SCHEMA_ARRAY_TOO_LONG/cases.json +2 -2
  81. package/fixtures/invalid/theme-contract/SCHEMA_ARRAY_TOO_SHORT/cases.json +1 -1
  82. package/fixtures/invalid/theme-contract/SCHEMA_CONSTANT_INVALID/cases.json +2155 -296
  83. package/fixtures/invalid/theme-contract/SCHEMA_ENUM_INVALID/cases.json +229 -9
  84. package/fixtures/invalid/theme-contract/SCHEMA_PATTERN_INVALID/cases.json +176 -0
  85. package/fixtures/invalid/theme-contract/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +8812 -1517
  86. package/fixtures/invalid/theme-contract/SCHEMA_STRING_TOO_LONG/cases.json +22 -0
  87. package/fixtures/manifest.json +21925 -12282
  88. package/fixtures/s2/empty-modules-placements.json +233 -3
  89. package/fixtures/s2/manifest.json +2 -1
  90. package/fixtures/s2/theme-contracts-digest-cycle.json +888 -36
  91. package/fixtures/unknown-field/artifact-manifest/rules.json +1 -1
  92. package/fixtures/unknown-field/build-input/rules.json +233 -1
  93. package/fixtures/unknown-field/build-provenance/rules.json +1 -1
  94. package/fixtures/unknown-field/interactions-config/root.json +19 -0
  95. package/fixtures/unknown-field/interactions-config/rules.json +227 -0
  96. package/fixtures/unknown-field/publication/rules.json +35 -0
  97. package/fixtures/unknown-field/theme-contract/root.json +355 -19
  98. package/fixtures/unknown-field/theme-contract/rules.json +637 -22
  99. package/generated/browser/validator-core.mjs +4 -3
  100. package/generated/typescript/contracts/artifact-manifest.d.ts +1 -1
  101. package/generated/typescript/contracts/build-input.d.ts +66 -1
  102. package/generated/typescript/contracts/build-provenance.d.ts +1 -1
  103. package/generated/typescript/contracts/interactions-config.d.ts +91 -0
  104. package/generated/typescript/contracts/publication.d.ts +12 -0
  105. package/generated/typescript/contracts/theme-contract.d.ts +529 -9
  106. package/generated/typescript/index.d.ts +4 -0
  107. package/generated/typescript/index.js +14 -0
  108. package/openapi/http-catalog.json +230 -2
  109. package/openapi/openapi.yaml +5941 -1509
  110. package/package.json +2 -1
  111. package/sbom.cdx.json +23 -23
  112. package/schemas/artifact-manifest.schema.json +1 -1
  113. package/schemas/build-input.schema.json +136 -2
  114. package/schemas/build-provenance.schema.json +1 -1
  115. package/schemas/interactions-config.schema.json +222 -0
  116. package/schemas/publication.schema.json +21 -0
  117. package/schemas/theme-contract.schema.json +1178 -83
  118. package/src/internal/schema-validator.js +3 -0
@@ -27,7 +27,7 @@
27
27
  {
28
28
  "caseId": "artifact-manifest-unknown-0bdf51ac816e1256",
29
29
  "coveredRuleIds": [
30
- "artifact-manifest:#/$defs/manifestRoute/properties/interactionBearing:const",
30
+ "artifact-manifest:#/$defs/manifestRoute/properties/interactionBearing:type",
31
31
  "artifact-manifest:#/$defs/manifestRoute/properties/mediaType:enum",
32
32
  "artifact-manifest:#/$defs/manifestRoute/properties/routeClass:enum",
33
33
  "artifact-manifest:#/$defs/manifestRoute:additionalProperties",
@@ -210,6 +210,31 @@
210
210
  },
211
211
  "expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
212
212
  },
213
+ {
214
+ "caseId": "build-input-unknown-0ac82bcd811aa1d8",
215
+ "coveredRuleIds": [
216
+ "build-input:#/$defs/interactionsConfig/properties/comments/properties/allowReplies:type",
217
+ "build-input:#/$defs/interactionsConfig/properties/comments/properties/enabled:type",
218
+ "build-input:#/$defs/interactionsConfig/properties/comments/properties/maxDepth:maximum",
219
+ "build-input:#/$defs/interactionsConfig/properties/comments/properties/maxDepth:minimum",
220
+ "build-input:#/$defs/interactionsConfig/properties/comments/properties/maxDepth:type",
221
+ "build-input:#/$defs/interactionsConfig/properties/comments:additionalProperties",
222
+ "build-input:#/$defs/interactionsConfig/properties/comments:required:allowReplies",
223
+ "build-input:#/$defs/interactionsConfig/properties/comments:required:enabled",
224
+ "build-input:#/$defs/interactionsConfig/properties/comments:required:maxDepth",
225
+ "build-input:#/$defs/interactionsConfig/properties/comments:type"
226
+ ],
227
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
228
+ "schemaPointer": "#/$defs/interactionsConfig/properties/comments",
229
+ "keyword": "additionalProperties",
230
+ "instance": {
231
+ "enabled": false,
232
+ "allowReplies": false,
233
+ "maxDepth": 1,
234
+ "unexpected": true
235
+ },
236
+ "expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
237
+ },
213
238
  {
214
239
  "caseId": "build-input-unknown-18d12a682083a474",
215
240
  "coveredRuleIds": [
@@ -353,6 +378,36 @@
353
378
  },
354
379
  "expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
355
380
  },
381
+ {
382
+ "caseId": "build-input-unknown-32690b22292983d6",
383
+ "coveredRuleIds": [
384
+ "build-input:#/$defs/reactionDefinition/properties/enabled:type",
385
+ "build-input:#/$defs/reactionDefinition/properties/label:type",
386
+ "build-input:#/$defs/reactionDefinition/properties/label:x-gala-graphemeLength",
387
+ "build-input:#/$defs/reactionDefinition/properties/order:maximum",
388
+ "build-input:#/$defs/reactionDefinition/properties/order:minimum",
389
+ "build-input:#/$defs/reactionDefinition/properties/order:type",
390
+ "build-input:#/$defs/reactionDefinition:additionalProperties",
391
+ "build-input:#/$defs/reactionDefinition:required:enabled",
392
+ "build-input:#/$defs/reactionDefinition:required:key",
393
+ "build-input:#/$defs/reactionDefinition:required:label",
394
+ "build-input:#/$defs/reactionDefinition:required:order",
395
+ "build-input:#/$defs/reactionDefinition:required:visual",
396
+ "build-input:#/$defs/reactionDefinition:type"
397
+ ],
398
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
399
+ "schemaPointer": "#/$defs/reactionDefinition",
400
+ "keyword": "additionalProperties",
401
+ "instance": {
402
+ "key": "fixture-1",
403
+ "label": "fixture-1",
404
+ "visual": { "kind": "emoji", "token": "👍" },
405
+ "order": 1,
406
+ "enabled": false,
407
+ "unexpected": true
408
+ },
409
+ "expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
410
+ },
356
411
  {
357
412
  "caseId": "build-input-unknown-334359b90efed75d",
358
413
  "coveredRuleIds": [
@@ -383,6 +438,9 @@
383
438
  "build-input:#/$defs/glob:minLength",
384
439
  "build-input:#/$defs/glob:type",
385
440
  "build-input:#/$defs/glob:x-gala-utf8ByteLength",
441
+ "build-input:#/$defs/interactionsServiceOrigin:maxLength",
442
+ "build-input:#/$defs/interactionsServiceOrigin:pattern",
443
+ "build-input:#/$defs/interactionsServiceOrigin:type",
386
444
  "build-input:#/$defs/isoCountry:format",
387
445
  "build-input:#/$defs/isoCountry:pattern",
388
446
  "build-input:#/$defs/isoCountry:type",
@@ -406,6 +464,10 @@
406
464
  "build-input:#/$defs/plainLabel:x-gala-graphemeLength",
407
465
  "build-input:#/$defs/plainText:format",
408
466
  "build-input:#/$defs/plainText:type",
467
+ "build-input:#/$defs/reactionKey/not:const",
468
+ "build-input:#/$defs/reactionKey:not",
469
+ "build-input:#/$defs/reactionKey:pattern",
470
+ "build-input:#/$defs/reactionKey:type",
409
471
  "build-input:#/$defs/repoRelativePath:format",
410
472
  "build-input:#/$defs/repoRelativePath:maxLength",
411
473
  "build-input:#/$defs/repoRelativePath:minLength",
@@ -705,6 +767,80 @@
705
767
  },
706
768
  "expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
707
769
  },
770
+ {
771
+ "caseId": "build-input-unknown-39a0234ee4a035d0",
772
+ "coveredRuleIds": [
773
+ "build-input:#/$defs/moduleBuildSelection/properties/interactions:additionalProperties",
774
+ "build-input:#/$defs/moduleBuildSelection/properties/interactions:required:apiOrigin",
775
+ "build-input:#/$defs/moduleBuildSelection/properties/interactions:required:appOrigin",
776
+ "build-input:#/$defs/moduleBuildSelection/properties/interactions:required:config",
777
+ "build-input:#/$defs/moduleBuildSelection/properties/interactions:type"
778
+ ],
779
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
780
+ "schemaPointer": "#/$defs/moduleBuildSelection/properties/interactions",
781
+ "keyword": "additionalProperties",
782
+ "instance": {
783
+ "config": {
784
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
785
+ "schemaVersion": "2.0.0",
786
+ "reactions": {
787
+ "enabled": false,
788
+ "definitions": [
789
+ {
790
+ "key": "fixture-1",
791
+ "label": "fixture-1",
792
+ "visual": { "kind": "emoji", "token": "👍" },
793
+ "order": 1,
794
+ "enabled": false
795
+ }
796
+ ]
797
+ },
798
+ "comments": { "enabled": false, "allowReplies": false, "maxDepth": 1 },
799
+ "publicCounts": { "reactions": false, "comments": false }
800
+ },
801
+ "apiOrigin": "https://fixture-1.example.com",
802
+ "appOrigin": "https://fixture-1.example.com",
803
+ "unexpected": true
804
+ },
805
+ "expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
806
+ },
807
+ {
808
+ "caseId": "build-input-unknown-3e63676d6a733634",
809
+ "coveredRuleIds": [
810
+ "build-input:#/$defs/interactionsConfig/properties/schemaId:const",
811
+ "build-input:#/$defs/interactionsConfig/properties/schemaVersion:const",
812
+ "build-input:#/$defs/interactionsConfig:additionalProperties",
813
+ "build-input:#/$defs/interactionsConfig:required:comments",
814
+ "build-input:#/$defs/interactionsConfig:required:publicCounts",
815
+ "build-input:#/$defs/interactionsConfig:required:reactions",
816
+ "build-input:#/$defs/interactionsConfig:required:schemaId",
817
+ "build-input:#/$defs/interactionsConfig:required:schemaVersion",
818
+ "build-input:#/$defs/interactionsConfig:type"
819
+ ],
820
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
821
+ "schemaPointer": "#/$defs/interactionsConfig",
822
+ "keyword": "additionalProperties",
823
+ "instance": {
824
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
825
+ "schemaVersion": "2.0.0",
826
+ "reactions": {
827
+ "enabled": false,
828
+ "definitions": [
829
+ {
830
+ "key": "fixture-1",
831
+ "label": "fixture-1",
832
+ "visual": { "kind": "emoji", "token": "👍" },
833
+ "order": 1,
834
+ "enabled": false
835
+ }
836
+ ]
837
+ },
838
+ "comments": { "enabled": false, "allowReplies": false, "maxDepth": 1 },
839
+ "publicCounts": { "reactions": false, "comments": false },
840
+ "unexpected": true
841
+ },
842
+ "expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
843
+ },
708
844
  {
709
845
  "caseId": "build-input-unknown-463216841286e49b",
710
846
  "coveredRuleIds": [
@@ -835,6 +971,27 @@
835
971
  },
836
972
  "expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
837
973
  },
974
+ {
975
+ "caseId": "build-input-unknown-527b14b2a55202e0",
976
+ "coveredRuleIds": [
977
+ "build-input:#/$defs/publicationNormalized/properties/newsletter/properties/text:x-gala-graphemeLength",
978
+ "build-input:#/$defs/publicationNormalized/properties/newsletter:additionalProperties",
979
+ "build-input:#/$defs/publicationNormalized/properties/newsletter:required:text",
980
+ "build-input:#/$defs/publicationNormalized/properties/newsletter:required:title",
981
+ "build-input:#/$defs/publicationNormalized/properties/newsletter:required:url",
982
+ "build-input:#/$defs/publicationNormalized/properties/newsletter:type"
983
+ ],
984
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
985
+ "schemaPointer": "#/$defs/publicationNormalized/properties/newsletter",
986
+ "keyword": "additionalProperties",
987
+ "instance": {
988
+ "url": "https://fixture-1.example.com/",
989
+ "title": "fixture-1",
990
+ "text": "fixture-1",
991
+ "unexpected": true
992
+ },
993
+ "expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
994
+ },
838
995
  {
839
996
  "caseId": "build-input-unknown-53a189b729c940c9",
840
997
  "coveredRuleIds": [
@@ -856,6 +1013,20 @@
856
1013
  },
857
1014
  "expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
858
1015
  },
1016
+ {
1017
+ "caseId": "build-input-unknown-5cd12f3ec2d6f40f",
1018
+ "coveredRuleIds": [
1019
+ "build-input:#/$defs/publicationNormalized/properties/crawlers/properties/ai:enum",
1020
+ "build-input:#/$defs/publicationNormalized/properties/crawlers:additionalProperties",
1021
+ "build-input:#/$defs/publicationNormalized/properties/crawlers:required:ai",
1022
+ "build-input:#/$defs/publicationNormalized/properties/crawlers:type"
1023
+ ],
1024
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
1025
+ "schemaPointer": "#/$defs/publicationNormalized/properties/crawlers",
1026
+ "keyword": "additionalProperties",
1027
+ "instance": { "ai": "allow", "unexpected": true },
1028
+ "expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
1029
+ },
859
1030
  {
860
1031
  "caseId": "build-input-unknown-9c1128252c60c49e",
861
1032
  "coveredRuleIds": [
@@ -921,11 +1092,26 @@
921
1092
  },
922
1093
  "expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
923
1094
  },
1095
+ {
1096
+ "caseId": "build-input-unknown-aa780f7f611f7ee7",
1097
+ "coveredRuleIds": [
1098
+ "build-input:#/$defs/interactionsConfig/properties/publicCounts/properties/comments:type",
1099
+ "build-input:#/$defs/interactionsConfig/properties/publicCounts/properties/reactions:type",
1100
+ "build-input:#/$defs/interactionsConfig/properties/publicCounts:additionalProperties",
1101
+ "build-input:#/$defs/interactionsConfig/properties/publicCounts:required:comments",
1102
+ "build-input:#/$defs/interactionsConfig/properties/publicCounts:required:reactions",
1103
+ "build-input:#/$defs/interactionsConfig/properties/publicCounts:type"
1104
+ ],
1105
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
1106
+ "schemaPointer": "#/$defs/interactionsConfig/properties/publicCounts",
1107
+ "keyword": "additionalProperties",
1108
+ "instance": { "reactions": false, "comments": false, "unexpected": true },
1109
+ "expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
1110
+ },
924
1111
  {
925
1112
  "caseId": "build-input-unknown-ad3a9e70024dcd1c",
926
1113
  "coveredRuleIds": [
927
1114
  "build-input:#/$defs/moduleBuildSelection:additionalProperties",
928
- "build-input:#/$defs/moduleBuildSelection:maxProperties",
929
1115
  "build-input:#/$defs/moduleBuildSelection:type"
930
1116
  ],
931
1117
  "schemaId": "urn:gala:schema:build-input:2.0.0",
@@ -989,6 +1175,52 @@
989
1175
  "instance": { "unexpected": true },
990
1176
  "expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
991
1177
  },
1178
+ {
1179
+ "caseId": "build-input-unknown-e33d59edd841db65",
1180
+ "coveredRuleIds": [
1181
+ "build-input:#/$defs/reactionVisual/properties/kind:const",
1182
+ "build-input:#/$defs/reactionVisual/properties/token:enum",
1183
+ "build-input:#/$defs/reactionVisual:additionalProperties",
1184
+ "build-input:#/$defs/reactionVisual:required:kind",
1185
+ "build-input:#/$defs/reactionVisual:required:token",
1186
+ "build-input:#/$defs/reactionVisual:type"
1187
+ ],
1188
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
1189
+ "schemaPointer": "#/$defs/reactionVisual",
1190
+ "keyword": "additionalProperties",
1191
+ "instance": { "kind": "emoji", "token": "👍", "unexpected": true },
1192
+ "expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
1193
+ },
1194
+ {
1195
+ "caseId": "build-input-unknown-f10e4d8207bd7581",
1196
+ "coveredRuleIds": [
1197
+ "build-input:#/$defs/interactionsConfig/properties/reactions/properties/definitions:maxItems",
1198
+ "build-input:#/$defs/interactionsConfig/properties/reactions/properties/definitions:minItems",
1199
+ "build-input:#/$defs/interactionsConfig/properties/reactions/properties/definitions:type",
1200
+ "build-input:#/$defs/interactionsConfig/properties/reactions/properties/enabled:type",
1201
+ "build-input:#/$defs/interactionsConfig/properties/reactions:additionalProperties",
1202
+ "build-input:#/$defs/interactionsConfig/properties/reactions:required:definitions",
1203
+ "build-input:#/$defs/interactionsConfig/properties/reactions:required:enabled",
1204
+ "build-input:#/$defs/interactionsConfig/properties/reactions:type"
1205
+ ],
1206
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
1207
+ "schemaPointer": "#/$defs/interactionsConfig/properties/reactions",
1208
+ "keyword": "additionalProperties",
1209
+ "instance": {
1210
+ "enabled": false,
1211
+ "definitions": [
1212
+ {
1213
+ "key": "fixture-1",
1214
+ "label": "fixture-1",
1215
+ "visual": { "kind": "emoji", "token": "👍" },
1216
+ "order": 1,
1217
+ "enabled": false
1218
+ }
1219
+ ],
1220
+ "unexpected": true
1221
+ },
1222
+ "expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
1223
+ },
992
1224
  {
993
1225
  "caseId": "build-input-unknown-f3a17a27206407ab",
994
1226
  "coveredRuleIds": [
@@ -27,7 +27,7 @@
27
27
  {
28
28
  "caseId": "build-provenance-unknown-0bdf51ac816e1256",
29
29
  "coveredRuleIds": [
30
- "build-provenance:#/$defs/manifestRoute/properties/interactionBearing:const",
30
+ "build-provenance:#/$defs/manifestRoute/properties/interactionBearing:type",
31
31
  "build-provenance:#/$defs/manifestRoute/properties/mediaType:enum",
32
32
  "build-provenance:#/$defs/manifestRoute/properties/routeClass:enum",
33
33
  "build-provenance:#/$defs/manifestRoute:additionalProperties",
@@ -0,0 +1,19 @@
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
+ "unexpected": true
19
+ }
@@ -0,0 +1,227 @@
1
+ [
2
+ {
3
+ "caseId": "interactions-config-unknown-32690b22292983d6",
4
+ "coveredRuleIds": [
5
+ "interactions-config:#/$defs/reactionDefinition/properties/enabled:type",
6
+ "interactions-config:#/$defs/reactionDefinition/properties/label:type",
7
+ "interactions-config:#/$defs/reactionDefinition/properties/label:x-gala-graphemeLength",
8
+ "interactions-config:#/$defs/reactionDefinition/properties/order:maximum",
9
+ "interactions-config:#/$defs/reactionDefinition/properties/order:minimum",
10
+ "interactions-config:#/$defs/reactionDefinition/properties/order:type",
11
+ "interactions-config:#/$defs/reactionDefinition:additionalProperties",
12
+ "interactions-config:#/$defs/reactionDefinition:required:enabled",
13
+ "interactions-config:#/$defs/reactionDefinition:required:key",
14
+ "interactions-config:#/$defs/reactionDefinition:required:label",
15
+ "interactions-config:#/$defs/reactionDefinition:required:order",
16
+ "interactions-config:#/$defs/reactionDefinition:required:visual",
17
+ "interactions-config:#/$defs/reactionDefinition:type"
18
+ ],
19
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
20
+ "schemaPointer": "#/$defs/reactionDefinition",
21
+ "keyword": "additionalProperties",
22
+ "instance": {
23
+ "key": "fixture-1",
24
+ "label": "fixture-1",
25
+ "visual": { "kind": "emoji", "token": "👍" },
26
+ "order": 1,
27
+ "enabled": false,
28
+ "unexpected": true
29
+ },
30
+ "expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
31
+ },
32
+ {
33
+ "caseId": "interactions-config-unknown-334359b90efed75d",
34
+ "coveredRuleIds": [
35
+ "interactions-config:#/$defs/bcp47:format",
36
+ "interactions-config:#/$defs/bcp47:maxLength",
37
+ "interactions-config:#/$defs/bcp47:minLength",
38
+ "interactions-config:#/$defs/bcp47:pattern",
39
+ "interactions-config:#/$defs/bcp47:type",
40
+ "interactions-config:#/$defs/bcp47:x-gala-utf8ByteLength",
41
+ "interactions-config:#/$defs/canonicalRoute:format",
42
+ "interactions-config:#/$defs/canonicalRoute:minLength",
43
+ "interactions-config:#/$defs/canonicalRoute:pattern",
44
+ "interactions-config:#/$defs/canonicalRoute:type",
45
+ "interactions-config:#/$defs/digest:pattern",
46
+ "interactions-config:#/$defs/digest:type",
47
+ "interactions-config:#/$defs/extensionKey:format",
48
+ "interactions-config:#/$defs/extensionKey:type",
49
+ "interactions-config:#/$defs/gitObjectId:pattern",
50
+ "interactions-config:#/$defs/gitObjectId:type",
51
+ "interactions-config:#/$defs/glob:format",
52
+ "interactions-config:#/$defs/glob:maxLength",
53
+ "interactions-config:#/$defs/glob:minLength",
54
+ "interactions-config:#/$defs/glob:type",
55
+ "interactions-config:#/$defs/glob:x-gala-utf8ByteLength",
56
+ "interactions-config:#/$defs/isoCountry:format",
57
+ "interactions-config:#/$defs/isoCountry:pattern",
58
+ "interactions-config:#/$defs/isoCountry:type",
59
+ "interactions-config:#/$defs/packageExact:format",
60
+ "interactions-config:#/$defs/packageExact:minLength",
61
+ "interactions-config:#/$defs/packageExact:pattern",
62
+ "interactions-config:#/$defs/packageExact:type",
63
+ "interactions-config:#/$defs/packageRange:format",
64
+ "interactions-config:#/$defs/packageRange:minLength",
65
+ "interactions-config:#/$defs/packageRange:pattern",
66
+ "interactions-config:#/$defs/packageRange:type",
67
+ "interactions-config:#/$defs/passiveVisualToken:false",
68
+ "interactions-config:#/$defs/plainLabel:format",
69
+ "interactions-config:#/$defs/plainLabel:type",
70
+ "interactions-config:#/$defs/plainLabel:x-gala-graphemeLength",
71
+ "interactions-config:#/$defs/plainText:format",
72
+ "interactions-config:#/$defs/plainText:type",
73
+ "interactions-config:#/$defs/reactionKey/not:const",
74
+ "interactions-config:#/$defs/reactionKey:not",
75
+ "interactions-config:#/$defs/reactionKey:pattern",
76
+ "interactions-config:#/$defs/reactionKey:type",
77
+ "interactions-config:#/$defs/repoRelativePath:format",
78
+ "interactions-config:#/$defs/repoRelativePath:maxLength",
79
+ "interactions-config:#/$defs/repoRelativePath:minLength",
80
+ "interactions-config:#/$defs/repoRelativePath:pattern",
81
+ "interactions-config:#/$defs/repoRelativePath:type",
82
+ "interactions-config:#/$defs/repoRelativePath:x-gala-utf8ByteLength",
83
+ "interactions-config:#/$defs/rfc3339:format",
84
+ "interactions-config:#/$defs/rfc3339:pattern",
85
+ "interactions-config:#/$defs/rfc3339:type",
86
+ "interactions-config:#/$defs/semver:pattern",
87
+ "interactions-config:#/$defs/semver:type",
88
+ "interactions-config:#/$defs/semverRange:format",
89
+ "interactions-config:#/$defs/semverRange:minLength",
90
+ "interactions-config:#/$defs/semverRange:pattern",
91
+ "interactions-config:#/$defs/semverRange:type",
92
+ "interactions-config:#/$defs/slug:maxLength",
93
+ "interactions-config:#/$defs/slug:minLength",
94
+ "interactions-config:#/$defs/slug:pattern",
95
+ "interactions-config:#/$defs/slug:type",
96
+ "interactions-config:#/$defs/stableId:pattern",
97
+ "interactions-config:#/$defs/stableId:type",
98
+ "interactions-config:#/$defs/urlHttps:format",
99
+ "interactions-config:#/$defs/urlHttps:pattern",
100
+ "interactions-config:#/$defs/urlHttps:type",
101
+ "interactions-config:#/$defs/urn:format",
102
+ "interactions-config:#/$defs/urn:maxLength",
103
+ "interactions-config:#/$defs/urn:minLength",
104
+ "interactions-config:#/$defs/urn:pattern",
105
+ "interactions-config:#/$defs/urn:type",
106
+ "interactions-config:#/properties/schemaId:const",
107
+ "interactions-config:#/properties/schemaVersion:const",
108
+ "interactions-config:#:additionalProperties",
109
+ "interactions-config:#:required:comments",
110
+ "interactions-config:#:required:publicCounts",
111
+ "interactions-config:#:required:reactions",
112
+ "interactions-config:#:required:schemaId",
113
+ "interactions-config:#:required:schemaVersion",
114
+ "interactions-config:#:type"
115
+ ],
116
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
117
+ "schemaPointer": "#",
118
+ "keyword": "additionalProperties",
119
+ "instance": {
120
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
121
+ "schemaVersion": "2.0.0",
122
+ "reactions": {
123
+ "enabled": false,
124
+ "definitions": [
125
+ {
126
+ "key": "fixture-1",
127
+ "label": "fixture-1",
128
+ "visual": { "kind": "emoji", "token": "👍" },
129
+ "order": 1,
130
+ "enabled": false
131
+ }
132
+ ]
133
+ },
134
+ "comments": { "enabled": false, "allowReplies": false, "maxDepth": 1 },
135
+ "publicCounts": { "reactions": false, "comments": false },
136
+ "unexpected": true
137
+ },
138
+ "expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
139
+ },
140
+ {
141
+ "caseId": "interactions-config-unknown-38eb03f36cd27aef",
142
+ "coveredRuleIds": [
143
+ "interactions-config:#/properties/reactions/properties/definitions:maxItems",
144
+ "interactions-config:#/properties/reactions/properties/definitions:minItems",
145
+ "interactions-config:#/properties/reactions/properties/definitions:type",
146
+ "interactions-config:#/properties/reactions/properties/enabled:type",
147
+ "interactions-config:#/properties/reactions:additionalProperties",
148
+ "interactions-config:#/properties/reactions:required:definitions",
149
+ "interactions-config:#/properties/reactions:required:enabled",
150
+ "interactions-config:#/properties/reactions:type"
151
+ ],
152
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
153
+ "schemaPointer": "#/properties/reactions",
154
+ "keyword": "additionalProperties",
155
+ "instance": {
156
+ "enabled": false,
157
+ "definitions": [
158
+ {
159
+ "key": "fixture-1",
160
+ "label": "fixture-1",
161
+ "visual": { "kind": "emoji", "token": "👍" },
162
+ "order": 1,
163
+ "enabled": false
164
+ }
165
+ ],
166
+ "unexpected": true
167
+ },
168
+ "expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
169
+ },
170
+ {
171
+ "caseId": "interactions-config-unknown-4300914392f6e0e9",
172
+ "coveredRuleIds": [
173
+ "interactions-config:#/properties/publicCounts/properties/comments:type",
174
+ "interactions-config:#/properties/publicCounts/properties/reactions:type",
175
+ "interactions-config:#/properties/publicCounts:additionalProperties",
176
+ "interactions-config:#/properties/publicCounts:required:comments",
177
+ "interactions-config:#/properties/publicCounts:required:reactions",
178
+ "interactions-config:#/properties/publicCounts:type"
179
+ ],
180
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
181
+ "schemaPointer": "#/properties/publicCounts",
182
+ "keyword": "additionalProperties",
183
+ "instance": { "reactions": false, "comments": false, "unexpected": true },
184
+ "expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
185
+ },
186
+ {
187
+ "caseId": "interactions-config-unknown-4c5e3a7c692b3f82",
188
+ "coveredRuleIds": [
189
+ "interactions-config:#/properties/comments/properties/allowReplies:type",
190
+ "interactions-config:#/properties/comments/properties/enabled:type",
191
+ "interactions-config:#/properties/comments/properties/maxDepth:maximum",
192
+ "interactions-config:#/properties/comments/properties/maxDepth:minimum",
193
+ "interactions-config:#/properties/comments/properties/maxDepth:type",
194
+ "interactions-config:#/properties/comments:additionalProperties",
195
+ "interactions-config:#/properties/comments:required:allowReplies",
196
+ "interactions-config:#/properties/comments:required:enabled",
197
+ "interactions-config:#/properties/comments:required:maxDepth",
198
+ "interactions-config:#/properties/comments:type"
199
+ ],
200
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
201
+ "schemaPointer": "#/properties/comments",
202
+ "keyword": "additionalProperties",
203
+ "instance": {
204
+ "enabled": false,
205
+ "allowReplies": false,
206
+ "maxDepth": 1,
207
+ "unexpected": true
208
+ },
209
+ "expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
210
+ },
211
+ {
212
+ "caseId": "interactions-config-unknown-e33d59edd841db65",
213
+ "coveredRuleIds": [
214
+ "interactions-config:#/$defs/reactionVisual/properties/kind:const",
215
+ "interactions-config:#/$defs/reactionVisual/properties/token:enum",
216
+ "interactions-config:#/$defs/reactionVisual:additionalProperties",
217
+ "interactions-config:#/$defs/reactionVisual:required:kind",
218
+ "interactions-config:#/$defs/reactionVisual:required:token",
219
+ "interactions-config:#/$defs/reactionVisual:type"
220
+ ],
221
+ "schemaId": "urn:gala:schema:interactions-config:2.0.0",
222
+ "schemaPointer": "#/$defs/reactionVisual",
223
+ "keyword": "additionalProperties",
224
+ "instance": { "kind": "emoji", "token": "👍", "unexpected": true },
225
+ "expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
226
+ }
227
+ ]
@@ -145,6 +145,20 @@
145
145
  },
146
146
  "expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
147
147
  },
148
+ {
149
+ "caseId": "publication-unknown-a5c8f595a0500178",
150
+ "coveredRuleIds": [
151
+ "publication:#/$defs/crawlers/properties/ai:enum",
152
+ "publication:#/$defs/crawlers:additionalProperties",
153
+ "publication:#/$defs/crawlers:required:ai",
154
+ "publication:#/$defs/crawlers:type"
155
+ ],
156
+ "schemaId": "urn:gala:schema:publication:2.0.0",
157
+ "schemaPointer": "#/$defs/crawlers",
158
+ "keyword": "additionalProperties",
159
+ "instance": { "ai": "allow", "unexpected": true },
160
+ "expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
161
+ },
148
162
  {
149
163
  "caseId": "publication-unknown-b0424c1acb3ba01a",
150
164
  "coveredRuleIds": [
@@ -189,5 +203,26 @@
189
203
  "unexpected": true
190
204
  },
191
205
  "expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
206
+ },
207
+ {
208
+ "caseId": "publication-unknown-e1bd8415f65d2e3c",
209
+ "coveredRuleIds": [
210
+ "publication:#/$defs/newsletter/properties/text:x-gala-graphemeLength",
211
+ "publication:#/$defs/newsletter:additionalProperties",
212
+ "publication:#/$defs/newsletter:required:text",
213
+ "publication:#/$defs/newsletter:required:title",
214
+ "publication:#/$defs/newsletter:required:url",
215
+ "publication:#/$defs/newsletter:type"
216
+ ],
217
+ "schemaId": "urn:gala:schema:publication:2.0.0",
218
+ "schemaPointer": "#/$defs/newsletter",
219
+ "keyword": "additionalProperties",
220
+ "instance": {
221
+ "url": "https://fixture-1.example.com/",
222
+ "title": "fixture-1",
223
+ "text": "fixture-1",
224
+ "unexpected": true
225
+ },
226
+ "expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
192
227
  }
193
228
  ]