@rathnasgala2/schemas 2.20.2 → 2.20.3

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 CHANGED
@@ -59,10 +59,11 @@ removed it as unconsumed -- see "Package layout"). The schema inventory adds the
59
59
  separately owned OpenAPI contract as the twenty-first identity and carries
60
60
  DEC-091's domain-separated `sourceDesignRevision`. S0-T07 materializes the
61
61
  reviewed OpenAPI 3.1 source fragments, deterministic bundle, and digest-bound
62
- HTTP catalog for exactly 85 MVP operations plus `/internal/health` (86 catalog
62
+ HTTP catalog for exactly 86 MVP operations plus `/internal/health` (87 catalog
63
63
  rows; 71 at S0-T07, plus the two SCHEMA-2.8.0 reads, the two SCHEMA-2.10.0
64
64
  publication-destination reads/writes, the SCHEMA-2.13.0 repository create, and
65
- the nine SCHEMA-2.14.0 write/preview/publish operations). The bundle includes
65
+ the nine SCHEMA-2.14.0 write/preview/publish operations, and the SCHEMA-2.20.3
66
+ review event stream). The bundle includes
66
67
  the accepted DEC-097 receipt-exchange and deployment-receipt amendments and
67
68
  serializes the fixed OpenAPI Generator 7.25.0 option sets. Every operation also
68
69
  declares its tenant scope, lifecycle and activation guards, maps every reachable
@@ -683,7 +684,7 @@ remediation, and documentation URL fields without including authored values.
683
684
  fragments grouped by the first literal resource token. A build input, not part
684
685
  of the npm payload (SCH-H7: `!openapi/source/` in `package.json`'s `files`) --
685
686
  a consumer reads the materialized `openapi/openapi.yaml` instead.
686
- - `openapi/openapi.yaml` — deterministic OpenAPI 3.1 bundle for the exact 85 MVP
687
+ - `openapi/openapi.yaml` — deterministic OpenAPI 3.1 bundle for the exact 86 MVP
687
688
  operations plus health.
688
689
  - `openapi/http-catalog.json` — generated digest-bound method/path/purpose and
689
690
  capability inventory, including `conditionalCapabilityKeys` (SCHEMA-2.7.1) and
@@ -2762,7 +2762,7 @@
2762
2762
  },
2763
2763
  {
2764
2764
  "contentKey": "organizations.by-organization-id.publications.by-publication-id.reviews.screen.ready.summary",
2765
- "defaultMessage": "Open the exact GitHub pull request for a proposed change, use GitHub for discussion and review, then verify its exact merge before publishing.",
2765
+ "defaultMessage": "Open the exact GitHub pull request for a proposed change, use GitHub for discussion and review, then Galascribe observes its exact merge automatically before publishing.",
2766
2766
  "description": "Summary for the organizations.by-organization-id.publications.by-publication-id.reviews screen, copied verbatim from document 14's Screen/job cell.",
2767
2767
  "placeholders": {},
2768
2768
  "sensitivity": "AUTHENTICATED"
@@ -4707,5 +4707,5 @@
4707
4707
  "sensitivity": "PUBLIC"
4708
4708
  }
4709
4709
  ],
4710
- "digest": "sha256:19224c64ecee26f8f00ae1cd2fa8fb767311e21ab5b139e799f66b0bbec5936a"
4710
+ "digest": "sha256:b9b5cc6edc51da258b085a082a796c56f521acfe984ea7cbaf177c3e0ede8a95"
4711
4711
  }
@@ -1172,6 +1172,7 @@
1172
1172
  "getOrganizationsByOrganizationIdPublicationsByPublicationIdRepositoryChangesByChangeId",
1173
1173
  "getOrganizationsByOrganizationIdPublicationsByPublicationIdReviews",
1174
1174
  "getOrganizationsByOrganizationIdPublicationsByPublicationIdReviewsByReviewId",
1175
+ "getOrganizationsByOrganizationIdPublicationsByPublicationIdReviewsEvents",
1175
1176
  "postOrganizationsByOrganizationIdPublicationsByPublicationIdRepositoryChangesByChangeIdConfirm",
1176
1177
  "postOrganizationsByOrganizationIdPublicationsByPublicationIdReviews",
1177
1178
  "postOrganizationsByOrganizationIdPublicationsByPublicationIdReviewsByReviewIdDecide"
@@ -1628,5 +1629,5 @@
1628
1629
  ]
1629
1630
  }
1630
1631
  ],
1631
- "digest": "sha256:d642c9a2b300245d8f9fac1218786a63e114a3ec2863ef1605085d57ca015bde"
1632
+ "digest": "sha256:3b40da038e0767af4ed81d78a6d4d2bde15c131bf12fb7961788793916de4800"
1632
1633
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schemaVersion": "2.0.0",
3
3
  "sourceDesignRevision": "a53052955ceb6c1aa10c886289dc832eedfe6de0a00004df07d353ac19c4403a",
4
- "openApiDigest": "sha256:d2f0fca368b85337ab0960bea3ac7519e99bc5d201e8b73a9c26ba18a796e198",
4
+ "openApiDigest": "sha256:320edbae50adcda721d7d41acda313522fe09d1f9d702859808b09a30d1e24f1",
5
5
  "operations": [
6
6
  {
7
7
  "operationId": "getInternalHealth",
@@ -808,6 +808,20 @@
808
808
  "actionGrant": "none",
809
809
  "sourceFragment": "organizations"
810
810
  },
811
+ {
812
+ "operationId": "getOrganizationsByOrganizationIdPublicationsByPublicationIdReviewsEvents",
813
+ "method": "GET",
814
+ "path": "/v2/organizations/{organizationId}/publications/{publicationId}/reviews/events",
815
+ "purpose": "stream review state-change notifications",
816
+ "capabilityKey": "publication.review",
817
+ "conditionalCapabilityKeys": [
818
+ "publication.view"
819
+ ],
820
+ "activationGate": "MVP",
821
+ "assuranceClass": "SESSION",
822
+ "actionGrant": "none",
823
+ "sourceFragment": "organizations"
824
+ },
811
825
  {
812
826
  "operationId": "getOrganizationsByOrganizationIdRoles",
813
827
  "method": "GET",
@@ -1049,5 +1063,5 @@
1049
1063
  "sourceFragment": "workloads"
1050
1064
  }
1051
1065
  ],
1052
- "digest": "sha256:efee512ea3eeef5c1ff9be78e6a037e2d174f88bdedb7255cda3d7444d7a0509"
1066
+ "digest": "sha256:757a72ddda9194481b1208e98b9cdd6cbe15fbffbb8222ee09fe6e4b3d01e96b"
1053
1067
  }
@@ -1598,6 +1598,9 @@ components:
1598
1598
  GetOrganizationsByOrganizationIdPublicationsByPublicationIdReviewsByReviewIdResponse:
1599
1599
  allOf:
1600
1600
  - $ref: "#/components/schemas/ReviewSummary"
1601
+ GetOrganizationsByOrganizationIdPublicationsByPublicationIdReviewsEventsResponse:
1602
+ description: Server-sent review state-change notifications.
1603
+ type: string
1601
1604
  GetOrganizationsByOrganizationIdPublicationsByPublicationIdReviewsResponse:
1602
1605
  additionalProperties: false
1603
1606
  allOf:
@@ -27124,6 +27127,161 @@ paths:
27124
27127
  - Review:REQUESTED
27125
27128
  x-gala-success-category: async
27126
27129
  x-gala-tenant-scope: ORGANIZATION_AND_PUBLICATION_PATH
27130
+ /v2/organizations/{organizationId}/publications/{publicationId}/reviews/events:
27131
+ get:
27132
+ description: |
27133
+ Authenticated server-sent notification stream for review state changes.
27134
+ Events carry no authority or canonical state; a client re-reads the
27135
+ ordinary review and repository-change resources after each signal.
27136
+ operationId: getOrganizationsByOrganizationIdPublicationsByPublicationIdReviewsEvents
27137
+ parameters:
27138
+ - $ref: "#/components/parameters/XCorrelationId"
27139
+ - example: 018f0000-0000-7000-8000-000000000001
27140
+ in: path
27141
+ name: organizationId
27142
+ required: true
27143
+ schema:
27144
+ format: uuid
27145
+ pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
27146
+ type: string
27147
+ - example: 018f0000-0000-7000-8000-000000000001
27148
+ in: path
27149
+ name: publicationId
27150
+ required: true
27151
+ schema:
27152
+ format: uuid
27153
+ pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
27154
+ type: string
27155
+ responses:
27156
+ "200":
27157
+ content:
27158
+ text/event-stream:
27159
+ examples:
27160
+ nominal:
27161
+ summary: Stream opened
27162
+ value: |-
27163
+ event: ready
27164
+ data: ready
27165
+ schema:
27166
+ $ref: "#/components/schemas/GetOrganizationsByOrganizationIdPublicationsByPublicationIdReviewsEventsResponse"
27167
+ description: review event stream opened
27168
+ headers:
27169
+ Cache-Control:
27170
+ $ref: "#/components/headers/CacheControlNoStore"
27171
+ X-Correlation-Id:
27172
+ $ref: "#/components/headers/XCorrelationId"
27173
+ "400":
27174
+ $ref: "#/components/responses/ValidationFailed"
27175
+ "401":
27176
+ content:
27177
+ application/problem+json:
27178
+ examples:
27179
+ AUTHENTICATION_REQUIRED:
27180
+ summary: AUTHENTICATION_REQUIRED
27181
+ value:
27182
+ code: AUTHENTICATION_REQUIRED
27183
+ correlationId: 018f0000-0000-7000-8000-000000000001
27184
+ detail: See the operation contract.
27185
+ errors: []
27186
+ retryable: false
27187
+ schemaId: urn:gala:schema:problem:2.0.0
27188
+ schemaVersion: 2.0.0
27189
+ status: 401
27190
+ title: AUTHENTICATION_REQUIRED
27191
+ type: urn:gala:problem:authentication-required
27192
+ schema:
27193
+ $ref: "#/components/schemas/Problem"
27194
+ description: AUTHENTICATION_REQUIRED
27195
+ headers:
27196
+ Cache-Control:
27197
+ $ref: "#/components/headers/CacheControlNoStore"
27198
+ X-Correlation-Id:
27199
+ $ref: "#/components/headers/XCorrelationId"
27200
+ x-gala-problem-codes:
27201
+ - AUTHENTICATION_REQUIRED
27202
+ "403":
27203
+ content:
27204
+ application/problem+json:
27205
+ examples:
27206
+ AUTHORIZATION_DENIED:
27207
+ summary: AUTHORIZATION_DENIED
27208
+ value:
27209
+ code: AUTHORIZATION_DENIED
27210
+ correlationId: 018f0000-0000-7000-8000-000000000001
27211
+ detail: See the operation contract.
27212
+ errors: []
27213
+ retryable: false
27214
+ schemaId: urn:gala:schema:problem:2.0.0
27215
+ schemaVersion: 2.0.0
27216
+ status: 403
27217
+ title: AUTHORIZATION_DENIED
27218
+ type: urn:gala:problem:authorization-denied
27219
+ schema:
27220
+ $ref: "#/components/schemas/Problem"
27221
+ description: AUTHORIZATION_DENIED
27222
+ headers:
27223
+ Cache-Control:
27224
+ $ref: "#/components/headers/CacheControlNoStore"
27225
+ X-Correlation-Id:
27226
+ $ref: "#/components/headers/XCorrelationId"
27227
+ x-gala-problem-codes:
27228
+ - AUTHORIZATION_DENIED
27229
+ "404":
27230
+ content:
27231
+ application/problem+json:
27232
+ examples:
27233
+ RESOURCE_NOT_FOUND:
27234
+ summary: RESOURCE_NOT_FOUND
27235
+ value:
27236
+ code: RESOURCE_NOT_FOUND
27237
+ correlationId: 018f0000-0000-7000-8000-000000000001
27238
+ detail: See the operation contract.
27239
+ errors: []
27240
+ retryable: false
27241
+ schemaId: urn:gala:schema:problem:2.0.0
27242
+ schemaVersion: 2.0.0
27243
+ status: 404
27244
+ title: RESOURCE_NOT_FOUND
27245
+ type: urn:gala:problem:resource-not-found
27246
+ schema:
27247
+ $ref: "#/components/schemas/Problem"
27248
+ description: RESOURCE_NOT_FOUND
27249
+ headers:
27250
+ Cache-Control:
27251
+ $ref: "#/components/headers/CacheControlNoStore"
27252
+ X-Correlation-Id:
27253
+ $ref: "#/components/headers/XCorrelationId"
27254
+ x-gala-problem-codes:
27255
+ - RESOURCE_NOT_FOUND
27256
+ security:
27257
+ - browserSession: []
27258
+ summary: stream review state-change notifications
27259
+ tags:
27260
+ - organizations
27261
+ x-gala-action-grant: none
27262
+ x-gala-activation-gate: MVP
27263
+ x-gala-activation-guards:
27264
+ - NONE
27265
+ x-gala-assurance-class: SESSION
27266
+ x-gala-capability-key: publication.review
27267
+ x-gala-concurrency: none
27268
+ x-gala-conditional-capabilities: []
27269
+ x-gala-conditional-capability-keys:
27270
+ - capabilityKey: publication.view
27271
+ condition: read-only
27272
+ x-gala-example-profile: NOMINAL_SUCCESS_AND_EACH_REACHABLE_PROBLEM
27273
+ x-gala-nullability: required-and-nullable-are-explicit
27274
+ x-gala-purpose: stream review state-change notifications
27275
+ x-gala-reachable-problems:
27276
+ - AUTHENTICATION_REQUIRED
27277
+ - AUTHORIZATION_DENIED
27278
+ - RESOURCE_NOT_FOUND
27279
+ - VALIDATION_FAILED
27280
+ x-gala-replay-identity: safe-query
27281
+ x-gala-state-guards:
27282
+ - NONE
27283
+ x-gala-success-category: query
27284
+ x-gala-tenant-scope: ORGANIZATION_AND_PUBLICATION_PATH
27127
27285
  /v2/organizations/{organizationId}/publications/{publicationId}/reviews/{reviewId}:
27128
27286
  get:
27129
27287
  operationId: getOrganizationsByOrganizationIdPublicationsByPublicationIdReviewsByReviewId
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rathnasgala2/schemas",
3
- "version": "2.20.2",
3
+ "version": "2.20.3",
4
4
  "description": "Executable JSON Schema and OpenAPI contracts for Galascribe",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",