Source: schemas/wire_error.schema.json #

View this page as Markdown

On this page

Generated automatically from the published contract sources.

Source path: schemas/wire_error.schema.json.

The file itself is served at https://turnzero.ai/cloud/reference/sources/schemas/wire_error.schema.json, the same bytes as the source below, for a validator that loads a schema by address.

Schema fields #

JSON pointer Description and constraints
"" (root) Every refusal the management plane returns takes this shape, whose base members are six. They are the contract version, a machine-readable slug, the action where one is in question, a human detail, the reference the action dispatcher minted for the call, and help, the address of the refusal's row on the refusals page. Beyond them it carries the members the refusal's row of wire_errors.json names under members, each admitted under the refusals whose rows name it and under no other, and none required. The declarations after the base six and the conditionals are generated from those rows and never written apart from them. The contract's named-refusal discipline, applied to the plane itself.

$schema: https://json-schema.org/draft/2020-12/schema
version: 2026-11-20.1
title: tzCloud — wire error shape, contract version 1
Type: object
Additional properties: false
Required fields: ["contract_version","error"]
/properties/contract_version The version, stated in every exchange — refusals included.

Required value: 1
/properties/error The machine-readable refusal: not_yet_provisioned, unknown_action, method_not_allowed, and the slugs each action's implementation adds.

Type: string
Pattern: ^[a-z][a-z0-9_]*$
/properties/action The action in question, where one is.

Type: string
Pattern: ^[a-z][a-z0-9_]*$
/properties/detail The human sentence; never required to be machine-parsed.

Type: string
/properties/reference The short reference the action dispatcher minted for the call: ten lowercase hexadecimal characters, carried by every refusal the dispatcher answers and written to the call’s record row, so a report that quotes it is checked against the platform’s own record. Admitted on every refusal and required on none.

Type: string
Pattern: ^[0-9a-f]{10}$
/properties/help The address of the refusal's row on the refusals page, <origin>/cloud/reference/refusals/#<refusal name>, on the estate's public origin, the production origin standing in for a loopback or http one. It is carried by every refusal the action dispatcher answers to a dispatched call and by the unknown_action, method_not_allowed, and not_yet_provisioned refusals the actions routes answer before dispatch. Admitted on every refusal and required on none.

Type: string
/properties/account
/properties/accounts
/properties/address
/properties/admitted
/properties/application
/properties/audience
/properties/bound
/properties/cap
/properties/ceiling
/properties/client_secret_name
/properties/conditions
/properties/configured_tenant
/properties/creation
/properties/credential_kind
/properties/domain
/properties/entry
/properties/environment
/properties/expected_sha256
/properties/file
/properties/flag
/properties/free_images
/properties/gap
/properties/grant
/properties/hostname
/properties/incoming_closure_hash
/properties/kept
/properties/level
/properties/limit
/properties/measure
/properties/minimum_version
/properties/missing
/properties/next
/properties/path
/properties/per_hour
/properties/plan
/properties/posture
/properties/provider_code
/properties/provider_status
/properties/purchase
/properties/quantity
/properties/reason
/properties/received_sha256
/properties/refusal
/properties/refused
/properties/region
/properties/resets_at
/properties/restored
/properties/saved
/properties/schedules
/properties/scope
/properties/served_closure_hash
/properties/sign_in_methods
/properties/space
/properties/sqlstate
/properties/standing
/properties/tenant
/properties/used
/properties/value
/properties/version
/properties/violations
/properties/within_reach
/properties/within_rule
/allOf/0
/allOf/0/if Required fields: ["error"]
/allOf/0/if/properties/error Required value: account_credential_required
/allOf/0/then
/allOf/0/then/properties/scope The bound of the token presented: a token minted for one application, under which halting production is refused.

Type: object
/allOf/0/then/properties/scope/properties/kind The kind of bound, always application here.

Type: string
/allOf/0/then/properties/scope/properties/application The id of the application the token is bounded to.

Type: string
/allOf/1
/allOf/1/if Required fields: ["error"]
/allOf/1/if/properties/error Required value: account_not_synthetic
/allOf/1/then
/allOf/1/then/properties/accounts The account ids the request gave that exist and are not synthetic, as you wrote them. The list is never empty.

Type: array
/allOf/1/then/properties/accounts/items Type: string
/allOf/2
/allOf/2/if Required fields: ["error"]
/allOf/2/if/properties/error Required value: account_outside_batches
/allOf/2/then
/allOf/2/then/properties/accounts The account ids the request gave that lie outside your reach, as you wrote them. The list is never empty. The member is left out where the request repeated a request_id another credential's purge carries.

Type: array
/allOf/2/then/properties/accounts/items Type: string
/allOf/2/then/properties/grant The synthetic grant that bounds your credential, present on the purge's refusal.

Type: string
Pattern: ^[a-z][a-z0-9_]*$
/allOf/3
/allOf/3/if Required fields: ["error"]
/allOf/3/if/properties/error Required value: action_address_moved
/allOf/3/then
/allOf/3/then/properties/address The action's own address for a bearer call.

Type: string
/allOf/4
/allOf/4/if Required fields: ["error"]
/allOf/4/if/properties/error Required value: area_scope_refused
/allOf/4/then
/allOf/4/then/properties/scope The reach of the credential presented: the whole account, or the one application a token is bounded to, with the bounding grant where one bounds it.

Type: object
/allOf/4/then/properties/scope/properties/kind The kind of reach: account or application.

Type: string
/allOf/4/then/properties/scope/properties/application The id of the application the token is bounded to, present where kind is application.

Type: string
/allOf/4/then/properties/scope/properties/grant The bounding grant the credential carries, present where one bounds it.

Type: string
/allOf/5
/allOf/5/if Required fields: ["error"]
/allOf/5/if/properties/error Required value: artifact_area_mismatch
/allOf/5/then
/allOf/5/then/properties/kept On a deploy_files list whose entries are refused one by one, each entry kept and each entry by sha256 alone whose file the platform holds and could read as the refusal was built, in the list's order. A retry gives each by its sha256.

Type: array
/allOf/5/then/properties/kept/items Type: object
/allOf/5/then/properties/kept/items/properties/path The entry's path, as the list gave it.

Type: string
/allOf/5/then/properties/kept/items/properties/sha256 The SHA-256 the platform computed over the bytes it kept, the hash a retry gives.

Type: string
/allOf/5/then/properties/refused On a deploy_files list whose entries are refused one by one, each refused entry, in the list's order. The list is never empty, and its first entry is the one the detail cites.

Type: array
/allOf/5/then/properties/refused/items Type: object
/allOf/5/then/properties/refused/items/properties/path The entry's path, as the list gave it.

Type: string
/allOf/5/then/properties/refused/items/properties/error The refusal name the entry met.

Type: string
/allOf/5/then/properties/refused/items/properties/received_sha256 With deploy_files_hash_mismatch: the SHA-256 the platform computed over the bytes it received or read, which the hash the call gave did not match.

Type: string
/allOf/6
/allOf/6/if Required fields: ["error"]
/allOf/6/if/properties/error Required value: artifact_not_found
/allOf/6/then
/allOf/6/then/properties/kept On a deploy_files list whose entries are refused one by one, each entry kept and each entry by sha256 alone whose file the platform holds and could read as the refusal was built, in the list's order. A retry gives each by its sha256.

Type: array
/allOf/6/then/properties/kept/items Type: object
/allOf/6/then/properties/kept/items/properties/path The entry's path, as the list gave it.

Type: string
/allOf/6/then/properties/kept/items/properties/sha256 The SHA-256 the platform computed over the bytes it kept, the hash a retry gives.

Type: string
/allOf/6/then/properties/refused On a deploy_files list whose entries are refused one by one, each refused entry, in the list's order. The list is never empty, and its first entry is the one the detail cites.

Type: array
/allOf/6/then/properties/refused/items Type: object
/allOf/6/then/properties/refused/items/properties/path The entry's path, as the list gave it.

Type: string
/allOf/6/then/properties/refused/items/properties/error The refusal name the entry met.

Type: string
/allOf/6/then/properties/refused/items/properties/received_sha256 With deploy_files_hash_mismatch: the SHA-256 the platform computed over the bytes it received or read, which the hash the call gave did not match.

Type: string
/allOf/7
/allOf/7/if Required fields: ["error"]
/allOf/7/if/properties/error Required value: binding_refused
/allOf/7/then
/allOf/7/then/properties/application The id of the application the existing upstream of that name is bound to, which is not the application this declaration gave.

Type: string
/allOf/8
/allOf/8/if Required fields: ["error"]
/allOf/8/if/properties/error Required value: command_too_old
/allOf/8/then
/allOf/8/then/properties/minimum_version The floor: the oldest command version, turnzero-cloud or turnzero, whose flows this plane still serves correctly, as <major>.<minor>.<patch>.

Type: string
/allOf/9
/allOf/9/if Required fields: ["error"]
/allOf/9/if/properties/error Required value: creation_contradicts_audience
/allOf/9/then
/allOf/9/then/properties/audience The audience the application's manifest declares, invited at this refusal.

Type: string
/allOf/9/then/properties/creation The creation mode the call gave, open at this refusal.

Type: string
/allOf/10
/allOf/10/if Required fields: ["error"]
/allOf/10/if/properties/error Required value: credit_flag_held
/allOf/10/then
/allOf/10/then/properties/flag The account's credit flag and any recorded clearing.

Type: object
/allOf/10/then/properties/flag/properties/purchase The purchase that raised the flag.

Type: string
/allOf/10/then/properties/flag/properties/cause The return that raised it. Current values include refund, dispute.

Type: string
/allOf/10/then/properties/flag/properties/shortfall The shortfall as a dollars string.

Type: string
/allOf/10/then/properties/flag/properties/shortfall_micros The shortfall in whole micro-dollars, zero or greater.

Type: integer
/allOf/10/then/properties/flag/properties/flagged_at The instant the flag was raised.

Type: string
/allOf/10/then/properties/flag/properties/cleared_at The clearing instant, or null while not cleared.

Type: ["string","null"]
/allOf/10/then/properties/flag/properties/cleared_by The operator who cleared it, or null.

Type: ["string","null"]
/allOf/10/then/properties/flag/properties/cleared_reason The recorded clearing reason, or null.

Type: ["string","null"]
/allOf/11
/allOf/11/if Required fields: ["error"]
/allOf/11/if/properties/error Required value: custody_entry_missing
/allOf/11/then
/allOf/11/then/properties/client_secret_name The secret name the call, or the manifest's realm member, gave as the work-account client secret, the Apple signing key, or the push provider credential, for which custody holds no entry at the application's scope.

Type: string
/allOf/11/then/properties/application The id of the application whose realm the call, the submission, or create_environment configures, and at whose scope the entry was looked up.

Type: string
/allOf/12
/allOf/12/if Required fields: ["error"]
/allOf/12/if/properties/error Required value: custom_domain_capacity
/allOf/12/then
/allOf/12/then/properties/bound The estate's bound on custom domains, the count of rows that hold or may hold a provider resource its apps edge admits at most.

Type: integer
/allOf/13
/allOf/13/if Required fields: ["error"]
/allOf/13/if/properties/error Required value: custom_domain_invalid
/allOf/13/then
/allOf/13/then/properties/domain The declared hostname.

Type: string
/allOf/13/then/properties/reason Why the hostname is refused: apex (no label before its registrable domain under the Public Suffix List), reserved (a platform name), public_suffix, or held. Held means another row of the platform's table holds the name, a detaching or failed row among them, or the application's own row has another domain or is detaching.

Type: string
/allOf/14
/allOf/14/if Required fields: ["error"]
/allOf/14/if/properties/error Required value: custom_domains_not_yet_served
/allOf/14/then
/allOf/14/then/properties/hostname The declared hostname.

Type: string
/allOf/15
/allOf/15/if Required fields: ["error"]
/allOf/15/if/properties/error Required value: declared_audience_contradicts_route
/allOf/15/then
/allOf/15/then/properties/audience The audience the submitted manifest declares, invited at this refusal.

Type: string
/allOf/15/then/properties/environment The environment whose existing realm's sign-in methods include the work-account route, development or production, the first one found.

Type: string
/allOf/15/then/properties/sign_in_methods The sign-in methods that realm is configured with, the work-account route entra among them.

Type: array
/allOf/15/then/properties/sign_in_methods/items Type: string
/allOf/16
/allOf/16/if Required fields: ["error"]
/allOf/16/if/properties/error Required value: declared_tenant_contradicts_route
/allOf/16/then
/allOf/16/then/properties/tenant The Entra tenant the submitted manifest declares under the workforce audience.

Type: string
/allOf/16/then/properties/configured_tenant The Entra tenant the work-account route of that environment's realm is configured against.

Type: string
/allOf/16/then/properties/environment The environment whose existing realm's work-account route is configured against another tenant, development or production, the first one found.

Type: string
/allOf/17
/allOf/17/if Required fields: ["error"]
/allOf/17/if/properties/error Required value: deploy_files_hash_mismatch
/allOf/17/then
/allOf/17/then/properties/kept On a deploy_files list whose content entries are refused one by one, each content entry kept and each entry by sha256 alone whose file the platform holds and could read as the refusal was built, in the list's order. Files that passed, and those earlier calls kept, are held now, and a retry gives each by its sha256.

Type: array
/allOf/17/then/properties/kept/items Type: object
/allOf/17/then/properties/kept/items/properties/path The entry's path, as the list gave it.

Type: string
/allOf/17/then/properties/kept/items/properties/sha256 The SHA-256 the platform computed over the content it received, the hash a retry gives.

Type: string
/allOf/17/then/properties/refused On a deploy_files list whose content entries are refused one by one, each refused entry, in the list's order. The list is never empty, and its first entry is the one the detail cites.

Type: array
/allOf/17/then/properties/refused/items Type: object
/allOf/17/then/properties/refused/items/properties/path The entry's path, as the list gave it.

Type: string
/allOf/17/then/properties/refused/items/properties/error The refusal name the entry met.

Type: string
/allOf/17/then/properties/refused/items/properties/received_sha256 With deploy_files_hash_mismatch: the SHA-256 the platform computed over the bytes it received or read, which the hash the call gave did not match.

Type: string
/allOf/18
/allOf/18/if Required fields: ["error"]
/allOf/18/if/properties/error Required value: deploy_files_syntax_error
/allOf/18/then
/allOf/18/then/properties/kept On a deploy_files list whose content entries are refused one by one, each content entry kept and each entry by sha256 alone whose file the platform holds and could read as the refusal was built, in the list's order. Files that passed, and those earlier calls kept, are held now, and a retry gives each by its sha256.

Type: array
/allOf/18/then/properties/kept/items Type: object
/allOf/18/then/properties/kept/items/properties/path The entry's path, as the list gave it.

Type: string
/allOf/18/then/properties/kept/items/properties/sha256 The SHA-256 the platform computed over the content it received, the hash a retry gives.

Type: string
/allOf/18/then/properties/refused On a deploy_files list whose content entries are refused one by one, each refused entry, in the list's order. The list is never empty, and its first entry is the one the detail cites.

Type: array
/allOf/18/then/properties/refused/items Type: object
/allOf/18/then/properties/refused/items/properties/path The entry's path, as the list gave it.

Type: string
/allOf/18/then/properties/refused/items/properties/error The refusal name the entry met.

Type: string
/allOf/18/then/properties/refused/items/properties/received_sha256 With deploy_files_hash_mismatch: the SHA-256 the platform computed over the content it received, which the hash the call gave did not match.

Type: string
/allOf/19
/allOf/19/if Required fields: ["error"]
/allOf/19/if/properties/error Required value: deploy_files_too_large
/allOf/19/then
/allOf/19/then/properties/limit files means over 200 entries; file_bytes means an inline file over 512 KiB. total_bytes means listed and filled files exceed 4 MiB total, or a stored file's byte count differs from its earlier metadata.

Type: string
/allOf/19/then/properties/kept On a deploy_files list whose content entries are refused one by one, each content entry kept and each entry by sha256 alone whose file the platform holds and could read as the refusal was built, in the list's order. Files that passed, and those earlier calls kept, are held now, and a retry gives each by its sha256.

Type: array
/allOf/19/then/properties/kept/items Type: object
/allOf/19/then/properties/kept/items/properties/path The entry's path, as the list gave it.

Type: string
/allOf/19/then/properties/kept/items/properties/sha256 The SHA-256 the platform computed over the content it received, the hash a retry gives.

Type: string
/allOf/19/then/properties/refused On a deploy_files list whose content entries are refused one by one, each refused entry, in the list's order. The list is never empty, and its first entry is the one the detail cites.

Type: array
/allOf/19/then/properties/refused/items Type: object
/allOf/19/then/properties/refused/items/properties/path The entry's path, as the list gave it.

Type: string
/allOf/19/then/properties/refused/items/properties/error The refusal name the entry met.

Type: string
/allOf/19/then/properties/refused/items/properties/received_sha256 With deploy_files_hash_mismatch: the SHA-256 the platform computed over the content it received, which the hash the call gave did not match.

Type: string
/allOf/20
/allOf/20/if Required fields: ["error"]
/allOf/20/if/properties/error Required value: device_sign_in_bounded
/allOf/20/then
/allOf/20/then/properties/grant The grant that bounds the credential, device_sign_in.

Type: string
Pattern: ^[a-z][a-z0-9_]*$
/allOf/20/then/properties/admitted The rows the bound admits on this plane, the grant's own rows and those whose admits mark lists it.

Type: array
/allOf/20/then/properties/admitted/items Type: string
/allOf/21
/allOf/21/if Required fields: ["error"]
/allOf/21/if/properties/error Required value: egress_key_not_admitted
/allOf/21/then
/allOf/21/then/properties/credential_kind The kind of the credential refused, egress_key at this refusal.

Type: string
/allOf/22
/allOf/22/if Required fields: ["error"]
/allOf/22/if/properties/error Required value: end_user_credential_not_admitted
/allOf/22/then
/allOf/22/then/properties/credential_kind The kind of the credential refused, end_user at this refusal.

Type: string
/allOf/23
/allOf/23/if Required fields: ["error"]
/allOf/23/if/properties/error Required value: feedback_queue_bounded
/allOf/23/then
/allOf/23/then/properties/grant The grant that bounds the credential presented.

Type: string
Pattern: ^[a-z][a-z0-9_]*$
/allOf/23/then/properties/admitted The actions the bound admits, in the enumeration's order: the rows the grant marks and the rows whose admits mark lists it. The rows marked access: anonymous lie outside the bound and are not listed.

Type: array
/allOf/23/then/properties/admitted/items Type: string
/allOf/24
/allOf/24/if Required fields: ["error"]
/allOf/24/if/properties/error Required value: grant_not_held
/allOf/24/then
/allOf/24/then/properties/grant The requested grant the minting session does not itself hold.

Type: string
Pattern: ^[a-z][a-z0-9_]*$
/allOf/25
/allOf/25/if Required fields: ["error"]
/allOf/25/if/properties/error Required value: grant_required
/allOf/25/then
/allOf/25/then/properties/grant The grant the action requires and the credential does not hold.

Type: string
Pattern: ^[a-z][a-z0-9_]*$
/allOf/26
/allOf/26/if Required fields: ["error"]
/allOf/26/if/properties/error Required value: grant_scope_refused
/allOf/26/then
/allOf/26/then/properties/grant The grant requested for an application-bounded token, which carries neither super_admin nor a narrow grant.

Type: string
Pattern: ^[a-z][a-z0-9_]*$
/allOf/27
/allOf/27/if Required fields: ["error"]
/allOf/27/if/properties/error Required value: image_generation_failed
/allOf/27/then
/allOf/27/then/properties/used The account's images counted this UTC month: delivered images and calls whose give-back failed.

Type: integer
/allOf/27/then/properties/cap The account's images per UTC month, returned where pricing reads plans.

Type: integer
/allOf/27/then/properties/resets_at The first instant of the next UTC month, as an ISO 8601 instant.

Type: string
/allOf/27/then/properties/saved False: no image was saved.

Type: boolean
/allOf/27/then/properties/free_images The account's free images per UTC month, returned where pricing reads usage.

Type: integer
/allOf/28
/allOf/28/if Required fields: ["error"]
/allOf/28/if/properties/error Required value: image_generation_limited
/allOf/28/then
/allOf/28/then/properties/per_hour The setting's number of image calls that reached the provider and delivered no image in the trailing hour.

Type: integer
/allOf/28/then/properties/resets_at The instant the oldest counted call leaves the trailing hour, as an ISO 8601 instant.

Type: string
/allOf/29
/allOf/29/if Required fields: ["error"]
/allOf/29/if/properties/error Required value: invalid_request
/allOf/29/then
/allOf/29/then/properties/kept On a deploy_files list whose content entries are refused one by one, each content entry kept and each entry by sha256 alone whose file the platform holds and could read as the refusal was built, in the list's order. Files that passed, and those earlier calls kept, are held now, and a retry gives each by its sha256.

Type: array
/allOf/29/then/properties/kept/items Type: object
/allOf/29/then/properties/kept/items/properties/path The entry's path, as the list gave it.

Type: string
/allOf/29/then/properties/kept/items/properties/sha256 The SHA-256 the platform computed over the content it received, the hash a retry gives.

Type: string
/allOf/29/then/properties/refused On a deploy_files list whose content entries are refused one by one, each refused entry, in the list's order. The list is never empty, and its first entry is the one the detail cites.

Type: array
/allOf/29/then/properties/refused/items Type: object
/allOf/29/then/properties/refused/items/properties/path The entry's path, as the list gave it.

Type: string
/allOf/29/then/properties/refused/items/properties/error The refusal name the entry met.

Type: string
/allOf/29/then/properties/refused/items/properties/received_sha256 With deploy_files_hash_mismatch: the SHA-256 the platform computed over the content it received, which the hash the call gave did not match.

Type: string
/allOf/30
/allOf/30/if Required fields: ["error"]
/allOf/30/if/properties/error Required value: invited_realm_refuses_work_account
/allOf/30/then
/allOf/30/then/properties/creation The creation mode the realm would enforce after the call, invited at this refusal.

Type: string
/allOf/30/then/properties/audience The audience the application's recorded manifest declares: public, invited, or workforce.

Type: string
/allOf/31
/allOf/31/if Required fields: ["error"]
/allOf/31/if/properties/error Required value: issue_refused
/allOf/31/then
/allOf/31/then/properties/refusal The issue service's own refusal name, one the Issue Tracking contract states.

Type: string
/allOf/32
/allOf/32/if Required fields: ["error"]
/allOf/32/if/properties/error Required value: issues_bounded
/allOf/32/then
/allOf/32/then/properties/grant The grant that bounds the credential presented.

Type: string
Pattern: ^[a-z][a-z0-9_]*$
/allOf/32/then/properties/admitted The actions the bound admits, in the enumeration's order: the rows the grant marks and the rows whose admits mark lists it. The rows marked access: anonymous lie outside the bound and are not listed.

Type: array
/allOf/32/then/properties/admitted/items Type: string
/allOf/33
/allOf/33/if Required fields: ["error"]
/allOf/33/if/properties/error Required value: issues_level_refused
/allOf/33/then
/allOf/33/then/properties/level The level of the token's issues grant.

Type: string
/allOf/33/then/properties/admitted The acts the level admits, in the relay's order.

Type: array
/allOf/33/then/properties/admitted/items Type: string
/allOf/34
/allOf/34/if Required fields: ["error"]
/allOf/34/if/properties/error Required value: local_route_required
/allOf/34/then
/allOf/34/then/properties/application The id of the application whose platform-minted development credential the call asked to re-mint.

Type: string
/allOf/35
/allOf/35/if Required fields: ["error"]
/allOf/35/if/properties/error Required value: manifest_invalid
/allOf/35/then
/allOf/35/then/properties/violations One entry per violation, each the JSON path of the failing member, a colon, and the message. The root of the document is written as a single slash.

Type: array
/allOf/35/then/properties/violations/items Type: string
/allOf/36
/allOf/36/if Required fields: ["error"]
/allOf/36/if/properties/error Required value: plan_quantity_unset
/allOf/36/then
/allOf/36/then/properties/plan The quota key read: the application's size, or unlimited for the company's applications. A plan name occurs only where pricing reads plans.

Type: string
/allOf/36/then/properties/measure The pricing-registry entry whose quantity is Unset for the key, for example schedule-count-limit.

Type: string
/allOf/37
/allOf/37/if Required fields: ["error"]
/allOf/37/if/properties/error Required value: plan_schedule_conflict
/allOf/37/then
/allOf/37/then/properties/plan The quota key read: the application's size, or unlimited for the company's applications. A plan name occurs only where pricing reads plans.

Type: string
/allOf/37/then/properties/schedules One entry per conflict between an existing schedule and the target key. The list is never empty, and one schedule appears once per measure it violates.

Type: array
/allOf/37/then/properties/schedules/items Type: object
/allOf/37/then/properties/schedules/items/properties/schedule The schedule's declared name.

Type: string
/allOf/37/then/properties/schedules/items/properties/measure The measure violated: schedule-minimum-interval or schedule-count-limit.

Type: string
/allOf/37/then/properties/schedules/items/properties/bound The target key's served quantity for that measure: minutes for the interval, a count for the limit.

Type: integer
/allOf/37/then/properties/schedules/items/properties/cron The schedule's cron expression as recorded.

Type: string
/allOf/37/then/properties/schedules/items/properties/gap The shortest gap in whole minutes between the expression's consecutive due times, on an interval entry alone.

Type: integer
/allOf/38
/allOf/38/if Required fields: ["error"]
/allOf/38/if/properties/error Required value: platform_minted_name
/allOf/38/then
/allOf/38/then/properties/application The id of the account's application whose platform-minted credential name the request used.

Type: string
/allOf/39
/allOf/39/if Required fields: ["error"]
/allOf/39/if/properties/error Required value: platform_space_configure_refused
/allOf/39/then
/allOf/39/then/properties/space The space the request gave.

Type: string
/allOf/40
/allOf/40/if Required fields: ["error"]
/allOf/40/if/properties/error Required value: publication_bounded
/allOf/40/then
/allOf/40/then/properties/grant The grant that bounds the credential presented.

Type: string
Pattern: ^[a-z][a-z0-9_]*$
/allOf/40/then/properties/admitted The actions the bound admits, in the enumeration's order: the rows the grant marks and the rows whose admits mark lists it. The rows marked access: anonymous lie outside the bound and are not listed.

Type: array
/allOf/40/then/properties/admitted/items Type: string
/allOf/41
/allOf/41/if Required fields: ["error"]
/allOf/41/if/properties/error Required value: publish_incomplete
/allOf/41/then
/allOf/41/then/properties/missing What the commit lists and the puts never wrote, never empty. For a library publish each entry is a blob's sha256. For a public-files publish each entry is a file name, or a site-relative path for the site.

Type: array
/allOf/41/then/properties/missing/items Type: string
/allOf/42
/allOf/42/if Required fields: ["error"]
/allOf/42/if/properties/error Required value: published_bytes_differ
/allOf/42/then
/allOf/42/then/properties/file The published versioned name whose recorded sha256 differs from the incoming file's. For the site it is the full versioned name, the source commit's folder included.

Type: string
/allOf/43
/allOf/43/if Required fields: ["error"]
/allOf/43/if/properties/error Required value: purchase_not_admitted
/allOf/43/then
/allOf/43/then/properties/reason The account is unbilled, blocked after a refund or dispute, holds an open payment dispute, or is an ordinary account on a site that takes test payments only.

Type: string
Pattern: ^[a-z][a-z0-9_]*$
/allOf/44
/allOf/44/if Required fields: ["error"]
/allOf/44/if/properties/error Required value: purchase_unavailable
/allOf/44/then
/allOf/44/then/properties/reason Present as replaced if another purchase start for this account replaced this one; absent for other causes.

Type: string
Pattern: ^[a-z][a-z0-9_]*$
/allOf/45
/allOf/45/if Required fields: ["error"]
/allOf/45/if/properties/error Required value: query_failed
/allOf/45/then
/allOf/45/then/properties/sqlstate The five-character SQLSTATE the server returned, on a 422 alone.

Type: string
/allOf/46
/allOf/46/if Required fields: ["error"]
/allOf/46/if/properties/error Required value: refund_not_admitted
/allOf/46/then
/allOf/46/then/properties/reason The first failed admission check: purchase state, absolute reach, required reason, then provider availability. Current values include refunded, refunding, disputed, never_paid, past_reach, reason_required, provider_closed.

Type: string
/allOf/46/then/properties/account The account whose purchase or flag is being handled.

Type: object
/allOf/46/then/properties/account/properties/id The account id.

Type: string
/allOf/46/then/properties/purchase The purchase and its payment/refund state; no provider identifier.

Type: object
/allOf/46/then/properties/purchase/properties/id The purchase id.

Type: string
/allOf/46/then/properties/purchase/properties/state started: checkout opened, no grant; paid: its grant was issued; expired: checkout abandoned or payment failed. refunding and refunded: a refund on its way and done. disputed: a dispute removed the grant's remainder. dispute_lost: the dispute closed against the seller, and credit stays removed. A dispute closed in the seller's favour returns the purchase to paid.

Type: string
/allOf/46/then/properties/purchase/properties/amount The purchase amount before tax, as a dollars string. A dollars string starts with a dollar sign, separates thousands with commas and is rounded to two decimal places. A positive amount below one cent is rounded to four.

Type: string
/allOf/46/then/properties/purchase/properties/amount_micros The purchase amount before tax in whole micro-dollars, zero or greater.

Type: integer
/allOf/46/then/properties/purchase/properties/currency The purchase's currency.

Type: string
/allOf/46/then/properties/purchase/properties/paid_at The payment's instant, where known.

Type: ["string","null"]
/allOf/46/then/properties/purchase/properties/refunded_at The refund's instant, where recorded.

Type: ["string","null"]
/allOf/46/then/properties/purchase/properties/refund_micros The refunded amount in whole micro-dollars, zero or greater, or null where none.

Type: ["integer","null"]
/allOf/46/then/properties/conditions The three conditions as read at the act.

Type: object
/allOf/46/then/properties/conditions/properties/within_window The act's instant is within the refund window from payment.

Type: boolean
/allOf/46/then/properties/conditions/properties/unspent Usage has drawn nothing of this purchase's grant.

Type: boolean
/allOf/46/then/properties/conditions/properties/first_in_span No other operator refund, completed or under way, counts in the frequency span.

Type: boolean
/allOf/46/then/properties/within_rule All three refund-rule conditions hold.

Type: boolean
/allOf/46/then/properties/within_reach The payment is within the absolute refund reach.

Type: boolean
/allOf/47
/allOf/47/if Required fields: ["error"]
/allOf/47/if/properties/error Required value: refund_refused
/allOf/47/then
/allOf/47/then/properties/account The account whose purchase or flag is being handled.

Type: object
/allOf/47/then/properties/account/properties/id The account id.

Type: string
/allOf/47/then/properties/purchase The purchase and its payment/refund state; no provider identifier.

Type: object
/allOf/47/then/properties/purchase/properties/id The purchase id.

Type: string
/allOf/47/then/properties/purchase/properties/state started: checkout opened, no grant; paid: its grant was issued; expired: checkout abandoned or payment failed. refunding and refunded: a refund on its way and done. disputed: a dispute removed the grant's remainder. dispute_lost: the dispute closed against the seller, and credit stays removed. A dispute closed in the seller's favour returns the purchase to paid.

Type: string
/allOf/47/then/properties/purchase/properties/amount The purchase amount before tax, as a dollars string. A dollars string starts with a dollar sign, separates thousands with commas and is rounded to two decimal places. A positive amount below one cent is rounded to four.

Type: string
/allOf/47/then/properties/purchase/properties/amount_micros The purchase amount before tax in whole micro-dollars, zero or greater.

Type: integer
/allOf/47/then/properties/purchase/properties/currency The purchase's currency.

Type: string
/allOf/47/then/properties/purchase/properties/paid_at The payment's instant, where known.

Type: ["string","null"]
/allOf/47/then/properties/purchase/properties/refunded_at The refund's instant, where recorded.

Type: ["string","null"]
/allOf/47/then/properties/purchase/properties/refund_micros The refunded amount in whole micro-dollars, zero or greater, or null where none.

Type: ["integer","null"]
/allOf/47/then/properties/conditions The three conditions as read at the act.

Type: object
/allOf/47/then/properties/conditions/properties/within_window The act's instant is within the refund window from payment.

Type: boolean
/allOf/47/then/properties/conditions/properties/unspent Usage has drawn nothing of this purchase's grant.

Type: boolean
/allOf/47/then/properties/conditions/properties/first_in_span No other operator refund, completed or under way, counts in the frequency span.

Type: boolean
/allOf/47/then/properties/within_rule All three refund-rule conditions hold.

Type: boolean
/allOf/47/then/properties/within_reach The payment is within the absolute refund reach.

Type: boolean
/allOf/47/then/properties/restored True if the purchase returned to paid with its removed credit restored.

Type: boolean
/allOf/47/then/properties/provider_status The provider’s HTTP refusal status, where available.

Type: ["integer","null"]
/allOf/47/then/properties/provider_code The provider’s refusal code, where available.

Type: ["string","null"]
/allOf/48
/allOf/48/if Required fields: ["error"]
/allOf/48/if/properties/error Required value: region_unavailable
/allOf/48/then
/allOf/48/then/properties/region The region the submitted manifest declares, one the platform does not offer yet.

Type: string
/allOf/49
/allOf/49/if Required fields: ["error"]
/allOf/49/if/properties/error Required value: rotation_in_flight
/allOf/49/then
/allOf/49/then/properties/application The id of the application whose development database credential the call asked to re-mint.

Type: string
/allOf/50
/allOf/50/if Required fields: ["error"]
/allOf/50/if/properties/error Required value: route_set_contradicts_audience
/allOf/50/then
/allOf/50/then/properties/audience The audience the application's recorded manifest declares, workforce at this refusal.

Type: string
/allOf/50/then/properties/tenant The Entra tenant the manifest declares, present only where the call gave a different tenant.

Type: string
/allOf/51
/allOf/51/if Required fields: ["error"]
/allOf/51/if/properties/error Required value: route_unreachable
/allOf/51/then
/allOf/51/then/properties/reason Why the route was not reached: no_address, the hostname resolved to no address; address_not_public, it resolved outside public unicast. Or connect_failed, the connection failed or ended before the body was read; tls_failed, the TLS connection failed; or timeout, the call passed its 20 seconds.

Type: string
/allOf/52
/allOf/52/if Required fields: ["error"]
/allOf/52/if/properties/error Required value: schedule_count_over_plan
/allOf/52/then
/allOf/52/then/properties/path The JSON path of the first schedule declaration past the size's count.

Type: string
/allOf/52/then/properties/plan The quota key read: the application's size, or unlimited for the company's applications. A plan name occurs only where pricing reads plans.

Type: string
/allOf/52/then/properties/measure The measure the refusal is keyed on, schedule-count-limit.

Type: string
/allOf/52/then/properties/quantity The size's served count limit, the most schedules the application may declare.

Type: integer
/allOf/53
/allOf/53/if Required fields: ["error"]
/allOf/53/if/properties/error Required value: schedule_interval_below_plan
/allOf/53/then
/allOf/53/then/properties/path The JSON path of the cron expression whose due times fall too close together.

Type: string
/allOf/53/then/properties/plan The quota key read: the application's size, or unlimited for the company's applications. A plan name occurs only where pricing reads plans.

Type: string
/allOf/53/then/properties/measure The measure the refusal is keyed on, schedule-minimum-interval.

Type: string
/allOf/53/then/properties/quantity The size's served minimum interval in minutes, the floor.

Type: integer
/allOf/53/then/properties/gap The shortest gap in whole minutes between the expression's consecutive due times, less than the floor.

Type: integer
/allOf/54
/allOf/54/if Required fields: ["error"]
/allOf/54/if/properties/error Required value: scope_fixed
/allOf/54/then
/allOf/54/then/properties/scope The kind of scope the name is at: account or application.

Type: string
/allOf/54/then/properties/application The id of the application whose scope the name is at, null where it is at the account scope.

Type: ["string","null"]
/allOf/54/then/properties/environment The environment of that application scope, development or production, null where the name is at the account scope.

Type: ["string","null"]
/allOf/55
/allOf/55/if Required fields: ["error"]
/allOf/55/if/properties/error Required value: secret_grant_expired
/allOf/55/then
/allOf/55/then/properties/credential_kind The kind of the credential refused: secret_grant.

Type: string
/allOf/56
/allOf/56/if Required fields: ["error"]
/allOf/56/if/properties/error Required value: secret_grant_not_admitted
/allOf/56/then
/allOf/56/then/properties/credential_kind The kind of the credential refused: secret_grant.

Type: string
/allOf/57
/allOf/57/if Required fields: ["error"]
/allOf/57/if/properties/error Required value: secret_grant_spent
/allOf/57/then
/allOf/57/then/properties/credential_kind The kind of the credential refused: secret_grant.

Type: string
/allOf/58
/allOf/58/if Required fields: ["error"]
/allOf/58/if/properties/error Required value: setting_secret_missing
/allOf/58/then
/allOf/58/then/properties/next The one call that remedies the refusal, the object alone: store_secret for the application and the environment the act targets. It carries the secret's name and never a value, and its answer gives the line that sends the value.

Type: object
/allOf/58/then/properties/next/properties/action The action to call: store_secret.

Type: string
/allOf/58/then/properties/next/properties/arguments The call's arguments, filled in whole: no value is among them.

Type: object
/allOf/58/then/properties/next/properties/arguments/properties/name The secret's name, the one the setting binds.

Type: string
/allOf/58/then/properties/next/properties/arguments/properties/application The application's identifier.

Type: string
/allOf/58/then/properties/next/properties/arguments/properties/environment The environment the deploy or promote targets, development or production.

Type: string
/allOf/59
/allOf/59/if Required fields: ["error"]
/allOf/59/if/properties/error Required value: space_not_owned
/allOf/59/then
/allOf/59/then/properties/space The space the request gave.

Type: string
/allOf/60
/allOf/60/if Required fields: ["error"]
/allOf/60/if/properties/error Required value: synthetic_ceiling_reached
/allOf/60/then
/allOf/60/then/properties/ceiling The name of the ceiling reached: standing_accounts, seeded_per_day, standing_applications, paid_applications, or, under the synthetic_seed_purge grant, standing_accounts_per_credential. For an account seeded under that grant, paid_applications_per_account is the ceiling on its applications whose stored plan is not Free. Under usage, applications_per_account is the ceiling on all applications an account seeded under that grant holds.

Type: string
/allOf/60/then/properties/value The ceiling's constant, under the mode read or, for standing_accounts_per_credential and paid_applications_per_account, under the synthetic_seed_purge grant. For applications_per_account it is the allowed application count.

Type: integer
/allOf/60/then/properties/standing The count measured against the ceiling before the call. For seeded_per_day it is the accounts this operator's account seeded in the current UTC day. For standing_accounts_per_credential it is the existing synthetic accounts the calling credential seeded. For paid_applications_per_account it counts the account's applications whose stored plan is not Free, excluding the one being moved. For applications_per_account it counts all applications the seeded account holds.

Type: integer
/allOf/61
/allOf/61/if Required fields: ["error"]
/allOf/61/if/properties/error Required value: synthetic_estate_bounded
/allOf/61/then
/allOf/61/then/properties/grant The grant that bounds the credential presented.

Type: string
Pattern: ^[a-z][a-z0-9_]*$
/allOf/61/then/properties/admitted The actions the bound admits, in the enumeration's order: the rows the grant marks and the rows whose admits mark lists it. The rows marked access: anonymous lie outside the bound and are not listed.

Type: array
/allOf/61/then/properties/admitted/items Type: string
/allOf/62
/allOf/62/if Required fields: ["error"]
/allOf/62/if/properties/error Required value: synthetic_posture_refuses
/allOf/62/then
/allOf/62/then/properties/bound The name of the bound that refused: accounts_per_seed, token_expiry_days, products, tools_plan, or app_hosting on a seed, all on a purge.

Type: string
/allOf/62/then/properties/value The bound's constant, under the effective mode or under your bounding grant, present on a seed's refusal that gives accounts_per_seed or token_expiry_days.

Type: integer
/allOf/62/then/properties/posture The mode the refused act met: the effective seed mode on a seed, the mode as set on a purge.

Type: string
/allOf/62/then/properties/grant The bounding grant your credential holds without super_admin, present only where the grant is why the act was refused: all on a purge, or a seed past the grant's own bounds.

Type: string
Pattern: ^[a-z][a-z0-9_]*$
/allOf/63
/allOf/63/if Required fields: ["error"]
/allOf/63/if/properties/error Required value: synthetic_seed_purge_bounded
/allOf/63/then
/allOf/63/then/properties/grant The grant that bounds the credential presented.

Type: string
Pattern: ^[a-z][a-z0-9_]*$
/allOf/63/then/properties/admitted The actions the bound admits, in the enumeration's order: the rows the grant marks and the rows whose admits mark lists it. The rows marked access: anonymous lie outside the bound and are not listed.

Type: array
/allOf/63/then/properties/admitted/items Type: string
/allOf/64
/allOf/64/if Required fields: ["error"]
/allOf/64/if/properties/error Required value: token_scope_refused
/allOf/64/then
/allOf/64/then/properties/scope The bound of the token presented: the one application it reaches, outside which the request's subject lies.

Type: object
/allOf/64/then/properties/scope/properties/kind The kind of bound, always application here.

Type: string
/allOf/64/then/properties/scope/properties/application The id of the application the token is bounded to, null where the credential is bounded to no application.

Type: ["string","null"]
/allOf/65
/allOf/65/if Required fields: ["error"]
/allOf/65/if/properties/error Required value: transfer_grant_not_admitted
/allOf/65/then
/allOf/65/then/properties/credential_kind The kind of the credential refused: transfer_grant on the storage surface, the actions, and every other surface, and on the deploy command's progress read any kind presented.

Type: string
/allOf/66
/allOf/66/if Required fields: ["error"]
/allOf/66/if/properties/error Required value: tzmesh_bounded
/allOf/66/then
/allOf/66/then/properties/grant The grant that bounds the credential, tzmesh.

Type: string
Pattern: ^[a-z][a-z0-9_]*$
/allOf/66/then/properties/admitted The rows the bound admits on this plane, the grant's own rows and those whose admits mark lists it.

Type: array
/allOf/66/then/properties/admitted/items Type: string
/allOf/67
/allOf/67/if Required fields: ["error"]
/allOf/67/if/properties/error Required value: tztrack_bounded
/allOf/67/then
/allOf/67/then/properties/grant The grant that bounds the credential, tztrack.

Type: string
Pattern: ^[a-z][a-z0-9_]*$
/allOf/67/then/properties/admitted The rows the bound admits on this plane, the grant's own rows and those whose admits mark lists it.

Type: array
/allOf/67/then/properties/admitted/items Type: string
/allOf/68
/allOf/68/if Required fields: ["error"]
/allOf/68/if/properties/error Required value: unknown_action
/allOf/68/then
/allOf/68/then/properties/address The address that serves this action or its successor, where this address does not.

Type: string
/allOf/69
/allOf/69/if Required fields: ["error"]
/allOf/69/if/properties/error Required value: upload_hash_mismatch
/allOf/69/then
/allOf/69/then/properties/received_sha256 The SHA-256 of the bytes refused, 64 lower-case hexadecimal characters: the body the write carried, or the stored file the start read.

Type: string
/allOf/69/then/properties/expected_sha256 The SHA-256 the preparing deploy call gave as zip_sha256, 64 lower-case hexadecimal characters, which the upload's grant records.

Type: string
/allOf/69/then/properties/credential_kind The kind of the credential whose binding refused the bytes, transfer_grant: the upload's grant, at the write and at the start alike.

Type: string
/allOf/70
/allOf/70/if Required fields: ["error"]
/allOf/70/if/properties/error Required value: version_reused
/allOf/70/then
/allOf/70/then/properties/entry The name of the entry whose version is reused, left out where it is not in a library entry name's shape.

Type: string
/allOf/70/then/properties/version The version the entry keeps, which the served catalog already holds under another closure, left out where it is not in a version's shape.

Type: string
/allOf/70/then/properties/served_closure_hash The closure hash the served catalog records for the entry, left out where it is not 64 lower-case hexadecimal characters.

Type: string
/allOf/70/then/properties/incoming_closure_hash The closure hash this catalog states for the entry, left out where it is not 64 lower-case hexadecimal characters.

Type: string
/allOf/71
/allOf/71/if
/allOf/71/if/properties/error
/allOf/71/if/properties/error/not Allowed values: ["refund_not_admitted","refund_refused"]
/allOf/71/then
/allOf/71/then/properties/account false
/allOf/72
/allOf/72/if
/allOf/72/if/properties/error
/allOf/72/if/properties/error/not Allowed values: ["account_not_synthetic","account_outside_batches"]
/allOf/72/then
/allOf/72/then/properties/accounts false
/allOf/73
/allOf/73/if
/allOf/73/if/properties/error
/allOf/73/if/properties/error/not Allowed values: ["action_address_moved","unknown_action"]
/allOf/73/then
/allOf/73/then/properties/address false
/allOf/74
/allOf/74/if
/allOf/74/if/properties/error
/allOf/74/if/properties/error/not Allowed values: ["device_sign_in_bounded","feedback_queue_bounded","issues_bounded","issues_level_refused","publication_bounded","synthetic_estate_bounded","synthetic_seed_purge_bounded","tzmesh_bounded","tztrack_bounded"]
/allOf/74/then
/allOf/74/then/properties/admitted false
/allOf/75
/allOf/75/if
/allOf/75/if/properties/error
/allOf/75/if/properties/error/not Allowed values: ["binding_refused","custody_entry_missing","local_route_required","platform_minted_name","rotation_in_flight","scope_fixed"]
/allOf/75/then
/allOf/75/then/properties/application false
/allOf/76
/allOf/76/if
/allOf/76/if/properties/error
/allOf/76/if/properties/error/not Allowed values: ["creation_contradicts_audience","declared_audience_contradicts_route","invited_realm_refuses_work_account","route_set_contradicts_audience"]
/allOf/76/then
/allOf/76/then/properties/audience false
/allOf/77
/allOf/77/if
/allOf/77/if/properties/error
/allOf/77/if/properties/error/not Allowed values: ["custom_domain_capacity","synthetic_posture_refuses"]
/allOf/77/then
/allOf/77/then/properties/bound false
/allOf/78
/allOf/78/if
/allOf/78/if/properties/error
/allOf/78/if/properties/error/not Allowed values: ["image_generation_failed"]
/allOf/78/then
/allOf/78/then/properties/cap false
/allOf/79
/allOf/79/if
/allOf/79/if/properties/error
/allOf/79/if/properties/error/not Allowed values: ["synthetic_ceiling_reached"]
/allOf/79/then
/allOf/79/then/properties/ceiling false
/allOf/80
/allOf/80/if
/allOf/80/if/properties/error
/allOf/80/if/properties/error/not Allowed values: ["custody_entry_missing"]
/allOf/80/then
/allOf/80/then/properties/client_secret_name false
/allOf/81
/allOf/81/if
/allOf/81/if/properties/error
/allOf/81/if/properties/error/not Allowed values: ["refund_not_admitted","refund_refused"]
/allOf/81/then
/allOf/81/then/properties/conditions false
/allOf/82
/allOf/82/if
/allOf/82/if/properties/error
/allOf/82/if/properties/error/not Allowed values: ["declared_tenant_contradicts_route"]
/allOf/82/then
/allOf/82/then/properties/configured_tenant false
/allOf/83
/allOf/83/if
/allOf/83/if/properties/error
/allOf/83/if/properties/error/not Allowed values: ["creation_contradicts_audience","invited_realm_refuses_work_account"]
/allOf/83/then
/allOf/83/then/properties/creation false
/allOf/84
/allOf/84/if
/allOf/84/if/properties/error
/allOf/84/if/properties/error/not Allowed values: ["egress_key_not_admitted","end_user_credential_not_admitted","secret_grant_expired","secret_grant_not_admitted","secret_grant_spent","transfer_grant_not_admitted","upload_hash_mismatch"]
/allOf/84/then
/allOf/84/then/properties/credential_kind false
/allOf/85
/allOf/85/if
/allOf/85/if/properties/error
/allOf/85/if/properties/error/not Allowed values: ["custom_domain_invalid"]
/allOf/85/then
/allOf/85/then/properties/domain false
/allOf/86
/allOf/86/if
/allOf/86/if/properties/error
/allOf/86/if/properties/error/not Allowed values: ["version_reused"]
/allOf/86/then
/allOf/86/then/properties/entry false
/allOf/87
/allOf/87/if
/allOf/87/if/properties/error
/allOf/87/if/properties/error/not Allowed values: ["declared_audience_contradicts_route","declared_tenant_contradicts_route","scope_fixed"]
/allOf/87/then
/allOf/87/then/properties/environment false
/allOf/88
/allOf/88/if
/allOf/88/if/properties/error
/allOf/88/if/properties/error/not Allowed values: ["upload_hash_mismatch"]
/allOf/88/then
/allOf/88/then/properties/expected_sha256 false
/allOf/89
/allOf/89/if
/allOf/89/if/properties/error
/allOf/89/if/properties/error/not Allowed values: ["published_bytes_differ"]
/allOf/89/then
/allOf/89/then/properties/file false
/allOf/90
/allOf/90/if
/allOf/90/if/properties/error
/allOf/90/if/properties/error/not Allowed values: ["credit_flag_held"]
/allOf/90/then
/allOf/90/then/properties/flag false
/allOf/91
/allOf/91/if
/allOf/91/if/properties/error
/allOf/91/if/properties/error/not Allowed values: ["image_generation_failed"]
/allOf/91/then
/allOf/91/then/properties/free_images false
/allOf/92
/allOf/92/if
/allOf/92/if/properties/error
/allOf/92/if/properties/error/not Allowed values: ["schedule_interval_below_plan"]
/allOf/92/then
/allOf/92/then/properties/gap false
/allOf/93
/allOf/93/if
/allOf/93/if/properties/error
/allOf/93/if/properties/error/not Allowed values: ["account_outside_batches","device_sign_in_bounded","feedback_queue_bounded","grant_not_held","grant_required","grant_scope_refused","issues_bounded","publication_bounded","synthetic_estate_bounded","synthetic_posture_refuses","synthetic_seed_purge_bounded","tzmesh_bounded","tztrack_bounded"]
/allOf/93/then
/allOf/93/then/properties/grant false
/allOf/94
/allOf/94/if
/allOf/94/if/properties/error
/allOf/94/if/properties/error/not Allowed values: ["custom_domains_not_yet_served"]
/allOf/94/then
/allOf/94/then/properties/hostname false
/allOf/95
/allOf/95/if
/allOf/95/if/properties/error
/allOf/95/if/properties/error/not Allowed values: ["version_reused"]
/allOf/95/then
/allOf/95/then/properties/incoming_closure_hash false
/allOf/96
/allOf/96/if
/allOf/96/if/properties/error
/allOf/96/if/properties/error/not Allowed values: ["artifact_area_mismatch","artifact_not_found","deploy_files_hash_mismatch","deploy_files_syntax_error","deploy_files_too_large","invalid_request"]
/allOf/96/then
/allOf/96/then/properties/kept false
/allOf/97
/allOf/97/if
/allOf/97/if/properties/error
/allOf/97/if/properties/error/not Allowed values: ["issues_level_refused"]
/allOf/97/then
/allOf/97/then/properties/level false
/allOf/98
/allOf/98/if
/allOf/98/if/properties/error
/allOf/98/if/properties/error/not Allowed values: ["deploy_files_too_large"]
/allOf/98/then
/allOf/98/then/properties/limit false
/allOf/99
/allOf/99/if
/allOf/99/if/properties/error
/allOf/99/if/properties/error/not Allowed values: ["plan_quantity_unset","schedule_count_over_plan","schedule_interval_below_plan"]
/allOf/99/then
/allOf/99/then/properties/measure false
/allOf/100
/allOf/100/if
/allOf/100/if/properties/error
/allOf/100/if/properties/error/not Allowed values: ["command_too_old"]
/allOf/100/then
/allOf/100/then/properties/minimum_version false
/allOf/101
/allOf/101/if
/allOf/101/if/properties/error
/allOf/101/if/properties/error/not Allowed values: ["publish_incomplete"]
/allOf/101/then
/allOf/101/then/properties/missing false
/allOf/102
/allOf/102/if
/allOf/102/if/properties/error
/allOf/102/if/properties/error/not Allowed values: ["setting_secret_missing"]
/allOf/102/then
/allOf/102/then/properties/next false
/allOf/103
/allOf/103/if
/allOf/103/if/properties/error
/allOf/103/if/properties/error/not Allowed values: ["schedule_count_over_plan","schedule_interval_below_plan"]
/allOf/103/then
/allOf/103/then/properties/path false
/allOf/104
/allOf/104/if
/allOf/104/if/properties/error
/allOf/104/if/properties/error/not Allowed values: ["image_generation_limited"]
/allOf/104/then
/allOf/104/then/properties/per_hour false
/allOf/105
/allOf/105/if
/allOf/105/if/properties/error
/allOf/105/if/properties/error/not Allowed values: ["plan_quantity_unset","plan_schedule_conflict","schedule_count_over_plan","schedule_interval_below_plan"]
/allOf/105/then
/allOf/105/then/properties/plan false
/allOf/106
/allOf/106/if
/allOf/106/if/properties/error
/allOf/106/if/properties/error/not Allowed values: ["synthetic_posture_refuses"]
/allOf/106/then
/allOf/106/then/properties/posture false
/allOf/107
/allOf/107/if
/allOf/107/if/properties/error
/allOf/107/if/properties/error/not Allowed values: ["refund_refused"]
/allOf/107/then
/allOf/107/then/properties/provider_code false
/allOf/108
/allOf/108/if
/allOf/108/if/properties/error
/allOf/108/if/properties/error/not Allowed values: ["refund_refused"]
/allOf/108/then
/allOf/108/then/properties/provider_status false
/allOf/109
/allOf/109/if
/allOf/109/if/properties/error
/allOf/109/if/properties/error/not Allowed values: ["refund_not_admitted","refund_refused"]
/allOf/109/then
/allOf/109/then/properties/purchase false
/allOf/110
/allOf/110/if
/allOf/110/if/properties/error
/allOf/110/if/properties/error/not Allowed values: ["schedule_count_over_plan","schedule_interval_below_plan"]
/allOf/110/then
/allOf/110/then/properties/quantity false
/allOf/111
/allOf/111/if
/allOf/111/if/properties/error
/allOf/111/if/properties/error/not Allowed values: ["custom_domain_invalid","purchase_not_admitted","purchase_unavailable","refund_not_admitted","route_unreachable"]
/allOf/111/then
/allOf/111/then/properties/reason false
/allOf/112
/allOf/112/if
/allOf/112/if/properties/error
/allOf/112/if/properties/error/not Allowed values: ["upload_hash_mismatch"]
/allOf/112/then
/allOf/112/then/properties/received_sha256 false
/allOf/113
/allOf/113/if
/allOf/113/if/properties/error
/allOf/113/if/properties/error/not Allowed values: ["issue_refused"]
/allOf/113/then
/allOf/113/then/properties/refusal false
/allOf/114
/allOf/114/if
/allOf/114/if/properties/error
/allOf/114/if/properties/error/not Allowed values: ["artifact_area_mismatch","artifact_not_found","deploy_files_hash_mismatch","deploy_files_syntax_error","deploy_files_too_large","invalid_request"]
/allOf/114/then
/allOf/114/then/properties/refused false
/allOf/115
/allOf/115/if
/allOf/115/if/properties/error
/allOf/115/if/properties/error/not Allowed values: ["region_unavailable"]
/allOf/115/then
/allOf/115/then/properties/region false
/allOf/116
/allOf/116/if
/allOf/116/if/properties/error
/allOf/116/if/properties/error/not Allowed values: ["image_generation_failed","image_generation_limited"]
/allOf/116/then
/allOf/116/then/properties/resets_at false
/allOf/117
/allOf/117/if
/allOf/117/if/properties/error
/allOf/117/if/properties/error/not Allowed values: ["refund_refused"]
/allOf/117/then
/allOf/117/then/properties/restored false
/allOf/118
/allOf/118/if
/allOf/118/if/properties/error
/allOf/118/if/properties/error/not Allowed values: ["image_generation_failed"]
/allOf/118/then
/allOf/118/then/properties/saved false
/allOf/119
/allOf/119/if
/allOf/119/if/properties/error
/allOf/119/if/properties/error/not Allowed values: ["plan_schedule_conflict"]
/allOf/119/then
/allOf/119/then/properties/schedules false
/allOf/120
/allOf/120/if
/allOf/120/if/properties/error
/allOf/120/if/properties/error/not Allowed values: ["account_credential_required","area_scope_refused","scope_fixed","token_scope_refused"]
/allOf/120/then
/allOf/120/then/properties/scope false
/allOf/121
/allOf/121/if
/allOf/121/if/properties/error
/allOf/121/if/properties/error/not Allowed values: ["version_reused"]
/allOf/121/then
/allOf/121/then/properties/served_closure_hash false
/allOf/122
/allOf/122/if
/allOf/122/if/properties/error
/allOf/122/if/properties/error/not Allowed values: ["declared_audience_contradicts_route"]
/allOf/122/then
/allOf/122/then/properties/sign_in_methods false
/allOf/123
/allOf/123/if
/allOf/123/if/properties/error
/allOf/123/if/properties/error/not Allowed values: ["platform_space_configure_refused","space_not_owned"]
/allOf/123/then
/allOf/123/then/properties/space false
/allOf/124
/allOf/124/if
/allOf/124/if/properties/error
/allOf/124/if/properties/error/not Allowed values: ["query_failed"]
/allOf/124/then
/allOf/124/then/properties/sqlstate false
/allOf/125
/allOf/125/if
/allOf/125/if/properties/error
/allOf/125/if/properties/error/not Allowed values: ["synthetic_ceiling_reached"]
/allOf/125/then
/allOf/125/then/properties/standing false
/allOf/126
/allOf/126/if
/allOf/126/if/properties/error
/allOf/126/if/properties/error/not Allowed values: ["declared_tenant_contradicts_route","route_set_contradicts_audience"]
/allOf/126/then
/allOf/126/then/properties/tenant false
/allOf/127
/allOf/127/if
/allOf/127/if/properties/error
/allOf/127/if/properties/error/not Allowed values: ["image_generation_failed"]
/allOf/127/then
/allOf/127/then/properties/used false
/allOf/128
/allOf/128/if
/allOf/128/if/properties/error
/allOf/128/if/properties/error/not Allowed values: ["synthetic_ceiling_reached","synthetic_posture_refuses"]
/allOf/128/then
/allOf/128/then/properties/value false
/allOf/129
/allOf/129/if
/allOf/129/if/properties/error
/allOf/129/if/properties/error/not Allowed values: ["version_reused"]
/allOf/129/then
/allOf/129/then/properties/version false
/allOf/130
/allOf/130/if
/allOf/130/if/properties/error
/allOf/130/if/properties/error/not Allowed values: ["manifest_invalid"]
/allOf/130/then
/allOf/130/then/properties/violations false
/allOf/131
/allOf/131/if
/allOf/131/if/properties/error
/allOf/131/if/properties/error/not Allowed values: ["refund_not_admitted","refund_refused"]
/allOf/131/then
/allOf/131/then/properties/within_reach false
/allOf/132
/allOf/132/if
/allOf/132/if/properties/error
/allOf/132/if/properties/error/not Allowed values: ["refund_not_admitted","refund_refused"]
/allOf/132/then
/allOf/132/then/properties/within_rule false

Complete source #

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "version": "2026-11-20.1",
  "title": "tzCloud — wire error shape, contract version 1",
  "description": "Every refusal the management plane returns (MAPI-10 in the management API contract) takes this shape, whose base members are six. They are the contract version, a machine-readable slug, the action where one is in question, a human detail, the reference the action dispatcher minted for the call, and help, the address of the refusal's row on the refusals page. Beyond them it carries the members the refusal's row of wire_errors.json names under members (MAPI-15), each admitted under the refusals whose rows name it and under no other, and none required. The declarations after the base six and the conditionals are generated from those rows and never written apart from them. MAN-12's named-refusal discipline, applied to the plane itself.",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "contract_version",
    "error"
  ],
  "properties": {
    "contract_version": {
      "description": "MAPI-02: the version, stated in every exchange — refusals included.",
      "const": 1
    },
    "error": {
      "description": "The machine-readable refusal: not_yet_provisioned, unknown_action, method_not_allowed, and the slugs each action's implementation adds.",
      "type": "string",
      "pattern": "^[a-z][a-z0-9_]*$"
    },
    "action": {
      "description": "The action in question, where one is.",
      "type": "string",
      "pattern": "^[a-z][a-z0-9_]*$"
    },
    "detail": {
      "description": "The human sentence; never required to be machine-parsed.",
      "type": "string"
    },
    "reference": {
      "description": "The short reference the action dispatcher minted for the call: ten lowercase hexadecimal characters, carried by every refusal the dispatcher answers and written to the call’s record row, so a report that quotes it is checked against the platform’s own record. Admitted on every refusal and required on none.",
      "type": "string",
      "pattern": "^[0-9a-f]{10}$"
    },
    "help": {
      "description": "The address of the refusal's row on the refusals page, <origin>/cloud/reference/refusals/#<refusal name>, on the estate's public origin, the production origin standing in for a loopback or http one. It is carried by every refusal the action dispatcher answers to a dispatched call and by the unknown_action, method_not_allowed, and not_yet_provisioned refusals the actions routes answer before dispatch. Admitted on every refusal and required on none.",
      "type": "string"
    },
    "account": {},
    "accounts": {},
    "address": {},
    "admitted": {},
    "application": {},
    "audience": {},
    "bound": {},
    "cap": {},
    "ceiling": {},
    "client_secret_name": {},
    "conditions": {},
    "configured_tenant": {},
    "creation": {},
    "credential_kind": {},
    "domain": {},
    "entry": {},
    "environment": {},
    "expected_sha256": {},
    "file": {},
    "flag": {},
    "free_images": {},
    "gap": {},
    "grant": {},
    "hostname": {},
    "incoming_closure_hash": {},
    "kept": {},
    "level": {},
    "limit": {},
    "measure": {},
    "minimum_version": {},
    "missing": {},
    "next": {},
    "path": {},
    "per_hour": {},
    "plan": {},
    "posture": {},
    "provider_code": {},
    "provider_status": {},
    "purchase": {},
    "quantity": {},
    "reason": {},
    "received_sha256": {},
    "refusal": {},
    "refused": {},
    "region": {},
    "resets_at": {},
    "restored": {},
    "saved": {},
    "schedules": {},
    "scope": {},
    "served_closure_hash": {},
    "sign_in_methods": {},
    "space": {},
    "sqlstate": {},
    "standing": {},
    "tenant": {},
    "used": {},
    "value": {},
    "version": {},
    "violations": {},
    "within_reach": {},
    "within_rule": {}
  },
  "allOf": [
    {
      "if": {
        "properties": {
          "error": {
            "const": "account_credential_required"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "scope": {
            "type": "object",
            "description": "The bound of the token presented: a token minted for one application, under which halting production is refused.",
            "properties": {
              "kind": {
                "type": "string",
                "description": "The kind of bound, always application here."
              },
              "application": {
                "type": "string",
                "description": "The id of the application the token is bounded to."
              }
            }
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "account_not_synthetic"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "accounts": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "The account ids the request gave that exist and are not synthetic, as you wrote them. The list is never empty."
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "account_outside_batches"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "accounts": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "The account ids the request gave that lie outside your reach, as you wrote them. The list is never empty. The member is left out where the request repeated a request_id another credential's purge carries."
          },
          "grant": {
            "type": "string",
            "pattern": "^[a-z][a-z0-9_]*$",
            "description": "The synthetic grant that bounds your credential, present on the purge's refusal."
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "action_address_moved"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "address": {
            "type": "string",
            "description": "The action's own address for a bearer call."
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "area_scope_refused"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "scope": {
            "type": "object",
            "description": "The reach of the credential presented: the whole account, or the one application a token is bounded to, with the bounding grant where one bounds it.",
            "properties": {
              "kind": {
                "type": "string",
                "description": "The kind of reach: account or application."
              },
              "application": {
                "type": "string",
                "description": "The id of the application the token is bounded to, present where kind is application."
              },
              "grant": {
                "type": "string",
                "description": "The bounding grant the credential carries, present where one bounds it."
              }
            }
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "artifact_area_mismatch"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "kept": {
            "type": "array",
            "description": "On a `deploy_files` list whose entries are refused one by one, each entry kept and each entry by `sha256` alone whose file the platform holds and could read as the refusal was built, in the list's order. A retry gives each by its `sha256`.",
            "items": {
              "type": "object",
              "properties": {
                "path": {
                  "type": "string",
                  "description": "The entry's path, as the list gave it."
                },
                "sha256": {
                  "type": "string",
                  "description": "The SHA-256 the platform computed over the bytes it kept, the hash a retry gives."
                }
              }
            }
          },
          "refused": {
            "type": "array",
            "description": "On a `deploy_files` list whose entries are refused one by one, each refused entry, in the list's order. The list is never empty, and its first entry is the one the detail cites.",
            "items": {
              "type": "object",
              "properties": {
                "path": {
                  "type": "string",
                  "description": "The entry's path, as the list gave it."
                },
                "error": {
                  "type": "string",
                  "description": "The refusal name the entry met."
                },
                "received_sha256": {
                  "type": "string",
                  "description": "With `deploy_files_hash_mismatch`: the SHA-256 the platform computed over the bytes it received or read, which the hash the call gave did not match."
                }
              }
            }
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "artifact_not_found"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "kept": {
            "type": "array",
            "description": "On a `deploy_files` list whose entries are refused one by one, each entry kept and each entry by `sha256` alone whose file the platform holds and could read as the refusal was built, in the list's order. A retry gives each by its `sha256`.",
            "items": {
              "type": "object",
              "properties": {
                "path": {
                  "type": "string",
                  "description": "The entry's path, as the list gave it."
                },
                "sha256": {
                  "type": "string",
                  "description": "The SHA-256 the platform computed over the bytes it kept, the hash a retry gives."
                }
              }
            }
          },
          "refused": {
            "type": "array",
            "description": "On a `deploy_files` list whose entries are refused one by one, each refused entry, in the list's order. The list is never empty, and its first entry is the one the detail cites.",
            "items": {
              "type": "object",
              "properties": {
                "path": {
                  "type": "string",
                  "description": "The entry's path, as the list gave it."
                },
                "error": {
                  "type": "string",
                  "description": "The refusal name the entry met."
                },
                "received_sha256": {
                  "type": "string",
                  "description": "With `deploy_files_hash_mismatch`: the SHA-256 the platform computed over the bytes it received or read, which the hash the call gave did not match."
                }
              }
            }
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "binding_refused"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "application": {
            "type": "string",
            "description": "The id of the application the existing upstream of that name is bound to, which is not the application this declaration gave."
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "command_too_old"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "minimum_version": {
            "type": "string",
            "description": "The floor: the oldest command version, `turnzero-cloud` or `turnzero`, whose flows this plane still serves correctly, as `<major>.<minor>.<patch>`."
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "creation_contradicts_audience"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "audience": {
            "type": "string",
            "description": "The audience the application's manifest declares, invited at this refusal."
          },
          "creation": {
            "type": "string",
            "description": "The creation mode the call gave, open at this refusal."
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "credit_flag_held"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "flag": {
            "type": "object",
            "description": "The account's credit flag and any recorded clearing.",
            "properties": {
              "purchase": {
                "type": "string",
                "description": "The purchase that raised the flag."
              },
              "cause": {
                "description": "The return that raised it. Current values include `refund`, `dispute`.",
                "type": "string"
              },
              "shortfall": {
                "type": "string",
                "description": "The shortfall as a dollars string."
              },
              "shortfall_micros": {
                "type": "integer",
                "description": "The shortfall in whole micro-dollars, zero or greater."
              },
              "flagged_at": {
                "type": "string",
                "description": "The instant the flag was raised."
              },
              "cleared_at": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "The clearing instant, or null while not cleared."
              },
              "cleared_by": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "The operator who cleared it, or null."
              },
              "cleared_reason": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "The recorded clearing reason, or null."
              }
            }
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "custody_entry_missing"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "client_secret_name": {
            "type": "string",
            "description": "The secret name the call, or the manifest's realm member, gave as the work-account client secret, the Apple signing key, or the push provider credential, for which custody holds no entry at the application's scope."
          },
          "application": {
            "type": "string",
            "description": "The id of the application whose realm the call, the submission, or create_environment configures, and at whose scope the entry was looked up."
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "custom_domain_capacity"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "bound": {
            "type": "integer",
            "description": "The estate's bound on custom domains, the count of rows that hold or may hold a provider resource its apps edge admits at most."
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "custom_domain_invalid"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "domain": {
            "type": "string",
            "description": "The declared hostname."
          },
          "reason": {
            "type": "string",
            "description": "Why the hostname is refused: apex (no label before its registrable domain under the Public Suffix List), reserved (a platform name), public_suffix, or held. Held means another row of the platform's table holds the name, a detaching or failed row among them, or the application's own row has another domain or is detaching."
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "custom_domains_not_yet_served"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "hostname": {
            "type": "string",
            "description": "The declared hostname."
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "declared_audience_contradicts_route"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "audience": {
            "type": "string",
            "description": "The audience the submitted manifest declares, invited at this refusal."
          },
          "environment": {
            "type": "string",
            "description": "The environment whose existing realm's sign-in methods include the work-account route, development or production, the first one found."
          },
          "sign_in_methods": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "The sign-in methods that realm is configured with, the work-account route entra among them."
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "declared_tenant_contradicts_route"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "tenant": {
            "type": "string",
            "description": "The Entra tenant the submitted manifest declares under the workforce audience."
          },
          "configured_tenant": {
            "type": "string",
            "description": "The Entra tenant the work-account route of that environment's realm is configured against."
          },
          "environment": {
            "type": "string",
            "description": "The environment whose existing realm's work-account route is configured against another tenant, development or production, the first one found."
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "deploy_files_hash_mismatch"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "kept": {
            "type": "array",
            "description": "On a `deploy_files` list whose content entries are refused one by one, each content entry kept and each entry by `sha256` alone whose file the platform holds and could read as the refusal was built, in the list's order. Files that passed, and those earlier calls kept, are held now, and a retry gives each by its `sha256`.",
            "items": {
              "type": "object",
              "properties": {
                "path": {
                  "type": "string",
                  "description": "The entry's path, as the list gave it."
                },
                "sha256": {
                  "type": "string",
                  "description": "The SHA-256 the platform computed over the content it received, the hash a retry gives."
                }
              }
            }
          },
          "refused": {
            "type": "array",
            "description": "On a `deploy_files` list whose content entries are refused one by one, each refused entry, in the list's order. The list is never empty, and its first entry is the one the detail cites.",
            "items": {
              "type": "object",
              "properties": {
                "path": {
                  "type": "string",
                  "description": "The entry's path, as the list gave it."
                },
                "error": {
                  "type": "string",
                  "description": "The refusal name the entry met."
                },
                "received_sha256": {
                  "type": "string",
                  "description": "With `deploy_files_hash_mismatch`: the SHA-256 the platform computed over the bytes it received or read, which the hash the call gave did not match."
                }
              }
            }
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "deploy_files_syntax_error"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "kept": {
            "type": "array",
            "description": "On a `deploy_files` list whose content entries are refused one by one, each content entry kept and each entry by `sha256` alone whose file the platform holds and could read as the refusal was built, in the list's order. Files that passed, and those earlier calls kept, are held now, and a retry gives each by its `sha256`.",
            "items": {
              "type": "object",
              "properties": {
                "path": {
                  "type": "string",
                  "description": "The entry's path, as the list gave it."
                },
                "sha256": {
                  "type": "string",
                  "description": "The SHA-256 the platform computed over the content it received, the hash a retry gives."
                }
              }
            }
          },
          "refused": {
            "type": "array",
            "description": "On a `deploy_files` list whose content entries are refused one by one, each refused entry, in the list's order. The list is never empty, and its first entry is the one the detail cites.",
            "items": {
              "type": "object",
              "properties": {
                "path": {
                  "type": "string",
                  "description": "The entry's path, as the list gave it."
                },
                "error": {
                  "type": "string",
                  "description": "The refusal name the entry met."
                },
                "received_sha256": {
                  "type": "string",
                  "description": "With `deploy_files_hash_mismatch`: the SHA-256 the platform computed over the content it received, which the hash the call gave did not match."
                }
              }
            }
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "deploy_files_too_large"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "limit": {
            "type": "string",
            "description": "`files` means over 200 entries; `file_bytes` means an inline file over 512 KiB. `total_bytes` means listed and filled files exceed 4 MiB total, or a stored file's byte count differs from its earlier metadata."
          },
          "kept": {
            "type": "array",
            "description": "On a `deploy_files` list whose content entries are refused one by one, each content entry kept and each entry by `sha256` alone whose file the platform holds and could read as the refusal was built, in the list's order. Files that passed, and those earlier calls kept, are held now, and a retry gives each by its `sha256`.",
            "items": {
              "type": "object",
              "properties": {
                "path": {
                  "type": "string",
                  "description": "The entry's path, as the list gave it."
                },
                "sha256": {
                  "type": "string",
                  "description": "The SHA-256 the platform computed over the content it received, the hash a retry gives."
                }
              }
            }
          },
          "refused": {
            "type": "array",
            "description": "On a `deploy_files` list whose content entries are refused one by one, each refused entry, in the list's order. The list is never empty, and its first entry is the one the detail cites.",
            "items": {
              "type": "object",
              "properties": {
                "path": {
                  "type": "string",
                  "description": "The entry's path, as the list gave it."
                },
                "error": {
                  "type": "string",
                  "description": "The refusal name the entry met."
                },
                "received_sha256": {
                  "type": "string",
                  "description": "With `deploy_files_hash_mismatch`: the SHA-256 the platform computed over the content it received, which the hash the call gave did not match."
                }
              }
            }
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "device_sign_in_bounded"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "grant": {
            "type": "string",
            "pattern": "^[a-z][a-z0-9_]*$",
            "description": "The grant that bounds the credential, device_sign_in."
          },
          "admitted": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "The rows the bound admits on this plane, the grant's own rows and those whose admits mark lists it."
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "egress_key_not_admitted"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "credential_kind": {
            "type": "string",
            "description": "The kind of the credential refused, egress_key at this refusal."
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "end_user_credential_not_admitted"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "credential_kind": {
            "type": "string",
            "description": "The kind of the credential refused, end_user at this refusal."
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "feedback_queue_bounded"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "grant": {
            "type": "string",
            "pattern": "^[a-z][a-z0-9_]*$",
            "description": "The grant that bounds the credential presented."
          },
          "admitted": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "The actions the bound admits, in the enumeration's order: the rows the grant marks and the rows whose admits mark lists it. The rows marked access: anonymous lie outside the bound and are not listed."
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "grant_not_held"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "grant": {
            "type": "string",
            "pattern": "^[a-z][a-z0-9_]*$",
            "description": "The requested grant the minting session does not itself hold."
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "grant_required"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "grant": {
            "type": "string",
            "pattern": "^[a-z][a-z0-9_]*$",
            "description": "The grant the action requires and the credential does not hold."
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "grant_scope_refused"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "grant": {
            "type": "string",
            "pattern": "^[a-z][a-z0-9_]*$",
            "description": "The grant requested for an application-bounded token, which carries neither super_admin nor a narrow grant."
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "image_generation_failed"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "used": {
            "type": "integer",
            "description": "The account's images counted this UTC month: delivered images and calls whose give-back failed."
          },
          "cap": {
            "type": "integer",
            "description": "The account's images per UTC month, returned where pricing reads `plans`."
          },
          "resets_at": {
            "type": "string",
            "description": "The first instant of the next UTC month, as an ISO 8601 instant."
          },
          "saved": {
            "type": "boolean",
            "description": "False: no image was saved."
          },
          "free_images": {
            "type": "integer",
            "description": "The account's free images per UTC month, returned where pricing reads `usage`."
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "image_generation_limited"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "per_hour": {
            "type": "integer",
            "description": "The setting's number of image calls that reached the provider and delivered no image in the trailing hour."
          },
          "resets_at": {
            "type": "string",
            "description": "The instant the oldest counted call leaves the trailing hour, as an ISO 8601 instant."
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "invalid_request"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "kept": {
            "type": "array",
            "description": "On a `deploy_files` list whose content entries are refused one by one, each content entry kept and each entry by `sha256` alone whose file the platform holds and could read as the refusal was built, in the list's order. Files that passed, and those earlier calls kept, are held now, and a retry gives each by its `sha256`.",
            "items": {
              "type": "object",
              "properties": {
                "path": {
                  "type": "string",
                  "description": "The entry's path, as the list gave it."
                },
                "sha256": {
                  "type": "string",
                  "description": "The SHA-256 the platform computed over the content it received, the hash a retry gives."
                }
              }
            }
          },
          "refused": {
            "type": "array",
            "description": "On a `deploy_files` list whose content entries are refused one by one, each refused entry, in the list's order. The list is never empty, and its first entry is the one the detail cites.",
            "items": {
              "type": "object",
              "properties": {
                "path": {
                  "type": "string",
                  "description": "The entry's path, as the list gave it."
                },
                "error": {
                  "type": "string",
                  "description": "The refusal name the entry met."
                },
                "received_sha256": {
                  "type": "string",
                  "description": "With `deploy_files_hash_mismatch`: the SHA-256 the platform computed over the content it received, which the hash the call gave did not match."
                }
              }
            }
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "invited_realm_refuses_work_account"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "creation": {
            "type": "string",
            "description": "The creation mode the realm would enforce after the call, invited at this refusal."
          },
          "audience": {
            "type": "string",
            "description": "The audience the application's recorded manifest declares: public, invited, or workforce."
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "issue_refused"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "refusal": {
            "type": "string",
            "description": "The issue service's own refusal name, one the Issue Tracking contract states."
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "issues_bounded"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "grant": {
            "type": "string",
            "pattern": "^[a-z][a-z0-9_]*$",
            "description": "The grant that bounds the credential presented."
          },
          "admitted": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "The actions the bound admits, in the enumeration's order: the rows the grant marks and the rows whose admits mark lists it. The rows marked access: anonymous lie outside the bound and are not listed."
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "issues_level_refused"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "level": {
            "type": "string",
            "description": "The level of the token's issues grant."
          },
          "admitted": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "The acts the level admits, in the relay's order."
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "local_route_required"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "application": {
            "type": "string",
            "description": "The id of the application whose platform-minted development credential the call asked to re-mint."
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "manifest_invalid"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "violations": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "One entry per violation, each the JSON path of the failing member, a colon, and the message. The root of the document is written as a single slash."
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "plan_quantity_unset"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "plan": {
            "type": "string",
            "description": "The quota key read: the application's size, or unlimited for the company's applications. A plan name occurs only where pricing reads plans."
          },
          "measure": {
            "type": "string",
            "description": "The pricing-registry entry whose quantity is Unset for the key, for example schedule-count-limit."
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "plan_schedule_conflict"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "plan": {
            "type": "string",
            "description": "The quota key read: the application's size, or unlimited for the company's applications. A plan name occurs only where pricing reads plans."
          },
          "schedules": {
            "type": "array",
            "description": "One entry per conflict between an existing schedule and the target key. The list is never empty, and one schedule appears once per measure it violates.",
            "items": {
              "type": "object",
              "properties": {
                "schedule": {
                  "type": "string",
                  "description": "The schedule's declared name."
                },
                "measure": {
                  "type": "string",
                  "description": "The measure violated: schedule-minimum-interval or schedule-count-limit."
                },
                "bound": {
                  "type": "integer",
                  "description": "The target key's served quantity for that measure: minutes for the interval, a count for the limit."
                },
                "cron": {
                  "type": "string",
                  "description": "The schedule's cron expression as recorded."
                },
                "gap": {
                  "type": "integer",
                  "description": "The shortest gap in whole minutes between the expression's consecutive due times, on an interval entry alone."
                }
              }
            }
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "platform_minted_name"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "application": {
            "type": "string",
            "description": "The id of the account's application whose platform-minted credential name the request used."
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "platform_space_configure_refused"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "space": {
            "type": "string",
            "description": "The space the request gave."
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "publication_bounded"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "grant": {
            "type": "string",
            "pattern": "^[a-z][a-z0-9_]*$",
            "description": "The grant that bounds the credential presented."
          },
          "admitted": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "The actions the bound admits, in the enumeration's order: the rows the grant marks and the rows whose admits mark lists it. The rows marked access: anonymous lie outside the bound and are not listed."
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "publish_incomplete"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "missing": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "What the commit lists and the puts never wrote, never empty. For a library publish each entry is a blob's sha256. For a public-files publish each entry is a file name, or a site-relative path for the site."
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "published_bytes_differ"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "file": {
            "type": "string",
            "description": "The published versioned name whose recorded sha256 differs from the incoming file's. For the site it is the full versioned name, the source commit's folder included."
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "purchase_not_admitted"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "reason": {
            "type": "string",
            "pattern": "^[a-z][a-z0-9_]*$",
            "description": "The account is unbilled, blocked after a refund or dispute, holds an open payment dispute, or is an ordinary account on a site that takes test payments only."
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "purchase_unavailable"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "reason": {
            "type": "string",
            "pattern": "^[a-z][a-z0-9_]*$",
            "description": "Present as replaced if another purchase start for this account replaced this one; absent for other causes."
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "query_failed"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "sqlstate": {
            "type": "string",
            "description": "The five-character SQLSTATE the server returned, on a 422 alone."
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "refund_not_admitted"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "reason": {
            "description": "The first failed admission check: purchase state, absolute reach, required reason, then provider availability. Current values include `refunded`, `refunding`, `disputed`, `never_paid`, `past_reach`, `reason_required`, `provider_closed`.",
            "type": "string"
          },
          "account": {
            "type": "object",
            "description": "The account whose purchase or flag is being handled.",
            "properties": {
              "id": {
                "type": "string",
                "description": "The account id."
              }
            }
          },
          "purchase": {
            "type": "object",
            "description": "The purchase and its payment/refund state; no provider identifier.",
            "properties": {
              "id": {
                "type": "string",
                "description": "The purchase id."
              },
              "state": {
                "description": "`started`: checkout opened, no grant; `paid`: its grant was issued; `expired`: checkout abandoned or payment failed. `refunding` and `refunded`: a refund on its way and done. `disputed`: a dispute removed the grant's remainder. `dispute_lost`: the dispute closed against the seller, and credit stays removed. A dispute closed in the seller's favour returns the purchase to `paid`.",
                "type": "string"
              },
              "amount": {
                "type": "string",
                "description": "The purchase amount before tax, as a dollars string. A dollars string starts with a dollar sign, separates thousands with commas and is rounded to two decimal places. A positive amount below one cent is rounded to four."
              },
              "amount_micros": {
                "type": "integer",
                "description": "The purchase amount before tax in whole micro-dollars, zero or greater."
              },
              "currency": {
                "type": "string",
                "description": "The purchase's currency."
              },
              "paid_at": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "The payment's instant, where known."
              },
              "refunded_at": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "The refund's instant, where recorded."
              },
              "refund_micros": {
                "type": [
                  "integer",
                  "null"
                ],
                "description": "The refunded amount in whole micro-dollars, zero or greater, or null where none."
              }
            }
          },
          "conditions": {
            "type": "object",
            "description": "The three conditions as read at the act.",
            "properties": {
              "within_window": {
                "type": "boolean",
                "description": "The act's instant is within the refund window from payment."
              },
              "unspent": {
                "type": "boolean",
                "description": "Usage has drawn nothing of this purchase's grant."
              },
              "first_in_span": {
                "type": "boolean",
                "description": "No other operator refund, completed or under way, counts in the frequency span."
              }
            }
          },
          "within_rule": {
            "type": "boolean",
            "description": "All three refund-rule conditions hold."
          },
          "within_reach": {
            "type": "boolean",
            "description": "The payment is within the absolute refund reach."
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "refund_refused"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "account": {
            "type": "object",
            "description": "The account whose purchase or flag is being handled.",
            "properties": {
              "id": {
                "type": "string",
                "description": "The account id."
              }
            }
          },
          "purchase": {
            "type": "object",
            "description": "The purchase and its payment/refund state; no provider identifier.",
            "properties": {
              "id": {
                "type": "string",
                "description": "The purchase id."
              },
              "state": {
                "description": "`started`: checkout opened, no grant; `paid`: its grant was issued; `expired`: checkout abandoned or payment failed. `refunding` and `refunded`: a refund on its way and done. `disputed`: a dispute removed the grant's remainder. `dispute_lost`: the dispute closed against the seller, and credit stays removed. A dispute closed in the seller's favour returns the purchase to `paid`.",
                "type": "string"
              },
              "amount": {
                "type": "string",
                "description": "The purchase amount before tax, as a dollars string. A dollars string starts with a dollar sign, separates thousands with commas and is rounded to two decimal places. A positive amount below one cent is rounded to four."
              },
              "amount_micros": {
                "type": "integer",
                "description": "The purchase amount before tax in whole micro-dollars, zero or greater."
              },
              "currency": {
                "type": "string",
                "description": "The purchase's currency."
              },
              "paid_at": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "The payment's instant, where known."
              },
              "refunded_at": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "The refund's instant, where recorded."
              },
              "refund_micros": {
                "type": [
                  "integer",
                  "null"
                ],
                "description": "The refunded amount in whole micro-dollars, zero or greater, or null where none."
              }
            }
          },
          "conditions": {
            "type": "object",
            "description": "The three conditions as read at the act.",
            "properties": {
              "within_window": {
                "type": "boolean",
                "description": "The act's instant is within the refund window from payment."
              },
              "unspent": {
                "type": "boolean",
                "description": "Usage has drawn nothing of this purchase's grant."
              },
              "first_in_span": {
                "type": "boolean",
                "description": "No other operator refund, completed or under way, counts in the frequency span."
              }
            }
          },
          "within_rule": {
            "type": "boolean",
            "description": "All three refund-rule conditions hold."
          },
          "within_reach": {
            "type": "boolean",
            "description": "The payment is within the absolute refund reach."
          },
          "restored": {
            "type": "boolean",
            "description": "True if the purchase returned to paid with its removed credit restored."
          },
          "provider_status": {
            "type": [
              "integer",
              "null"
            ],
            "description": "The provider’s HTTP refusal status, where available."
          },
          "provider_code": {
            "type": [
              "string",
              "null"
            ],
            "description": "The provider’s refusal code, where available."
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "region_unavailable"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "region": {
            "type": "string",
            "description": "The region the submitted manifest declares, one the platform does not offer yet."
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "rotation_in_flight"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "application": {
            "type": "string",
            "description": "The id of the application whose development database credential the call asked to re-mint."
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "route_set_contradicts_audience"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "audience": {
            "type": "string",
            "description": "The audience the application's recorded manifest declares, workforce at this refusal."
          },
          "tenant": {
            "type": "string",
            "description": "The Entra tenant the manifest declares, present only where the call gave a different tenant."
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "route_unreachable"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "reason": {
            "type": "string",
            "description": "Why the route was not reached: `no_address`, the hostname resolved to no address; `address_not_public`, it resolved outside public unicast. Or `connect_failed`, the connection failed or ended before the body was read; `tls_failed`, the TLS connection failed; or `timeout`, the call passed its 20 seconds."
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "schedule_count_over_plan"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "path": {
            "type": "string",
            "description": "The JSON path of the first schedule declaration past the size's count."
          },
          "plan": {
            "type": "string",
            "description": "The quota key read: the application's size, or unlimited for the company's applications. A plan name occurs only where pricing reads plans."
          },
          "measure": {
            "type": "string",
            "description": "The measure the refusal is keyed on, schedule-count-limit."
          },
          "quantity": {
            "type": "integer",
            "description": "The size's served count limit, the most schedules the application may declare."
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "schedule_interval_below_plan"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "path": {
            "type": "string",
            "description": "The JSON path of the cron expression whose due times fall too close together."
          },
          "plan": {
            "type": "string",
            "description": "The quota key read: the application's size, or unlimited for the company's applications. A plan name occurs only where pricing reads plans."
          },
          "measure": {
            "type": "string",
            "description": "The measure the refusal is keyed on, schedule-minimum-interval."
          },
          "quantity": {
            "type": "integer",
            "description": "The size's served minimum interval in minutes, the floor."
          },
          "gap": {
            "type": "integer",
            "description": "The shortest gap in whole minutes between the expression's consecutive due times, less than the floor."
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "scope_fixed"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "scope": {
            "type": "string",
            "description": "The kind of scope the name is at: account or application."
          },
          "application": {
            "type": [
              "string",
              "null"
            ],
            "description": "The id of the application whose scope the name is at, null where it is at the account scope."
          },
          "environment": {
            "type": [
              "string",
              "null"
            ],
            "description": "The environment of that application scope, development or production, null where the name is at the account scope."
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "secret_grant_expired"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "credential_kind": {
            "type": "string",
            "description": "The kind of the credential refused: secret_grant."
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "secret_grant_not_admitted"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "credential_kind": {
            "type": "string",
            "description": "The kind of the credential refused: secret_grant."
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "secret_grant_spent"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "credential_kind": {
            "type": "string",
            "description": "The kind of the credential refused: secret_grant."
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "setting_secret_missing"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "next": {
            "type": "object",
            "description": "The one call that remedies the refusal, the object alone (MAPI-24): store_secret for the application and the environment the act targets. It carries the secret's name and never a value, and its answer gives the line that sends the value.",
            "properties": {
              "action": {
                "type": "string",
                "description": "The action to call: store_secret."
              },
              "arguments": {
                "type": "object",
                "description": "The call's arguments, filled in whole: no value is among them.",
                "properties": {
                  "name": {
                    "type": "string",
                    "description": "The secret's name, the one the setting binds."
                  },
                  "application": {
                    "type": "string",
                    "description": "The application's identifier."
                  },
                  "environment": {
                    "type": "string",
                    "description": "The environment the deploy or promote targets, development or production."
                  }
                }
              }
            }
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "space_not_owned"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "space": {
            "type": "string",
            "description": "The space the request gave."
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "synthetic_ceiling_reached"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "ceiling": {
            "type": "string",
            "description": "The name of the ceiling reached: standing_accounts, seeded_per_day, standing_applications, paid_applications, or, under the synthetic_seed_purge grant, standing_accounts_per_credential. For an account seeded under that grant, paid_applications_per_account is the ceiling on its applications whose stored plan is not Free. Under usage, applications_per_account is the ceiling on all applications an account seeded under that grant holds."
          },
          "value": {
            "type": "integer",
            "description": "The ceiling's constant, under the mode read or, for standing_accounts_per_credential and paid_applications_per_account, under the synthetic_seed_purge grant. For applications_per_account it is the allowed application count."
          },
          "standing": {
            "type": "integer",
            "description": "The count measured against the ceiling before the call. For seeded_per_day it is the accounts this operator's account seeded in the current UTC day. For standing_accounts_per_credential it is the existing synthetic accounts the calling credential seeded. For paid_applications_per_account it counts the account's applications whose stored plan is not Free, excluding the one being moved. For applications_per_account it counts all applications the seeded account holds."
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "synthetic_estate_bounded"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "grant": {
            "type": "string",
            "pattern": "^[a-z][a-z0-9_]*$",
            "description": "The grant that bounds the credential presented."
          },
          "admitted": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "The actions the bound admits, in the enumeration's order: the rows the grant marks and the rows whose admits mark lists it. The rows marked access: anonymous lie outside the bound and are not listed."
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "synthetic_posture_refuses"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "bound": {
            "type": "string",
            "description": "The name of the bound that refused: accounts_per_seed, token_expiry_days, products, tools_plan, or app_hosting on a seed, all on a purge."
          },
          "value": {
            "type": "integer",
            "description": "The bound's constant, under the effective mode or under your bounding grant, present on a seed's refusal that gives accounts_per_seed or token_expiry_days."
          },
          "posture": {
            "type": "string",
            "description": "The mode the refused act met: the effective seed mode on a seed, the mode as set on a purge."
          },
          "grant": {
            "type": "string",
            "pattern": "^[a-z][a-z0-9_]*$",
            "description": "The bounding grant your credential holds without super_admin, present only where the grant is why the act was refused: all on a purge, or a seed past the grant's own bounds."
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "synthetic_seed_purge_bounded"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "grant": {
            "type": "string",
            "pattern": "^[a-z][a-z0-9_]*$",
            "description": "The grant that bounds the credential presented."
          },
          "admitted": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "The actions the bound admits, in the enumeration's order: the rows the grant marks and the rows whose admits mark lists it. The rows marked access: anonymous lie outside the bound and are not listed."
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "token_scope_refused"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "scope": {
            "type": "object",
            "description": "The bound of the token presented: the one application it reaches, outside which the request's subject lies.",
            "properties": {
              "kind": {
                "type": "string",
                "description": "The kind of bound, always application here."
              },
              "application": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "The id of the application the token is bounded to, null where the credential is bounded to no application."
              }
            }
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "transfer_grant_not_admitted"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "credential_kind": {
            "type": "string",
            "description": "The kind of the credential refused: transfer_grant on the storage surface, the actions, and every other surface, and on the deploy command's progress read any kind presented."
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "tzmesh_bounded"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "grant": {
            "type": "string",
            "pattern": "^[a-z][a-z0-9_]*$",
            "description": "The grant that bounds the credential, tzmesh."
          },
          "admitted": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "The rows the bound admits on this plane, the grant's own rows and those whose admits mark lists it."
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "tztrack_bounded"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "grant": {
            "type": "string",
            "pattern": "^[a-z][a-z0-9_]*$",
            "description": "The grant that bounds the credential, tztrack."
          },
          "admitted": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "The rows the bound admits on this plane, the grant's own rows and those whose admits mark lists it."
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "unknown_action"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "address": {
            "type": "string",
            "description": "The address that serves this action or its successor, where this address does not."
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "upload_hash_mismatch"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "received_sha256": {
            "type": "string",
            "description": "The SHA-256 of the bytes refused, 64 lower-case hexadecimal characters: the body the write carried, or the stored file the start read."
          },
          "expected_sha256": {
            "type": "string",
            "description": "The SHA-256 the preparing `deploy` call gave as `zip_sha256`, 64 lower-case hexadecimal characters, which the upload's grant records."
          },
          "credential_kind": {
            "type": "string",
            "description": "The kind of the credential whose binding refused the bytes, transfer_grant: the upload's grant, at the write and at the start alike."
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "const": "version_reused"
          }
        },
        "required": [
          "error"
        ]
      },
      "then": {
        "properties": {
          "entry": {
            "type": "string",
            "description": "The name of the entry whose version is reused, left out where it is not in a library entry name's shape."
          },
          "version": {
            "type": "string",
            "description": "The version the entry keeps, which the served catalog already holds under another closure, left out where it is not in a version's shape."
          },
          "served_closure_hash": {
            "type": "string",
            "description": "The closure hash the served catalog records for the entry, left out where it is not 64 lower-case hexadecimal characters."
          },
          "incoming_closure_hash": {
            "type": "string",
            "description": "The closure hash this catalog states for the entry, left out where it is not 64 lower-case hexadecimal characters."
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "not": {
              "enum": [
                "refund_not_admitted",
                "refund_refused"
              ]
            }
          }
        }
      },
      "then": {
        "properties": {
          "account": false
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "not": {
              "enum": [
                "account_not_synthetic",
                "account_outside_batches"
              ]
            }
          }
        }
      },
      "then": {
        "properties": {
          "accounts": false
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "not": {
              "enum": [
                "action_address_moved",
                "unknown_action"
              ]
            }
          }
        }
      },
      "then": {
        "properties": {
          "address": false
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "not": {
              "enum": [
                "device_sign_in_bounded",
                "feedback_queue_bounded",
                "issues_bounded",
                "issues_level_refused",
                "publication_bounded",
                "synthetic_estate_bounded",
                "synthetic_seed_purge_bounded",
                "tzmesh_bounded",
                "tztrack_bounded"
              ]
            }
          }
        }
      },
      "then": {
        "properties": {
          "admitted": false
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "not": {
              "enum": [
                "binding_refused",
                "custody_entry_missing",
                "local_route_required",
                "platform_minted_name",
                "rotation_in_flight",
                "scope_fixed"
              ]
            }
          }
        }
      },
      "then": {
        "properties": {
          "application": false
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "not": {
              "enum": [
                "creation_contradicts_audience",
                "declared_audience_contradicts_route",
                "invited_realm_refuses_work_account",
                "route_set_contradicts_audience"
              ]
            }
          }
        }
      },
      "then": {
        "properties": {
          "audience": false
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "not": {
              "enum": [
                "custom_domain_capacity",
                "synthetic_posture_refuses"
              ]
            }
          }
        }
      },
      "then": {
        "properties": {
          "bound": false
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "not": {
              "enum": [
                "image_generation_failed"
              ]
            }
          }
        }
      },
      "then": {
        "properties": {
          "cap": false
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "not": {
              "enum": [
                "synthetic_ceiling_reached"
              ]
            }
          }
        }
      },
      "then": {
        "properties": {
          "ceiling": false
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "not": {
              "enum": [
                "custody_entry_missing"
              ]
            }
          }
        }
      },
      "then": {
        "properties": {
          "client_secret_name": false
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "not": {
              "enum": [
                "refund_not_admitted",
                "refund_refused"
              ]
            }
          }
        }
      },
      "then": {
        "properties": {
          "conditions": false
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "not": {
              "enum": [
                "declared_tenant_contradicts_route"
              ]
            }
          }
        }
      },
      "then": {
        "properties": {
          "configured_tenant": false
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "not": {
              "enum": [
                "creation_contradicts_audience",
                "invited_realm_refuses_work_account"
              ]
            }
          }
        }
      },
      "then": {
        "properties": {
          "creation": false
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "not": {
              "enum": [
                "egress_key_not_admitted",
                "end_user_credential_not_admitted",
                "secret_grant_expired",
                "secret_grant_not_admitted",
                "secret_grant_spent",
                "transfer_grant_not_admitted",
                "upload_hash_mismatch"
              ]
            }
          }
        }
      },
      "then": {
        "properties": {
          "credential_kind": false
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "not": {
              "enum": [
                "custom_domain_invalid"
              ]
            }
          }
        }
      },
      "then": {
        "properties": {
          "domain": false
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "not": {
              "enum": [
                "version_reused"
              ]
            }
          }
        }
      },
      "then": {
        "properties": {
          "entry": false
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "not": {
              "enum": [
                "declared_audience_contradicts_route",
                "declared_tenant_contradicts_route",
                "scope_fixed"
              ]
            }
          }
        }
      },
      "then": {
        "properties": {
          "environment": false
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "not": {
              "enum": [
                "upload_hash_mismatch"
              ]
            }
          }
        }
      },
      "then": {
        "properties": {
          "expected_sha256": false
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "not": {
              "enum": [
                "published_bytes_differ"
              ]
            }
          }
        }
      },
      "then": {
        "properties": {
          "file": false
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "not": {
              "enum": [
                "credit_flag_held"
              ]
            }
          }
        }
      },
      "then": {
        "properties": {
          "flag": false
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "not": {
              "enum": [
                "image_generation_failed"
              ]
            }
          }
        }
      },
      "then": {
        "properties": {
          "free_images": false
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "not": {
              "enum": [
                "schedule_interval_below_plan"
              ]
            }
          }
        }
      },
      "then": {
        "properties": {
          "gap": false
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "not": {
              "enum": [
                "account_outside_batches",
                "device_sign_in_bounded",
                "feedback_queue_bounded",
                "grant_not_held",
                "grant_required",
                "grant_scope_refused",
                "issues_bounded",
                "publication_bounded",
                "synthetic_estate_bounded",
                "synthetic_posture_refuses",
                "synthetic_seed_purge_bounded",
                "tzmesh_bounded",
                "tztrack_bounded"
              ]
            }
          }
        }
      },
      "then": {
        "properties": {
          "grant": false
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "not": {
              "enum": [
                "custom_domains_not_yet_served"
              ]
            }
          }
        }
      },
      "then": {
        "properties": {
          "hostname": false
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "not": {
              "enum": [
                "version_reused"
              ]
            }
          }
        }
      },
      "then": {
        "properties": {
          "incoming_closure_hash": false
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "not": {
              "enum": [
                "artifact_area_mismatch",
                "artifact_not_found",
                "deploy_files_hash_mismatch",
                "deploy_files_syntax_error",
                "deploy_files_too_large",
                "invalid_request"
              ]
            }
          }
        }
      },
      "then": {
        "properties": {
          "kept": false
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "not": {
              "enum": [
                "issues_level_refused"
              ]
            }
          }
        }
      },
      "then": {
        "properties": {
          "level": false
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "not": {
              "enum": [
                "deploy_files_too_large"
              ]
            }
          }
        }
      },
      "then": {
        "properties": {
          "limit": false
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "not": {
              "enum": [
                "plan_quantity_unset",
                "schedule_count_over_plan",
                "schedule_interval_below_plan"
              ]
            }
          }
        }
      },
      "then": {
        "properties": {
          "measure": false
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "not": {
              "enum": [
                "command_too_old"
              ]
            }
          }
        }
      },
      "then": {
        "properties": {
          "minimum_version": false
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "not": {
              "enum": [
                "publish_incomplete"
              ]
            }
          }
        }
      },
      "then": {
        "properties": {
          "missing": false
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "not": {
              "enum": [
                "setting_secret_missing"
              ]
            }
          }
        }
      },
      "then": {
        "properties": {
          "next": false
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "not": {
              "enum": [
                "schedule_count_over_plan",
                "schedule_interval_below_plan"
              ]
            }
          }
        }
      },
      "then": {
        "properties": {
          "path": false
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "not": {
              "enum": [
                "image_generation_limited"
              ]
            }
          }
        }
      },
      "then": {
        "properties": {
          "per_hour": false
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "not": {
              "enum": [
                "plan_quantity_unset",
                "plan_schedule_conflict",
                "schedule_count_over_plan",
                "schedule_interval_below_plan"
              ]
            }
          }
        }
      },
      "then": {
        "properties": {
          "plan": false
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "not": {
              "enum": [
                "synthetic_posture_refuses"
              ]
            }
          }
        }
      },
      "then": {
        "properties": {
          "posture": false
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "not": {
              "enum": [
                "refund_refused"
              ]
            }
          }
        }
      },
      "then": {
        "properties": {
          "provider_code": false
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "not": {
              "enum": [
                "refund_refused"
              ]
            }
          }
        }
      },
      "then": {
        "properties": {
          "provider_status": false
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "not": {
              "enum": [
                "refund_not_admitted",
                "refund_refused"
              ]
            }
          }
        }
      },
      "then": {
        "properties": {
          "purchase": false
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "not": {
              "enum": [
                "schedule_count_over_plan",
                "schedule_interval_below_plan"
              ]
            }
          }
        }
      },
      "then": {
        "properties": {
          "quantity": false
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "not": {
              "enum": [
                "custom_domain_invalid",
                "purchase_not_admitted",
                "purchase_unavailable",
                "refund_not_admitted",
                "route_unreachable"
              ]
            }
          }
        }
      },
      "then": {
        "properties": {
          "reason": false
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "not": {
              "enum": [
                "upload_hash_mismatch"
              ]
            }
          }
        }
      },
      "then": {
        "properties": {
          "received_sha256": false
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "not": {
              "enum": [
                "issue_refused"
              ]
            }
          }
        }
      },
      "then": {
        "properties": {
          "refusal": false
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "not": {
              "enum": [
                "artifact_area_mismatch",
                "artifact_not_found",
                "deploy_files_hash_mismatch",
                "deploy_files_syntax_error",
                "deploy_files_too_large",
                "invalid_request"
              ]
            }
          }
        }
      },
      "then": {
        "properties": {
          "refused": false
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "not": {
              "enum": [
                "region_unavailable"
              ]
            }
          }
        }
      },
      "then": {
        "properties": {
          "region": false
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "not": {
              "enum": [
                "image_generation_failed",
                "image_generation_limited"
              ]
            }
          }
        }
      },
      "then": {
        "properties": {
          "resets_at": false
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "not": {
              "enum": [
                "refund_refused"
              ]
            }
          }
        }
      },
      "then": {
        "properties": {
          "restored": false
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "not": {
              "enum": [
                "image_generation_failed"
              ]
            }
          }
        }
      },
      "then": {
        "properties": {
          "saved": false
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "not": {
              "enum": [
                "plan_schedule_conflict"
              ]
            }
          }
        }
      },
      "then": {
        "properties": {
          "schedules": false
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "not": {
              "enum": [
                "account_credential_required",
                "area_scope_refused",
                "scope_fixed",
                "token_scope_refused"
              ]
            }
          }
        }
      },
      "then": {
        "properties": {
          "scope": false
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "not": {
              "enum": [
                "version_reused"
              ]
            }
          }
        }
      },
      "then": {
        "properties": {
          "served_closure_hash": false
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "not": {
              "enum": [
                "declared_audience_contradicts_route"
              ]
            }
          }
        }
      },
      "then": {
        "properties": {
          "sign_in_methods": false
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "not": {
              "enum": [
                "platform_space_configure_refused",
                "space_not_owned"
              ]
            }
          }
        }
      },
      "then": {
        "properties": {
          "space": false
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "not": {
              "enum": [
                "query_failed"
              ]
            }
          }
        }
      },
      "then": {
        "properties": {
          "sqlstate": false
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "not": {
              "enum": [
                "synthetic_ceiling_reached"
              ]
            }
          }
        }
      },
      "then": {
        "properties": {
          "standing": false
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "not": {
              "enum": [
                "declared_tenant_contradicts_route",
                "route_set_contradicts_audience"
              ]
            }
          }
        }
      },
      "then": {
        "properties": {
          "tenant": false
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "not": {
              "enum": [
                "image_generation_failed"
              ]
            }
          }
        }
      },
      "then": {
        "properties": {
          "used": false
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "not": {
              "enum": [
                "synthetic_ceiling_reached",
                "synthetic_posture_refuses"
              ]
            }
          }
        }
      },
      "then": {
        "properties": {
          "value": false
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "not": {
              "enum": [
                "version_reused"
              ]
            }
          }
        }
      },
      "then": {
        "properties": {
          "version": false
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "not": {
              "enum": [
                "manifest_invalid"
              ]
            }
          }
        }
      },
      "then": {
        "properties": {
          "violations": false
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "not": {
              "enum": [
                "refund_not_admitted",
                "refund_refused"
              ]
            }
          }
        }
      },
      "then": {
        "properties": {
          "within_reach": false
        }
      }
    },
    {
      "if": {
        "properties": {
          "error": {
            "not": {
              "enum": [
                "refund_not_admitted",
                "refund_refused"
              ]
            }
          }
        }
      },
      "then": {
        "properties": {
          "within_rule": false
        }
      }
    }
  ]
}