@rathnasgala2/schemas 3.7.0 → 3.9.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.
- package/THIRD_PARTY_LICENSES.json +1 -1
- package/diagnostics/diagnostic-map.json +857 -10
- package/docs/catalogs/schema-inventory.json +11 -11
- package/examples/valid/build-input/rules.json +24 -2
- package/examples/valid/problem/rules.json +35 -0
- package/examples/valid/template-composition/rules.json +769 -0
- package/examples/valid/theme-contract/rules.json +1107 -5
- package/fixtures/boundary/build-input/rules.json +24 -2
- package/fixtures/boundary/problem/rules.json +83 -0
- package/fixtures/boundary/template-composition/rules.json +769 -0
- package/fixtures/boundary/theme-contract/rules.json +1107 -5
- package/fixtures/invalid/build-input/SCHEMA_PATTERN_INVALID/cases.json +22 -11
- package/fixtures/invalid/build-input/SCHEMA_TYPE_INVALID/cases.json +22 -0
- package/fixtures/invalid/build-input/SCHEMA_UNION_INVALID/cases.json +11 -0
- package/fixtures/invalid/problem/SCHEMA_ARRAY_TOO_LONG/cases.json +13 -0
- package/fixtures/invalid/problem/SCHEMA_ENUM_INVALID/cases.json +11 -0
- package/fixtures/invalid/problem/SCHEMA_STRING_TOO_LONG/cases.json +11 -0
- package/fixtures/invalid/problem/SCHEMA_STRING_TOO_SHORT/cases.json +11 -0
- package/fixtures/invalid/problem/SCHEMA_TYPE_INVALID/cases.json +29 -0
- package/fixtures/invalid/template-composition/SCHEMA_CONSTANT_INVALID/cases.json +497 -0
- package/fixtures/invalid/template-composition/SCHEMA_ENUM_INVALID/cases.json +83 -0
- package/fixtures/invalid/template-composition/SCHEMA_NEGATED_RULE_MATCHED/cases.json +11 -0
- package/fixtures/invalid/template-composition/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +909 -0
- package/fixtures/invalid/template-composition/SCHEMA_UNION_INVALID/cases.json +20 -0
- package/fixtures/invalid/theme-contract/REQUEST_FIELD_UNKNOWN/cases.json +120 -0
- package/fixtures/invalid/theme-contract/SCHEMA_CONSTANT_INVALID/cases.json +680 -0
- package/fixtures/invalid/theme-contract/SCHEMA_NEGATED_RULE_MATCHED/cases.json +11 -0
- package/fixtures/invalid/theme-contract/SCHEMA_PATTERN_INVALID/cases.json +33 -9
- package/fixtures/invalid/theme-contract/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +1383 -3
- package/fixtures/invalid/theme-contract/SCHEMA_TYPE_INVALID/cases.json +77 -0
- package/fixtures/invalid/theme-contract/SCHEMA_UNION_INVALID/cases.json +18 -0
- package/fixtures/invalid/theme-contract/SCHEMA_VERSION_UNSUPPORTED/cases.json +110 -0
- package/fixtures/manifest.json +7570 -1065
- package/fixtures/s2/manifest.json +1 -1
- package/fixtures/unknown-field/build-input/rules.json +5 -1
- package/fixtures/unknown-field/problem/rules.json +8 -0
- package/fixtures/unknown-field/template-composition/rules.json +111 -0
- package/fixtures/unknown-field/theme-contract/rules.json +276 -1
- package/generated/browser/validator-core.mjs +3 -3
- package/generated/typescript/contracts/artifact-manifest.d.ts +4 -2
- package/generated/typescript/contracts/build-input.d.ts +3 -2
- package/generated/typescript/contracts/build-provenance.d.ts +4 -2
- package/generated/typescript/contracts/deployment-intent.d.ts +1 -0
- package/generated/typescript/contracts/deployment-receipt.d.ts +1 -0
- package/generated/typescript/contracts/lock.d.ts +2 -1
- package/generated/typescript/contracts/problem.d.ts +9 -0
- package/generated/typescript/contracts/template-composition.d.ts +75 -4
- package/generated/typescript/contracts/theme-contract.d.ts +75 -2
- package/openapi/http-catalog.json +2 -2
- package/openapi/openapi.yaml +82 -11
- package/package.json +1 -1
- package/sbom.cdx.json +23 -23
- package/schemas/artifact-manifest.schema.json +4 -2
- package/schemas/build-input.schema.json +12 -2
- package/schemas/build-provenance.schema.json +4 -2
- package/schemas/deployment-intent.schema.json +1 -0
- package/schemas/deployment-receipt.schema.json +1 -0
- package/schemas/lock.schema.json +2 -1
- package/schemas/problem.schema.json +21 -1
- package/schemas/template-composition.schema.json +179 -2
- 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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
132
|
+
"sourceDigest": "sha256:b594649a9449a01dd30fb48562fae0ac7728d5de78547f5e4ca9516a40626fe7",
|
|
133
133
|
"typescriptRootType": "LockDocument"
|
|
134
134
|
},
|
|
135
135
|
{
|
|
@@ -149,7 +149,7 @@
|
|
|
149
149
|
"version": "2.0.0",
|
|
150
150
|
"path": "schemas/problem.schema.json",
|
|
151
151
|
"materialized": true,
|
|
152
|
-
"sourceDigest": "sha256:
|
|
152
|
+
"sourceDigest": "sha256:0595396f268a16e67b65a9aede276f00b9ef1f8e2699e1be57128703078b21fb",
|
|
153
153
|
"typescriptRootType": "ProblemDocument"
|
|
154
154
|
},
|
|
155
155
|
{
|
|
@@ -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:
|
|
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:
|
|
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:
|
|
222
|
+
"sourceDigest": "sha256:9612379eda4997a04a0e3d0bcb4c3e7d68c5ba76688d4c733ab2b91520a914f7",
|
|
223
223
|
"typescriptRootType": null
|
|
224
224
|
}
|
|
225
225
|
],
|
|
226
|
-
"digest": "sha256:
|
|
226
|
+
"digest": "sha256:2fd4dc177c575975abceda2b102ac049f6dfe2a38eee1012f9884aa6f7dbea4b"
|
|
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:
|
|
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": "
|
|
2332
|
+
"keyword": "anyOf",
|
|
2311
2333
|
"instance": "@rathnasgala2/theme-default@2.0.0"
|
|
2312
2334
|
},
|
|
2313
2335
|
{
|
|
@@ -209,6 +209,29 @@
|
|
|
209
209
|
"keyword": "format",
|
|
210
210
|
"instance": "https://fixture-1.example.com/"
|
|
211
211
|
},
|
|
212
|
+
{
|
|
213
|
+
"caseId": "problem-valid-62218472356dcd79",
|
|
214
|
+
"coveredRuleIds": [
|
|
215
|
+
"problem:#/$defs/fieldError/properties/paths:maxItems",
|
|
216
|
+
"problem:#/$defs/fieldError/properties/paths:minItems",
|
|
217
|
+
"problem:#/$defs/fieldError/properties/paths:type"
|
|
218
|
+
],
|
|
219
|
+
"schemaId": "urn:gala:schema:problem:2.0.0",
|
|
220
|
+
"schemaPointer": "#/$defs/fieldError/properties/paths",
|
|
221
|
+
"keyword": "maxItems",
|
|
222
|
+
"instance": ["fixture-1"]
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"caseId": "problem-valid-69874411e08745d1",
|
|
226
|
+
"coveredRuleIds": [
|
|
227
|
+
"problem:#/$defs/fieldError/properties/reason:enum",
|
|
228
|
+
"problem:#/$defs/fieldError/properties/reason:type"
|
|
229
|
+
],
|
|
230
|
+
"schemaId": "urn:gala:schema:problem:2.0.0",
|
|
231
|
+
"schemaPointer": "#/$defs/fieldError/properties/reason",
|
|
232
|
+
"keyword": "enum",
|
|
233
|
+
"instance": "AUTHOR_EDITED"
|
|
234
|
+
},
|
|
212
235
|
{
|
|
213
236
|
"caseId": "problem-valid-81e47acb3276faad",
|
|
214
237
|
"coveredRuleIds": [
|
|
@@ -299,6 +322,18 @@
|
|
|
299
322
|
"keyword": "type",
|
|
300
323
|
"instance": false
|
|
301
324
|
},
|
|
325
|
+
{
|
|
326
|
+
"caseId": "problem-valid-caa2e1e5ee158acc",
|
|
327
|
+
"coveredRuleIds": [
|
|
328
|
+
"problem:#/$defs/fieldError/properties/paths/items:maxLength",
|
|
329
|
+
"problem:#/$defs/fieldError/properties/paths/items:minLength",
|
|
330
|
+
"problem:#/$defs/fieldError/properties/paths/items:type"
|
|
331
|
+
],
|
|
332
|
+
"schemaId": "urn:gala:schema:problem:2.0.0",
|
|
333
|
+
"schemaPointer": "#/$defs/fieldError/properties/paths/items",
|
|
334
|
+
"keyword": "maxLength",
|
|
335
|
+
"instance": "fixture-1"
|
|
336
|
+
},
|
|
302
337
|
{
|
|
303
338
|
"caseId": "problem-valid-d6e1b27556616503",
|
|
304
339
|
"coveredRuleIds": [
|