@rathnasgala2/schemas 3.32.1 → 3.33.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.
|
@@ -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:89d671c73a46477d91e7efc26a10a3569e10e81dd6b58da14a4c817d18f6a4ab",
|
|
233
233
|
"typescriptRootType": null
|
|
234
234
|
}
|
|
235
235
|
],
|
|
236
|
-
"digest": "sha256:
|
|
236
|
+
"digest": "sha256:175035b56466bfbba7d661699a3dd17a7f373eb9dc245af9827a39956250f7aa"
|
|
237
237
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": "2.0.0",
|
|
3
3
|
"sourceDesignRevision": "a53052955ceb6c1aa10c886289dc832eedfe6de0a00004df07d353ac19c4403a",
|
|
4
|
-
"openApiDigest": "sha256:
|
|
4
|
+
"openApiDigest": "sha256:89d671c73a46477d91e7efc26a10a3569e10e81dd6b58da14a4c817d18f6a4ab",
|
|
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:3d754da549f66fd063ccc40b2f8d12c00b0411e9a50f1117371dbcca396b9ae8"
|
|
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,
|
|
@@ -22579,7 +22582,7 @@ components:
|
|
|
22579
22582
|
type: object
|
|
22580
22583
|
SiteAttentionItem:
|
|
22581
22584
|
additionalProperties: false
|
|
22582
|
-
description: "Something that needs a person to act. The list is empty when nothing does. SCHEMA-3.3.0: `SCHEDULED_PUBLISH_FAILED` means a scheduled publish could not start at its time; `relatedPublishId` names the schedule and `reasonCode` the first precondition that failed (a client maps the values it knows to a sentence and shows a generic one otherwise); nothing was merged. `DOMAIN_PUBLISH_REQUIRED` means a custom domain is live and the next publish moves the site's address to it. `DOMAIN_DEGRADED` means a live custom domain stopped working; `reasonCode` names why and the domain read carries the next step. SCHEMA-3.17.0 adds the domain `reasonCode` values `MOVE_FAILED` (the system move of the site's canonical base to or from the domain failed and will be retried), `MOVE_STUCK` (it failed three times and waits for the author to retry from the domain page), `MOVE_ABANDONED` (the move back to the github.io address on removal gave up) and `AUTHORITY_LAPSED` (the stored publish authority the move runs under could no longer be restated); the domain read's `baseMove` carries the same state. A client shows a generic sentence for a `reasonCode` it does not know. SCHEMA-3.9.0: on `REPOSITORY_NEEDS_UPDATE`, `reason` names the cause and `paths` the managed repository files involved, so a client can say what to do and list the files (both are absent from older servers and for other codes; show a generic sentence for a `reason` you do not know). `AUTHOR_EDITED`: a managed file differs from the version Galascribe manages and only the author may resolve it. `BRANCH_PROTECTION`: GitHub refused Galascribe's own repair commit. `REPOSITORY_ARCHIVED`: the repository is archived. `INSTALLATION_SUSPENDED`: the GitHub App installation is suspended. `WORKFLOWS_PERMISSION_MISSING`: the installation has not accepted the workflows permission. `AUTHORIZATION_LOST`: Galascribe lost its GitHub authorization. `FORBIDDEN`: GitHub refused for another permission reason. The same `reason` and `paths` ride on the `REPOSITORY_NEEDS_UPDATE` entry of a publish refusal's `errors`."
|
|
22585
|
+
description: "Something that needs a person to act. The list is empty when nothing does. SCHEMA-3.3.0: `SCHEDULED_PUBLISH_FAILED` means a scheduled publish could not start at its time; `relatedPublishId` names the schedule and `reasonCode` the first precondition that failed (a client maps the values it knows to a sentence and shows a generic one otherwise); nothing was merged. `DOMAIN_PUBLISH_REQUIRED` means a custom domain is live and the next publish moves the site's address to it. `DOMAIN_DEGRADED` means a live custom domain stopped working; `reasonCode` names why and the domain read carries the next step. SCHEMA-3.17.0 adds the domain `reasonCode` values `MOVE_FAILED` (the system move of the site's canonical base to or from the domain failed and will be retried), `MOVE_STUCK` (it failed three times and waits for the author to retry from the domain page), `MOVE_ABANDONED` (the move back to the github.io address on removal gave up) and `AUTHORITY_LAPSED` (the stored publish authority the move runs under could no longer be restated); the domain read's `baseMove` carries the same state. A client shows a generic sentence for a `reasonCode` it does not know. SCHEMA-3.9.0: on `REPOSITORY_NEEDS_UPDATE`, `reason` names the cause and `paths` the managed repository files involved, so a client can say what to do and list the files (both are absent from older servers and for other codes; show a generic sentence for a `reason` you do not know). `AUTHOR_EDITED`: a managed file differs from the version Galascribe manages and only the author may resolve it. `BRANCH_PROTECTION`: GitHub refused Galascribe's own repair commit. `REPOSITORY_ARCHIVED`: the repository is archived. `INSTALLATION_SUSPENDED`: the GitHub App installation is suspended. `WORKFLOWS_PERMISSION_MISSING`: the installation has not accepted the workflows permission. `AUTHORIZATION_LOST`: Galascribe lost its GitHub authorization. `FORBIDDEN`: GitHub refused for another permission reason. The same `reason` and `paths` ride on the `REPOSITORY_NEEDS_UPDATE` entry of a publish refusal's `errors`. SCHEMA-3.33.0: `LAYOUT_MOVE`: the repository's About, Terms and Privacy pages are still on the old layout and wait for the explicit set-up (Update now), which moves them; the system never moves them on its own and the site keeps publishing until then."
|
|
22583
22586
|
properties:
|
|
22584
22587
|
code:
|
|
22585
22588
|
enum:
|
|
@@ -22608,7 +22611,7 @@ components:
|
|
|
22608
22611
|
minItems: 0
|
|
22609
22612
|
type: array
|
|
22610
22613
|
reason:
|
|
22611
|
-
description: SCHEMA-3.9.0. Why a `REPOSITORY_NEEDS_UPDATE` needs the author.
|
|
22614
|
+
description: SCHEMA-3.9.0. Why a `REPOSITORY_NEEDS_UPDATE` needs the author. SCHEMA-3.33.0 adds `LAYOUT_MOVE` (the theme pages wait for the explicit set-up's layout move).
|
|
22612
22615
|
enum:
|
|
22613
22616
|
- AUTHOR_EDITED
|
|
22614
22617
|
- BRANCH_PROTECTION
|
|
@@ -22617,6 +22620,7 @@ components:
|
|
|
22617
22620
|
- WORKFLOWS_PERMISSION_MISSING
|
|
22618
22621
|
- AUTHORIZATION_LOST
|
|
22619
22622
|
- FORBIDDEN
|
|
22623
|
+
- LAYOUT_MOVE
|
|
22620
22624
|
type: string
|
|
22621
22625
|
reasonCode:
|
|
22622
22626
|
description: "A free string within the pattern. Known `DOMAIN_DEGRADED` values (SCHEMA-3.17.0): MOVE_FAILED, MOVE_STUCK, MOVE_ABANDONED, AUTHORITY_LAPSED; a client shows a generic sentence for any other."
|
|
@@ -39745,7 +39749,8 @@ paths:
|
|
|
39745
39749
|
sniffed from the asset's own bytes rather than trusted from what was
|
|
39746
39750
|
written at plan time, with `X-Content-Type-Options: nosniff` and
|
|
39747
39751
|
`Content-Disposition: inline` so a browser renders it and never
|
|
39748
|
-
executes it. This operation serves
|
|
39752
|
+
executes it. This operation serves twelve types (SCHEMA-3.32.2 adds
|
|
39753
|
+
`application/pdf`). `image/svg+xml`
|
|
39749
39754
|
remains in the `200` response's declared content-type list only
|
|
39750
39755
|
because it was published there since SCHEMA-2.14.0, and removing it
|
|
39751
39756
|
would not be additive; no server version has ever answered with it.
|
|
@@ -39761,7 +39766,7 @@ paths:
|
|
|
39761
39766
|
with the unsatisfied-range `Content-Range` (`bytes`, an asterisk,
|
|
39762
39767
|
then `/<total>`). An asset over its
|
|
39763
39768
|
per-category bound (image 5 MiB, sound 20 MiB, video 50 MiB), or
|
|
39764
|
-
whose sniffed type is not one of the
|
|
39769
|
+
whose sniffed type is not one of the twelve served types, is
|
|
39765
39770
|
`422 VALIDATION_FAILED` pointed at `/path`.
|
|
39766
39771
|
operationId: getOrganizationsByOrganizationIdPublicationsByPublicationIdContentAssets
|
|
39767
39772
|
parameters:
|
|
@@ -39802,6 +39807,10 @@ paths:
|
|
|
39802
39807
|
responses:
|
|
39803
39808
|
"200":
|
|
39804
39809
|
content:
|
|
39810
|
+
application/pdf:
|
|
39811
|
+
schema:
|
|
39812
|
+
format: binary
|
|
39813
|
+
type: string
|
|
39805
39814
|
audio/mp4:
|
|
39806
39815
|
schema:
|
|
39807
39816
|
format: binary
|
|
@@ -39864,6 +39873,10 @@ paths:
|
|
|
39864
39873
|
$ref: "#/components/headers/XCorrelationId"
|
|
39865
39874
|
"206":
|
|
39866
39875
|
content:
|
|
39876
|
+
application/pdf:
|
|
39877
|
+
schema:
|
|
39878
|
+
format: binary
|
|
39879
|
+
type: string
|
|
39867
39880
|
audio/mp4:
|
|
39868
39881
|
schema:
|
|
39869
39882
|
format: binary
|
|
@@ -40070,7 +40083,7 @@ paths:
|
|
|
40070
40083
|
value:
|
|
40071
40084
|
code: VALIDATION_FAILED
|
|
40072
40085
|
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
|
|
40086
|
+
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
40087
|
errors:
|
|
40075
40088
|
- code: VALIDATION_FAILED
|
|
40076
40089
|
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.
|
|
101
|
-
"bom-ref": "@rathnasgala2/schemas@3.
|
|
100
|
+
"version": "3.33.0",
|
|
101
|
+
"bom-ref": "@rathnasgala2/schemas@3.33.0",
|
|
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.
|
|
111
|
+
"purl": "pkg:npm/%40rathnasgala2/schemas@3.33.0?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.
|
|
156
|
+
"bom-ref": "@rathnasgala2/schemas@3.33.0|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.
|
|
190
|
+
"bom-ref": "@rathnasgala2/schemas@3.33.0|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.
|
|
224
|
+
"bom-ref": "@rathnasgala2/schemas@3.33.0|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.
|
|
258
|
+
"bom-ref": "@rathnasgala2/schemas@3.33.0|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.
|
|
292
|
+
"bom-ref": "@rathnasgala2/schemas@3.33.0|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.
|
|
326
|
+
"bom-ref": "@rathnasgala2/schemas@3.33.0|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.
|
|
1067
|
+
"ref": "@rathnasgala2/schemas@3.33.0",
|
|
1068
1068
|
"dependsOn": [
|
|
1069
|
-
"@rathnasgala2/schemas@3.
|
|
1070
|
-
"@rathnasgala2/schemas@3.
|
|
1069
|
+
"@rathnasgala2/schemas@3.33.0|ajv-formats@3.0.1",
|
|
1070
|
+
"@rathnasgala2/schemas@3.33.0|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.
|
|
1092
|
+
"ref": "@rathnasgala2/schemas@3.33.0|ajv-formats@3.0.1",
|
|
1093
1093
|
"dependsOn": [
|
|
1094
|
-
"@rathnasgala2/schemas@3.
|
|
1094
|
+
"@rathnasgala2/schemas@3.33.0|ajv@8.20.0"
|
|
1095
1095
|
]
|
|
1096
1096
|
},
|
|
1097
1097
|
{
|
|
1098
|
-
"ref": "@rathnasgala2/schemas@3.
|
|
1098
|
+
"ref": "@rathnasgala2/schemas@3.33.0|ajv@8.20.0",
|
|
1099
1099
|
"dependsOn": [
|
|
1100
|
-
"@rathnasgala2/schemas@3.
|
|
1101
|
-
"@rathnasgala2/schemas@3.
|
|
1102
|
-
"@rathnasgala2/schemas@3.
|
|
1103
|
-
"@rathnasgala2/schemas@3.
|
|
1100
|
+
"@rathnasgala2/schemas@3.33.0|fast-deep-equal@3.1.3",
|
|
1101
|
+
"@rathnasgala2/schemas@3.33.0|fast-uri@3.1.8",
|
|
1102
|
+
"@rathnasgala2/schemas@3.33.0|json-schema-traverse@1.0.0",
|
|
1103
|
+
"@rathnasgala2/schemas@3.33.0|require-from-string@2.0.2"
|
|
1104
1104
|
]
|
|
1105
1105
|
},
|
|
1106
1106
|
{
|
|
1107
|
-
"ref": "@rathnasgala2/schemas@3.
|
|
1107
|
+
"ref": "@rathnasgala2/schemas@3.33.0|fast-deep-equal@3.1.3"
|
|
1108
1108
|
},
|
|
1109
1109
|
{
|
|
1110
|
-
"ref": "@rathnasgala2/schemas@3.
|
|
1110
|
+
"ref": "@rathnasgala2/schemas@3.33.0|fast-uri@3.1.8"
|
|
1111
1111
|
},
|
|
1112
1112
|
{
|
|
1113
|
-
"ref": "@rathnasgala2/schemas@3.
|
|
1113
|
+
"ref": "@rathnasgala2/schemas@3.33.0|json-schema-traverse@1.0.0"
|
|
1114
1114
|
},
|
|
1115
1115
|
{
|
|
1116
|
-
"ref": "@rathnasgala2/schemas@3.
|
|
1116
|
+
"ref": "@rathnasgala2/schemas@3.33.0|require-from-string@2.0.2"
|
|
1117
1117
|
},
|
|
1118
1118
|
{
|
|
1119
1119
|
"ref": "pkg:npm/semver@7.8.5"
|