@rathnasgala2/schemas 2.16.0 → 2.18.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/README.md +35 -0
- package/THIRD_PARTY_LICENSES.json +1 -1
- package/diagnostics/diagnostic-map.json +61 -0
- package/docs/catalogs/schema-inventory.json +5 -5
- package/examples/valid/build-input/rules.json +150 -0
- package/fixtures/boundary/build-input/rules.json +176 -0
- package/fixtures/invalid/build-input/REQUEST_FIELD_UNKNOWN/cases.json +17 -0
- package/fixtures/invalid/build-input/SCHEMA_ARRAY_TOO_LONG/cases.json +15 -0
- package/fixtures/invalid/build-input/SCHEMA_ENUM_INVALID/cases.json +44 -0
- package/fixtures/invalid/build-input/SCHEMA_NUMBER_TOO_LARGE/cases.json +33 -0
- package/fixtures/invalid/build-input/SCHEMA_NUMBER_TOO_SMALL/cases.json +11 -0
- package/fixtures/invalid/build-input/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +93 -0
- package/fixtures/invalid/build-input/SCHEMA_TYPE_INVALID/cases.json +31 -0
- package/fixtures/manifest.json +483 -4
- package/fixtures/unknown-field/build-input/rules.json +37 -0
- package/generated/browser/validator-core.mjs +3 -3
- package/generated/typescript/contracts/artifact-manifest.d.ts +16 -2
- package/generated/typescript/contracts/build-input.d.ts +20 -0
- package/generated/typescript/contracts/build-provenance.d.ts +16 -2
- package/openapi/http-catalog.json +2 -2
- package/openapi/openapi.yaml +240 -19
- package/package.json +1 -1
- package/sbom.cdx.json +23 -23
- package/schemas/artifact-manifest.schema.json +16 -2
- package/schemas/build-input.schema.json +71 -0
- package/schemas/build-provenance.schema.json +16 -2
package/README.md
CHANGED
|
@@ -91,6 +91,41 @@ calls `postMembershipInvitationsByTokenAccept`; its non-enumerating failure
|
|
|
91
91
|
states collapse onto that operation's single declared `INVALID_SOURCE_STATE`
|
|
92
92
|
problem, which covers an expired, already-used or unknown token alike.
|
|
93
93
|
|
|
94
|
+
SCHEMA-2.17.0 (design `scrap/20260928_write-preview-publish.md` section 9) is
|
|
95
|
+
media in articles: a cover image, and images, sound and video referenced from an
|
|
96
|
+
article's body, both pass-through -- copied unchanged into the built site, no
|
|
97
|
+
resizing and no derived formats for in-text media (the cover image still goes
|
|
98
|
+
through the renderer's existing, unrelated resizing pipeline).
|
|
99
|
+
`build-input.schema.json`'s `contentBuildRecord` gains an optional `media` array
|
|
100
|
+
(new `$defs` entry `contentBuildMediaFile`: `path`, `sourceDigest`, `mediaType`,
|
|
101
|
+
`byteLength`; up to 200 entries) of files the article body refers to;
|
|
102
|
+
`mediaType` is a closed image/audio/video list (SVG stays refused, an SVG can
|
|
103
|
+
carry script) and `byteLength` is bounded per category (image 5 MiB, audio 20
|
|
104
|
+
MiB, video 50 MiB) via an `allOf`/`if`/`then` chain keyed on an explicit `enum`
|
|
105
|
+
per category rather than a `pattern`-matched prefix, since the fixture generator
|
|
106
|
+
cannot synthesize an unconstrained `pattern` string.
|
|
107
|
+
`artifact-manifest.schema.json`'s `manifestAsset`/`manifestRoute` (and the
|
|
108
|
+
byte-identical `build-provenance.schema.json` copy, sharing one JS-source
|
|
109
|
+
`MANIFEST_MEDIA_TYPES` constant) admit the same seven added types for the site's
|
|
110
|
+
own built assets. On the OpenAPI side, `content-changes:plan`'s
|
|
111
|
+
`ContentChangeAssetEntry` admits the same eleven types (still no SVG) with a
|
|
112
|
+
per-category `bytesBase64` bound; `assets` grows from 20 to 40 items and 20 MiB
|
|
113
|
+
to 100 MiB per change, documents unchanged (20, 1 MiB each).
|
|
114
|
+
`GET .../content/assets` serves eleven types, growing from the five it served
|
|
115
|
+
before (the `200` response's declared content-type list stays at the published
|
|
116
|
+
twelve, `image/svg+xml` included, since removing an already-shipped value is not
|
|
117
|
+
additive; no server version has ever answered with it -- a stored SVG is refused
|
|
118
|
+
with the declared `422` on read exactly as on write, since it can carry script
|
|
119
|
+
and this operation answers `Content-Disposition: inline` from the application's
|
|
120
|
+
own origin). The new `206` response's content-type list is the eleven
|
|
121
|
+
actually-served types, SVG correctly absent. The operation now declares
|
|
122
|
+
`Accept-Ranges: bytes` and honours a single-range `Range` request header for
|
|
123
|
+
sound and video: `206` with `Content-Range` for a satisfiable range, the new
|
|
124
|
+
`416` (`VALIDATION_FAILED`) with `Content-Range: bytes */<total>` for an
|
|
125
|
+
unsatisfiable one -- both fit the existing generator machinery with no
|
|
126
|
+
special-casing, so no prose-only fallback was needed here. New shared OpenAPI
|
|
127
|
+
components: headers `AcceptRanges`/`ContentRange`, parameter `Range`.
|
|
128
|
+
|
|
94
129
|
SCHEMA-2.16.0 corrects a fault SCHEMA-2.14.0 introduced:
|
|
95
130
|
`POST .../repository-changes/{changeId}:bring-up-to-date`'s
|
|
96
131
|
`x-gala-state-guards` admitted only `REQUESTED|PLANNED|AWAITING_CONFIRMATION`,
|
|
@@ -5936,6 +5936,60 @@
|
|
|
5936
5936
|
"build-input:#/$defs/colorMode:type": {
|
|
5937
5937
|
"code": "SCHEMA_TYPE_INVALID"
|
|
5938
5938
|
},
|
|
5939
|
+
"build-input:#/$defs/contentBuildMediaFile/allOf/0/if/properties/mediaType:enum": {
|
|
5940
|
+
"code": "SCHEMA_ENUM_INVALID"
|
|
5941
|
+
},
|
|
5942
|
+
"build-input:#/$defs/contentBuildMediaFile/allOf/0/if:required:mediaType": {
|
|
5943
|
+
"code": "SCHEMA_REQUIRED_FIELD_MISSING"
|
|
5944
|
+
},
|
|
5945
|
+
"build-input:#/$defs/contentBuildMediaFile/allOf/0/then/properties/byteLength:maximum": {
|
|
5946
|
+
"code": "SCHEMA_NUMBER_TOO_LARGE"
|
|
5947
|
+
},
|
|
5948
|
+
"build-input:#/$defs/contentBuildMediaFile/allOf/1/if/properties/mediaType:enum": {
|
|
5949
|
+
"code": "SCHEMA_ENUM_INVALID"
|
|
5950
|
+
},
|
|
5951
|
+
"build-input:#/$defs/contentBuildMediaFile/allOf/1/if:required:mediaType": {
|
|
5952
|
+
"code": "SCHEMA_REQUIRED_FIELD_MISSING"
|
|
5953
|
+
},
|
|
5954
|
+
"build-input:#/$defs/contentBuildMediaFile/allOf/1/then/properties/byteLength:maximum": {
|
|
5955
|
+
"code": "SCHEMA_NUMBER_TOO_LARGE"
|
|
5956
|
+
},
|
|
5957
|
+
"build-input:#/$defs/contentBuildMediaFile/allOf/2/if/properties/mediaType:enum": {
|
|
5958
|
+
"code": "SCHEMA_ENUM_INVALID"
|
|
5959
|
+
},
|
|
5960
|
+
"build-input:#/$defs/contentBuildMediaFile/allOf/2/if:required:mediaType": {
|
|
5961
|
+
"code": "SCHEMA_REQUIRED_FIELD_MISSING"
|
|
5962
|
+
},
|
|
5963
|
+
"build-input:#/$defs/contentBuildMediaFile/allOf/2/then/properties/byteLength:maximum": {
|
|
5964
|
+
"code": "SCHEMA_NUMBER_TOO_LARGE"
|
|
5965
|
+
},
|
|
5966
|
+
"build-input:#/$defs/contentBuildMediaFile/properties/byteLength:minimum": {
|
|
5967
|
+
"code": "SCHEMA_NUMBER_TOO_SMALL"
|
|
5968
|
+
},
|
|
5969
|
+
"build-input:#/$defs/contentBuildMediaFile/properties/byteLength:type": {
|
|
5970
|
+
"code": "SCHEMA_TYPE_INVALID"
|
|
5971
|
+
},
|
|
5972
|
+
"build-input:#/$defs/contentBuildMediaFile/properties/mediaType:enum": {
|
|
5973
|
+
"code": "SCHEMA_ENUM_INVALID"
|
|
5974
|
+
},
|
|
5975
|
+
"build-input:#/$defs/contentBuildMediaFile:additionalProperties": {
|
|
5976
|
+
"code": "REQUEST_FIELD_UNKNOWN"
|
|
5977
|
+
},
|
|
5978
|
+
"build-input:#/$defs/contentBuildMediaFile:required:byteLength": {
|
|
5979
|
+
"code": "SCHEMA_REQUIRED_FIELD_MISSING"
|
|
5980
|
+
},
|
|
5981
|
+
"build-input:#/$defs/contentBuildMediaFile:required:mediaType": {
|
|
5982
|
+
"code": "SCHEMA_REQUIRED_FIELD_MISSING"
|
|
5983
|
+
},
|
|
5984
|
+
"build-input:#/$defs/contentBuildMediaFile:required:path": {
|
|
5985
|
+
"code": "SCHEMA_REQUIRED_FIELD_MISSING"
|
|
5986
|
+
},
|
|
5987
|
+
"build-input:#/$defs/contentBuildMediaFile:required:sourceDigest": {
|
|
5988
|
+
"code": "SCHEMA_REQUIRED_FIELD_MISSING"
|
|
5989
|
+
},
|
|
5990
|
+
"build-input:#/$defs/contentBuildMediaFile:type": {
|
|
5991
|
+
"code": "SCHEMA_TYPE_INVALID"
|
|
5992
|
+
},
|
|
5939
5993
|
"build-input:#/$defs/contentBuildRecord/properties/body:maxLength": {
|
|
5940
5994
|
"code": "SCHEMA_STRING_TOO_LONG"
|
|
5941
5995
|
},
|
|
@@ -5945,6 +5999,12 @@
|
|
|
5945
5999
|
"build-input:#/$defs/contentBuildRecord/properties/bodyMediaType:const": {
|
|
5946
6000
|
"code": "SCHEMA_CONSTANT_INVALID"
|
|
5947
6001
|
},
|
|
6002
|
+
"build-input:#/$defs/contentBuildRecord/properties/media:maxItems": {
|
|
6003
|
+
"code": "SCHEMA_ARRAY_TOO_LONG"
|
|
6004
|
+
},
|
|
6005
|
+
"build-input:#/$defs/contentBuildRecord/properties/media:type": {
|
|
6006
|
+
"code": "SCHEMA_TYPE_INVALID"
|
|
6007
|
+
},
|
|
5948
6008
|
"build-input:#/$defs/contentBuildRecord/properties/resolvedAuthorIds:maxItems": {
|
|
5949
6009
|
"code": "SCHEMA_ARRAY_TOO_LONG"
|
|
5950
6010
|
},
|
|
@@ -25338,6 +25398,7 @@
|
|
|
25338
25398
|
"build-input:#/$defs/authorNormalized/properties/localized:minItems": "ZERO_LOWER_BOUND_REJECTS_NO_INSTANCE",
|
|
25339
25399
|
"build-input:#/$defs/buildPackages/properties/dependencies:minItems": "ZERO_LOWER_BOUND_REJECTS_NO_INSTANCE",
|
|
25340
25400
|
"build-input:#/$defs/contentBuildRecord/properties/body:minLength": "ZERO_LOWER_BOUND_REJECTS_NO_INSTANCE",
|
|
25401
|
+
"build-input:#/$defs/contentBuildRecord/properties/media:minItems": "ZERO_LOWER_BOUND_REJECTS_NO_INSTANCE",
|
|
25341
25402
|
"build-input:#/$defs/contentFrontmatterNormalized/properties/redirects:minItems": "ZERO_LOWER_BOUND_REJECTS_NO_INSTANCE",
|
|
25342
25403
|
"build-input:#/$defs/contentFrontmatterNormalized/properties/tags:minItems": "ZERO_LOWER_BOUND_REJECTS_NO_INSTANCE",
|
|
25343
25404
|
"build-input:#/$defs/githubPositiveDecimal:format": "FORMAT_REDUNDANT_WITH_SIBLING_RULES",
|
|
@@ -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:ee2107c4ae162bc975ceac5e3c543a77ca57aa50892a037fc55a9878a57785cf",
|
|
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:342260092fc16bdd6ba6b38490fbdaeca6817212fe51f8082b464b70d01469d0",
|
|
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:d97d133c083770f75f91356bcc084a0f1df33c0d8ff3e60bc2799204d2ae9958",
|
|
63
63
|
"typescriptRootType": "BuildProvenanceDocument"
|
|
64
64
|
},
|
|
65
65
|
{
|
|
@@ -209,9 +209,9 @@
|
|
|
209
209
|
"version": "2.0.0",
|
|
210
210
|
"path": "openapi/openapi.yaml",
|
|
211
211
|
"materialized": true,
|
|
212
|
-
"sourceDigest": "sha256:
|
|
212
|
+
"sourceDigest": "sha256:f7384651f46757a1a8274b0ff26186e28f77ce114672c35f331518bc1e742d14",
|
|
213
213
|
"typescriptRootType": null
|
|
214
214
|
}
|
|
215
215
|
],
|
|
216
|
-
"digest": "sha256:
|
|
216
|
+
"digest": "sha256:513bac6a6dfe82cfa3dae53b002ee237d551637ef5d5a561e5297d5153a5baa4"
|
|
217
217
|
}
|
|
@@ -165,6 +165,26 @@
|
|
|
165
165
|
"keyword": "x-gala-graphemeLength",
|
|
166
166
|
"instance": "fixture-1"
|
|
167
167
|
},
|
|
168
|
+
{
|
|
169
|
+
"caseId": "build-input-valid-0564bdcec3af2163",
|
|
170
|
+
"coveredRuleIds": [
|
|
171
|
+
"build-input:#/$defs/contentBuildMediaFile:additionalProperties",
|
|
172
|
+
"build-input:#/$defs/contentBuildMediaFile:required:byteLength",
|
|
173
|
+
"build-input:#/$defs/contentBuildMediaFile:required:mediaType",
|
|
174
|
+
"build-input:#/$defs/contentBuildMediaFile:required:path",
|
|
175
|
+
"build-input:#/$defs/contentBuildMediaFile:required:sourceDigest",
|
|
176
|
+
"build-input:#/$defs/contentBuildMediaFile:type"
|
|
177
|
+
],
|
|
178
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
179
|
+
"schemaPointer": "#/$defs/contentBuildMediaFile",
|
|
180
|
+
"keyword": "additionalProperties",
|
|
181
|
+
"instance": {
|
|
182
|
+
"path": "content/fixture-1.md",
|
|
183
|
+
"sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
|
|
184
|
+
"mediaType": "image/png",
|
|
185
|
+
"byteLength": 1
|
|
186
|
+
}
|
|
187
|
+
},
|
|
168
188
|
{
|
|
169
189
|
"caseId": "build-input-valid-0627e3b3d58715e9",
|
|
170
190
|
"coveredRuleIds": [
|
|
@@ -401,6 +421,16 @@
|
|
|
401
421
|
"route": "/fixture-1"
|
|
402
422
|
}
|
|
403
423
|
},
|
|
424
|
+
{
|
|
425
|
+
"caseId": "build-input-valid-1fa6418fdd9f1220",
|
|
426
|
+
"coveredRuleIds": [
|
|
427
|
+
"build-input:#/$defs/contentBuildMediaFile/allOf/2/if:required:mediaType"
|
|
428
|
+
],
|
|
429
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
430
|
+
"schemaPointer": "#/$defs/contentBuildMediaFile/allOf/2/if",
|
|
431
|
+
"keyword": "required",
|
|
432
|
+
"instance": { "mediaType": "video/mp4" }
|
|
433
|
+
},
|
|
404
434
|
{
|
|
405
435
|
"caseId": "build-input-valid-211314c13a883385",
|
|
406
436
|
"coveredRuleIds": [
|
|
@@ -899,6 +929,26 @@
|
|
|
899
929
|
"keyword": "const",
|
|
900
930
|
"instance": "built-in-default"
|
|
901
931
|
},
|
|
932
|
+
{
|
|
933
|
+
"caseId": "build-input-valid-3e704a85aded3da0",
|
|
934
|
+
"coveredRuleIds": [
|
|
935
|
+
"build-input:#/$defs/contentBuildMediaFile/allOf/1/then/properties/byteLength:maximum"
|
|
936
|
+
],
|
|
937
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
938
|
+
"schemaPointer": "#/$defs/contentBuildMediaFile/allOf/1/then/properties/byteLength",
|
|
939
|
+
"keyword": "maximum",
|
|
940
|
+
"instance": null
|
|
941
|
+
},
|
|
942
|
+
{
|
|
943
|
+
"caseId": "build-input-valid-401ec826e25c2929",
|
|
944
|
+
"coveredRuleIds": [
|
|
945
|
+
"build-input:#/$defs/contentBuildMediaFile/allOf/0/then/properties/byteLength:maximum"
|
|
946
|
+
],
|
|
947
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
948
|
+
"schemaPointer": "#/$defs/contentBuildMediaFile/allOf/0/then/properties/byteLength",
|
|
949
|
+
"keyword": "maximum",
|
|
950
|
+
"instance": null
|
|
951
|
+
},
|
|
902
952
|
{
|
|
903
953
|
"caseId": "build-input-valid-42ef9522a838bfc9",
|
|
904
954
|
"coveredRuleIds": [
|
|
@@ -1091,6 +1141,16 @@
|
|
|
1091
1141
|
"keyword": "required",
|
|
1092
1142
|
"instance": { "role": "decorative" }
|
|
1093
1143
|
},
|
|
1144
|
+
{
|
|
1145
|
+
"caseId": "build-input-valid-51cfe2c3b839fec4",
|
|
1146
|
+
"coveredRuleIds": [
|
|
1147
|
+
"build-input:#/$defs/contentBuildMediaFile/allOf/2/if/properties/mediaType:enum"
|
|
1148
|
+
],
|
|
1149
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
1150
|
+
"schemaPointer": "#/$defs/contentBuildMediaFile/allOf/2/if/properties/mediaType",
|
|
1151
|
+
"keyword": "enum",
|
|
1152
|
+
"instance": "video/mp4"
|
|
1153
|
+
},
|
|
1094
1154
|
{
|
|
1095
1155
|
"caseId": "build-input-valid-51d5cb18a8eca75c",
|
|
1096
1156
|
"coveredRuleIds": [
|
|
@@ -1197,6 +1257,25 @@
|
|
|
1197
1257
|
"keyword": "format",
|
|
1198
1258
|
"instance": "https://fixture-1.example.com/"
|
|
1199
1259
|
},
|
|
1260
|
+
{
|
|
1261
|
+
"caseId": "build-input-valid-6754ffca58bd6b51",
|
|
1262
|
+
"coveredRuleIds": [
|
|
1263
|
+
"build-input:#/$defs/contentBuildRecord/properties/media:maxItems",
|
|
1264
|
+
"build-input:#/$defs/contentBuildRecord/properties/media:minItems",
|
|
1265
|
+
"build-input:#/$defs/contentBuildRecord/properties/media:type"
|
|
1266
|
+
],
|
|
1267
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
1268
|
+
"schemaPointer": "#/$defs/contentBuildRecord/properties/media",
|
|
1269
|
+
"keyword": "maxItems",
|
|
1270
|
+
"instance": [
|
|
1271
|
+
{
|
|
1272
|
+
"path": "content/fixture-1.md",
|
|
1273
|
+
"sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
|
|
1274
|
+
"mediaType": "image/png",
|
|
1275
|
+
"byteLength": 1
|
|
1276
|
+
}
|
|
1277
|
+
]
|
|
1278
|
+
},
|
|
1200
1279
|
{
|
|
1201
1280
|
"caseId": "build-input-valid-6c8df9dafddc200f",
|
|
1202
1281
|
"coveredRuleIds": [
|
|
@@ -1247,6 +1326,17 @@
|
|
|
1247
1326
|
"keyword": "x-gala-graphemeLength",
|
|
1248
1327
|
"instance": "fixture-1"
|
|
1249
1328
|
},
|
|
1329
|
+
{
|
|
1330
|
+
"caseId": "build-input-valid-74061890596a952b",
|
|
1331
|
+
"coveredRuleIds": [
|
|
1332
|
+
"build-input:#/$defs/contentBuildMediaFile/properties/byteLength:minimum",
|
|
1333
|
+
"build-input:#/$defs/contentBuildMediaFile/properties/byteLength:type"
|
|
1334
|
+
],
|
|
1335
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
1336
|
+
"schemaPointer": "#/$defs/contentBuildMediaFile/properties/byteLength",
|
|
1337
|
+
"keyword": "minimum",
|
|
1338
|
+
"instance": 1
|
|
1339
|
+
},
|
|
1250
1340
|
{
|
|
1251
1341
|
"caseId": "build-input-valid-76d6127794f5dd48",
|
|
1252
1342
|
"coveredRuleIds": [
|
|
@@ -1551,6 +1641,16 @@
|
|
|
1551
1641
|
}
|
|
1552
1642
|
]
|
|
1553
1643
|
},
|
|
1644
|
+
{
|
|
1645
|
+
"caseId": "build-input-valid-a24d533edaddedce",
|
|
1646
|
+
"coveredRuleIds": [
|
|
1647
|
+
"build-input:#/$defs/contentBuildMediaFile/allOf/0/if/properties/mediaType:enum"
|
|
1648
|
+
],
|
|
1649
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
1650
|
+
"schemaPointer": "#/$defs/contentBuildMediaFile/allOf/0/if/properties/mediaType",
|
|
1651
|
+
"keyword": "enum",
|
|
1652
|
+
"instance": "image/png"
|
|
1653
|
+
},
|
|
1554
1654
|
{
|
|
1555
1655
|
"caseId": "build-input-valid-a43bb1115a995f34",
|
|
1556
1656
|
"coveredRuleIds": [
|
|
@@ -1615,6 +1715,16 @@
|
|
|
1615
1715
|
"keyword": "additionalProperties",
|
|
1616
1716
|
"instance": {}
|
|
1617
1717
|
},
|
|
1718
|
+
{
|
|
1719
|
+
"caseId": "build-input-valid-b0422e3810892dbd",
|
|
1720
|
+
"coveredRuleIds": [
|
|
1721
|
+
"build-input:#/$defs/contentBuildMediaFile/properties/mediaType:enum"
|
|
1722
|
+
],
|
|
1723
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
1724
|
+
"schemaPointer": "#/$defs/contentBuildMediaFile/properties/mediaType",
|
|
1725
|
+
"keyword": "enum",
|
|
1726
|
+
"instance": "image/png"
|
|
1727
|
+
},
|
|
1618
1728
|
{
|
|
1619
1729
|
"caseId": "build-input-valid-b24bbede1ab69bed",
|
|
1620
1730
|
"coveredRuleIds": [
|
|
@@ -1692,6 +1802,16 @@
|
|
|
1692
1802
|
"keyword": "x-gala-graphemeLength",
|
|
1693
1803
|
"instance": "fixture-1"
|
|
1694
1804
|
},
|
|
1805
|
+
{
|
|
1806
|
+
"caseId": "build-input-valid-c0f1727a1a5b82d4",
|
|
1807
|
+
"coveredRuleIds": [
|
|
1808
|
+
"build-input:#/$defs/contentBuildMediaFile/allOf/1/if/properties/mediaType:enum"
|
|
1809
|
+
],
|
|
1810
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
1811
|
+
"schemaPointer": "#/$defs/contentBuildMediaFile/allOf/1/if/properties/mediaType",
|
|
1812
|
+
"keyword": "enum",
|
|
1813
|
+
"instance": "audio/mpeg"
|
|
1814
|
+
},
|
|
1695
1815
|
{
|
|
1696
1816
|
"caseId": "build-input-valid-c2495f1262345ef0",
|
|
1697
1817
|
"coveredRuleIds": [
|
|
@@ -1738,6 +1858,16 @@
|
|
|
1738
1858
|
"keyword": "maxItems",
|
|
1739
1859
|
"instance": ["/fixture-1"]
|
|
1740
1860
|
},
|
|
1861
|
+
{
|
|
1862
|
+
"caseId": "build-input-valid-ce84ac8883526107",
|
|
1863
|
+
"coveredRuleIds": [
|
|
1864
|
+
"build-input:#/$defs/contentBuildMediaFile/allOf/1/if:required:mediaType"
|
|
1865
|
+
],
|
|
1866
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
1867
|
+
"schemaPointer": "#/$defs/contentBuildMediaFile/allOf/1/if",
|
|
1868
|
+
"keyword": "required",
|
|
1869
|
+
"instance": { "mediaType": "audio/mpeg" }
|
|
1870
|
+
},
|
|
1741
1871
|
{
|
|
1742
1872
|
"caseId": "build-input-valid-d3f6cc6ab7220249",
|
|
1743
1873
|
"coveredRuleIds": ["build-input:#/$defs/normalizedSource:oneOf"],
|
|
@@ -2000,6 +2130,16 @@
|
|
|
2000
2130
|
"keyword": "enum",
|
|
2001
2131
|
"instance": "website"
|
|
2002
2132
|
},
|
|
2133
|
+
{
|
|
2134
|
+
"caseId": "build-input-valid-e91f7c18870f1e9b",
|
|
2135
|
+
"coveredRuleIds": [
|
|
2136
|
+
"build-input:#/$defs/contentBuildMediaFile/allOf/2/then/properties/byteLength:maximum"
|
|
2137
|
+
],
|
|
2138
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
2139
|
+
"schemaPointer": "#/$defs/contentBuildMediaFile/allOf/2/then/properties/byteLength",
|
|
2140
|
+
"keyword": "maximum",
|
|
2141
|
+
"instance": null
|
|
2142
|
+
},
|
|
2003
2143
|
{
|
|
2004
2144
|
"caseId": "build-input-valid-eb61a43d2b3f4bd2",
|
|
2005
2145
|
"coveredRuleIds": [
|
|
@@ -2068,6 +2208,16 @@
|
|
|
2068
2208
|
"sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
|
|
2069
2209
|
}
|
|
2070
2210
|
},
|
|
2211
|
+
{
|
|
2212
|
+
"caseId": "build-input-valid-f45cf1e222c15591",
|
|
2213
|
+
"coveredRuleIds": [
|
|
2214
|
+
"build-input:#/$defs/contentBuildMediaFile/allOf/0/if:required:mediaType"
|
|
2215
|
+
],
|
|
2216
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
2217
|
+
"schemaPointer": "#/$defs/contentBuildMediaFile/allOf/0/if",
|
|
2218
|
+
"keyword": "required",
|
|
2219
|
+
"instance": { "mediaType": "image/png" }
|
|
2220
|
+
},
|
|
2071
2221
|
{
|
|
2072
2222
|
"caseId": "build-input-valid-f60d3692dc6e9132",
|
|
2073
2223
|
"coveredRuleIds": [
|
|
@@ -58,6 +58,17 @@
|
|
|
58
58
|
"length": 512
|
|
59
59
|
}
|
|
60
60
|
},
|
|
61
|
+
{
|
|
62
|
+
"caseId": "build-input-boundary-082b9a414a1cc0eb",
|
|
63
|
+
"coveredRuleIds": [
|
|
64
|
+
"build-input:#/$defs/contentBuildMediaFile/properties/byteLength:minimum",
|
|
65
|
+
"build-input:#/$defs/contentBuildMediaFile/properties/byteLength:type"
|
|
66
|
+
],
|
|
67
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
68
|
+
"schemaPointer": "#/$defs/contentBuildMediaFile/properties/byteLength",
|
|
69
|
+
"keyword": "minimum",
|
|
70
|
+
"instance": 1
|
|
71
|
+
},
|
|
61
72
|
{
|
|
62
73
|
"caseId": "build-input-boundary-09038d27f1dcc6f4",
|
|
63
74
|
"coveredRuleIds": [
|
|
@@ -90,6 +101,16 @@
|
|
|
90
101
|
"sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
|
|
91
102
|
}
|
|
92
103
|
},
|
|
104
|
+
{
|
|
105
|
+
"caseId": "build-input-boundary-0a5e270f1791cb0a",
|
|
106
|
+
"coveredRuleIds": [
|
|
107
|
+
"build-input:#/$defs/contentBuildMediaFile/allOf/2/if:required:mediaType"
|
|
108
|
+
],
|
|
109
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
110
|
+
"schemaPointer": "#/$defs/contentBuildMediaFile/allOf/2/if",
|
|
111
|
+
"keyword": "required",
|
|
112
|
+
"instance": { "mediaType": "video/mp4" }
|
|
113
|
+
},
|
|
93
114
|
{
|
|
94
115
|
"caseId": "build-input-boundary-0e79291d640235c8",
|
|
95
116
|
"coveredRuleIds": [
|
|
@@ -580,6 +601,16 @@
|
|
|
580
601
|
"keyword": "contains",
|
|
581
602
|
"instance": ["light"]
|
|
582
603
|
},
|
|
604
|
+
{
|
|
605
|
+
"caseId": "build-input-boundary-1f7595cb126b31f5",
|
|
606
|
+
"coveredRuleIds": [
|
|
607
|
+
"build-input:#/$defs/contentBuildMediaFile/properties/mediaType:enum"
|
|
608
|
+
],
|
|
609
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
610
|
+
"schemaPointer": "#/$defs/contentBuildMediaFile/properties/mediaType",
|
|
611
|
+
"keyword": "enum",
|
|
612
|
+
"instance": "image/png"
|
|
613
|
+
},
|
|
583
614
|
{
|
|
584
615
|
"caseId": "build-input-boundary-21d490e9f18e9020",
|
|
585
616
|
"coveredRuleIds": [
|
|
@@ -775,6 +806,16 @@
|
|
|
775
806
|
"keyword": "required",
|
|
776
807
|
"instance": { "role": "decorative" }
|
|
777
808
|
},
|
|
809
|
+
{
|
|
810
|
+
"caseId": "build-input-boundary-2c8af4a5139e163c",
|
|
811
|
+
"coveredRuleIds": [
|
|
812
|
+
"build-input:#/$defs/contentBuildMediaFile/allOf/1/if/properties/mediaType:enum"
|
|
813
|
+
],
|
|
814
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
815
|
+
"schemaPointer": "#/$defs/contentBuildMediaFile/allOf/1/if/properties/mediaType",
|
|
816
|
+
"keyword": "enum",
|
|
817
|
+
"instance": "audio/mpeg"
|
|
818
|
+
},
|
|
778
819
|
{
|
|
779
820
|
"caseId": "build-input-boundary-2f3a93f14dcf022a",
|
|
780
821
|
"coveredRuleIds": [
|
|
@@ -1147,6 +1188,16 @@
|
|
|
1147
1188
|
"keyword": "pattern",
|
|
1148
1189
|
"instance": "fixture-1"
|
|
1149
1190
|
},
|
|
1191
|
+
{
|
|
1192
|
+
"caseId": "build-input-boundary-495e81d1e5b4d5ca",
|
|
1193
|
+
"coveredRuleIds": [
|
|
1194
|
+
"build-input:#/$defs/contentBuildMediaFile/allOf/2/if/properties/mediaType:enum"
|
|
1195
|
+
],
|
|
1196
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
1197
|
+
"schemaPointer": "#/$defs/contentBuildMediaFile/allOf/2/if/properties/mediaType",
|
|
1198
|
+
"keyword": "enum",
|
|
1199
|
+
"instance": "video/mp4"
|
|
1200
|
+
},
|
|
1150
1201
|
{
|
|
1151
1202
|
"caseId": "build-input-boundary-4992f9ca5a82874a",
|
|
1152
1203
|
"coveredRuleIds": [
|
|
@@ -1413,6 +1464,16 @@
|
|
|
1413
1464
|
"direction": "minimum"
|
|
1414
1465
|
}
|
|
1415
1466
|
},
|
|
1467
|
+
{
|
|
1468
|
+
"caseId": "build-input-boundary-626f222d5c22b718",
|
|
1469
|
+
"coveredRuleIds": [
|
|
1470
|
+
"build-input:#/$defs/contentBuildMediaFile/allOf/2/then/properties/byteLength:maximum"
|
|
1471
|
+
],
|
|
1472
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
1473
|
+
"schemaPointer": "#/$defs/contentBuildMediaFile/allOf/2/then/properties/byteLength",
|
|
1474
|
+
"keyword": "maximum",
|
|
1475
|
+
"instance": 52428800
|
|
1476
|
+
},
|
|
1416
1477
|
{
|
|
1417
1478
|
"caseId": "build-input-boundary-63726a4f5d6169fe",
|
|
1418
1479
|
"coveredRuleIds": [
|
|
@@ -1837,6 +1898,26 @@
|
|
|
1837
1898
|
}
|
|
1838
1899
|
}
|
|
1839
1900
|
},
|
|
1901
|
+
{
|
|
1902
|
+
"caseId": "build-input-boundary-81cde2bb8d2fcff7",
|
|
1903
|
+
"coveredRuleIds": [
|
|
1904
|
+
"build-input:#/$defs/contentBuildMediaFile:additionalProperties",
|
|
1905
|
+
"build-input:#/$defs/contentBuildMediaFile:required:byteLength",
|
|
1906
|
+
"build-input:#/$defs/contentBuildMediaFile:required:mediaType",
|
|
1907
|
+
"build-input:#/$defs/contentBuildMediaFile:required:path",
|
|
1908
|
+
"build-input:#/$defs/contentBuildMediaFile:required:sourceDigest",
|
|
1909
|
+
"build-input:#/$defs/contentBuildMediaFile:type"
|
|
1910
|
+
],
|
|
1911
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
1912
|
+
"schemaPointer": "#/$defs/contentBuildMediaFile",
|
|
1913
|
+
"keyword": "additionalProperties",
|
|
1914
|
+
"instance": {
|
|
1915
|
+
"path": "content/fixture-1.md",
|
|
1916
|
+
"sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
|
|
1917
|
+
"mediaType": "image/png",
|
|
1918
|
+
"byteLength": 1
|
|
1919
|
+
}
|
|
1920
|
+
},
|
|
1840
1921
|
{
|
|
1841
1922
|
"caseId": "build-input-boundary-83ef50b3c971e4ce",
|
|
1842
1923
|
"coveredRuleIds": [
|
|
@@ -1858,6 +1939,20 @@
|
|
|
1858
1939
|
"keyword": "const",
|
|
1859
1940
|
"instance": "email"
|
|
1860
1941
|
},
|
|
1942
|
+
{
|
|
1943
|
+
"caseId": "build-input-boundary-884e3b3c7e59c6eb",
|
|
1944
|
+
"coveredRuleIds": [
|
|
1945
|
+
"build-input:#/$defs/contentBuildRecord/properties/media:minItems"
|
|
1946
|
+
],
|
|
1947
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
1948
|
+
"schemaPointer": "#/$defs/contentBuildRecord/properties/media",
|
|
1949
|
+
"keyword": "minItems",
|
|
1950
|
+
"recipe": {
|
|
1951
|
+
"kind": "schema-array-boundary",
|
|
1952
|
+
"schemaPointer": "#/$defs/contentBuildRecord/properties/media",
|
|
1953
|
+
"length": 0
|
|
1954
|
+
}
|
|
1955
|
+
},
|
|
1861
1956
|
{
|
|
1862
1957
|
"caseId": "build-input-boundary-88947f29cadb1309",
|
|
1863
1958
|
"coveredRuleIds": [
|
|
@@ -1960,6 +2055,16 @@
|
|
|
1960
2055
|
"direction": "minimum"
|
|
1961
2056
|
}
|
|
1962
2057
|
},
|
|
2058
|
+
{
|
|
2059
|
+
"caseId": "build-input-boundary-935a655c02d893aa",
|
|
2060
|
+
"coveredRuleIds": [
|
|
2061
|
+
"build-input:#/$defs/contentBuildMediaFile/allOf/1/then/properties/byteLength:maximum"
|
|
2062
|
+
],
|
|
2063
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
2064
|
+
"schemaPointer": "#/$defs/contentBuildMediaFile/allOf/1/then/properties/byteLength",
|
|
2065
|
+
"keyword": "maximum",
|
|
2066
|
+
"instance": 20971520
|
|
2067
|
+
},
|
|
1963
2068
|
{
|
|
1964
2069
|
"caseId": "build-input-boundary-93d0686891175779",
|
|
1965
2070
|
"coveredRuleIds": ["build-input:#/$defs/githubPositiveDecimal:maxLength"],
|
|
@@ -2100,6 +2205,20 @@
|
|
|
2100
2205
|
"direction": "maximum"
|
|
2101
2206
|
}
|
|
2102
2207
|
},
|
|
2208
|
+
{
|
|
2209
|
+
"caseId": "build-input-boundary-9ffd571368db88a9",
|
|
2210
|
+
"coveredRuleIds": [
|
|
2211
|
+
"build-input:#/$defs/contentBuildRecord/properties/media:maxItems"
|
|
2212
|
+
],
|
|
2213
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
2214
|
+
"schemaPointer": "#/$defs/contentBuildRecord/properties/media",
|
|
2215
|
+
"keyword": "maxItems",
|
|
2216
|
+
"recipe": {
|
|
2217
|
+
"kind": "schema-array-boundary",
|
|
2218
|
+
"schemaPointer": "#/$defs/contentBuildRecord/properties/media",
|
|
2219
|
+
"length": 200
|
|
2220
|
+
}
|
|
2221
|
+
},
|
|
2103
2222
|
{
|
|
2104
2223
|
"caseId": "build-input-boundary-a14bda95f5cd1138",
|
|
2105
2224
|
"coveredRuleIds": [
|
|
@@ -2110,6 +2229,16 @@
|
|
|
2110
2229
|
"keyword": "const",
|
|
2111
2230
|
"instance": "dark"
|
|
2112
2231
|
},
|
|
2232
|
+
{
|
|
2233
|
+
"caseId": "build-input-boundary-a1fe5afd17fe635e",
|
|
2234
|
+
"coveredRuleIds": [
|
|
2235
|
+
"build-input:#/$defs/contentBuildMediaFile/allOf/0/then/properties/byteLength:maximum"
|
|
2236
|
+
],
|
|
2237
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
2238
|
+
"schemaPointer": "#/$defs/contentBuildMediaFile/allOf/0/then/properties/byteLength",
|
|
2239
|
+
"keyword": "maximum",
|
|
2240
|
+
"instance": 5242880
|
|
2241
|
+
},
|
|
2113
2242
|
{
|
|
2114
2243
|
"caseId": "build-input-boundary-a2562b66dd95e622",
|
|
2115
2244
|
"coveredRuleIds": [
|
|
@@ -2120,6 +2249,16 @@
|
|
|
2120
2249
|
"keyword": "const",
|
|
2121
2250
|
"instance": "light"
|
|
2122
2251
|
},
|
|
2252
|
+
{
|
|
2253
|
+
"caseId": "build-input-boundary-a415546a8ab87529",
|
|
2254
|
+
"coveredRuleIds": [
|
|
2255
|
+
"build-input:#/$defs/contentBuildMediaFile/allOf/1/if:required:mediaType"
|
|
2256
|
+
],
|
|
2257
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
2258
|
+
"schemaPointer": "#/$defs/contentBuildMediaFile/allOf/1/if",
|
|
2259
|
+
"keyword": "required",
|
|
2260
|
+
"instance": { "mediaType": "audio/mpeg" }
|
|
2261
|
+
},
|
|
2123
2262
|
{
|
|
2124
2263
|
"caseId": "build-input-boundary-a4ff54d1e4ec7222",
|
|
2125
2264
|
"coveredRuleIds": [
|
|
@@ -2213,6 +2352,23 @@
|
|
|
2213
2352
|
"length": 3
|
|
2214
2353
|
}
|
|
2215
2354
|
},
|
|
2355
|
+
{
|
|
2356
|
+
"caseId": "build-input-boundary-acc0d4fc1d862159",
|
|
2357
|
+
"coveredRuleIds": [
|
|
2358
|
+
"build-input:#/$defs/contentBuildRecord/properties/media:type"
|
|
2359
|
+
],
|
|
2360
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
2361
|
+
"schemaPointer": "#/$defs/contentBuildRecord/properties/media",
|
|
2362
|
+
"keyword": "type",
|
|
2363
|
+
"instance": [
|
|
2364
|
+
{
|
|
2365
|
+
"path": "content/fixture-1.md",
|
|
2366
|
+
"sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
|
|
2367
|
+
"mediaType": "image/png",
|
|
2368
|
+
"byteLength": 1
|
|
2369
|
+
}
|
|
2370
|
+
]
|
|
2371
|
+
},
|
|
2216
2372
|
{
|
|
2217
2373
|
"caseId": "build-input-boundary-b16096e9a6998b94",
|
|
2218
2374
|
"coveredRuleIds": [
|
|
@@ -2369,6 +2525,16 @@
|
|
|
2369
2525
|
"length": 32
|
|
2370
2526
|
}
|
|
2371
2527
|
},
|
|
2528
|
+
{
|
|
2529
|
+
"caseId": "build-input-boundary-bcd33a245c8a3074",
|
|
2530
|
+
"coveredRuleIds": [
|
|
2531
|
+
"build-input:#/$defs/contentBuildMediaFile/allOf/0/if/properties/mediaType:enum"
|
|
2532
|
+
],
|
|
2533
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
2534
|
+
"schemaPointer": "#/$defs/contentBuildMediaFile/allOf/0/if/properties/mediaType",
|
|
2535
|
+
"keyword": "enum",
|
|
2536
|
+
"instance": "image/png"
|
|
2537
|
+
},
|
|
2372
2538
|
{
|
|
2373
2539
|
"caseId": "build-input-boundary-bcd733cdaa48a015",
|
|
2374
2540
|
"coveredRuleIds": [
|
|
@@ -3021,6 +3187,16 @@
|
|
|
3021
3187
|
"keyword": "type",
|
|
3022
3188
|
"instance": "fixture-1"
|
|
3023
3189
|
},
|
|
3190
|
+
{
|
|
3191
|
+
"caseId": "build-input-boundary-f7ecd9f50b2b42ba",
|
|
3192
|
+
"coveredRuleIds": [
|
|
3193
|
+
"build-input:#/$defs/contentBuildMediaFile/allOf/0/if:required:mediaType"
|
|
3194
|
+
],
|
|
3195
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
3196
|
+
"schemaPointer": "#/$defs/contentBuildMediaFile/allOf/0/if",
|
|
3197
|
+
"keyword": "required",
|
|
3198
|
+
"instance": { "mediaType": "image/png" }
|
|
3199
|
+
},
|
|
3024
3200
|
{
|
|
3025
3201
|
"caseId": "build-input-boundary-f9783184683d71dc",
|
|
3026
3202
|
"coveredRuleIds": [
|