@rathnasgala2/schemas 3.14.0 → 3.14.1

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "package": "@rathnasgala2/schemas@3.14.0",
3
+ "package": "@rathnasgala2/schemas@3.14.1",
4
4
  "source": "package-lock.json",
5
5
  "dependencies": [
6
6
  {
@@ -3078,7 +3078,11 @@
3078
3078
  "pathTemplate": "/v1/sites/{organizationId}/{publicationId}/handover",
3079
3079
  "screenId": "v1.sites.by-organization-id.by-publication-id.handover.screen",
3080
3080
  "authenticationClass": "SESSION_REQUIRED",
3081
- "capabilityKeys": ["publication.handover.manage", "publication.view"],
3081
+ "capabilityKeys": [
3082
+ "publication.handover.manage",
3083
+ "publication.handover.view",
3084
+ "publication.view"
3085
+ ],
3082
3086
  "apiOperationIds": [
3083
3087
  "getOrganizationsByOrganizationIdPublicationsByPublicationId",
3084
3088
  "getOrganizationsByOrganizationIdPublicationsByPublicationIdHandover",
@@ -3509,5 +3513,5 @@
3509
3513
  ]
3510
3514
  }
3511
3515
  ],
3512
- "digest": "sha256:0fd51346c8a71a2bb126155a48ce0c5efb587c03f623d83a22898d28b604ef43"
3516
+ "digest": "sha256:87b217dc928674d1c29b7ac17a882e2e70c4fb80cede51db4fd67001996915e3"
3513
3517
  }
@@ -219,9 +219,9 @@
219
219
  "version": "2.0.0",
220
220
  "path": "openapi/openapi.yaml",
221
221
  "materialized": true,
222
- "sourceDigest": "sha256:959b73a1b935fb36e9d0b1372f572b0daf459d45512ab74bd57e0e1ddf940d1f",
222
+ "sourceDigest": "sha256:52ee6b8f76bd4677837614ccba3b895f38667c23a7d36e0d2201a45fd71ae7e9",
223
223
  "typescriptRootType": null
224
224
  }
225
225
  ],
226
- "digest": "sha256:3d9dbfde730f7ae3c04fb955e1f94122a8fd0ee66be6da38cb870c3d21b5aae4"
226
+ "digest": "sha256:e3b7fd723c9c588d284411dd0c5244b641456e664fa1e831b67ebc3b064e0a75"
227
227
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schemaVersion": "2.0.0",
3
3
  "sourceDesignRevision": "a53052955ceb6c1aa10c886289dc832eedfe6de0a00004df07d353ac19c4403a",
4
- "openApiDigest": "sha256:959b73a1b935fb36e9d0b1372f572b0daf459d45512ab74bd57e0e1ddf940d1f",
4
+ "openApiDigest": "sha256:52ee6b8f76bd4677837614ccba3b895f38667c23a7d36e0d2201a45fd71ae7e9",
5
5
  "operations": [
6
6
  {
7
7
  "operationId": "getInternalHealth",
@@ -1068,10 +1068,10 @@
1068
1068
  "method": "GET",
1069
1069
  "path": "/v2/organizations/{organizationId}/publications/{publicationId}/handover",
1070
1070
  "purpose": "read publication handover",
1071
- "capabilityKey": "publication.handover.manage",
1071
+ "capabilityKey": "publication.handover.view",
1072
1072
  "conditionalCapabilityKeys": [],
1073
1073
  "activationGate": "MVP",
1074
- "assuranceClass": "RECENT_AUTHENTICATION",
1074
+ "assuranceClass": "SESSION",
1075
1075
  "actionGrant": "none",
1076
1076
  "apiKeyScope": null,
1077
1077
  "sourceFragment": "organizations"
@@ -2634,5 +2634,5 @@
2634
2634
  "sourceFragment": "workloads"
2635
2635
  }
2636
2636
  ],
2637
- "digest": "sha256:a3c16fc542f5cbd935862cbce2bc0dea9ba7db3a0f3387526dbba0f521b88613"
2637
+ "digest": "sha256:b9653b8233ca2573186efe14bc3d5d4dd4709ef0814c1e3f843d8c45a8e9d32f"
2638
2638
  }
@@ -20359,7 +20359,7 @@ paths:
20359
20359
  /v2/claims/{token}/description-code:
20360
20360
  post:
20361
20361
  description: |
20362
- Needs a signed-in session. Issues a one-time code to put in the YouTube channel description, valid 24 hours; a new request replaces an unexpired code issued to the same person. `404 CLAIM_NOT_FOUND`, `410 CLAIM_EXPIRED`, `409 CLAIM_ALREADY_CLAIMED`, and `409 CLAIM_CODE_PENDING` when a description code issued to another person for this claim is still pending: it expires at the time in the problem detail, so verify with Google instead, or try again after it expires. A `LINK_ONLY` claim has no channel to prove, so this answers `400 VALIDATION_FAILED` for one. Rate limited (`429 RATE_LIMITED`).
20362
+ Needs a signed-in session. Issues a one-time code to put in the YouTube channel description, valid 24 hours; a new request replaces an unexpired code issued to the same person. `404 CLAIM_NOT_FOUND`, `410 CLAIM_EXPIRED`, `409 CLAIM_ALREADY_CLAIMED`, and `409 CLAIM_CODE_PENDING` when a description code issued to another person for this claim is still pending: it expires at the time in the problem detail, so verify with Google instead, or try again after it expires. A `LINK_ONLY` claim has no channel to prove, so this answers `400 VALIDATION_FAILED` for one. Rate limited (`429 RATE_LIMITED`). The first person to complete acceptance owns the site. Until a claim is `CLAIMED`, anyone who proves the channel may verify it, and a later proof replaces an earlier one.
20363
20363
  operationId: postClaimsByTokenDescriptionCode
20364
20364
  parameters:
20365
20365
  - $ref: "#/components/parameters/XCorrelationId"
@@ -20630,7 +20630,7 @@ paths:
20630
20630
  /v2/claims/{token}/description-code:check:
20631
20631
  post:
20632
20632
  description: |
20633
- Needs a signed-in session. Reads the channel description through the YouTube Data API and, when it contains the issued code, marks the claim verified for this person and spends the code. A code that is not there yet is `200` with `verified: false` and a `reason`, not a problem. `503 DEPENDENCY_UNAVAILABLE` when YouTube cannot be reached. A `LINK_ONLY` claim has no channel to prove, so this answers `400 VALIDATION_FAILED` for one. Rate limited (`429 RATE_LIMITED`).
20633
+ Needs a signed-in session. Reads the channel description through the YouTube Data API and, when it contains the issued code, marks the claim verified for this person and spends the code. A code that is not there yet is `200` with `verified: false` and a `reason`, not a problem. `503 DEPENDENCY_UNAVAILABLE` when YouTube cannot be reached. A `LINK_ONLY` claim has no channel to prove, so this answers `400 VALIDATION_FAILED` for one. Rate limited (`429 RATE_LIMITED`). The first person to complete acceptance owns the site. Until a claim is `CLAIMED`, anyone who proves the channel may verify it, and a later proof replaces an earlier one.
20634
20634
  operationId: postClaimsByTokenDescriptionCodeCheck
20635
20635
  parameters:
20636
20636
  - $ref: "#/components/parameters/XCorrelationId"
@@ -20914,7 +20914,7 @@ paths:
20914
20914
  /v2/claims/{token}/google:start:
20915
20915
  post:
20916
20916
  description: |
20917
- Needs a signed-in session. Returns the Google authorize URL for one single-use, PKCE-protected transaction bound to this session; the callback is `GET /v2/callbacks/google/claim`. `404 CLAIM_NOT_FOUND`, `410 CLAIM_EXPIRED`, `409 CLAIM_ALREADY_CLAIMED` when the site was taken. A `LINK_ONLY` claim has no channel to prove, so this answers `400 VALIDATION_FAILED` for one. Rate limited (`429 RATE_LIMITED`).
20917
+ Needs a signed-in session. Returns the Google authorize URL for one single-use, PKCE-protected transaction bound to this session; the callback is `GET /v2/callbacks/google/claim`. `404 CLAIM_NOT_FOUND`, `410 CLAIM_EXPIRED`, `409 CLAIM_ALREADY_CLAIMED` when the site was taken. A `LINK_ONLY` claim has no channel to prove, so this answers `400 VALIDATION_FAILED` for one. Rate limited (`429 RATE_LIMITED`). The first person to complete acceptance owns the site. Until a claim is `CLAIMED`, anyone who proves the channel may verify it, and a later proof replaces an earlier one.
20918
20918
  operationId: postClaimsByTokenGoogleStart
20919
20919
  parameters:
20920
20920
  - $ref: "#/components/parameters/XCorrelationId"
@@ -21169,7 +21169,7 @@ paths:
21169
21169
  /v2/claims/{token}:accept:
21170
21170
  post:
21171
21171
  description: |
21172
- Needs recent authentication. For a `YOUTUBE_CHANNEL` claim it requires the claim to be verified by this same person (`409 CLAIM_NOT_VERIFIED` otherwise); a `LINK_ONLY` claim has nothing to verify and is accepted from `OPEN`. Then it makes the caller the owner of the site's organisation, which hands the site over. Repeating the call after success returns the same organisation. `409 INVALID_SOURCE_STATE` when the caller is the person who issued the claim or already owns the site: nobody can claim their own site. `409 CLAIM_ALREADY_CLAIMED` when another person claimed it; `410 CLAIM_EXPIRED`. An API key is always refused.
21172
+ Needs recent authentication. For a `YOUTUBE_CHANNEL` claim it requires the claim to be verified by this same person (`409 CLAIM_NOT_VERIFIED` otherwise); a `LINK_ONLY` claim has nothing to verify and is accepted from `OPEN`. Then it makes the caller the owner of the site's organisation, which hands the site over. Repeating the call after success returns the same organisation. `409 INVALID_SOURCE_STATE` when the caller is the person who issued the claim or already owns the site: nobody can claim their own site. `409 CLAIM_ALREADY_CLAIMED` when another person claimed it; `410 CLAIM_EXPIRED`. An API key is always refused. The first person to complete acceptance owns the site. Until a claim is `CLAIMED`, anyone who proves the channel may verify it, and a later proof replaces an earlier one.
21173
21173
  operationId: postClaimsByTokenAccept
21174
21174
  parameters:
21175
21175
  - $ref: "#/components/parameters/XCorrelationId"
@@ -38560,7 +38560,7 @@ paths:
38560
38560
  /v2/organizations/{organizationId}/publications/{publicationId}/handover:
38561
38561
  get:
38562
38562
  description: |
38563
- The organisation owner, with recent authentication; an API key is always refused. Reports the handover of a demo site into the creator's own GitHub account: its state, the target, whether the Galascribe App is installed on the target, each step and the address the site will have. `200` with `state: NOT_STARTED` (empty `steps`, `version` 0, no `target`, `appInstalledOnTarget` or `siteUrlAfter`) for a demo publication (one with a demo-site record) that has no handover yet; `200` with the latest handover otherwise, including `DONE`, `FAILED` and `CANCELLED`; `404 RESOURCE_NOT_FOUND` only for a publication that is not a demo publication.
38563
+ The organisation owner, signed in (a read needs no fresh sign-in); an API key is always refused. Reports the handover of a demo site into the creator's own GitHub account: its state, the target, whether the Galascribe App is installed on the target, each step and the address the site will have. `200` with `state: NOT_STARTED` (empty `steps`, `version` 0, no `target`, `appInstalledOnTarget` or `siteUrlAfter`) for a demo publication (one with a demo-site record) that has no handover yet; `200` with the latest handover otherwise, including `DONE`, `FAILED` and `CANCELLED`; `404 RESOURCE_NOT_FOUND` only for a publication that is not a demo publication.
38564
38564
  operationId: getOrganizationsByOrganizationIdPublicationsByPublicationIdHandover
38565
38565
  parameters:
38566
38566
  - $ref: "#/components/parameters/XCorrelationId"
@@ -38664,22 +38664,9 @@ paths:
38664
38664
  status: 401
38665
38665
  title: AUTHENTICATION_REQUIRED
38666
38666
  type: urn:gala:problem:authentication-required
38667
- REAUTH_REQUIRED:
38668
- summary: REAUTH_REQUIRED
38669
- value:
38670
- code: REAUTH_REQUIRED
38671
- correlationId: 018f0000-0000-7000-8000-000000000001
38672
- detail: See the operation contract.
38673
- errors: []
38674
- retryable: false
38675
- schemaId: urn:gala:schema:problem:2.0.0
38676
- schemaVersion: 2.0.0
38677
- status: 401
38678
- title: REAUTH_REQUIRED
38679
- type: urn:gala:problem:reauth-required
38680
38667
  schema:
38681
38668
  $ref: "#/components/schemas/Problem"
38682
- description: AUTHENTICATION_REQUIRED, REAUTH_REQUIRED
38669
+ description: AUTHENTICATION_REQUIRED
38683
38670
  headers:
38684
38671
  Cache-Control:
38685
38672
  $ref: "#/components/headers/CacheControlNoStore"
@@ -38687,7 +38674,6 @@ paths:
38687
38674
  $ref: "#/components/headers/XCorrelationId"
38688
38675
  x-gala-problem-codes:
38689
38676
  - AUTHENTICATION_REQUIRED
38690
- - REAUTH_REQUIRED
38691
38677
  "403":
38692
38678
  content:
38693
38679
  application/problem+json:
@@ -38751,8 +38737,8 @@ paths:
38751
38737
  x-gala-activation-gate: MVP
38752
38738
  x-gala-activation-guards:
38753
38739
  - NONE
38754
- x-gala-assurance-class: RECENT_AUTHENTICATION
38755
- x-gala-capability-key: publication.handover.manage
38740
+ x-gala-assurance-class: SESSION
38741
+ x-gala-capability-key: publication.handover.view
38756
38742
  x-gala-concurrency: none
38757
38743
  x-gala-conditional-capabilities: []
38758
38744
  x-gala-example-profile: NOMINAL_SUCCESS_AND_EACH_REACHABLE_PROBLEM
@@ -38761,7 +38747,6 @@ paths:
38761
38747
  x-gala-reachable-problems:
38762
38748
  - AUTHENTICATION_REQUIRED
38763
38749
  - AUTHORIZATION_DENIED
38764
- - REAUTH_REQUIRED
38765
38750
  - RESOURCE_NOT_FOUND
38766
38751
  - VALIDATION_FAILED
38767
38752
  x-gala-replay-identity: safe-query
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rathnasgala2/schemas",
3
- "version": "3.14.0",
3
+ "version": "3.14.1",
4
4
  "description": "Executable JSON Schema and OpenAPI contracts for Galascribe",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
package/sbom.cdx.json CHANGED
@@ -97,8 +97,8 @@
97
97
  "type": "library",
98
98
  "name": "schemas",
99
99
  "group": "@rathnasgala2",
100
- "version": "3.14.0",
101
- "bom-ref": "@rathnasgala2/schemas@3.14.0",
100
+ "version": "3.14.1",
101
+ "bom-ref": "@rathnasgala2/schemas@3.14.1",
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.14.0?vcs_url=git%2Bhttps%3A%2F%2Fgithub.com%2Frathnasgala2%2Fschema.git",
111
+ "purl": "pkg:npm/%40rathnasgala2/schemas@3.14.1?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.14.0|ajv-formats@3.0.1",
156
+ "bom-ref": "@rathnasgala2/schemas@3.14.1|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.14.0|ajv@8.20.0",
190
+ "bom-ref": "@rathnasgala2/schemas@3.14.1|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.14.0|fast-deep-equal@3.1.3",
224
+ "bom-ref": "@rathnasgala2/schemas@3.14.1|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.14.0|fast-uri@3.1.8",
258
+ "bom-ref": "@rathnasgala2/schemas@3.14.1|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.14.0|json-schema-traverse@1.0.0",
292
+ "bom-ref": "@rathnasgala2/schemas@3.14.1|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.14.0|require-from-string@2.0.2",
326
+ "bom-ref": "@rathnasgala2/schemas@3.14.1|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.14.0",
1067
+ "ref": "@rathnasgala2/schemas@3.14.1",
1068
1068
  "dependsOn": [
1069
- "@rathnasgala2/schemas@3.14.0|ajv-formats@3.0.1",
1070
- "@rathnasgala2/schemas@3.14.0|ajv@8.20.0",
1069
+ "@rathnasgala2/schemas@3.14.1|ajv-formats@3.0.1",
1070
+ "@rathnasgala2/schemas@3.14.1|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.14.0|ajv-formats@3.0.1",
1092
+ "ref": "@rathnasgala2/schemas@3.14.1|ajv-formats@3.0.1",
1093
1093
  "dependsOn": [
1094
- "@rathnasgala2/schemas@3.14.0|ajv@8.20.0"
1094
+ "@rathnasgala2/schemas@3.14.1|ajv@8.20.0"
1095
1095
  ]
1096
1096
  },
1097
1097
  {
1098
- "ref": "@rathnasgala2/schemas@3.14.0|ajv@8.20.0",
1098
+ "ref": "@rathnasgala2/schemas@3.14.1|ajv@8.20.0",
1099
1099
  "dependsOn": [
1100
- "@rathnasgala2/schemas@3.14.0|fast-deep-equal@3.1.3",
1101
- "@rathnasgala2/schemas@3.14.0|fast-uri@3.1.8",
1102
- "@rathnasgala2/schemas@3.14.0|json-schema-traverse@1.0.0",
1103
- "@rathnasgala2/schemas@3.14.0|require-from-string@2.0.2"
1100
+ "@rathnasgala2/schemas@3.14.1|fast-deep-equal@3.1.3",
1101
+ "@rathnasgala2/schemas@3.14.1|fast-uri@3.1.8",
1102
+ "@rathnasgala2/schemas@3.14.1|json-schema-traverse@1.0.0",
1103
+ "@rathnasgala2/schemas@3.14.1|require-from-string@2.0.2"
1104
1104
  ]
1105
1105
  },
1106
1106
  {
1107
- "ref": "@rathnasgala2/schemas@3.14.0|fast-deep-equal@3.1.3"
1107
+ "ref": "@rathnasgala2/schemas@3.14.1|fast-deep-equal@3.1.3"
1108
1108
  },
1109
1109
  {
1110
- "ref": "@rathnasgala2/schemas@3.14.0|fast-uri@3.1.8"
1110
+ "ref": "@rathnasgala2/schemas@3.14.1|fast-uri@3.1.8"
1111
1111
  },
1112
1112
  {
1113
- "ref": "@rathnasgala2/schemas@3.14.0|json-schema-traverse@1.0.0"
1113
+ "ref": "@rathnasgala2/schemas@3.14.1|json-schema-traverse@1.0.0"
1114
1114
  },
1115
1115
  {
1116
- "ref": "@rathnasgala2/schemas@3.14.0|require-from-string@2.0.2"
1116
+ "ref": "@rathnasgala2/schemas@3.14.1|require-from-string@2.0.2"
1117
1117
  },
1118
1118
  {
1119
1119
  "ref": "pkg:npm/semver@7.8.5"