@rathnasgala2/schemas 2.15.0 → 2.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.
- package/README.md +56 -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 +299 -27
- 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,62 @@ 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
|
+
|
|
129
|
+
SCHEMA-2.16.0 corrects a fault SCHEMA-2.14.0 introduced:
|
|
130
|
+
`POST .../repository-changes/{changeId}:bring-up-to-date`'s
|
|
131
|
+
`x-gala-state-guards` admitted only `REQUESTED|PLANNED|AWAITING_CONFIRMATION`,
|
|
132
|
+
and its `409` wording said an already-committed change was refused -- which
|
|
133
|
+
defeated the operation's purpose, since a person's saved change IS committed (it
|
|
134
|
+
carries a `proposedRevision`, and it was reviewed and approved) and it is
|
|
135
|
+
exactly that change a publish refuses `SOURCE_OUT_OF_DATE`. The guard now also
|
|
136
|
+
admits `COMMITTED`:
|
|
137
|
+
`RepositoryChange:REQUESTED|PLANNED|AWAITING_CONFIRMATION|COMMITTED -> PLANNED (new change)`.
|
|
138
|
+
Not admitted, and now stated as such: a change with a commit in flight
|
|
139
|
+
(`COMMIT_REQUESTED`/`COMMITTING`/`UNKNOWN_RECONCILING`), one that already failed
|
|
140
|
+
or was cancelled (`FAILED_NO_CHANGE`/`CANCELLED`), or one already published. Two
|
|
141
|
+
smaller additions travel in the same release: `GET .../repository/setup`
|
|
142
|
+
declares `503 CAPABILITY_UNAVAILABLE`/`DEPENDENCY_UNAVAILABLE` exactly as
|
|
143
|
+
`POST .../repository:set-up` already does, since both depend on the same
|
|
144
|
+
configured GitHub App identity; and repository creation's operation description
|
|
145
|
+
now states that with `startFrom: USER_TEMPLATE` an unreachable
|
|
146
|
+
`rathnasgala2/user-template` GitHub template is the existing
|
|
147
|
+
`503 DEPENDENCY_UNAVAILABLE` this operation has declared since 2.13.0 (no new
|
|
148
|
+
status was needed).
|
|
149
|
+
|
|
94
150
|
SCHEMA-2.15.0 closes a Content-list gap SCHEMA-2.14.0 left: with `kind` the only
|
|
95
151
|
fact the inventory carried about a flat file, a row could not show title, kind,
|
|
96
152
|
status or last-changed, and a client could not check web-address uniqueness,
|
|
@@ -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:4fc11abc34a1de9a64eb669ed414ca4d508e5672aad79ecb6e1a88454627617b",
|
|
213
213
|
"typescriptRootType": null
|
|
214
214
|
}
|
|
215
215
|
],
|
|
216
|
-
"digest": "sha256:
|
|
216
|
+
"digest": "sha256:74a4b8f2a34024211a4a63d8e7f853082a6045990c86cadd9fd539aeb74495df"
|
|
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": [
|