@rathnasgala2/schemas 3.15.0 → 3.17.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 (123) hide show
  1. package/README.md +17 -10
  2. package/THIRD_PARTY_LICENSES.json +1 -1
  3. package/catalog-sources/internal-event-actions.json +1 -1
  4. package/diagnostics/diagnostic-map.json +456 -4
  5. package/docs/catalogs/app-routes.json +7 -2
  6. package/docs/catalogs/internal-event-actions.json +2 -2
  7. package/docs/catalogs/schema-inventory.json +20 -10
  8. package/examples/valid/adapter-capability/rules.json +12 -0
  9. package/examples/valid/analytics-config/canonical.json +6 -0
  10. package/examples/valid/analytics-config/rules.json +334 -0
  11. package/examples/valid/build-input/rules.json +202 -0
  12. package/examples/valid/deployment-intent/rules.json +12 -0
  13. package/examples/valid/deployment-observation/rules.json +12 -0
  14. package/examples/valid/deployment-receipt/rules.json +12 -0
  15. package/examples/valid/problem/rules.json +39 -0
  16. package/examples/valid/publication/rules.json +49 -0
  17. package/examples/valid/theme-contract/rules.json +64 -4
  18. package/fixtures/boundary/adapter-capability/rules.json +26 -0
  19. package/fixtures/boundary/analytics-config/root.json +6 -0
  20. package/fixtures/boundary/analytics-config/rules.json +470 -0
  21. package/fixtures/boundary/build-input/rules.json +207 -0
  22. package/fixtures/boundary/deployment-intent/rules.json +26 -0
  23. package/fixtures/boundary/deployment-observation/rules.json +26 -0
  24. package/fixtures/boundary/deployment-receipt/rules.json +26 -0
  25. package/fixtures/boundary/problem/rules.json +81 -0
  26. package/fixtures/boundary/publication/rules.json +54 -0
  27. package/fixtures/boundary/theme-contract/rules.json +64 -4
  28. package/fixtures/invalid/adapter-capability/SCHEMA_PATTERN_INVALID/cases.json +11 -0
  29. package/fixtures/invalid/adapter-capability/SCHEMA_STRING_TOO_LONG/cases.json +11 -0
  30. package/fixtures/invalid/adapter-capability/UTF8_BYTE_LENGTH_INVALID/cases.json +11 -0
  31. package/fixtures/invalid/analytics-config/BCP47_INVALID/cases.json +56 -0
  32. package/fixtures/invalid/analytics-config/CANONICAL_ROUTE_INVALID/cases.json +38 -0
  33. package/fixtures/invalid/analytics-config/DIGEST_INVALID/cases.json +20 -0
  34. package/fixtures/invalid/analytics-config/EXTENSION_KEY_INVALID/cases.json +20 -0
  35. package/fixtures/invalid/analytics-config/GIT_OBJECT_ID_INVALID/cases.json +20 -0
  36. package/fixtures/invalid/analytics-config/HTTPS_URL_INVALID/cases.json +29 -0
  37. package/fixtures/invalid/analytics-config/ISO_COUNTRY_INVALID/cases.json +20 -0
  38. package/fixtures/invalid/analytics-config/PACKAGE_EXACT_INVALID/cases.json +38 -0
  39. package/fixtures/invalid/analytics-config/PACKAGE_RANGE_INVALID/cases.json +38 -0
  40. package/fixtures/invalid/analytics-config/PASSIVE_VISUAL_TOKEN_INVALID/cases.json +11 -0
  41. package/fixtures/invalid/analytics-config/PLAIN_LABEL_INVALID/cases.json +31 -0
  42. package/fixtures/invalid/analytics-config/PLAIN_TEXT_INVALID/cases.json +20 -0
  43. package/fixtures/invalid/analytics-config/REPOSITORY_GLOB_INVALID/cases.json +47 -0
  44. package/fixtures/invalid/analytics-config/REPOSITORY_PATH_INVALID/cases.json +58 -0
  45. package/fixtures/invalid/analytics-config/REQUEST_FIELD_UNKNOWN/cases.json +46 -0
  46. package/fixtures/invalid/analytics-config/RFC3339_INVALID/cases.json +29 -0
  47. package/fixtures/invalid/analytics-config/SCHEMA_ENUM_INVALID/cases.json +24 -0
  48. package/fixtures/invalid/analytics-config/SCHEMA_PATTERN_INVALID/cases.json +13 -0
  49. package/fixtures/invalid/analytics-config/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +92 -0
  50. package/fixtures/invalid/analytics-config/SCHEMA_TYPE_INVALID/cases.json +40 -0
  51. package/fixtures/invalid/analytics-config/SCHEMA_VERSION_UNSUPPORTED/cases.json +20 -0
  52. package/fixtures/invalid/analytics-config/SEMVER_INVALID/cases.json +20 -0
  53. package/fixtures/invalid/analytics-config/SEMVER_RANGE_INVALID/cases.json +38 -0
  54. package/fixtures/invalid/analytics-config/SLUG_INVALID/cases.json +38 -0
  55. package/fixtures/invalid/analytics-config/STABLE_ID_INVALID/cases.json +20 -0
  56. package/fixtures/invalid/analytics-config/URN_INVALID/cases.json +38 -0
  57. package/fixtures/invalid/build-input/GRAPHEME_LENGTH_INVALID/cases.json +11 -0
  58. package/fixtures/invalid/build-input/REQUEST_FIELD_UNKNOWN/cases.json +137 -0
  59. package/fixtures/invalid/build-input/SCHEMA_ENUM_INVALID/cases.json +22 -0
  60. package/fixtures/invalid/build-input/SCHEMA_PATTERN_INVALID/cases.json +11 -0
  61. package/fixtures/invalid/build-input/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +194 -0
  62. package/fixtures/invalid/build-input/SCHEMA_TYPE_INVALID/cases.json +71 -0
  63. package/fixtures/invalid/build-input/SCHEMA_VERSION_UNSUPPORTED/cases.json +22 -0
  64. package/fixtures/invalid/deployment-intent/SCHEMA_PATTERN_INVALID/cases.json +11 -0
  65. package/fixtures/invalid/deployment-intent/SCHEMA_STRING_TOO_LONG/cases.json +11 -0
  66. package/fixtures/invalid/deployment-intent/UTF8_BYTE_LENGTH_INVALID/cases.json +11 -0
  67. package/fixtures/invalid/deployment-observation/SCHEMA_PATTERN_INVALID/cases.json +11 -0
  68. package/fixtures/invalid/deployment-observation/SCHEMA_STRING_TOO_LONG/cases.json +11 -0
  69. package/fixtures/invalid/deployment-observation/UTF8_BYTE_LENGTH_INVALID/cases.json +11 -0
  70. package/fixtures/invalid/deployment-receipt/SCHEMA_PATTERN_INVALID/cases.json +11 -0
  71. package/fixtures/invalid/deployment-receipt/SCHEMA_STRING_TOO_LONG/cases.json +11 -0
  72. package/fixtures/invalid/deployment-receipt/UTF8_BYTE_LENGTH_INVALID/cases.json +11 -0
  73. package/fixtures/invalid/problem/GRAPHEME_LENGTH_INVALID/cases.json +9 -0
  74. package/fixtures/invalid/problem/SCHEMA_STRING_TOO_LONG/cases.json +27 -0
  75. package/fixtures/invalid/problem/SCHEMA_STRING_TOO_SHORT/cases.json +9 -0
  76. package/fixtures/invalid/problem/SCHEMA_TYPE_INVALID/cases.json +18 -0
  77. package/fixtures/invalid/publication/GRAPHEME_LENGTH_INVALID/cases.json +11 -0
  78. package/fixtures/invalid/publication/REQUEST_FIELD_UNKNOWN/cases.json +28 -0
  79. package/fixtures/invalid/publication/SCHEMA_PATTERN_INVALID/cases.json +11 -0
  80. package/fixtures/invalid/publication/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +44 -0
  81. package/fixtures/invalid/publication/SCHEMA_TYPE_INVALID/cases.json +18 -0
  82. package/fixtures/invalid/theme-contract/SCHEMA_CONSTANT_INVALID/cases.json +33 -22
  83. package/fixtures/invalid/theme-contract/SCHEMA_ENUM_INVALID/cases.json +33 -0
  84. package/fixtures/invalid/theme-contract/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +22 -0
  85. package/fixtures/manifest.json +3513 -26
  86. package/fixtures/s2/empty-modules-placements.json +452 -0
  87. package/fixtures/s2/manifest.json +2 -0
  88. package/fixtures/unknown-field/adapter-capability/rules.json +3 -0
  89. package/fixtures/unknown-field/analytics-config/root.json +7 -0
  90. package/fixtures/unknown-field/analytics-config/rules.json +131 -0
  91. package/fixtures/unknown-field/build-input/rules.json +162 -0
  92. package/fixtures/unknown-field/deployment-intent/rules.json +3 -0
  93. package/fixtures/unknown-field/deployment-observation/rules.json +3 -0
  94. package/fixtures/unknown-field/deployment-receipt/rules.json +3 -0
  95. package/fixtures/unknown-field/problem/rules.json +7 -0
  96. package/fixtures/unknown-field/publication/rules.json +38 -0
  97. package/fixtures/unknown-field/theme-contract/rules.json +8 -2
  98. package/generated/browser/validator-core.mjs +5 -4
  99. package/generated/typescript/contracts/adapter-capability.d.ts +1 -0
  100. package/generated/typescript/contracts/analytics-config.d.ts +54 -0
  101. package/generated/typescript/contracts/build-input.d.ts +26 -0
  102. package/generated/typescript/contracts/deployment-intent.d.ts +1 -0
  103. package/generated/typescript/contracts/deployment-observation.d.ts +1 -0
  104. package/generated/typescript/contracts/deployment-receipt.d.ts +1 -0
  105. package/generated/typescript/contracts/problem.d.ts +4 -0
  106. package/generated/typescript/contracts/publication.d.ts +11 -0
  107. package/generated/typescript/index.d.ts +4 -0
  108. package/generated/typescript/index.js +14 -0
  109. package/openapi/http-catalog.json +55 -3
  110. package/openapi/openapi.yaml +5128 -3499
  111. package/package.json +4 -1
  112. package/sbom.cdx.json +23 -23
  113. package/schemas/adapter-capability.schema.json +7 -0
  114. package/schemas/analytics-config.schema.json +161 -0
  115. package/schemas/build-input.schema.json +66 -0
  116. package/schemas/deployment-intent.schema.json +7 -0
  117. package/schemas/deployment-observation.schema.json +7 -0
  118. package/schemas/deployment-receipt.schema.json +7 -0
  119. package/schemas/problem.schema.json +21 -0
  120. package/schemas/publication.schema.json +22 -0
  121. package/schemas/theme-contract.schema.json +25 -3
  122. package/site-policy-defaults.json +10 -0
  123. package/src/internal/schema-validator.js +3 -0
@@ -30,6 +30,17 @@
30
30
  "instance": "",
31
31
  "expectedCodes": ["SCHEMA_PATTERN_INVALID"]
32
32
  },
33
+ {
34
+ "caseId": "build-input-invalid-59dd5beadda1dd0c",
35
+ "coveredRuleIds": [
36
+ "build-input:#/$defs/analyticsConfig/properties/provider/properties/measurementId:pattern"
37
+ ],
38
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
39
+ "schemaPointer": "#/$defs/analyticsConfig/properties/provider/properties/measurementId",
40
+ "keyword": "pattern",
41
+ "instance": "",
42
+ "expectedCodes": ["SCHEMA_PATTERN_INVALID"]
43
+ },
33
44
  {
34
45
  "caseId": "build-input-invalid-66e02d6bb349c217",
35
46
  "coveredRuleIds": [
@@ -309,6 +309,17 @@
309
309
  "instance": { "displayName": "fixture-1", "biography": "fixture-1" },
310
310
  "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
311
311
  },
312
+ {
313
+ "caseId": "build-input-invalid-08e6b28500d442c7",
314
+ "coveredRuleIds": [
315
+ "build-input:#/$defs/analyticsConfig/properties/consent:required:policy"
316
+ ],
317
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
318
+ "schemaPointer": "#/$defs/analyticsConfig/properties/consent",
319
+ "keyword": "required",
320
+ "instance": {},
321
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
322
+ },
312
323
  {
313
324
  "caseId": "build-input-invalid-095dcc1a39560cdc",
314
325
  "coveredRuleIds": ["build-input:#:required:packages"],
@@ -866,6 +877,31 @@
866
877
  "instance": {},
867
878
  "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
868
879
  },
880
+ {
881
+ "caseId": "build-input-invalid-1073f4273fa5ccb3",
882
+ "coveredRuleIds": ["build-input:#/$defs/policiesNormalized:required:terms"],
883
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
884
+ "schemaPointer": "#/$defs/policiesNormalized",
885
+ "keyword": "required",
886
+ "instance": {
887
+ "privacy": {
888
+ "title": "fixture-1",
889
+ "body": {
890
+ "sourcePath": "content/fixture-1.md",
891
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
892
+ "bodyMediaType": "text/html",
893
+ "body": "fixture-1",
894
+ "bodyDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
895
+ "renderPolicy": {
896
+ "name": "gala-render-policy",
897
+ "version": "2.0.0",
898
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
899
+ }
900
+ }
901
+ }
902
+ },
903
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
904
+ },
869
905
  {
870
906
  "caseId": "build-input-invalid-12154ab45191bd98",
871
907
  "coveredRuleIds": ["build-input:#/$defs/reactionDefinition:required:label"],
@@ -1100,6 +1136,22 @@
1100
1136
  },
1101
1137
  "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
1102
1138
  },
1139
+ {
1140
+ "caseId": "build-input-invalid-2038ee64d3d3739a",
1141
+ "coveredRuleIds": ["build-input:#/$defs/analyticsConfig:required:schemaId"],
1142
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
1143
+ "schemaPointer": "#/$defs/analyticsConfig",
1144
+ "keyword": "required",
1145
+ "instance": {
1146
+ "schemaVersion": "2.0.0",
1147
+ "provider": {
1148
+ "kind": "google-analytics-4",
1149
+ "measurementId": "G-ABC123XYZ"
1150
+ },
1151
+ "consent": { "policy": "opt-in" }
1152
+ },
1153
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
1154
+ },
1103
1155
  {
1104
1156
  "caseId": "build-input-invalid-2054f9da3ecec9f1",
1105
1157
  "coveredRuleIds": ["build-input:#/$defs/colorMode:required:default"],
@@ -1144,6 +1196,33 @@
1144
1196
  },
1145
1197
  "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
1146
1198
  },
1199
+ {
1200
+ "caseId": "build-input-invalid-22c47dad4e7d85ef",
1201
+ "coveredRuleIds": [
1202
+ "build-input:#/$defs/policiesNormalized:required:privacy"
1203
+ ],
1204
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
1205
+ "schemaPointer": "#/$defs/policiesNormalized",
1206
+ "keyword": "required",
1207
+ "instance": {
1208
+ "terms": {
1209
+ "title": "fixture-1",
1210
+ "body": {
1211
+ "sourcePath": "content/fixture-1.md",
1212
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
1213
+ "bodyMediaType": "text/html",
1214
+ "body": "fixture-1",
1215
+ "bodyDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
1216
+ "renderPolicy": {
1217
+ "name": "gala-render-policy",
1218
+ "version": "2.0.0",
1219
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
1220
+ }
1221
+ }
1222
+ }
1223
+ },
1224
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
1225
+ },
1147
1226
  {
1148
1227
  "caseId": "build-input-invalid-232278b0985a08cc",
1149
1228
  "coveredRuleIds": [
@@ -1715,6 +1794,30 @@
1715
1794
  },
1716
1795
  "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
1717
1796
  },
1797
+ {
1798
+ "caseId": "build-input-invalid-4ee40f640b6bef4c",
1799
+ "coveredRuleIds": [
1800
+ "build-input:#/$defs/policyPageNormalized:required:title"
1801
+ ],
1802
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
1803
+ "schemaPointer": "#/$defs/policyPageNormalized",
1804
+ "keyword": "required",
1805
+ "instance": {
1806
+ "body": {
1807
+ "sourcePath": "content/fixture-1.md",
1808
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
1809
+ "bodyMediaType": "text/html",
1810
+ "body": "fixture-1",
1811
+ "bodyDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
1812
+ "renderPolicy": {
1813
+ "name": "gala-render-policy",
1814
+ "version": "2.0.0",
1815
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
1816
+ }
1817
+ }
1818
+ },
1819
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
1820
+ },
1718
1821
  {
1719
1822
  "caseId": "build-input-invalid-50e9fcfccb5a9195",
1720
1823
  "coveredRuleIds": [
@@ -2007,6 +2110,19 @@
2007
2110
  },
2008
2111
  "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
2009
2112
  },
2113
+ {
2114
+ "caseId": "build-input-invalid-562e64ae01b54bad",
2115
+ "coveredRuleIds": ["build-input:#/$defs/analyticsConfig:required:provider"],
2116
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
2117
+ "schemaPointer": "#/$defs/analyticsConfig",
2118
+ "keyword": "required",
2119
+ "instance": {
2120
+ "schemaId": "urn:gala:schema:analytics-config:2.0.0",
2121
+ "schemaVersion": "2.0.0",
2122
+ "consent": { "policy": "opt-in" }
2123
+ },
2124
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
2125
+ },
2010
2126
  {
2011
2127
  "caseId": "build-input-invalid-56f1d3b28b5e256d",
2012
2128
  "coveredRuleIds": [
@@ -2435,6 +2551,17 @@
2435
2551
  },
2436
2552
  "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
2437
2553
  },
2554
+ {
2555
+ "caseId": "build-input-invalid-69d71e88cbd256d0",
2556
+ "coveredRuleIds": [
2557
+ "build-input:#/$defs/analyticsConfig/properties/provider:required:kind"
2558
+ ],
2559
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
2560
+ "schemaPointer": "#/$defs/analyticsConfig/properties/provider",
2561
+ "keyword": "required",
2562
+ "instance": { "measurementId": "G-ABC123XYZ" },
2563
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
2564
+ },
2438
2565
  {
2439
2566
  "caseId": "build-input-invalid-6a5a89beb514de09",
2440
2567
  "coveredRuleIds": [
@@ -3276,6 +3403,17 @@
3276
3403
  },
3277
3404
  "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
3278
3405
  },
3406
+ {
3407
+ "caseId": "build-input-invalid-7e8026035d3f376a",
3408
+ "coveredRuleIds": [
3409
+ "build-input:#/$defs/moduleBuildSelection/properties/analytics:required:config"
3410
+ ],
3411
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
3412
+ "schemaPointer": "#/$defs/moduleBuildSelection/properties/analytics",
3413
+ "keyword": "required",
3414
+ "instance": {},
3415
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
3416
+ },
3279
3417
  {
3280
3418
  "caseId": "build-input-invalid-7ef10b57f3901e1f",
3281
3419
  "coveredRuleIds": [
@@ -3450,6 +3588,22 @@
3450
3588
  },
3451
3589
  "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
3452
3590
  },
3591
+ {
3592
+ "caseId": "build-input-invalid-874fb62759c4d884",
3593
+ "coveredRuleIds": ["build-input:#/$defs/analyticsConfig:required:consent"],
3594
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
3595
+ "schemaPointer": "#/$defs/analyticsConfig",
3596
+ "keyword": "required",
3597
+ "instance": {
3598
+ "schemaId": "urn:gala:schema:analytics-config:2.0.0",
3599
+ "schemaVersion": "2.0.0",
3600
+ "provider": {
3601
+ "kind": "google-analytics-4",
3602
+ "measurementId": "G-ABC123XYZ"
3603
+ }
3604
+ },
3605
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
3606
+ },
3453
3607
  {
3454
3608
  "caseId": "build-input-invalid-880420ad27806f01",
3455
3609
  "coveredRuleIds": [
@@ -3944,6 +4098,17 @@
3944
4098
  },
3945
4099
  "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
3946
4100
  },
4101
+ {
4102
+ "caseId": "build-input-invalid-8c9994177d57da40",
4103
+ "coveredRuleIds": [
4104
+ "build-input:#/$defs/policyPageNormalized:required:body"
4105
+ ],
4106
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
4107
+ "schemaPointer": "#/$defs/policyPageNormalized",
4108
+ "keyword": "required",
4109
+ "instance": { "title": "fixture-1" },
4110
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
4111
+ },
3947
4112
  {
3948
4113
  "caseId": "build-input-invalid-957df134cb1cbbcd",
3949
4114
  "coveredRuleIds": [
@@ -5440,6 +5605,17 @@
5440
5605
  },
5441
5606
  "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
5442
5607
  },
5608
+ {
5609
+ "caseId": "build-input-invalid-da6219eecfc78c76",
5610
+ "coveredRuleIds": [
5611
+ "build-input:#/$defs/analyticsConfig/properties/provider:required:measurementId"
5612
+ ],
5613
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
5614
+ "schemaPointer": "#/$defs/analyticsConfig/properties/provider",
5615
+ "keyword": "required",
5616
+ "instance": { "kind": "google-analytics-4" },
5617
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
5618
+ },
5443
5619
  {
5444
5620
  "caseId": "build-input-invalid-dc3b66073ce28d40",
5445
5621
  "coveredRuleIds": [
@@ -6647,6 +6823,24 @@
6647
6823
  },
6648
6824
  "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
6649
6825
  },
6826
+ {
6827
+ "caseId": "build-input-invalid-fc173e7a690fc07c",
6828
+ "coveredRuleIds": [
6829
+ "build-input:#/$defs/analyticsConfig:required:schemaVersion"
6830
+ ],
6831
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
6832
+ "schemaPointer": "#/$defs/analyticsConfig",
6833
+ "keyword": "required",
6834
+ "instance": {
6835
+ "schemaId": "urn:gala:schema:analytics-config:2.0.0",
6836
+ "provider": {
6837
+ "kind": "google-analytics-4",
6838
+ "measurementId": "G-ABC123XYZ"
6839
+ },
6840
+ "consent": { "policy": "opt-in" }
6841
+ },
6842
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
6843
+ },
6650
6844
  {
6651
6845
  "caseId": "build-input-invalid-fc74590ff8951c1d",
6652
6846
  "coveredRuleIds": [
@@ -17,6 +17,17 @@
17
17
  "instance": [],
18
18
  "expectedCodes": ["SCHEMA_TYPE_INVALID"]
19
19
  },
20
+ {
21
+ "caseId": "build-input-invalid-03d89565443743b6",
22
+ "coveredRuleIds": [
23
+ "build-input:#/$defs/moduleBuildSelection/properties/analytics:type"
24
+ ],
25
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
26
+ "schemaPointer": "#/$defs/moduleBuildSelection/properties/analytics",
27
+ "keyword": "type",
28
+ "instance": [],
29
+ "expectedCodes": ["SCHEMA_TYPE_INVALID"]
30
+ },
20
31
  {
21
32
  "caseId": "build-input-invalid-04a88c9c504ff0c6",
22
33
  "coveredRuleIds": ["build-input:#/$defs/navigationNormalized:type"],
@@ -68,6 +79,17 @@
68
79
  "instance": [],
69
80
  "expectedCodes": ["SCHEMA_TYPE_INVALID"]
70
81
  },
82
+ {
83
+ "caseId": "build-input-invalid-0f751c60fae4c80e",
84
+ "coveredRuleIds": [
85
+ "build-input:#/$defs/analyticsConfig/properties/consent:type"
86
+ ],
87
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
88
+ "schemaPointer": "#/$defs/analyticsConfig/properties/consent",
89
+ "keyword": "type",
90
+ "instance": [],
91
+ "expectedCodes": ["SCHEMA_TYPE_INVALID"]
92
+ },
71
93
  {
72
94
  "caseId": "build-input-invalid-1052586a3a7fc768",
73
95
  "coveredRuleIds": ["build-input:#/$defs/authorNormalized:type"],
@@ -332,6 +354,17 @@
332
354
  "instance": null,
333
355
  "expectedCodes": ["SCHEMA_TYPE_INVALID"]
334
356
  },
357
+ {
358
+ "caseId": "build-input-invalid-4d260261997eebb6",
359
+ "coveredRuleIds": [
360
+ "build-input:#/$defs/analyticsConfig/properties/provider:type"
361
+ ],
362
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
363
+ "schemaPointer": "#/$defs/analyticsConfig/properties/provider",
364
+ "keyword": "type",
365
+ "instance": [],
366
+ "expectedCodes": ["SCHEMA_TYPE_INVALID"]
367
+ },
335
368
  {
336
369
  "caseId": "build-input-invalid-5160c43a9ce03f79",
337
370
  "coveredRuleIds": ["build-input:#/$defs/renderableBody:type"],
@@ -350,6 +383,15 @@
350
383
  "instance": [],
351
384
  "expectedCodes": ["SCHEMA_TYPE_INVALID"]
352
385
  },
386
+ {
387
+ "caseId": "build-input-invalid-538f9872c2b8de83",
388
+ "coveredRuleIds": ["build-input:#/$defs/policyPageNormalized:type"],
389
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
390
+ "schemaPointer": "#/$defs/policyPageNormalized",
391
+ "keyword": "type",
392
+ "instance": [],
393
+ "expectedCodes": ["SCHEMA_TYPE_INVALID"]
394
+ },
353
395
  {
354
396
  "caseId": "build-input-invalid-567b5de30ad1d624",
355
397
  "coveredRuleIds": [
@@ -445,6 +487,17 @@
445
487
  "instance": [],
446
488
  "expectedCodes": ["SCHEMA_TYPE_INVALID"]
447
489
  },
490
+ {
491
+ "caseId": "build-input-invalid-6f9cc67e5879f2e1",
492
+ "coveredRuleIds": [
493
+ "build-input:#/$defs/analyticsConfig/properties/provider/properties/measurementId:type"
494
+ ],
495
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
496
+ "schemaPointer": "#/$defs/analyticsConfig/properties/provider/properties/measurementId",
497
+ "keyword": "type",
498
+ "instance": null,
499
+ "expectedCodes": ["SCHEMA_TYPE_INVALID"]
500
+ },
448
501
  {
449
502
  "caseId": "build-input-invalid-720b8e232a304d5a",
450
503
  "coveredRuleIds": ["build-input:#/$defs/navigationLeaf:type"],
@@ -731,6 +784,15 @@
731
784
  "instance": [],
732
785
  "expectedCodes": ["SCHEMA_TYPE_INVALID"]
733
786
  },
787
+ {
788
+ "caseId": "build-input-invalid-bba78422b313de1b",
789
+ "coveredRuleIds": ["build-input:#/$defs/analyticsConfig:type"],
790
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
791
+ "schemaPointer": "#/$defs/analyticsConfig",
792
+ "keyword": "type",
793
+ "instance": [],
794
+ "expectedCodes": ["SCHEMA_TYPE_INVALID"]
795
+ },
734
796
  {
735
797
  "caseId": "build-input-invalid-bba7fe0769d9a598",
736
798
  "coveredRuleIds": [
@@ -957,6 +1019,15 @@
957
1019
  "instance": null,
958
1020
  "expectedCodes": ["SCHEMA_TYPE_INVALID"]
959
1021
  },
1022
+ {
1023
+ "caseId": "build-input-invalid-f0ce153e71ff1eda",
1024
+ "coveredRuleIds": ["build-input:#/$defs/policiesNormalized:type"],
1025
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
1026
+ "schemaPointer": "#/$defs/policiesNormalized",
1027
+ "keyword": "type",
1028
+ "instance": [],
1029
+ "expectedCodes": ["SCHEMA_TYPE_INVALID"]
1030
+ },
960
1031
  {
961
1032
  "caseId": "build-input-invalid-f403b6728a0bb1b1",
962
1033
  "coveredRuleIds": ["build-input:#/$defs/reactionVisual:type"],
@@ -30,6 +30,28 @@
30
30
  "instance": "urn:gala:schema:interactions-config:2.0.0-invalid",
31
31
  "expectedCodes": ["SCHEMA_VERSION_UNSUPPORTED"]
32
32
  },
33
+ {
34
+ "caseId": "build-input-invalid-506f362067a173b3",
35
+ "coveredRuleIds": [
36
+ "build-input:#/$defs/analyticsConfig/properties/schemaId:const"
37
+ ],
38
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
39
+ "schemaPointer": "#/$defs/analyticsConfig/properties/schemaId",
40
+ "keyword": "const",
41
+ "instance": "urn:gala:schema:analytics-config:2.0.0-invalid",
42
+ "expectedCodes": ["SCHEMA_VERSION_UNSUPPORTED"]
43
+ },
44
+ {
45
+ "caseId": "build-input-invalid-7402a108633ed830",
46
+ "coveredRuleIds": [
47
+ "build-input:#/$defs/analyticsConfig/properties/schemaVersion:const"
48
+ ],
49
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
50
+ "schemaPointer": "#/$defs/analyticsConfig/properties/schemaVersion",
51
+ "keyword": "const",
52
+ "instance": "2.0.0-invalid",
53
+ "expectedCodes": ["SCHEMA_VERSION_UNSUPPORTED"]
54
+ },
33
55
  {
34
56
  "caseId": "build-input-invalid-acda3b0178323995",
35
57
  "coveredRuleIds": ["build-input:#/properties/schemaId:const"],
@@ -68,6 +68,17 @@
68
68
  "instance": "",
69
69
  "expectedCodes": ["SCHEMA_PATTERN_INVALID"]
70
70
  },
71
+ {
72
+ "caseId": "deployment-intent-invalid-7fc7770caca98dff",
73
+ "coveredRuleIds": [
74
+ "deployment-intent:#/$defs/destinationIdentity/properties/verificationBaseUrl:pattern"
75
+ ],
76
+ "schemaId": "urn:gala:schema:deployment-intent:2.0.0",
77
+ "schemaPointer": "#/$defs/destinationIdentity/properties/verificationBaseUrl",
78
+ "keyword": "pattern",
79
+ "instance": "",
80
+ "expectedCodes": ["SCHEMA_PATTERN_INVALID"]
81
+ },
71
82
  {
72
83
  "caseId": "deployment-intent-invalid-88d35214044dc965",
73
84
  "coveredRuleIds": [
@@ -8,6 +8,17 @@
8
8
  "recipe": { "kind": "repeat-string", "value": "a", "count": 64 },
9
9
  "expectedCodes": ["SCHEMA_STRING_TOO_LONG"]
10
10
  },
11
+ {
12
+ "caseId": "deployment-intent-invalid-0ee01d55f214c985",
13
+ "coveredRuleIds": [
14
+ "deployment-intent:#/$defs/destinationIdentity/properties/verificationBaseUrl:maxLength"
15
+ ],
16
+ "schemaId": "urn:gala:schema:deployment-intent:2.0.0",
17
+ "schemaPointer": "#/$defs/destinationIdentity/properties/verificationBaseUrl",
18
+ "keyword": "maxLength",
19
+ "recipe": { "kind": "repeat-string", "value": "a", "count": 2049 },
20
+ "expectedCodes": ["SCHEMA_STRING_TOO_LONG"]
21
+ },
11
22
  {
12
23
  "caseId": "deployment-intent-invalid-2581f62ed5f86298",
13
24
  "coveredRuleIds": [
@@ -21,6 +21,17 @@
21
21
  "recipe": { "kind": "repeat-string", "value": "a", "count": 513 },
22
22
  "expectedCodes": ["UTF8_BYTE_LENGTH_INVALID"]
23
23
  },
24
+ {
25
+ "caseId": "deployment-intent-invalid-79c6046eb032421d",
26
+ "coveredRuleIds": [
27
+ "deployment-intent:#/$defs/destinationIdentity/properties/verificationBaseUrl:x-gala-utf8ByteLength"
28
+ ],
29
+ "schemaId": "urn:gala:schema:deployment-intent:2.0.0",
30
+ "schemaPointer": "#/$defs/destinationIdentity/properties/verificationBaseUrl",
31
+ "keyword": "x-gala-utf8ByteLength",
32
+ "recipe": { "kind": "repeat-string", "value": "a", "count": 2049 },
33
+ "expectedCodes": ["UTF8_BYTE_LENGTH_INVALID"]
34
+ },
24
35
  {
25
36
  "caseId": "deployment-intent-invalid-8729532f06b2641f",
26
37
  "coveredRuleIds": [
@@ -10,6 +10,17 @@
10
10
  "instance": "",
11
11
  "expectedCodes": ["SCHEMA_PATTERN_INVALID"]
12
12
  },
13
+ {
14
+ "caseId": "deployment-observation-invalid-2752ace48b4c4149",
15
+ "coveredRuleIds": [
16
+ "deployment-observation:#/$defs/destinationIdentity/properties/verificationBaseUrl:pattern"
17
+ ],
18
+ "schemaId": "urn:gala:schema:deployment-observation:2.0.0",
19
+ "schemaPointer": "#/$defs/destinationIdentity/properties/verificationBaseUrl",
20
+ "keyword": "pattern",
21
+ "instance": "",
22
+ "expectedCodes": ["SCHEMA_PATTERN_INVALID"]
23
+ },
13
24
  {
14
25
  "caseId": "deployment-observation-invalid-38d1703086368212",
15
26
  "coveredRuleIds": ["deployment-observation:#/$defs/positiveInt64:pattern"],
@@ -52,6 +52,17 @@
52
52
  "recipe": { "kind": "repeat-string", "value": "a", "count": 20 },
53
53
  "expectedCodes": ["SCHEMA_STRING_TOO_LONG"]
54
54
  },
55
+ {
56
+ "caseId": "deployment-observation-invalid-9b8ed4ea85ab37fb",
57
+ "coveredRuleIds": [
58
+ "deployment-observation:#/$defs/destinationIdentity/properties/verificationBaseUrl:maxLength"
59
+ ],
60
+ "schemaId": "urn:gala:schema:deployment-observation:2.0.0",
61
+ "schemaPointer": "#/$defs/destinationIdentity/properties/verificationBaseUrl",
62
+ "keyword": "maxLength",
63
+ "recipe": { "kind": "repeat-string", "value": "a", "count": 2049 },
64
+ "expectedCodes": ["SCHEMA_STRING_TOO_LONG"]
65
+ },
55
66
  {
56
67
  "caseId": "deployment-observation-invalid-a0656754a0193b3b",
57
68
  "coveredRuleIds": [
@@ -54,6 +54,17 @@
54
54
  "recipe": { "kind": "repeat-string", "value": "a", "count": 2049 },
55
55
  "expectedCodes": ["UTF8_BYTE_LENGTH_INVALID"]
56
56
  },
57
+ {
58
+ "caseId": "deployment-observation-invalid-9e6cb91335fa8158",
59
+ "coveredRuleIds": [
60
+ "deployment-observation:#/$defs/destinationIdentity/properties/verificationBaseUrl:x-gala-utf8ByteLength"
61
+ ],
62
+ "schemaId": "urn:gala:schema:deployment-observation:2.0.0",
63
+ "schemaPointer": "#/$defs/destinationIdentity/properties/verificationBaseUrl",
64
+ "keyword": "x-gala-utf8ByteLength",
65
+ "recipe": { "kind": "repeat-string", "value": "a", "count": 2049 },
66
+ "expectedCodes": ["UTF8_BYTE_LENGTH_INVALID"]
67
+ },
57
68
  {
58
69
  "caseId": "deployment-observation-invalid-a381dc9396e8466e",
59
70
  "coveredRuleIds": [
@@ -35,6 +35,17 @@
35
35
  "instance": "",
36
36
  "expectedCodes": ["SCHEMA_PATTERN_INVALID"]
37
37
  },
38
+ {
39
+ "caseId": "deployment-receipt-invalid-20cf5220558948c2",
40
+ "coveredRuleIds": [
41
+ "deployment-receipt:#/$defs/destinationIdentity/properties/verificationBaseUrl:pattern"
42
+ ],
43
+ "schemaId": "urn:gala:schema:deployment-receipt:2.0.0",
44
+ "schemaPointer": "#/$defs/destinationIdentity/properties/verificationBaseUrl",
45
+ "keyword": "pattern",
46
+ "instance": "",
47
+ "expectedCodes": ["SCHEMA_PATTERN_INVALID"]
48
+ },
38
49
  {
39
50
  "caseId": "deployment-receipt-invalid-246e5b98b4e26ff5",
40
51
  "coveredRuleIds": [
@@ -41,6 +41,17 @@
41
41
  "recipe": { "kind": "repeat-string", "value": "a", "count": 215 },
42
42
  "expectedCodes": ["SCHEMA_STRING_TOO_LONG"]
43
43
  },
44
+ {
45
+ "caseId": "deployment-receipt-invalid-531be9a4505208ef",
46
+ "coveredRuleIds": [
47
+ "deployment-receipt:#/$defs/destinationIdentity/properties/verificationBaseUrl:maxLength"
48
+ ],
49
+ "schemaId": "urn:gala:schema:deployment-receipt:2.0.0",
50
+ "schemaPointer": "#/$defs/destinationIdentity/properties/verificationBaseUrl",
51
+ "keyword": "maxLength",
52
+ "recipe": { "kind": "repeat-string", "value": "a", "count": 2049 },
53
+ "expectedCodes": ["SCHEMA_STRING_TOO_LONG"]
54
+ },
44
55
  {
45
56
  "caseId": "deployment-receipt-invalid-53f32f2ff7acbc21",
46
57
  "coveredRuleIds": ["deployment-receipt:#/$defs/verificationUrl:maxLength"],
@@ -75,5 +75,16 @@
75
75
  "keyword": "x-gala-utf8ByteLength",
76
76
  "recipe": { "kind": "repeat-string", "value": "a", "count": 2049 },
77
77
  "expectedCodes": ["UTF8_BYTE_LENGTH_INVALID"]
78
+ },
79
+ {
80
+ "caseId": "deployment-receipt-invalid-9361a8a7ca8a1b1b",
81
+ "coveredRuleIds": [
82
+ "deployment-receipt:#/$defs/destinationIdentity/properties/verificationBaseUrl:x-gala-utf8ByteLength"
83
+ ],
84
+ "schemaId": "urn:gala:schema:deployment-receipt:2.0.0",
85
+ "schemaPointer": "#/$defs/destinationIdentity/properties/verificationBaseUrl",
86
+ "keyword": "x-gala-utf8ByteLength",
87
+ "recipe": { "kind": "repeat-string", "value": "a", "count": 2049 },
88
+ "expectedCodes": ["UTF8_BYTE_LENGTH_INVALID"]
78
89
  }
79
90
  ]
@@ -16,5 +16,14 @@
16
16
  "keyword": "x-gala-graphemeLength",
17
17
  "recipe": { "kind": "repeat-string", "value": "a", "count": 501 },
18
18
  "expectedCodes": ["GRAPHEME_LENGTH_INVALID"]
19
+ },
20
+ {
21
+ "caseId": "problem-invalid-e6cf0e13316aced5",
22
+ "coveredRuleIds": ["problem:#/properties/remedy:x-gala-graphemeLength"],
23
+ "schemaId": "urn:gala:schema:problem:2.0.0",
24
+ "schemaPointer": "#/properties/remedy",
25
+ "keyword": "x-gala-graphemeLength",
26
+ "recipe": { "kind": "repeat-string", "value": "a", "count": 501 },
27
+ "expectedCodes": ["GRAPHEME_LENGTH_INVALID"]
19
28
  }
20
29
  ]
@@ -10,6 +10,33 @@
10
10
  "recipe": { "kind": "repeat-string", "value": "a", "count": 513 },
11
11
  "expectedCodes": ["SCHEMA_STRING_TOO_LONG"]
12
12
  },
13
+ {
14
+ "caseId": "problem-invalid-3c0ebad3a61a7589",
15
+ "coveredRuleIds": ["problem:#/properties/profileBase:maxLength"],
16
+ "schemaId": "urn:gala:schema:problem:2.0.0",
17
+ "schemaPointer": "#/properties/profileBase",
18
+ "keyword": "maxLength",
19
+ "recipe": { "kind": "repeat-string", "value": "a", "count": 2049 },
20
+ "expectedCodes": ["SCHEMA_STRING_TOO_LONG"]
21
+ },
22
+ {
23
+ "caseId": "problem-invalid-5a364e171f6cb6a1",
24
+ "coveredRuleIds": ["problem:#/properties/expectedBase:maxLength"],
25
+ "schemaId": "urn:gala:schema:problem:2.0.0",
26
+ "schemaPointer": "#/properties/expectedBase",
27
+ "keyword": "maxLength",
28
+ "recipe": { "kind": "repeat-string", "value": "a", "count": 2049 },
29
+ "expectedCodes": ["SCHEMA_STRING_TOO_LONG"]
30
+ },
31
+ {
32
+ "caseId": "problem-invalid-d856580c1bf20c65",
33
+ "coveredRuleIds": ["problem:#/properties/domainState:maxLength"],
34
+ "schemaId": "urn:gala:schema:problem:2.0.0",
35
+ "schemaPointer": "#/properties/domainState",
36
+ "keyword": "maxLength",
37
+ "recipe": { "kind": "repeat-string", "value": "a", "count": 81 },
38
+ "expectedCodes": ["SCHEMA_STRING_TOO_LONG"]
39
+ },
13
40
  {
14
41
  "caseId": "problem-invalid-fbd1092416e2570b",
15
42
  "coveredRuleIds": [