@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
@@ -343,6 +343,57 @@
343
343
  },
344
344
  "expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
345
345
  },
346
+ {
347
+ "caseId": "build-input-unknown-2aefdd49d58caf31",
348
+ "coveredRuleIds": [
349
+ "build-input:#/$defs/analyticsConfig/properties/provider/properties/kind:enum",
350
+ "build-input:#/$defs/analyticsConfig/properties/provider/properties/measurementId:pattern",
351
+ "build-input:#/$defs/analyticsConfig/properties/provider/properties/measurementId:type",
352
+ "build-input:#/$defs/analyticsConfig/properties/provider:additionalProperties",
353
+ "build-input:#/$defs/analyticsConfig/properties/provider:required:kind",
354
+ "build-input:#/$defs/analyticsConfig/properties/provider:required:measurementId",
355
+ "build-input:#/$defs/analyticsConfig/properties/provider:type"
356
+ ],
357
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
358
+ "schemaPointer": "#/$defs/analyticsConfig/properties/provider",
359
+ "keyword": "additionalProperties",
360
+ "instance": {
361
+ "kind": "google-analytics-4",
362
+ "measurementId": "G-ABC123XYZ",
363
+ "unexpected": true
364
+ },
365
+ "expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
366
+ },
367
+ {
368
+ "caseId": "build-input-unknown-2e379eb7871bd65b",
369
+ "coveredRuleIds": [
370
+ "build-input:#/$defs/policyPageNormalized/properties/title:x-gala-graphemeLength",
371
+ "build-input:#/$defs/policyPageNormalized:additionalProperties",
372
+ "build-input:#/$defs/policyPageNormalized:required:body",
373
+ "build-input:#/$defs/policyPageNormalized:required:title",
374
+ "build-input:#/$defs/policyPageNormalized:type"
375
+ ],
376
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
377
+ "schemaPointer": "#/$defs/policyPageNormalized",
378
+ "keyword": "additionalProperties",
379
+ "instance": {
380
+ "title": "fixture-1",
381
+ "body": {
382
+ "sourcePath": "content/fixture-1.md",
383
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
384
+ "bodyMediaType": "text/html",
385
+ "body": "fixture-1",
386
+ "bodyDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
387
+ "renderPolicy": {
388
+ "name": "gala-render-policy",
389
+ "version": "2.0.0",
390
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
391
+ }
392
+ },
393
+ "unexpected": true
394
+ },
395
+ "expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
396
+ },
346
397
  {
347
398
  "caseId": "build-input-unknown-2ed430983d83c4f7",
348
399
  "coveredRuleIds": [
@@ -808,6 +859,20 @@
808
859
  },
809
860
  "expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
810
861
  },
862
+ {
863
+ "caseId": "build-input-unknown-3bd134ad8db0c3fa",
864
+ "coveredRuleIds": [
865
+ "build-input:#/$defs/analyticsConfig/properties/consent/properties/policy:enum",
866
+ "build-input:#/$defs/analyticsConfig/properties/consent:additionalProperties",
867
+ "build-input:#/$defs/analyticsConfig/properties/consent:required:policy",
868
+ "build-input:#/$defs/analyticsConfig/properties/consent:type"
869
+ ],
870
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
871
+ "schemaPointer": "#/$defs/analyticsConfig/properties/consent",
872
+ "keyword": "additionalProperties",
873
+ "instance": { "policy": "opt-in", "unexpected": true },
874
+ "expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
875
+ },
811
876
  {
812
877
  "caseId": "build-input-unknown-3e63676d6a733634",
813
878
  "coveredRuleIds": [
@@ -1092,6 +1157,30 @@
1092
1157
  },
1093
1158
  "expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
1094
1159
  },
1160
+ {
1161
+ "caseId": "build-input-unknown-94808b2b0fef174e",
1162
+ "coveredRuleIds": [
1163
+ "build-input:#/$defs/moduleBuildSelection/properties/analytics:additionalProperties",
1164
+ "build-input:#/$defs/moduleBuildSelection/properties/analytics:required:config",
1165
+ "build-input:#/$defs/moduleBuildSelection/properties/analytics:type"
1166
+ ],
1167
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
1168
+ "schemaPointer": "#/$defs/moduleBuildSelection/properties/analytics",
1169
+ "keyword": "additionalProperties",
1170
+ "instance": {
1171
+ "config": {
1172
+ "schemaId": "urn:gala:schema:analytics-config:2.0.0",
1173
+ "schemaVersion": "2.0.0",
1174
+ "provider": {
1175
+ "kind": "google-analytics-4",
1176
+ "measurementId": "G-ABC123XYZ"
1177
+ },
1178
+ "consent": { "policy": "opt-in" }
1179
+ },
1180
+ "unexpected": true
1181
+ },
1182
+ "expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
1183
+ },
1095
1184
  {
1096
1185
  "caseId": "build-input-unknown-9c1128252c60c49e",
1097
1186
  "coveredRuleIds": [
@@ -1157,6 +1246,33 @@
1157
1246
  },
1158
1247
  "expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
1159
1248
  },
1249
+ {
1250
+ "caseId": "build-input-unknown-a1c201ba46d34950",
1251
+ "coveredRuleIds": [
1252
+ "build-input:#/$defs/analyticsConfig/properties/schemaId:const",
1253
+ "build-input:#/$defs/analyticsConfig/properties/schemaVersion:const",
1254
+ "build-input:#/$defs/analyticsConfig:additionalProperties",
1255
+ "build-input:#/$defs/analyticsConfig:required:consent",
1256
+ "build-input:#/$defs/analyticsConfig:required:provider",
1257
+ "build-input:#/$defs/analyticsConfig:required:schemaId",
1258
+ "build-input:#/$defs/analyticsConfig:required:schemaVersion",
1259
+ "build-input:#/$defs/analyticsConfig:type"
1260
+ ],
1261
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
1262
+ "schemaPointer": "#/$defs/analyticsConfig",
1263
+ "keyword": "additionalProperties",
1264
+ "instance": {
1265
+ "schemaId": "urn:gala:schema:analytics-config:2.0.0",
1266
+ "schemaVersion": "2.0.0",
1267
+ "provider": {
1268
+ "kind": "google-analytics-4",
1269
+ "measurementId": "G-ABC123XYZ"
1270
+ },
1271
+ "consent": { "policy": "opt-in" },
1272
+ "unexpected": true
1273
+ },
1274
+ "expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
1275
+ },
1160
1276
  {
1161
1277
  "caseId": "build-input-unknown-aa780f7f611f7ee7",
1162
1278
  "coveredRuleIds": [
@@ -1203,6 +1319,52 @@
1203
1319
  "instance": { "unexpected": true },
1204
1320
  "expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
1205
1321
  },
1322
+ {
1323
+ "caseId": "build-input-unknown-c2f74da10bf8c061",
1324
+ "coveredRuleIds": [
1325
+ "build-input:#/$defs/policiesNormalized:additionalProperties",
1326
+ "build-input:#/$defs/policiesNormalized:required:privacy",
1327
+ "build-input:#/$defs/policiesNormalized:required:terms",
1328
+ "build-input:#/$defs/policiesNormalized:type"
1329
+ ],
1330
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
1331
+ "schemaPointer": "#/$defs/policiesNormalized",
1332
+ "keyword": "additionalProperties",
1333
+ "instance": {
1334
+ "terms": {
1335
+ "title": "fixture-1",
1336
+ "body": {
1337
+ "sourcePath": "content/fixture-1.md",
1338
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
1339
+ "bodyMediaType": "text/html",
1340
+ "body": "fixture-1",
1341
+ "bodyDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
1342
+ "renderPolicy": {
1343
+ "name": "gala-render-policy",
1344
+ "version": "2.0.0",
1345
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
1346
+ }
1347
+ }
1348
+ },
1349
+ "privacy": {
1350
+ "title": "fixture-1",
1351
+ "body": {
1352
+ "sourcePath": "content/fixture-1.md",
1353
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
1354
+ "bodyMediaType": "text/html",
1355
+ "body": "fixture-1",
1356
+ "bodyDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
1357
+ "renderPolicy": {
1358
+ "name": "gala-render-policy",
1359
+ "version": "2.0.0",
1360
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
1361
+ }
1362
+ }
1363
+ },
1364
+ "unexpected": true
1365
+ },
1366
+ "expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
1367
+ },
1206
1368
  {
1207
1369
  "caseId": "build-input-unknown-d6e7a44b5f2c0f27",
1208
1370
  "coveredRuleIds": [
@@ -34,6 +34,9 @@
34
34
  "deployment-intent:#/$defs/destinationIdentity/properties/baseUrl:x-gala-utf8ByteLength",
35
35
  "deployment-intent:#/$defs/destinationIdentity/properties/environment:enum",
36
36
  "deployment-intent:#/$defs/destinationIdentity/properties/environment:type",
37
+ "deployment-intent:#/$defs/destinationIdentity/properties/verificationBaseUrl:maxLength",
38
+ "deployment-intent:#/$defs/destinationIdentity/properties/verificationBaseUrl:pattern",
39
+ "deployment-intent:#/$defs/destinationIdentity/properties/verificationBaseUrl:x-gala-utf8ByteLength",
37
40
  "deployment-intent:#/$defs/destinationIdentity:additionalProperties",
38
41
  "deployment-intent:#/$defs/destinationIdentity:required:adapterId",
39
42
  "deployment-intent:#/$defs/destinationIdentity:required:adapterVersion",
@@ -34,6 +34,9 @@
34
34
  "deployment-observation:#/$defs/destinationIdentity/properties/baseUrl:x-gala-utf8ByteLength",
35
35
  "deployment-observation:#/$defs/destinationIdentity/properties/environment:enum",
36
36
  "deployment-observation:#/$defs/destinationIdentity/properties/environment:type",
37
+ "deployment-observation:#/$defs/destinationIdentity/properties/verificationBaseUrl:maxLength",
38
+ "deployment-observation:#/$defs/destinationIdentity/properties/verificationBaseUrl:pattern",
39
+ "deployment-observation:#/$defs/destinationIdentity/properties/verificationBaseUrl:x-gala-utf8ByteLength",
37
40
  "deployment-observation:#/$defs/destinationIdentity:additionalProperties",
38
41
  "deployment-observation:#/$defs/destinationIdentity:required:adapterId",
39
42
  "deployment-observation:#/$defs/destinationIdentity:required:adapterVersion",
@@ -34,6 +34,9 @@
34
34
  "deployment-receipt:#/$defs/destinationIdentity/properties/baseUrl:x-gala-utf8ByteLength",
35
35
  "deployment-receipt:#/$defs/destinationIdentity/properties/environment:enum",
36
36
  "deployment-receipt:#/$defs/destinationIdentity/properties/environment:type",
37
+ "deployment-receipt:#/$defs/destinationIdentity/properties/verificationBaseUrl:maxLength",
38
+ "deployment-receipt:#/$defs/destinationIdentity/properties/verificationBaseUrl:pattern",
39
+ "deployment-receipt:#/$defs/destinationIdentity/properties/verificationBaseUrl:x-gala-utf8ByteLength",
37
40
  "deployment-receipt:#/$defs/destinationIdentity:additionalProperties",
38
41
  "deployment-receipt:#/$defs/destinationIdentity:required:adapterId",
39
42
  "deployment-receipt:#/$defs/destinationIdentity:required:adapterVersion",
@@ -78,9 +78,16 @@
78
78
  "problem:#/$defs/urn:pattern",
79
79
  "problem:#/$defs/urn:type",
80
80
  "problem:#/properties/detail:x-gala-graphemeLength",
81
+ "problem:#/properties/domainState:maxLength",
82
+ "problem:#/properties/domainState:minLength",
83
+ "problem:#/properties/domainState:type",
81
84
  "problem:#/properties/errors:maxItems",
82
85
  "problem:#/properties/errors:minItems",
83
86
  "problem:#/properties/errors:type",
87
+ "problem:#/properties/expectedBase:maxLength",
88
+ "problem:#/properties/profileBase:maxLength",
89
+ "problem:#/properties/profileBase:type",
90
+ "problem:#/properties/remedy:x-gala-graphemeLength",
84
91
  "problem:#/properties/retryable:type",
85
92
  "problem:#/properties/schemaId:const",
86
93
  "problem:#/properties/schemaVersion:const",
@@ -1,4 +1,24 @@
1
1
  [
2
+ {
3
+ "caseId": "publication-unknown-052d04286d010084",
4
+ "coveredRuleIds": [
5
+ "publication:#/$defs/policyPage/properties/body:pattern",
6
+ "publication:#/$defs/policyPage/properties/title:x-gala-graphemeLength",
7
+ "publication:#/$defs/policyPage:additionalProperties",
8
+ "publication:#/$defs/policyPage:required:body",
9
+ "publication:#/$defs/policyPage:required:title",
10
+ "publication:#/$defs/policyPage:type"
11
+ ],
12
+ "schemaId": "urn:gala:schema:publication:2.0.0",
13
+ "schemaPointer": "#/$defs/policyPage",
14
+ "keyword": "additionalProperties",
15
+ "instance": {
16
+ "title": "fixture-1",
17
+ "body": "content/fixture-1.md",
18
+ "unexpected": true
19
+ },
20
+ "expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
21
+ },
2
22
  {
3
23
  "caseId": "publication-unknown-334359b90efed75d",
4
24
  "coveredRuleIds": [
@@ -118,6 +138,24 @@
118
138
  },
119
139
  "expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
120
140
  },
141
+ {
142
+ "caseId": "publication-unknown-5c61b1e8e9e78c3b",
143
+ "coveredRuleIds": [
144
+ "publication:#/$defs/publicationPolicies:additionalProperties",
145
+ "publication:#/$defs/publicationPolicies:required:privacy",
146
+ "publication:#/$defs/publicationPolicies:required:terms",
147
+ "publication:#/$defs/publicationPolicies:type"
148
+ ],
149
+ "schemaId": "urn:gala:schema:publication:2.0.0",
150
+ "schemaPointer": "#/$defs/publicationPolicies",
151
+ "keyword": "additionalProperties",
152
+ "instance": {
153
+ "terms": { "title": "fixture-1", "body": "content/fixture-1.md" },
154
+ "privacy": { "title": "fixture-1", "body": "content/fixture-1.md" },
155
+ "unexpected": true
156
+ },
157
+ "expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
158
+ },
121
159
  {
122
160
  "caseId": "publication-unknown-9d11886d61734683",
123
161
  "coveredRuleIds": [
@@ -199,7 +199,7 @@
199
199
  "theme-contract:#/allOf/1:oneOf",
200
200
  "theme-contract:#/allOf/2/else/not:required:composition",
201
201
  "theme-contract:#/allOf/2/else:not",
202
- "theme-contract:#/allOf/2/if/properties/contractVersion:const",
202
+ "theme-contract:#/allOf/2/if/properties/contractVersion:enum",
203
203
  "theme-contract:#/allOf/2/if:required:contractVersion",
204
204
  "theme-contract:#/allOf/2/then/allOf/0/if/properties/themeId:const",
205
205
  "theme-contract:#/allOf/2/then/allOf/0/if:required:themeId",
@@ -225,11 +225,17 @@
225
225
  "theme-contract:#/allOf/2/then/allOf/5/if:required:themeId",
226
226
  "theme-contract:#/allOf/2/then/allOf/5/then/properties/composition/properties/profile:const",
227
227
  "theme-contract:#/allOf/2/then/allOf/5/then/properties/composition:required:profile",
228
+ "theme-contract:#/allOf/2/then/allOf/6/if/properties/contractVersion:const",
229
+ "theme-contract:#/allOf/2/then/allOf/6/if:required:contractVersion",
230
+ "theme-contract:#/allOf/2/then/allOf/6/then/properties/templateRange:enum",
231
+ "theme-contract:#/allOf/2/then/allOf/7/if/properties/contractVersion:const",
232
+ "theme-contract:#/allOf/2/then/allOf/7/if:required:contractVersion",
233
+ "theme-contract:#/allOf/2/then/allOf/7/then/properties/templateRange:const",
228
234
  "theme-contract:#/allOf/2/then/properties/templateRange:enum",
229
235
  "theme-contract:#/allOf/2/then:required:composition",
230
236
  "theme-contract:#/allOf/3/if/properties/themeId:const",
231
237
  "theme-contract:#/allOf/3/if:required:themeId",
232
- "theme-contract:#/allOf/3/then/properties/contractVersion:const",
238
+ "theme-contract:#/allOf/3/then/properties/contractVersion:enum",
233
239
  "theme-contract:#/properties/assets:maxItems",
234
240
  "theme-contract:#/properties/assets:minItems",
235
241
  "theme-contract:#/properties/assets:type",