@rathnasgala2/schemas 3.6.0 → 3.8.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 (53) hide show
  1. package/THIRD_PARTY_LICENSES.json +1 -1
  2. package/diagnostics/diagnostic-map.json +845 -20
  3. package/docs/catalogs/app-components.json +1766 -2
  4. package/docs/catalogs/app-routes.json +598 -1
  5. package/docs/catalogs/schema-inventory.json +10 -10
  6. package/examples/valid/build-input/rules.json +24 -2
  7. package/examples/valid/template-composition/rules.json +769 -0
  8. package/examples/valid/theme-contract/rules.json +1107 -5
  9. package/fixtures/boundary/build-input/rules.json +24 -2
  10. package/fixtures/boundary/template-composition/rules.json +769 -0
  11. package/fixtures/boundary/theme-contract/rules.json +1107 -5
  12. package/fixtures/invalid/build-input/SCHEMA_PATTERN_INVALID/cases.json +22 -11
  13. package/fixtures/invalid/build-input/SCHEMA_TYPE_INVALID/cases.json +22 -0
  14. package/fixtures/invalid/build-input/SCHEMA_UNION_INVALID/cases.json +11 -0
  15. package/fixtures/invalid/template-composition/SCHEMA_CONSTANT_INVALID/cases.json +497 -0
  16. package/fixtures/invalid/template-composition/SCHEMA_ENUM_INVALID/cases.json +83 -0
  17. package/fixtures/invalid/template-composition/SCHEMA_NEGATED_RULE_MATCHED/cases.json +11 -0
  18. package/fixtures/invalid/template-composition/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +909 -0
  19. package/fixtures/invalid/template-composition/SCHEMA_UNION_INVALID/cases.json +20 -0
  20. package/fixtures/invalid/theme-contract/REQUEST_FIELD_UNKNOWN/cases.json +120 -0
  21. package/fixtures/invalid/theme-contract/SCHEMA_CONSTANT_INVALID/cases.json +680 -0
  22. package/fixtures/invalid/theme-contract/SCHEMA_NEGATED_RULE_MATCHED/cases.json +11 -0
  23. package/fixtures/invalid/theme-contract/SCHEMA_PATTERN_INVALID/cases.json +33 -9
  24. package/fixtures/invalid/theme-contract/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +1383 -3
  25. package/fixtures/invalid/theme-contract/SCHEMA_TYPE_INVALID/cases.json +77 -0
  26. package/fixtures/invalid/theme-contract/SCHEMA_UNION_INVALID/cases.json +18 -0
  27. package/fixtures/invalid/theme-contract/SCHEMA_VERSION_UNSUPPORTED/cases.json +110 -0
  28. package/fixtures/manifest.json +7414 -1089
  29. package/fixtures/s2/manifest.json +1 -1
  30. package/fixtures/unknown-field/build-input/rules.json +5 -1
  31. package/fixtures/unknown-field/template-composition/rules.json +111 -0
  32. package/fixtures/unknown-field/theme-contract/rules.json +276 -1
  33. package/generated/browser/validator-core.mjs +3 -3
  34. package/generated/typescript/contracts/artifact-manifest.d.ts +4 -2
  35. package/generated/typescript/contracts/build-input.d.ts +3 -2
  36. package/generated/typescript/contracts/build-provenance.d.ts +4 -2
  37. package/generated/typescript/contracts/deployment-intent.d.ts +1 -0
  38. package/generated/typescript/contracts/deployment-receipt.d.ts +1 -0
  39. package/generated/typescript/contracts/lock.d.ts +2 -1
  40. package/generated/typescript/contracts/template-composition.d.ts +75 -4
  41. package/generated/typescript/contracts/theme-contract.d.ts +75 -2
  42. package/openapi/http-catalog.json +170 -2
  43. package/openapi/openapi.yaml +2711 -145
  44. package/package.json +1 -1
  45. package/sbom.cdx.json +23 -23
  46. package/schemas/artifact-manifest.schema.json +4 -2
  47. package/schemas/build-input.schema.json +12 -2
  48. package/schemas/build-provenance.schema.json +4 -2
  49. package/schemas/deployment-intent.schema.json +1 -0
  50. package/schemas/deployment-receipt.schema.json +1 -0
  51. package/schemas/lock.schema.json +2 -1
  52. package/schemas/template-composition.schema.json +179 -2
  53. package/schemas/theme-contract.schema.json +282 -1
@@ -29,7 +29,7 @@
29
29
  "version": "2.0.0",
30
30
  "path": "schemas/artifact-manifest.schema.json",
31
31
  "materialized": true,
32
- "sourceDigest": "sha256:2d99b1af6e435acb50aac4b5f2c3f3e620eaa504097ea908ec6b1951829119f4",
32
+ "sourceDigest": "sha256:06c30d0889585fb23a5168df9e71666b377803b0a2a575d927b87ab128afd31d",
33
33
  "typescriptRootType": "ArtifactManifestDocument"
34
34
  },
35
35
  {
@@ -49,7 +49,7 @@
49
49
  "version": "2.0.0",
50
50
  "path": "schemas/build-input.schema.json",
51
51
  "materialized": true,
52
- "sourceDigest": "sha256:e98464effe228ea33a5e739b0543dd776b9863ecf4fca7bf73ebd4f579ed162b",
52
+ "sourceDigest": "sha256:0b0772b3ad13ad267686d05d12cc7741cd529949f364fb5ad0bac696d012c7d8",
53
53
  "typescriptRootType": "BuildInputDocument"
54
54
  },
55
55
  {
@@ -59,7 +59,7 @@
59
59
  "version": "2.0.0",
60
60
  "path": "schemas/build-provenance.schema.json",
61
61
  "materialized": true,
62
- "sourceDigest": "sha256:6af2c4f1b9092e08e32e17a1a57ebbfd6a519fb023d0cb5196c41feb20e31a67",
62
+ "sourceDigest": "sha256:350b97467a063a4564f55456868facd79540b6a9d06aef210ff91094a4b82e3f",
63
63
  "typescriptRootType": "BuildProvenanceDocument"
64
64
  },
65
65
  {
@@ -79,7 +79,7 @@
79
79
  "version": "2.0.0",
80
80
  "path": "schemas/deployment-intent.schema.json",
81
81
  "materialized": true,
82
- "sourceDigest": "sha256:6442ef8a26a9ce0d103d4facbcd798bd97b80469427a2304407b8e65e526a3e3",
82
+ "sourceDigest": "sha256:78ab41dd7b5020be10b681303038e149289b902981e88809d937c19939e5e478",
83
83
  "typescriptRootType": "DeploymentIntentDocument"
84
84
  },
85
85
  {
@@ -99,7 +99,7 @@
99
99
  "version": "2.0.0",
100
100
  "path": "schemas/deployment-receipt.schema.json",
101
101
  "materialized": true,
102
- "sourceDigest": "sha256:f11b86ba0b0340eb8de421c16846bcc222cfa4263a3a7447894b71a827825ca1",
102
+ "sourceDigest": "sha256:ede5860c98c2b701a6a31c51af5d576a0d5857395b0552e812d3fdc4fc9ed076",
103
103
  "typescriptRootType": "DeploymentReceiptDocument"
104
104
  },
105
105
  {
@@ -129,7 +129,7 @@
129
129
  "version": "2.0.0",
130
130
  "path": "schemas/lock.schema.json",
131
131
  "materialized": true,
132
- "sourceDigest": "sha256:52d7026ec8aaf8c600ba98bbd6384cd376fc127bdd517d0639b5df658b84b57e",
132
+ "sourceDigest": "sha256:b594649a9449a01dd30fb48562fae0ac7728d5de78547f5e4ca9516a40626fe7",
133
133
  "typescriptRootType": "LockDocument"
134
134
  },
135
135
  {
@@ -199,7 +199,7 @@
199
199
  "version": "2.0.0",
200
200
  "path": "schemas/template-composition.schema.json",
201
201
  "materialized": true,
202
- "sourceDigest": "sha256:175eddf8b424fe6dfb8e2f79d23195b23333d5050acd02c6fbc17233214669f5",
202
+ "sourceDigest": "sha256:fe515d86f884415d842c8e0a9fd25d384506cf422196a4047282782d05229d1e",
203
203
  "typescriptRootType": "TemplateCompositionDocument"
204
204
  },
205
205
  {
@@ -209,7 +209,7 @@
209
209
  "version": "2.0.0",
210
210
  "path": "schemas/theme-contract.schema.json",
211
211
  "materialized": true,
212
- "sourceDigest": "sha256:4d586690db60767ed80b3bb15d3ac8ba6a68bfc9848acb58cbbeab4f7434bf56",
212
+ "sourceDigest": "sha256:1f20d4595a105aa5777ffd07b5f8db3ef4b2d6ba40c15dcb6129f89bf1bc4cb8",
213
213
  "typescriptRootType": "ThemeContractDocument"
214
214
  },
215
215
  {
@@ -219,9 +219,9 @@
219
219
  "version": "2.0.0",
220
220
  "path": "openapi/openapi.yaml",
221
221
  "materialized": true,
222
- "sourceDigest": "sha256:fffe16d8c324badb6676a6bf99cc1dacbcc2cb3aebc26497573e30a3c9e63216",
222
+ "sourceDigest": "sha256:e6fd6235d1b1a32d1f17ff8f6badc5db21f91e4b1aa3622b5fd8376faace3654",
223
223
  "typescriptRootType": null
224
224
  }
225
225
  ],
226
- "digest": "sha256:9a7cd4995a5795c5398a865abfc0453693ee4043e2a177d5de9e4585f9f17922"
226
+ "digest": "sha256:73ef54831fdb520f9b50007c60bbc067ceb292c49b1317960c8196e35d596976"
227
227
  }
@@ -1515,6 +1515,17 @@
1515
1515
  "keyword": "format",
1516
1516
  "instance": "https://fixture-1.example.com/"
1517
1517
  },
1518
+ {
1519
+ "caseId": "build-input-valid-65b56459387b9fe6",
1520
+ "coveredRuleIds": [
1521
+ "build-input:#/$defs/appearanceNormalized/properties/theme/allOf/1/anyOf/0:pattern",
1522
+ "build-input:#/$defs/appearanceNormalized/properties/theme/allOf/1/anyOf/0:type"
1523
+ ],
1524
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
1525
+ "schemaPointer": "#/$defs/appearanceNormalized/properties/theme/allOf/1/anyOf/0",
1526
+ "keyword": "pattern",
1527
+ "instance": "@rathnasgala2/theme-default@2.0.0"
1528
+ },
1518
1529
  {
1519
1530
  "caseId": "build-input-valid-6754ffca58bd6b51",
1520
1531
  "coveredRuleIds": [
@@ -1756,6 +1767,17 @@
1756
1767
  "keyword": "format",
1757
1768
  "instance": "^2.0.0"
1758
1769
  },
1770
+ {
1771
+ "caseId": "build-input-valid-82a804500d15ccf3",
1772
+ "coveredRuleIds": [
1773
+ "build-input:#/$defs/appearanceNormalized/properties/theme/allOf/1/anyOf/1:pattern",
1774
+ "build-input:#/$defs/appearanceNormalized/properties/theme/allOf/1/anyOf/1:type"
1775
+ ],
1776
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
1777
+ "schemaPointer": "#/$defs/appearanceNormalized/properties/theme/allOf/1/anyOf/1",
1778
+ "keyword": "pattern",
1779
+ "instance": "@rathnasgala2/theme-editorial@4.0.0"
1780
+ },
1759
1781
  {
1760
1782
  "caseId": "build-input-valid-83bbc31efe363baa",
1761
1783
  "coveredRuleIds": [
@@ -2303,11 +2325,11 @@
2303
2325
  {
2304
2326
  "caseId": "build-input-valid-d57a4c0437f1c677",
2305
2327
  "coveredRuleIds": [
2306
- "build-input:#/$defs/appearanceNormalized/properties/theme/allOf/1:pattern"
2328
+ "build-input:#/$defs/appearanceNormalized/properties/theme/allOf/1:anyOf"
2307
2329
  ],
2308
2330
  "schemaId": "urn:gala:schema:build-input:2.0.0",
2309
2331
  "schemaPointer": "#/$defs/appearanceNormalized/properties/theme/allOf/1",
2310
- "keyword": "pattern",
2332
+ "keyword": "anyOf",
2311
2333
  "instance": "@rathnasgala2/theme-default@2.0.0"
2312
2334
  },
2313
2335
  {