@rathnasgala2/schemas 2.12.0 → 2.13.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 CHANGED
@@ -59,36 +59,36 @@ 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 75 MVP operations plus `/internal/health` (76 catalog
63
- rows; 71 at S0-T07, plus the two SCHEMA-2.8.0 reads and the two SCHEMA-2.10.0
64
- publication-destination reads/writes). The bundle includes the accepted DEC-097
65
- receipt-exchange and deployment-receipt amendments and serializes the fixed
66
- OpenAPI Generator 7.25.0 option sets. Every operation also declares its tenant
67
- scope, lifecycle and activation guards, maps every reachable problem, and
68
- carries schema-validated nominal and problem examples. S0-T08 projects the exact
69
- 19 admitted transition families into 77 independently identified event actions
70
- (SCHEMA-2.11.0 adds the `github_installation` family so the worker-only
71
- compare-and-set writer can retire into the sole aggregate gateway). Each action
72
- binds its aggregate and organization or publication scope, exact
73
- predecessor/target states, the closed DEC-101 payload, the transactional outbox
74
- producer, and a non-empty registered consumer set. S5-T00 materializes document
75
- 07's closed 15-component App semantic catalog and document 14's 20-entry MVP App
76
- route registry (S5 brief section 4) as `docs/catalogs/app-components.json` and
77
- `docs/catalogs/app-routes.json`, with every `apiOperationIds` entry validated
78
- against `openapi/openapi.yaml`, every `componentIds`/`contentKeyIds` entry
79
- validated against the component catalog, and `capabilityKeys` projected from
80
- `openapi/http-catalog.json`. S4-T01 adds the separately generated `fixtures/s4/`
81
- deployment/certification consumer-fixture family (deployment-intent,
82
- deployment-observation, deployment-receipt, public-generation-marker, and
83
- adapter-capability rows for `local-directory`, `github-pages`, and `do-spaces`)
84
- alongside the existing `fixtures/s2/` family, each with its own manifest.
85
- LOCAL-21 admits a 21st App route, `/invitations/accept` (`routeId`
86
- `invitations.accept`), an ordinary `SESSION_REQUIRED` `APP` route (not
87
- `TRANSACTIONAL_LINK`: it is served by the App origin after sign-in, unlike the
88
- deferred `/t/**` template family) that calls
89
- `postMembershipInvitationsByTokenAccept`; its non-enumerating failure states
90
- collapse onto that operation's single declared `INVALID_SOURCE_STATE` problem,
91
- which covers an expired, already-used or unknown token alike.
62
+ HTTP catalog for exactly 76 MVP operations plus `/internal/health` (77 catalog
63
+ rows; 71 at S0-T07, plus the two SCHEMA-2.8.0 reads, the two SCHEMA-2.10.0
64
+ publication-destination reads/writes, and the SCHEMA-2.13.0 repository create).
65
+ The bundle includes the accepted DEC-097 receipt-exchange and deployment-receipt
66
+ amendments and serializes the fixed OpenAPI Generator 7.25.0 option sets. Every
67
+ operation also declares its tenant scope, lifecycle and activation guards, maps
68
+ every reachable problem, and carries schema-validated nominal and problem
69
+ examples. S0-T08 projects the exact 19 admitted transition families into 77
70
+ independently identified event actions (SCHEMA-2.11.0 adds the
71
+ `github_installation` family so the worker-only compare-and-set writer can
72
+ retire into the sole aggregate gateway). Each action binds its aggregate and
73
+ organization or publication scope, exact predecessor/target states, the closed
74
+ DEC-101 payload, the transactional outbox producer, and a non-empty registered
75
+ consumer set. S5-T00 materializes document 07's closed 15-component App semantic
76
+ catalog and document 14's 20-entry MVP App route registry (S5 brief section 4)
77
+ as `docs/catalogs/app-components.json` and `docs/catalogs/app-routes.json`, with
78
+ every `apiOperationIds` entry validated against `openapi/openapi.yaml`, every
79
+ `componentIds`/`contentKeyIds` entry validated against the component catalog,
80
+ and `capabilityKeys` projected from `openapi/http-catalog.json`. S4-T01 adds the
81
+ separately generated `fixtures/s4/` deployment/certification consumer-fixture
82
+ family (deployment-intent, deployment-observation, deployment-receipt,
83
+ public-generation-marker, and adapter-capability rows for `local-directory`,
84
+ `github-pages`, and `do-spaces`) alongside the existing `fixtures/s2/` family,
85
+ each with its own manifest. LOCAL-21 admits a 21st App route,
86
+ `/invitations/accept` (`routeId` `invitations.accept`), an ordinary
87
+ `SESSION_REQUIRED` `APP` route (not `TRANSACTIONAL_LINK`: it is served by the
88
+ App origin after sign-in, unlike the deferred `/t/**` template family) that
89
+ calls `postMembershipInvitationsByTokenAccept`; its non-enumerating failure
90
+ states collapse onto that operation's single declared `INVALID_SOURCE_STATE`
91
+ problem, which covers an expired, already-used or unknown token alike.
92
92
 
93
93
  SCHEMA-2.7.1 (LOCAL-50) adds the optional operation-level vendor extension
94
94
  `x-gala-conditional-capability-keys`: an array of `{capabilityKey, condition}`
@@ -535,7 +535,7 @@ remediation, and documentation URL fields without including authored values.
535
535
  fragments grouped by the first literal resource token. A build input, not part
536
536
  of the npm payload (SCH-H7: `!openapi/source/` in `package.json`'s `files`) --
537
537
  a consumer reads the materialized `openapi/openapi.yaml` instead.
538
- - `openapi/openapi.yaml` — deterministic OpenAPI 3.1 bundle for the exact 75 MVP
538
+ - `openapi/openapi.yaml` — deterministic OpenAPI 3.1 bundle for the exact 76 MVP
539
539
  operations plus health.
540
540
  - `openapi/http-catalog.json` — generated digest-bound method/path/purpose and
541
541
  capability inventory, including `conditionalCapabilityKeys` (SCHEMA-2.7.1) and
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "package": "@rathnasgala2/schemas@2.12.0",
3
+ "package": "@rathnasgala2/schemas@2.13.0",
4
4
  "source": "package-lock.json",
5
5
  "dependencies": [
6
6
  {
@@ -1306,6 +1306,7 @@
1306
1306
  "getGithubInstallations",
1307
1307
  "getGithubInstallationsByInstallationIdRepositories",
1308
1308
  "getOrganizationsByOrganizationIdPublicationsByPublicationIdRepositoryBindingsCurrent",
1309
+ "postGithubInstallationsByInstallationIdRepositories",
1309
1310
  "postOrganizationsByOrganizationIdPublicationsByPublicationIdConfigurationChangesPlan",
1310
1311
  "postOrganizationsByOrganizationIdPublicationsByPublicationIdPublishes",
1311
1312
  "postOrganizationsByOrganizationIdPublicationsByPublicationIdPublishesByPublishIdCancel",
@@ -1591,5 +1592,5 @@
1591
1592
  ]
1592
1593
  }
1593
1594
  ],
1594
- "digest": "sha256:32e5dd41da10ffc018ad79467d80624e614a0276d5bff2c2a5c26a107d0d31b6"
1595
+ "digest": "sha256:d2eccb738dcd301d9e83a6ce0ef7dd8ed4e71f6f6f4fa7e67126c2ef0a99e84b"
1595
1596
  }
@@ -209,9 +209,9 @@
209
209
  "version": "2.0.0",
210
210
  "path": "openapi/openapi.yaml",
211
211
  "materialized": true,
212
- "sourceDigest": "sha256:548e213c59e1b9bfa105d2cbc9ccde89162293f8337831c97992fd012a8cbe62",
212
+ "sourceDigest": "sha256:5d997a363085652fa2d78b6ffd7f3e307edabecbcb18cc56ed785353bcf33896",
213
213
  "typescriptRootType": null
214
214
  }
215
215
  ],
216
- "digest": "sha256:dc42ec24f4d3e807e75fbd1eed275131434a09c6d7e6940a7f17c1f3b1a3c77d"
216
+ "digest": "sha256:c98e1d350d67018d609def3606d02049bb6acc5b5bb165912606d5215fdd3623"
217
217
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schemaVersion": "2.0.0",
3
3
  "sourceDesignRevision": "a53052955ceb6c1aa10c886289dc832eedfe6de0a00004df07d353ac19c4403a",
4
- "openApiDigest": "sha256:548e213c59e1b9bfa105d2cbc9ccde89162293f8337831c97992fd012a8cbe62",
4
+ "openApiDigest": "sha256:5d997a363085652fa2d78b6ffd7f3e307edabecbcb18cc56ed785353bcf33896",
5
5
  "operations": [
6
6
  {
7
7
  "operationId": "getInternalHealth",
@@ -123,6 +123,18 @@
123
123
  "actionGrant": "none",
124
124
  "sourceFragment": "github"
125
125
  },
126
+ {
127
+ "operationId": "postGithubInstallationsByInstallationIdRepositories",
128
+ "method": "POST",
129
+ "path": "/v2/github/installations/{installationId}/repositories",
130
+ "purpose": "create a repository on this installation's account",
131
+ "capabilityKey": null,
132
+ "conditionalCapabilityKeys": [],
133
+ "activationGate": "MVP",
134
+ "assuranceClass": "SESSION",
135
+ "actionGrant": "none",
136
+ "sourceFragment": "github"
137
+ },
126
138
  {
127
139
  "operationId": "postMembershipInvitationsByTokenAccept",
128
140
  "method": "POST",
@@ -929,5 +941,5 @@
929
941
  "sourceFragment": "workloads"
930
942
  }
931
943
  ],
932
- "digest": "sha256:c49369a752150235b9334fa2495e32302daab7afc81d65cc3d58e6b5fb116bdd"
944
+ "digest": "sha256:002edc7aa9c72f1b459d3d534af24c1f00fb4a6fd1d94bbcec5f611eb58eca77"
933
945
  }
@@ -1452,6 +1452,11 @@ components:
1452
1452
  - organizations
1453
1453
  - capabilities
1454
1454
  type: object
1455
+ GithubInstallationAccess:
1456
+ enum:
1457
+ - GRANTED
1458
+ - NOT_GRANTED
1459
+ type: string
1455
1460
  GithubInstallationObservation:
1456
1461
  additionalProperties: false
1457
1462
  description: Whether this installation has been durably observed as a provider fact that a repository binding may reference (LOCAL-24, LOCAL-36 G-11).
@@ -1528,6 +1533,11 @@ components:
1528
1533
  - defaultBranch
1529
1534
  - private
1530
1535
  type: object
1536
+ GithubRepositoryVisibility:
1537
+ enum:
1538
+ - PRIVATE
1539
+ - PUBLIC
1540
+ type: string
1531
1541
  KernelAttemptSubmission:
1532
1542
  additionalProperties: false
1533
1543
  allOf:
@@ -8589,6 +8599,68 @@ components:
8589
8599
  required:
8590
8600
  - accepted
8591
8601
  type: object
8602
+ PostGithubInstallationsByInstallationIdRepositoriesRequest:
8603
+ additionalProperties: false
8604
+ properties:
8605
+ description:
8606
+ description: Single-line repository description, GitHub-side free text.
8607
+ maxLength: 350
8608
+ minLength: 1
8609
+ pattern: ^[^\n\r]*$
8610
+ type: string
8611
+ name:
8612
+ description: GitHub repository-name rules.
8613
+ maxLength: 100
8614
+ minLength: 1
8615
+ pattern: ^(?!\.\.?$)(?!.*\.git$)[A-Za-z0-9._-]{1,100}$
8616
+ type: string
8617
+ visibility:
8618
+ $ref: "#/components/schemas/GithubRepositoryVisibility"
8619
+ required:
8620
+ - name
8621
+ type: object
8622
+ PostGithubInstallationsByInstallationIdRepositoriesResponse:
8623
+ additionalProperties: false
8624
+ description: The created repository, in exactly the shape `GET .../installations/{installationId}/repositories` returns, plus whether this installation can already see it.
8625
+ properties:
8626
+ defaultBranch:
8627
+ maxLength: 80
8628
+ minLength: 1
8629
+ type: string
8630
+ fullName:
8631
+ description: GitHub's `owner/name` identity, for display.
8632
+ maxLength: 140
8633
+ minLength: 3
8634
+ pattern: ^[A-Za-z0-9][A-Za-z0-9._-]{0,38}/[A-Za-z0-9._-]{1,100}$
8635
+ type: string
8636
+ installationAccess:
8637
+ $ref: "#/components/schemas/GithubInstallationAccess"
8638
+ name:
8639
+ maxLength: 100
8640
+ minLength: 1
8641
+ type: string
8642
+ ownerId:
8643
+ pattern: ^[1-9][0-9]{0,19}$
8644
+ type: string
8645
+ ownerLogin:
8646
+ maxLength: 80
8647
+ minLength: 1
8648
+ type: string
8649
+ private:
8650
+ type: boolean
8651
+ repositoryId:
8652
+ pattern: ^[1-9][0-9]{0,19}$
8653
+ type: string
8654
+ required:
8655
+ - repositoryId
8656
+ - ownerId
8657
+ - ownerLogin
8658
+ - name
8659
+ - fullName
8660
+ - defaultBranch
8661
+ - private
8662
+ - installationAccess
8663
+ type: object
8592
8664
  PostMembershipInvitationsByTokenAcceptRequest:
8593
8665
  additionalProperties: false
8594
8666
  properties:
@@ -12213,6 +12285,33 @@ paths:
12213
12285
  x-gala-problem-codes:
12214
12286
  - AUTHENTICATION_REQUIRED
12215
12287
  - REAUTH_REQUIRED
12288
+ "503":
12289
+ content:
12290
+ application/problem+json:
12291
+ examples:
12292
+ CAPABILITY_UNAVAILABLE:
12293
+ summary: CAPABILITY_UNAVAILABLE
12294
+ value:
12295
+ code: CAPABILITY_UNAVAILABLE
12296
+ correlationId: 018f0000-0000-7000-8000-000000000001
12297
+ detail: See the operation contract.
12298
+ errors: []
12299
+ retryable: false
12300
+ schemaId: urn:gala:schema:problem:2.0.0
12301
+ schemaVersion: 2.0.0
12302
+ status: 503
12303
+ title: CAPABILITY_UNAVAILABLE
12304
+ type: urn:gala:problem:capability-unavailable
12305
+ schema:
12306
+ $ref: "#/components/schemas/Problem"
12307
+ description: CAPABILITY_UNAVAILABLE
12308
+ headers:
12309
+ Cache-Control:
12310
+ $ref: "#/components/headers/CacheControlNoStore"
12311
+ X-Correlation-Id:
12312
+ $ref: "#/components/headers/XCorrelationId"
12313
+ x-gala-problem-codes:
12314
+ - CAPABILITY_UNAVAILABLE
12216
12315
  security:
12217
12316
  - browserSession: []
12218
12317
  summary: installations visible through user and GitHub App intersection
@@ -12220,7 +12319,7 @@ paths:
12220
12319
  - github
12221
12320
  x-gala-activation-gate: MVP
12222
12321
  x-gala-activation-guards:
12223
- - NONE
12322
+ - Configured GitHub App identity for this deployment
12224
12323
  x-gala-capability-key: null
12225
12324
  x-gala-concurrency: installation-epoch
12226
12325
  x-gala-conditional-capabilities: []
@@ -12229,6 +12328,7 @@ paths:
12229
12328
  x-gala-purpose: installations visible through user and GitHub App intersection
12230
12329
  x-gala-reachable-problems:
12231
12330
  - AUTHENTICATION_REQUIRED
12331
+ - CAPABILITY_UNAVAILABLE
12232
12332
  - REAUTH_REQUIRED
12233
12333
  - VALIDATION_FAILED
12234
12334
  x-gala-replay-identity: safe-query
@@ -12348,6 +12448,33 @@ paths:
12348
12448
  $ref: "#/components/headers/XCorrelationId"
12349
12449
  x-gala-problem-codes:
12350
12450
  - RESOURCE_NOT_FOUND
12451
+ "503":
12452
+ content:
12453
+ application/problem+json:
12454
+ examples:
12455
+ CAPABILITY_UNAVAILABLE:
12456
+ summary: CAPABILITY_UNAVAILABLE
12457
+ value:
12458
+ code: CAPABILITY_UNAVAILABLE
12459
+ correlationId: 018f0000-0000-7000-8000-000000000001
12460
+ detail: See the operation contract.
12461
+ errors: []
12462
+ retryable: false
12463
+ schemaId: urn:gala:schema:problem:2.0.0
12464
+ schemaVersion: 2.0.0
12465
+ status: 503
12466
+ title: CAPABILITY_UNAVAILABLE
12467
+ type: urn:gala:problem:capability-unavailable
12468
+ schema:
12469
+ $ref: "#/components/schemas/Problem"
12470
+ description: CAPABILITY_UNAVAILABLE
12471
+ headers:
12472
+ Cache-Control:
12473
+ $ref: "#/components/headers/CacheControlNoStore"
12474
+ X-Correlation-Id:
12475
+ $ref: "#/components/headers/XCorrelationId"
12476
+ x-gala-problem-codes:
12477
+ - CAPABILITY_UNAVAILABLE
12351
12478
  security:
12352
12479
  - browserSession: []
12353
12480
  summary: repositories this installation grants to the signed-in user
@@ -12355,7 +12482,7 @@ paths:
12355
12482
  - github
12356
12483
  x-gala-activation-gate: MVP
12357
12484
  x-gala-activation-guards:
12358
- - NONE
12485
+ - Configured GitHub App identity for this deployment
12359
12486
  x-gala-capability-key: null
12360
12487
  x-gala-concurrency: installation-epoch
12361
12488
  x-gala-conditional-capabilities: []
@@ -12364,6 +12491,7 @@ paths:
12364
12491
  x-gala-purpose: repositories this installation grants to the signed-in user
12365
12492
  x-gala-reachable-problems:
12366
12493
  - AUTHENTICATION_REQUIRED
12494
+ - CAPABILITY_UNAVAILABLE
12367
12495
  - REAUTH_REQUIRED
12368
12496
  - RESOURCE_NOT_FOUND
12369
12497
  - VALIDATION_FAILED
@@ -12372,6 +12500,369 @@ paths:
12372
12500
  - NONE
12373
12501
  x-gala-success-category: query
12374
12502
  x-gala-tenant-scope: NONE
12503
+ post:
12504
+ operationId: postGithubInstallationsByInstallationIdRepositories
12505
+ parameters:
12506
+ - $ref: "#/components/parameters/XCorrelationId"
12507
+ - example: "1"
12508
+ in: path
12509
+ name: installationId
12510
+ required: true
12511
+ schema:
12512
+ pattern: ^[1-9][0-9]{0,19}$
12513
+ type: string
12514
+ - $ref: "#/components/parameters/IdempotencyKey"
12515
+ - $ref: "#/components/parameters/XCsrfToken"
12516
+ requestBody:
12517
+ content:
12518
+ application/json:
12519
+ examples:
12520
+ nominal:
12521
+ summary: Nominal valid request
12522
+ value:
12523
+ description: example description
12524
+ name: example
12525
+ visibility: PRIVATE
12526
+ schema:
12527
+ $ref: "#/components/schemas/PostGithubInstallationsByInstallationIdRepositoriesRequest"
12528
+ required: true
12529
+ responses:
12530
+ "201":
12531
+ content:
12532
+ application/json:
12533
+ examples:
12534
+ nominal:
12535
+ summary: Nominal successful response
12536
+ value:
12537
+ defaultBranch: main
12538
+ fullName: example/example
12539
+ installationAccess: GRANTED
12540
+ name: example
12541
+ ownerId: "1"
12542
+ ownerLogin: example
12543
+ private: true
12544
+ repositoryId: "1"
12545
+ schema:
12546
+ $ref: "#/components/schemas/PostGithubInstallationsByInstallationIdRepositoriesResponse"
12547
+ description: create a repository on this installation's account succeeded
12548
+ headers:
12549
+ Cache-Control:
12550
+ $ref: "#/components/headers/CacheControlNoStore"
12551
+ Location:
12552
+ $ref: "#/components/headers/Location"
12553
+ X-Correlation-Id:
12554
+ $ref: "#/components/headers/XCorrelationId"
12555
+ "400":
12556
+ content:
12557
+ application/problem+json:
12558
+ examples:
12559
+ REQUEST_FIELD_UNKNOWN:
12560
+ summary: REQUEST_FIELD_UNKNOWN
12561
+ value:
12562
+ code: REQUEST_FIELD_UNKNOWN
12563
+ correlationId: 018f0000-0000-7000-8000-000000000001
12564
+ detail: See the operation contract.
12565
+ errors: []
12566
+ retryable: false
12567
+ schemaId: urn:gala:schema:problem:2.0.0
12568
+ schemaVersion: 2.0.0
12569
+ status: 400
12570
+ title: REQUEST_FIELD_UNKNOWN
12571
+ type: urn:gala:problem:request-field-unknown
12572
+ VALIDATION_FAILED:
12573
+ summary: VALIDATION_FAILED
12574
+ value:
12575
+ code: VALIDATION_FAILED
12576
+ correlationId: 018f0000-0000-7000-8000-000000000001
12577
+ detail: See the operation contract.
12578
+ errors: []
12579
+ retryable: false
12580
+ schemaId: urn:gala:schema:problem:2.0.0
12581
+ schemaVersion: 2.0.0
12582
+ status: 400
12583
+ title: VALIDATION_FAILED
12584
+ type: urn:gala:problem:validation-failed
12585
+ schema:
12586
+ $ref: "#/components/schemas/Problem"
12587
+ description: REQUEST_FIELD_UNKNOWN, VALIDATION_FAILED
12588
+ headers:
12589
+ Cache-Control:
12590
+ $ref: "#/components/headers/CacheControlNoStore"
12591
+ X-Correlation-Id:
12592
+ $ref: "#/components/headers/XCorrelationId"
12593
+ x-gala-problem-codes:
12594
+ - REQUEST_FIELD_UNKNOWN
12595
+ - VALIDATION_FAILED
12596
+ "401":
12597
+ content:
12598
+ application/problem+json:
12599
+ examples:
12600
+ AUTHENTICATION_REQUIRED:
12601
+ summary: AUTHENTICATION_REQUIRED
12602
+ value:
12603
+ code: AUTHENTICATION_REQUIRED
12604
+ correlationId: 018f0000-0000-7000-8000-000000000001
12605
+ detail: See the operation contract.
12606
+ errors: []
12607
+ retryable: false
12608
+ schemaId: urn:gala:schema:problem:2.0.0
12609
+ schemaVersion: 2.0.0
12610
+ status: 401
12611
+ title: AUTHENTICATION_REQUIRED
12612
+ type: urn:gala:problem:authentication-required
12613
+ REAUTH_REQUIRED:
12614
+ summary: REAUTH_REQUIRED
12615
+ value:
12616
+ code: REAUTH_REQUIRED
12617
+ correlationId: 018f0000-0000-7000-8000-000000000001
12618
+ detail: See the operation contract.
12619
+ errors: []
12620
+ retryable: false
12621
+ schemaId: urn:gala:schema:problem:2.0.0
12622
+ schemaVersion: 2.0.0
12623
+ status: 401
12624
+ title: REAUTH_REQUIRED
12625
+ type: urn:gala:problem:reauth-required
12626
+ schema:
12627
+ $ref: "#/components/schemas/Problem"
12628
+ description: AUTHENTICATION_REQUIRED, REAUTH_REQUIRED
12629
+ headers:
12630
+ Cache-Control:
12631
+ $ref: "#/components/headers/CacheControlNoStore"
12632
+ X-Correlation-Id:
12633
+ $ref: "#/components/headers/XCorrelationId"
12634
+ x-gala-problem-codes:
12635
+ - AUTHENTICATION_REQUIRED
12636
+ - REAUTH_REQUIRED
12637
+ "403":
12638
+ content:
12639
+ application/problem+json:
12640
+ examples:
12641
+ AUTHORIZATION_DENIED:
12642
+ summary: AUTHORIZATION_DENIED
12643
+ value:
12644
+ code: AUTHORIZATION_DENIED
12645
+ correlationId: 018f0000-0000-7000-8000-000000000001
12646
+ detail: GitHub refused the create. See the operation contract for the closed `errors[].code` extension distinguishing CREATION_NOT_PERMITTED (the person may not create repositories on this account) from PERMISSION_NOT_ACCEPTED (the installation has not accepted the app's Administration permission yet).
12647
+ errors:
12648
+ - code: CREATION_NOT_PERMITTED
12649
+ pointer: /reason
12650
+ retryable: false
12651
+ schemaId: urn:gala:schema:problem:2.0.0
12652
+ schemaVersion: 2.0.0
12653
+ status: 403
12654
+ title: AUTHORIZATION_DENIED
12655
+ type: urn:gala:problem:authorization-denied
12656
+ schema:
12657
+ $ref: "#/components/schemas/Problem"
12658
+ description: AUTHORIZATION_DENIED
12659
+ headers:
12660
+ Cache-Control:
12661
+ $ref: "#/components/headers/CacheControlNoStore"
12662
+ X-Correlation-Id:
12663
+ $ref: "#/components/headers/XCorrelationId"
12664
+ x-gala-problem-codes:
12665
+ - AUTHORIZATION_DENIED
12666
+ "404":
12667
+ content:
12668
+ application/problem+json:
12669
+ examples:
12670
+ RESOURCE_NOT_FOUND:
12671
+ summary: RESOURCE_NOT_FOUND
12672
+ value:
12673
+ code: RESOURCE_NOT_FOUND
12674
+ correlationId: 018f0000-0000-7000-8000-000000000001
12675
+ detail: See the operation contract.
12676
+ errors: []
12677
+ retryable: false
12678
+ schemaId: urn:gala:schema:problem:2.0.0
12679
+ schemaVersion: 2.0.0
12680
+ status: 404
12681
+ title: RESOURCE_NOT_FOUND
12682
+ type: urn:gala:problem:resource-not-found
12683
+ schema:
12684
+ $ref: "#/components/schemas/Problem"
12685
+ description: RESOURCE_NOT_FOUND
12686
+ headers:
12687
+ Cache-Control:
12688
+ $ref: "#/components/headers/CacheControlNoStore"
12689
+ X-Correlation-Id:
12690
+ $ref: "#/components/headers/XCorrelationId"
12691
+ x-gala-problem-codes:
12692
+ - RESOURCE_NOT_FOUND
12693
+ "409":
12694
+ content:
12695
+ application/problem+json:
12696
+ examples:
12697
+ COMMAND_REPLAY_CONFLICT:
12698
+ summary: COMMAND_REPLAY_CONFLICT
12699
+ value:
12700
+ code: COMMAND_REPLAY_CONFLICT
12701
+ correlationId: 018f0000-0000-7000-8000-000000000001
12702
+ detail: See the operation contract.
12703
+ errors: []
12704
+ retryable: false
12705
+ schemaId: urn:gala:schema:problem:2.0.0
12706
+ schemaVersion: 2.0.0
12707
+ status: 409
12708
+ title: COMMAND_REPLAY_CONFLICT
12709
+ type: urn:gala:problem:command-replay-conflict
12710
+ INVALID_SOURCE_STATE:
12711
+ summary: INVALID_SOURCE_STATE
12712
+ value:
12713
+ code: INVALID_SOURCE_STATE
12714
+ correlationId: 018f0000-0000-7000-8000-000000000001
12715
+ detail: A repository with this name already exists on the resolved account. See the operation contract.
12716
+ errors:
12717
+ - code: INVALID_SOURCE_STATE
12718
+ pointer: /name
12719
+ retryable: false
12720
+ schemaId: urn:gala:schema:problem:2.0.0
12721
+ schemaVersion: 2.0.0
12722
+ status: 409
12723
+ title: INVALID_SOURCE_STATE
12724
+ type: urn:gala:problem:invalid-source-state
12725
+ schema:
12726
+ $ref: "#/components/schemas/Problem"
12727
+ description: COMMAND_REPLAY_CONFLICT, INVALID_SOURCE_STATE
12728
+ headers:
12729
+ Cache-Control:
12730
+ $ref: "#/components/headers/CacheControlNoStore"
12731
+ X-Correlation-Id:
12732
+ $ref: "#/components/headers/XCorrelationId"
12733
+ x-gala-problem-codes:
12734
+ - COMMAND_REPLAY_CONFLICT
12735
+ - INVALID_SOURCE_STATE
12736
+ "422":
12737
+ content:
12738
+ application/problem+json:
12739
+ examples:
12740
+ VALIDATION_FAILED:
12741
+ summary: VALIDATION_FAILED
12742
+ value:
12743
+ code: VALIDATION_FAILED
12744
+ correlationId: 018f0000-0000-7000-8000-000000000001
12745
+ detail: See the operation contract.
12746
+ errors:
12747
+ - code: VALIDATION_FAILED
12748
+ pointer: /name
12749
+ retryable: false
12750
+ schemaId: urn:gala:schema:problem:2.0.0
12751
+ schemaVersion: 2.0.0
12752
+ status: 422
12753
+ title: VALIDATION_FAILED
12754
+ type: urn:gala:problem:validation-failed
12755
+ schema:
12756
+ $ref: "#/components/schemas/Problem"
12757
+ description: VALIDATION_FAILED
12758
+ headers:
12759
+ Cache-Control:
12760
+ $ref: "#/components/headers/CacheControlNoStore"
12761
+ X-Correlation-Id:
12762
+ $ref: "#/components/headers/XCorrelationId"
12763
+ x-gala-problem-codes:
12764
+ - VALIDATION_FAILED
12765
+ "429":
12766
+ content:
12767
+ application/problem+json:
12768
+ examples:
12769
+ RATE_LIMITED:
12770
+ summary: RATE_LIMITED
12771
+ value:
12772
+ code: RATE_LIMITED
12773
+ correlationId: 018f0000-0000-7000-8000-000000000001
12774
+ detail: See the operation contract.
12775
+ errors: []
12776
+ retryable: true
12777
+ schemaId: urn:gala:schema:problem:2.0.0
12778
+ schemaVersion: 2.0.0
12779
+ status: 429
12780
+ title: RATE_LIMITED
12781
+ type: urn:gala:problem:rate-limited
12782
+ schema:
12783
+ $ref: "#/components/schemas/Problem"
12784
+ description: RATE_LIMITED
12785
+ headers:
12786
+ Cache-Control:
12787
+ $ref: "#/components/headers/CacheControlNoStore"
12788
+ Retry-After:
12789
+ $ref: "#/components/headers/RetryAfter"
12790
+ X-Correlation-Id:
12791
+ $ref: "#/components/headers/XCorrelationId"
12792
+ x-gala-problem-codes:
12793
+ - RATE_LIMITED
12794
+ "503":
12795
+ content:
12796
+ application/problem+json:
12797
+ examples:
12798
+ CAPABILITY_UNAVAILABLE:
12799
+ summary: CAPABILITY_UNAVAILABLE
12800
+ value:
12801
+ code: CAPABILITY_UNAVAILABLE
12802
+ correlationId: 018f0000-0000-7000-8000-000000000001
12803
+ detail: See the operation contract.
12804
+ errors: []
12805
+ retryable: false
12806
+ schemaId: urn:gala:schema:problem:2.0.0
12807
+ schemaVersion: 2.0.0
12808
+ status: 503
12809
+ title: CAPABILITY_UNAVAILABLE
12810
+ type: urn:gala:problem:capability-unavailable
12811
+ DEPENDENCY_UNAVAILABLE:
12812
+ summary: DEPENDENCY_UNAVAILABLE
12813
+ value:
12814
+ code: DEPENDENCY_UNAVAILABLE
12815
+ correlationId: 018f0000-0000-7000-8000-000000000001
12816
+ detail: See the operation contract.
12817
+ errors: []
12818
+ retryable: true
12819
+ schemaId: urn:gala:schema:problem:2.0.0
12820
+ schemaVersion: 2.0.0
12821
+ status: 503
12822
+ title: DEPENDENCY_UNAVAILABLE
12823
+ type: urn:gala:problem:dependency-unavailable
12824
+ schema:
12825
+ $ref: "#/components/schemas/Problem"
12826
+ description: CAPABILITY_UNAVAILABLE, DEPENDENCY_UNAVAILABLE
12827
+ headers:
12828
+ Cache-Control:
12829
+ $ref: "#/components/headers/CacheControlNoStore"
12830
+ X-Correlation-Id:
12831
+ $ref: "#/components/headers/XCorrelationId"
12832
+ x-gala-problem-codes:
12833
+ - CAPABILITY_UNAVAILABLE
12834
+ - DEPENDENCY_UNAVAILABLE
12835
+ security:
12836
+ - browserSession: []
12837
+ summary: create a repository on this installation's account
12838
+ tags:
12839
+ - github
12840
+ x-gala-activation-gate: MVP
12841
+ x-gala-activation-guards:
12842
+ - Configured GitHub App identity for this deployment
12843
+ x-gala-capability-key: null
12844
+ x-gala-concurrency: installation-epoch
12845
+ x-gala-conditional-capabilities: []
12846
+ x-gala-example-profile: NOMINAL_SUCCESS_AND_EACH_REACHABLE_PROBLEM
12847
+ x-gala-nullability: required-and-nullable-are-explicit
12848
+ x-gala-purpose: create a repository on this installation's account
12849
+ x-gala-reachable-problems:
12850
+ - AUTHENTICATION_REQUIRED
12851
+ - AUTHORIZATION_DENIED
12852
+ - CAPABILITY_UNAVAILABLE
12853
+ - COMMAND_REPLAY_CONFLICT
12854
+ - DEPENDENCY_UNAVAILABLE
12855
+ - INVALID_SOURCE_STATE
12856
+ - RATE_LIMITED
12857
+ - REAUTH_REQUIRED
12858
+ - REQUEST_FIELD_UNKNOWN
12859
+ - RESOURCE_NOT_FOUND
12860
+ - VALIDATION_FAILED
12861
+ x-gala-replay-identity: idempotency-key
12862
+ x-gala-state-guards:
12863
+ - GithubRepository:name unclaimed on the resolved account
12864
+ x-gala-success-category: create
12865
+ x-gala-tenant-scope: NONE
12375
12866
  /v2/membership-invitations/{token}:accept:
12376
12867
  post:
12377
12868
  description: |
@@ -21203,9 +21694,22 @@ paths:
21203
21694
  status: 401
21204
21695
  title: AUTHENTICATION_REQUIRED
21205
21696
  type: urn:gala:problem:authentication-required
21697
+ REAUTH_REQUIRED:
21698
+ summary: REAUTH_REQUIRED
21699
+ value:
21700
+ code: REAUTH_REQUIRED
21701
+ correlationId: 018f0000-0000-7000-8000-000000000001
21702
+ detail: See the operation contract.
21703
+ errors: []
21704
+ retryable: false
21705
+ schemaId: urn:gala:schema:problem:2.0.0
21706
+ schemaVersion: 2.0.0
21707
+ status: 401
21708
+ title: REAUTH_REQUIRED
21709
+ type: urn:gala:problem:reauth-required
21206
21710
  schema:
21207
21711
  $ref: "#/components/schemas/Problem"
21208
- description: AUTHENTICATION_REQUIRED
21712
+ description: AUTHENTICATION_REQUIRED, REAUTH_REQUIRED
21209
21713
  headers:
21210
21714
  Cache-Control:
21211
21715
  $ref: "#/components/headers/CacheControlNoStore"
@@ -21213,6 +21717,7 @@ paths:
21213
21717
  $ref: "#/components/headers/XCorrelationId"
21214
21718
  x-gala-problem-codes:
21215
21719
  - AUTHENTICATION_REQUIRED
21720
+ - REAUTH_REQUIRED
21216
21721
  "403":
21217
21722
  content:
21218
21723
  application/problem+json:
@@ -21382,6 +21887,7 @@ paths:
21382
21887
  - CAPABILITY_UNAVAILABLE
21383
21888
  - COMMAND_REPLAY_CONFLICT
21384
21889
  - INVALID_SOURCE_STATE
21890
+ - REAUTH_REQUIRED
21385
21891
  - REQUEST_FIELD_UNKNOWN
21386
21892
  - RESOURCE_NOT_FOUND
21387
21893
  - VALIDATION_FAILED
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rathnasgala2/schemas",
3
- "version": "2.12.0",
3
+ "version": "2.13.0",
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": "2.12.0",
101
- "bom-ref": "@rathnasgala2/schemas@2.12.0",
100
+ "version": "2.13.0",
101
+ "bom-ref": "@rathnasgala2/schemas@2.13.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@2.12.0?vcs_url=git%2Bhttps%3A%2F%2Fgithub.com%2Frathnasgala2%2Fschema.git",
111
+ "purl": "pkg:npm/%40rathnasgala2/schemas@2.13.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@2.12.0|ajv-formats@3.0.1",
156
+ "bom-ref": "@rathnasgala2/schemas@2.13.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@2.12.0|ajv@8.20.0",
190
+ "bom-ref": "@rathnasgala2/schemas@2.13.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@2.12.0|fast-deep-equal@3.1.3",
224
+ "bom-ref": "@rathnasgala2/schemas@2.13.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.7",
258
- "bom-ref": "@rathnasgala2/schemas@2.12.0|fast-uri@3.1.7",
258
+ "bom-ref": "@rathnasgala2/schemas@2.13.0|fast-uri@3.1.7",
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@2.12.0|json-schema-traverse@1.0.0",
292
+ "bom-ref": "@rathnasgala2/schemas@2.13.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@2.12.0|require-from-string@2.0.2",
326
+ "bom-ref": "@rathnasgala2/schemas@2.13.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@2.12.0",
1067
+ "ref": "@rathnasgala2/schemas@2.13.0",
1068
1068
  "dependsOn": [
1069
- "@rathnasgala2/schemas@2.12.0|ajv-formats@3.0.1",
1070
- "@rathnasgala2/schemas@2.12.0|ajv@8.20.0",
1069
+ "@rathnasgala2/schemas@2.13.0|ajv-formats@3.0.1",
1070
+ "@rathnasgala2/schemas@2.13.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@2.12.0|ajv-formats@3.0.1",
1092
+ "ref": "@rathnasgala2/schemas@2.13.0|ajv-formats@3.0.1",
1093
1093
  "dependsOn": [
1094
- "@rathnasgala2/schemas@2.12.0|ajv@8.20.0"
1094
+ "@rathnasgala2/schemas@2.13.0|ajv@8.20.0"
1095
1095
  ]
1096
1096
  },
1097
1097
  {
1098
- "ref": "@rathnasgala2/schemas@2.12.0|ajv@8.20.0",
1098
+ "ref": "@rathnasgala2/schemas@2.13.0|ajv@8.20.0",
1099
1099
  "dependsOn": [
1100
- "@rathnasgala2/schemas@2.12.0|fast-deep-equal@3.1.3",
1101
- "@rathnasgala2/schemas@2.12.0|fast-uri@3.1.7",
1102
- "@rathnasgala2/schemas@2.12.0|json-schema-traverse@1.0.0",
1103
- "@rathnasgala2/schemas@2.12.0|require-from-string@2.0.2"
1100
+ "@rathnasgala2/schemas@2.13.0|fast-deep-equal@3.1.3",
1101
+ "@rathnasgala2/schemas@2.13.0|fast-uri@3.1.7",
1102
+ "@rathnasgala2/schemas@2.13.0|json-schema-traverse@1.0.0",
1103
+ "@rathnasgala2/schemas@2.13.0|require-from-string@2.0.2"
1104
1104
  ]
1105
1105
  },
1106
1106
  {
1107
- "ref": "@rathnasgala2/schemas@2.12.0|fast-deep-equal@3.1.3"
1107
+ "ref": "@rathnasgala2/schemas@2.13.0|fast-deep-equal@3.1.3"
1108
1108
  },
1109
1109
  {
1110
- "ref": "@rathnasgala2/schemas@2.12.0|fast-uri@3.1.7"
1110
+ "ref": "@rathnasgala2/schemas@2.13.0|fast-uri@3.1.7"
1111
1111
  },
1112
1112
  {
1113
- "ref": "@rathnasgala2/schemas@2.12.0|json-schema-traverse@1.0.0"
1113
+ "ref": "@rathnasgala2/schemas@2.13.0|json-schema-traverse@1.0.0"
1114
1114
  },
1115
1115
  {
1116
- "ref": "@rathnasgala2/schemas@2.12.0|require-from-string@2.0.2"
1116
+ "ref": "@rathnasgala2/schemas@2.13.0|require-from-string@2.0.2"
1117
1117
  },
1118
1118
  {
1119
1119
  "ref": "pkg:npm/semver@7.8.5"