@rathnasgala2/schemas 3.32.1 → 3.32.2
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.
|
@@ -229,9 +229,9 @@
|
|
|
229
229
|
"version": "2.0.0",
|
|
230
230
|
"path": "openapi/openapi.yaml",
|
|
231
231
|
"materialized": true,
|
|
232
|
-
"sourceDigest": "sha256:
|
|
232
|
+
"sourceDigest": "sha256:f2775ebfd119c9db3a6af2227d8d9b0f4ddc7df718754edec92be78b3ccf9556",
|
|
233
233
|
"typescriptRootType": null
|
|
234
234
|
}
|
|
235
235
|
],
|
|
236
|
-
"digest": "sha256:
|
|
236
|
+
"digest": "sha256:6f928c23e796394069e028cb20fac12a8c99798d7e0db8c41e19535c170dd834"
|
|
237
237
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": "2.0.0",
|
|
3
3
|
"sourceDesignRevision": "a53052955ceb6c1aa10c886289dc832eedfe6de0a00004df07d353ac19c4403a",
|
|
4
|
-
"openApiDigest": "sha256:
|
|
4
|
+
"openApiDigest": "sha256:f2775ebfd119c9db3a6af2227d8d9b0f4ddc7df718754edec92be78b3ccf9556",
|
|
5
5
|
"operations": [
|
|
6
6
|
{
|
|
7
7
|
"operationId": "getInternalHealth",
|
|
@@ -3531,5 +3531,5 @@
|
|
|
3531
3531
|
"sourceFragment": "workloads"
|
|
3532
3532
|
}
|
|
3533
3533
|
],
|
|
3534
|
-
"digest": "sha256:
|
|
3534
|
+
"digest": "sha256:db5faf7a8f4b82ede5af252edaba0d00080a9769f4fa80fba1638d727e3c83c9"
|
|
3535
3535
|
}
|
package/openapi/openapi.yaml
CHANGED
|
@@ -1439,8 +1439,9 @@ components:
|
|
|
1439
1439
|
5 MiB bound is measured on the decoded byte length, not this
|
|
1440
1440
|
field's text length, and `bytesBase64`'s own `maxLength` is the
|
|
1441
1441
|
base64 ceiling for that same decoded bound. `contentType` is closed
|
|
1442
|
-
to PNG, JPEG, WebP, GIF and
|
|
1443
|
-
video types the server never accepted
|
|
1442
|
+
to PNG, JPEG, WebP, GIF, AVIF and PDF (SCHEMA-3.3.0 drops the sound
|
|
1443
|
+
and video types the server never accepted; SCHEMA-3.32.2 adds
|
|
1444
|
+
`application/pdf` for file downloads); `image/svg+xml` is
|
|
1444
1445
|
deliberately absent everywhere in this contract (an SVG can carry
|
|
1445
1446
|
script). `DELETE` names only the path it removes and carries none
|
|
1446
1447
|
of the write-only members.
|
|
@@ -1464,6 +1465,7 @@ components:
|
|
|
1464
1465
|
- image/webp
|
|
1465
1466
|
- image/gif
|
|
1466
1467
|
- image/avif
|
|
1468
|
+
- application/pdf
|
|
1467
1469
|
type: string
|
|
1468
1470
|
path:
|
|
1469
1471
|
maxLength: 512
|
|
@@ -17727,7 +17729,8 @@ components:
|
|
|
17727
17729
|
`DELETE_DATE_NOT_AFTER_RELEASE` (SCHEMA-3.25.1), alongside the other
|
|
17728
17730
|
reasons the API reports for cross-document rules; those reasons are
|
|
17729
17731
|
not an enumerated schema member.
|
|
17730
|
-
Assets are images
|
|
17732
|
+
Assets are images (PNG, JPEG, WebP, GIF, AVIF; SVG is refused) and,
|
|
17733
|
+
since SCHEMA-3.32.2, PDF files (`application/pdf`):
|
|
17731
17734
|
at most 20 per change, each at most 5 MiB and together at most
|
|
17732
17735
|
20 MiB, measured on the decoded bytes -- `assets[].bytesBase64` is
|
|
17733
17736
|
base64 over raw bytes, so what counts is the decoded byte length,
|
|
@@ -39745,7 +39748,8 @@ paths:
|
|
|
39745
39748
|
sniffed from the asset's own bytes rather than trusted from what was
|
|
39746
39749
|
written at plan time, with `X-Content-Type-Options: nosniff` and
|
|
39747
39750
|
`Content-Disposition: inline` so a browser renders it and never
|
|
39748
|
-
executes it. This operation serves
|
|
39751
|
+
executes it. This operation serves twelve types (SCHEMA-3.32.2 adds
|
|
39752
|
+
`application/pdf`). `image/svg+xml`
|
|
39749
39753
|
remains in the `200` response's declared content-type list only
|
|
39750
39754
|
because it was published there since SCHEMA-2.14.0, and removing it
|
|
39751
39755
|
would not be additive; no server version has ever answered with it.
|
|
@@ -39761,7 +39765,7 @@ paths:
|
|
|
39761
39765
|
with the unsatisfied-range `Content-Range` (`bytes`, an asterisk,
|
|
39762
39766
|
then `/<total>`). An asset over its
|
|
39763
39767
|
per-category bound (image 5 MiB, sound 20 MiB, video 50 MiB), or
|
|
39764
|
-
whose sniffed type is not one of the
|
|
39768
|
+
whose sniffed type is not one of the twelve served types, is
|
|
39765
39769
|
`422 VALIDATION_FAILED` pointed at `/path`.
|
|
39766
39770
|
operationId: getOrganizationsByOrganizationIdPublicationsByPublicationIdContentAssets
|
|
39767
39771
|
parameters:
|
|
@@ -39802,6 +39806,10 @@ paths:
|
|
|
39802
39806
|
responses:
|
|
39803
39807
|
"200":
|
|
39804
39808
|
content:
|
|
39809
|
+
application/pdf:
|
|
39810
|
+
schema:
|
|
39811
|
+
format: binary
|
|
39812
|
+
type: string
|
|
39805
39813
|
audio/mp4:
|
|
39806
39814
|
schema:
|
|
39807
39815
|
format: binary
|
|
@@ -39864,6 +39872,10 @@ paths:
|
|
|
39864
39872
|
$ref: "#/components/headers/XCorrelationId"
|
|
39865
39873
|
"206":
|
|
39866
39874
|
content:
|
|
39875
|
+
application/pdf:
|
|
39876
|
+
schema:
|
|
39877
|
+
format: binary
|
|
39878
|
+
type: string
|
|
39867
39879
|
audio/mp4:
|
|
39868
39880
|
schema:
|
|
39869
39881
|
format: binary
|
|
@@ -40070,7 +40082,7 @@ paths:
|
|
|
40070
40082
|
value:
|
|
40071
40083
|
code: VALIDATION_FAILED
|
|
40072
40084
|
correlationId: 018f0000-0000-7000-8000-000000000001
|
|
40073
|
-
detail: The asset exceeds its per-category read bound (image 5 MiB, sound 20 MiB, video 50 MiB), its sniffed content type is not one of the
|
|
40085
|
+
detail: The asset exceeds its per-category read bound (image 5 MiB, sound 20 MiB, video 50 MiB), its sniffed content type is not one of the twelve served types, or it is image/svg+xml (never served, script risk). See the operation contract.
|
|
40074
40086
|
errors:
|
|
40075
40087
|
- code: VALIDATION_FAILED
|
|
40076
40088
|
pointer: /path
|
package/package.json
CHANGED
package/sbom.cdx.json
CHANGED
|
@@ -97,8 +97,8 @@
|
|
|
97
97
|
"type": "library",
|
|
98
98
|
"name": "schemas",
|
|
99
99
|
"group": "@rathnasgala2",
|
|
100
|
-
"version": "3.32.
|
|
101
|
-
"bom-ref": "@rathnasgala2/schemas@3.32.
|
|
100
|
+
"version": "3.32.2",
|
|
101
|
+
"bom-ref": "@rathnasgala2/schemas@3.32.2",
|
|
102
102
|
"description": "Executable JSON Schema and OpenAPI contracts for Galascribe",
|
|
103
103
|
"licenses": [
|
|
104
104
|
{
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
],
|
|
111
|
-
"purl": "pkg:npm/%40rathnasgala2/schemas@3.32.
|
|
111
|
+
"purl": "pkg:npm/%40rathnasgala2/schemas@3.32.2?vcs_url=git%2Bhttps%3A%2F%2Fgithub.com%2Frathnasgala2%2Fschema.git",
|
|
112
112
|
"externalReferences": [
|
|
113
113
|
{
|
|
114
114
|
"url": "https://github.com/rathnasgala2/schema/issues",
|
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
"type": "library",
|
|
154
154
|
"name": "ajv-formats",
|
|
155
155
|
"version": "3.0.1",
|
|
156
|
-
"bom-ref": "@rathnasgala2/schemas@3.32.
|
|
156
|
+
"bom-ref": "@rathnasgala2/schemas@3.32.2|ajv-formats@3.0.1",
|
|
157
157
|
"licenses": [
|
|
158
158
|
{
|
|
159
159
|
"license": {
|
|
@@ -187,7 +187,7 @@
|
|
|
187
187
|
"type": "library",
|
|
188
188
|
"name": "ajv",
|
|
189
189
|
"version": "8.20.0",
|
|
190
|
-
"bom-ref": "@rathnasgala2/schemas@3.32.
|
|
190
|
+
"bom-ref": "@rathnasgala2/schemas@3.32.2|ajv@8.20.0",
|
|
191
191
|
"licenses": [
|
|
192
192
|
{
|
|
193
193
|
"license": {
|
|
@@ -221,7 +221,7 @@
|
|
|
221
221
|
"type": "library",
|
|
222
222
|
"name": "fast-deep-equal",
|
|
223
223
|
"version": "3.1.3",
|
|
224
|
-
"bom-ref": "@rathnasgala2/schemas@3.32.
|
|
224
|
+
"bom-ref": "@rathnasgala2/schemas@3.32.2|fast-deep-equal@3.1.3",
|
|
225
225
|
"licenses": [
|
|
226
226
|
{
|
|
227
227
|
"license": {
|
|
@@ -255,7 +255,7 @@
|
|
|
255
255
|
"type": "library",
|
|
256
256
|
"name": "fast-uri",
|
|
257
257
|
"version": "3.1.8",
|
|
258
|
-
"bom-ref": "@rathnasgala2/schemas@3.32.
|
|
258
|
+
"bom-ref": "@rathnasgala2/schemas@3.32.2|fast-uri@3.1.8",
|
|
259
259
|
"licenses": [
|
|
260
260
|
{
|
|
261
261
|
"license": {
|
|
@@ -289,7 +289,7 @@
|
|
|
289
289
|
"type": "library",
|
|
290
290
|
"name": "json-schema-traverse",
|
|
291
291
|
"version": "1.0.0",
|
|
292
|
-
"bom-ref": "@rathnasgala2/schemas@3.32.
|
|
292
|
+
"bom-ref": "@rathnasgala2/schemas@3.32.2|json-schema-traverse@1.0.0",
|
|
293
293
|
"licenses": [
|
|
294
294
|
{
|
|
295
295
|
"license": {
|
|
@@ -323,7 +323,7 @@
|
|
|
323
323
|
"type": "library",
|
|
324
324
|
"name": "require-from-string",
|
|
325
325
|
"version": "2.0.2",
|
|
326
|
-
"bom-ref": "@rathnasgala2/schemas@3.32.
|
|
326
|
+
"bom-ref": "@rathnasgala2/schemas@3.32.2|require-from-string@2.0.2",
|
|
327
327
|
"licenses": [
|
|
328
328
|
{
|
|
329
329
|
"license": {
|
|
@@ -1064,10 +1064,10 @@
|
|
|
1064
1064
|
],
|
|
1065
1065
|
"dependencies": [
|
|
1066
1066
|
{
|
|
1067
|
-
"ref": "@rathnasgala2/schemas@3.32.
|
|
1067
|
+
"ref": "@rathnasgala2/schemas@3.32.2",
|
|
1068
1068
|
"dependsOn": [
|
|
1069
|
-
"@rathnasgala2/schemas@3.32.
|
|
1070
|
-
"@rathnasgala2/schemas@3.32.
|
|
1069
|
+
"@rathnasgala2/schemas@3.32.2|ajv-formats@3.0.1",
|
|
1070
|
+
"@rathnasgala2/schemas@3.32.2|ajv@8.20.0",
|
|
1071
1071
|
"pkg:npm/semver@7.8.5",
|
|
1072
1072
|
"urn:gala:source-data:iana-ipv4-special-registry",
|
|
1073
1073
|
"urn:gala:source-data:iana-ipv6-special-registry",
|
|
@@ -1089,31 +1089,31 @@
|
|
|
1089
1089
|
]
|
|
1090
1090
|
},
|
|
1091
1091
|
{
|
|
1092
|
-
"ref": "@rathnasgala2/schemas@3.32.
|
|
1092
|
+
"ref": "@rathnasgala2/schemas@3.32.2|ajv-formats@3.0.1",
|
|
1093
1093
|
"dependsOn": [
|
|
1094
|
-
"@rathnasgala2/schemas@3.32.
|
|
1094
|
+
"@rathnasgala2/schemas@3.32.2|ajv@8.20.0"
|
|
1095
1095
|
]
|
|
1096
1096
|
},
|
|
1097
1097
|
{
|
|
1098
|
-
"ref": "@rathnasgala2/schemas@3.32.
|
|
1098
|
+
"ref": "@rathnasgala2/schemas@3.32.2|ajv@8.20.0",
|
|
1099
1099
|
"dependsOn": [
|
|
1100
|
-
"@rathnasgala2/schemas@3.32.
|
|
1101
|
-
"@rathnasgala2/schemas@3.32.
|
|
1102
|
-
"@rathnasgala2/schemas@3.32.
|
|
1103
|
-
"@rathnasgala2/schemas@3.32.
|
|
1100
|
+
"@rathnasgala2/schemas@3.32.2|fast-deep-equal@3.1.3",
|
|
1101
|
+
"@rathnasgala2/schemas@3.32.2|fast-uri@3.1.8",
|
|
1102
|
+
"@rathnasgala2/schemas@3.32.2|json-schema-traverse@1.0.0",
|
|
1103
|
+
"@rathnasgala2/schemas@3.32.2|require-from-string@2.0.2"
|
|
1104
1104
|
]
|
|
1105
1105
|
},
|
|
1106
1106
|
{
|
|
1107
|
-
"ref": "@rathnasgala2/schemas@3.32.
|
|
1107
|
+
"ref": "@rathnasgala2/schemas@3.32.2|fast-deep-equal@3.1.3"
|
|
1108
1108
|
},
|
|
1109
1109
|
{
|
|
1110
|
-
"ref": "@rathnasgala2/schemas@3.32.
|
|
1110
|
+
"ref": "@rathnasgala2/schemas@3.32.2|fast-uri@3.1.8"
|
|
1111
1111
|
},
|
|
1112
1112
|
{
|
|
1113
|
-
"ref": "@rathnasgala2/schemas@3.32.
|
|
1113
|
+
"ref": "@rathnasgala2/schemas@3.32.2|json-schema-traverse@1.0.0"
|
|
1114
1114
|
},
|
|
1115
1115
|
{
|
|
1116
|
-
"ref": "@rathnasgala2/schemas@3.32.
|
|
1116
|
+
"ref": "@rathnasgala2/schemas@3.32.2|require-from-string@2.0.2"
|
|
1117
1117
|
},
|
|
1118
1118
|
{
|
|
1119
1119
|
"ref": "pkg:npm/semver@7.8.5"
|