> Full index: https://docs.buchungapp.com/llms.txt
> Early access. Use the API base, channel key and allowed origins supplied by Buchung before running examples.

# Get an activity availability

Retrieve a concrete AA by UUID, including direct access under a published or unlisted activity. Tenant ownership, live event/variation and active variation link remain required. Missing or ineligible resources return 404. No handle guessing or inventory reservation. On every storefront read, Buchung-Locale is optional: omission or a well-formed but unsupported value applies the operator's default locale; a supported explicit value selects that exact locale, Content-Language always reports the applied locale, and Buchung-Locale-Fallback reports the requested value only when unsupported; malformed values return 400 validation_failed.

```json
{
  "operations": [
    {
      "method": "get",
      "path": "/v1/availabilities/{id}",
      "tags": [
        "availabilities"
      ]
    }
  ],
  "schema": {
    "openapi": "3.2.0",
    "info": {
      "title": "Buchung Storefront API",
      "version": "1.0.0",
      "description": "Public catalogue reads and hosted-checkout handoff scoped to a booking channel, plus bearer-only machine management. Storefront channel keys never authorize management operations; machine credentials never authorize storefront checkout handoffs. Storefront reads enforce a 4 MiB per-page custom-fact budget; result_too_large maps to the 400 validation_failed envelope without truncation. Use GET for simple catalogue queries with the raw request target strictly below 8 KiB (414 validation_failed otherwise); use the corresponding POST /query form when conditions or selections outgrow a URL. POST accepts the decoded GET fields as JSON, including the same defaults, errors and response schemas, uses the same read limiter bucket and returns Cache-Control: private, no-store. There are no per-parameter where/facets character caps. Management caps every method with a body at 64 KiB before parsing; storefront POST bodies are capped at 16 KiB before parsing (413 payload_too_large)."
    },
    "paths": {
      "/v1/availabilities/{id}": {
        "get": {
          "tags": [
            "availabilities"
          ],
          "operationId": "availabilities.get",
          "parameters": [
            {
              "name": "id",
              "in": "path",
              "schema": {
                "$ref": "#/components/schemas/Id"
              },
              "required": true,
              "description": "Stable resource UUID scoped to the authenticated operator; see Id."
            },
            {
              "name": "Buchung-Locale",
              "in": "header",
              "schema": {
                "$ref": "#/components/schemas/Language"
              },
              "required": false,
              "description": "On every storefront read, Buchung-Locale is optional: omission or a well-formed but unsupported value applies the operator's default locale; a supported explicit value selects that exact locale, Content-Language always reports the applied locale, and Buchung-Locale-Fallback reports the requested value only when unsupported; malformed values return 400 validation_failed. Only checkout.createHandoff requires a supported Buchung-Locale: absence or malformed values return 400 validation_failed, and well-formed unsupported values return 400 locale_not_supported with details naming the requested and supported locales. Start with site.get to discover the operator's locales. See Language for syntax and normalization."
            }
          ],
          "security": [
            {
              "channelKey": []
            }
          ],
          "responses": {
            "200": {
              "description": "One sellable scheduled instance, today one activity availability (AA), with its opaque sku and canonical advertised price/capacity. id identifies the resource for reads; sku is what checkout accepts. A series cohort later appears as one item with startsAt at the first session start and endsAt at the last session end; remaining spans all sessions, all or nothing. Sessions may later be listed as optional occurrences[], never as separate items. startsAt/endsAt are the window interval. Remaining belongs only to this sellable; never sum it across a display group. Public resolved occurrence facts and references omit unavailable/private/suppressed values. Non-upcoming matches carry null price and zero remaining; status distinguishes historical/in-progress matches from upcoming sold-out options. soldOut reflects zero advertised remaining. open is true only for an upcoming option that is not sold out and past bookableFrom; it is false for every non-upcoming match. Advertisements do not reserve inventory or guarantee checkout acceptance.",
              "content": {
                "application/json": {
                  "schema": {
                    "$ref": "#/components/schemas/Availability"
                  }
                }
              },
              "headers": {
                "Content-Language": {
                  "required": true,
                  "description": "Always reports the applied operator locale.",
                  "schema": {
                    "$ref": "#/components/schemas/Language"
                  }
                },
                "Buchung-Locale-Fallback": {
                  "required": false,
                  "description": "Present only for a well-formed but unsupported Buchung-Locale; echoes the requested value unchanged while the operator's default locale applies. Absent for omitted or supported values.",
                  "schema": {
                    "$ref": "#/components/schemas/Language"
                  }
                }
              }
            },
            "400": {
              "description": "ValidationFailed",
              "content": {
                "application/json": {
                  "schema": {
                    "$ref": "#/components/schemas/ValidationFailedEncoded"
                  }
                }
              }
            },
            "401": {
              "description": "Unauthorized",
              "content": {
                "application/json": {
                  "schema": {
                    "$ref": "#/components/schemas/UnauthorizedEncoded"
                  }
                }
              }
            },
            "403": {
              "description": "ForbiddenOrigin",
              "content": {
                "application/json": {
                  "schema": {
                    "$ref": "#/components/schemas/ForbiddenOriginEncoded"
                  }
                }
              }
            },
            "404": {
              "description": "NotFound",
              "content": {
                "application/json": {
                  "schema": {
                    "$ref": "#/components/schemas/NotFoundEncoded"
                  }
                }
              }
            },
            "429": {
              "description": "RateLimited",
              "content": {
                "application/json": {
                  "schema": {
                    "$ref": "#/components/schemas/RateLimitedEncoded"
                  }
                }
              }
            },
            "500": {
              "description": "Unexpected runtime failure. Configuration errors close the API mount with 404 not_found in the shared error envelope and an api_misconfigured log line (R23), never 500 internal_error.",
              "content": {
                "application/json": {
                  "schema": {
                    "$ref": "#/components/schemas/InternalErrorEncoded"
                  }
                }
              }
            },
            "503": {
              "description": "ServiceUnavailable | Exact counting exceeded the server's statement budget; retry later.",
              "content": {
                "application/json": {
                  "schema": {
                    "anyOf": [
                      {
                        "$ref": "#/components/schemas/ServiceUnavailableEncoded"
                      },
                      {
                        "$ref": "#/components/schemas/CountTimeoutEncoded"
                      }
                    ]
                  }
                }
              }
            }
          },
          "description": "Retrieve a concrete AA by UUID, including direct access under a published or unlisted activity. Tenant ownership, live event/variation and active variation link remain required. Missing or ineligible resources return 404. No handle guessing or inventory reservation. On every storefront read, Buchung-Locale is optional: omission or a well-formed but unsupported value applies the operator's default locale; a supported explicit value selects that exact locale, Content-Language always reports the applied locale, and Buchung-Locale-Fallback reports the requested value only when unsupported; malformed values return 400 validation_failed.",
          "summary": "Get an activity availability"
        }
      }
    },
    "security": [],
    "tags": [
      {
        "name": "activities"
      },
      {
        "name": "availabilities"
      },
      {
        "name": "bookingOptions"
      },
      {
        "name": "site"
      },
      {
        "name": "checkout"
      },
      {
        "name": "management"
      }
    ],
    "servers": [
      {
        "url": "https://api.buchungapp.com"
      }
    ],
    "components": {
      "schemas": {
        "UnauthorizedEncoded": {
          "type": "object",
          "properties": {
            "error": {
              "type": "object",
              "properties": {
                "code": {
                  "type": "string",
                  "enum": [
                    "unauthorized"
                  ],
                  "description": "Closed error discriminator for this HTTP error variant."
                },
                "message": {
                  "type": "string"
                },
                "doc_url": {
                  "type": "string",
                  "enum": [
                    "https://api.buchungapp.com/v1/docs#errors/unauthorized"
                  ],
                  "description": "Closed documentation URL corresponding to this error code."
                },
                "request_id": {
                  "type": "string"
                },
                "details": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErrorDetail"
                  }
                }
              },
              "required": [
                "code",
                "message",
                "doc_url",
                "request_id"
              ],
              "additionalProperties": false
            }
          },
          "required": [
            "error"
          ],
          "additionalProperties": false
        },
        "ErrorDetail": {
          "type": "object",
          "properties": {
            "path": {
              "type": "string"
            },
            "message": {
              "type": "string"
            }
          },
          "required": [
            "path",
            "message"
          ],
          "additionalProperties": false,
          "description": "A validation issue at a request field path."
        },
        "Language": {
          "type": "string",
          "pattern": "^[A-Za-z]{2,3}(-[A-Za-z0-9]{1,8}){0,3}$",
          "maxLength": 35,
          "description": "Matched case-insensitively against the operator's supported locale codes and normalized to the stored code. On every storefront read, Buchung-Locale is optional: omission or a well-formed but unsupported value applies the operator's default locale; a supported explicit value selects that exact locale, Content-Language always reports the applied locale, and Buchung-Locale-Fallback reports the requested value only when unsupported; malformed values return 400 validation_failed. Only checkout.createHandoff requires a supported Buchung-Locale: absence or malformed values return 400 validation_failed, and well-formed unsupported values return 400 locale_not_supported with details naming the requested and supported locales. Start with site.get to discover the operator's locales. Accepted locale codes form a closed set per operator, discovered from Site.locales; syntactically valid codes do not imply support. Management uses explicit locales without fallback; unsupported locales return 400 validation_failed."
        },
        "Id": {
          "type": "string",
          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
          "format": "uuid",
          "description": "Stable UUID of a public resource."
        },
        "NotFoundEncoded": {
          "type": "object",
          "properties": {
            "error": {
              "type": "object",
              "properties": {
                "code": {
                  "type": "string",
                  "enum": [
                    "not_found"
                  ],
                  "description": "Closed error discriminator for this HTTP error variant."
                },
                "message": {
                  "type": "string"
                },
                "doc_url": {
                  "type": "string",
                  "enum": [
                    "https://api.buchungapp.com/v1/docs#errors/not_found"
                  ],
                  "description": "Closed documentation URL corresponding to this error code."
                },
                "request_id": {
                  "type": "string"
                },
                "details": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErrorDetail"
                  }
                }
              },
              "required": [
                "code",
                "message",
                "doc_url",
                "request_id"
              ],
              "additionalProperties": false
            }
          },
          "required": [
            "error"
          ],
          "additionalProperties": false
        },
        "InternalErrorEncoded": {
          "type": "object",
          "properties": {
            "error": {
              "type": "object",
              "properties": {
                "code": {
                  "type": "string",
                  "enum": [
                    "internal_error"
                  ],
                  "description": "Closed error discriminator for this HTTP error variant."
                },
                "message": {
                  "type": "string"
                },
                "doc_url": {
                  "type": "string",
                  "enum": [
                    "https://api.buchungapp.com/v1/docs#errors/internal_error"
                  ],
                  "description": "Closed documentation URL corresponding to this error code."
                },
                "request_id": {
                  "type": "string"
                },
                "details": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErrorDetail"
                  }
                }
              },
              "required": [
                "code",
                "message",
                "doc_url",
                "request_id"
              ],
              "additionalProperties": false
            }
          },
          "required": [
            "error"
          ],
          "additionalProperties": false
        },
        "ServiceUnavailableEncoded": {
          "type": "object",
          "properties": {
            "error": {
              "type": "object",
              "properties": {
                "code": {
                  "type": "string",
                  "enum": [
                    "service_unavailable"
                  ],
                  "description": "Closed error discriminator for this HTTP error variant."
                },
                "message": {
                  "type": "string"
                },
                "doc_url": {
                  "type": "string",
                  "enum": [
                    "https://api.buchungapp.com/v1/docs#errors/service_unavailable"
                  ],
                  "description": "Closed documentation URL corresponding to this error code."
                },
                "request_id": {
                  "type": "string"
                },
                "details": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErrorDetail"
                  }
                }
              },
              "required": [
                "code",
                "message",
                "doc_url",
                "request_id"
              ],
              "additionalProperties": false
            }
          },
          "required": [
            "error"
          ],
          "additionalProperties": false
        },
        "RateLimitedEncoded": {
          "type": "object",
          "properties": {
            "error": {
              "type": "object",
              "properties": {
                "code": {
                  "type": "string",
                  "enum": [
                    "rate_limited"
                  ],
                  "description": "Closed error discriminator for this HTTP error variant."
                },
                "message": {
                  "type": "string"
                },
                "doc_url": {
                  "type": "string",
                  "enum": [
                    "https://api.buchungapp.com/v1/docs#errors/rate_limited"
                  ],
                  "description": "Closed documentation URL corresponding to this error code."
                },
                "request_id": {
                  "type": "string"
                },
                "details": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErrorDetail"
                  }
                }
              },
              "required": [
                "code",
                "message",
                "doc_url",
                "request_id"
              ],
              "additionalProperties": false
            }
          },
          "required": [
            "error"
          ],
          "additionalProperties": false
        },
        "ValidationFailedEncoded": {
          "type": "object",
          "properties": {
            "error": {
              "type": "object",
              "properties": {
                "code": {
                  "type": "string",
                  "enum": [
                    "validation_failed"
                  ],
                  "description": "Closed error discriminator for this HTTP error variant."
                },
                "message": {
                  "type": "string"
                },
                "doc_url": {
                  "type": "string",
                  "enum": [
                    "https://api.buchungapp.com/v1/docs#errors/validation_failed"
                  ],
                  "description": "Closed documentation URL corresponding to this error code."
                },
                "request_id": {
                  "type": "string"
                },
                "details": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErrorDetail"
                  }
                }
              },
              "required": [
                "code",
                "message",
                "doc_url",
                "request_id"
              ],
              "additionalProperties": false
            }
          },
          "required": [
            "error"
          ],
          "additionalProperties": false
        },
        "PublicUrl": {
          "type": "string",
          "format": "uri",
          "pattern": "^[Hh][Tt][Tt][Pp][Ss]?:\\/\\/\\S+$",
          "description": "Absolute public HTTP(S) URL; data and javascript URLs are not allowed."
        },
        "Instant": {
          "type": "string",
          "pattern": "^\\d{4}-\\d{2}-\\d{2}T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|[+-](?:[01]\\d|2[0-3]):[0-5]\\d)$",
          "format": "date-time",
          "description": "ISO 8601 absolute instant with explicit UTC offset (including Z). Render using the resource's documented display timezone; the serialized offset need not equal that zone."
        },
        "CustomNumber": {
          "type": "number",
          "minimum": -1000000000000000,
          "maximum": 1000000000000000,
          "description": "Finite custom number with |value| <= 1e15."
        },
        "CountTimeoutEncoded": {
          "type": "object",
          "properties": {
            "error": {
              "type": "object",
              "properties": {
                "code": {
                  "type": "string",
                  "enum": [
                    "count_timeout"
                  ],
                  "description": "Closed error discriminator for this HTTP error variant."
                },
                "message": {
                  "type": "string"
                },
                "doc_url": {
                  "type": "string",
                  "enum": [
                    "https://api.buchungapp.com/v1/docs#errors/count_timeout"
                  ],
                  "description": "Closed documentation URL corresponding to this error code."
                },
                "request_id": {
                  "type": "string"
                },
                "details": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErrorDetail"
                  }
                }
              },
              "required": [
                "code",
                "message",
                "doc_url",
                "request_id"
              ],
              "additionalProperties": false
            }
          },
          "required": [
            "error"
          ],
          "additionalProperties": false
        },
        "ForbiddenOriginEncoded": {
          "type": "object",
          "properties": {
            "error": {
              "type": "object",
              "properties": {
                "code": {
                  "type": "string",
                  "enum": [
                    "forbidden_origin"
                  ],
                  "description": "Closed error discriminator for this HTTP error variant."
                },
                "message": {
                  "type": "string"
                },
                "doc_url": {
                  "type": "string",
                  "enum": [
                    "https://api.buchungapp.com/v1/docs#errors/forbidden_origin"
                  ],
                  "description": "Closed documentation URL corresponding to this error code."
                },
                "request_id": {
                  "type": "string"
                },
                "details": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErrorDetail"
                  }
                }
              },
              "required": [
                "code",
                "message",
                "doc_url",
                "request_id"
              ],
              "additionalProperties": false
            }
          },
          "required": [
            "error"
          ],
          "additionalProperties": false
        },
        "Sku": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128,
          "pattern": "^[\\x00-\\x7F]+$",
          "description": "Opaque sellable reference minted by the server; clients must never parse it. Today it names one activity availability; later it may name a series cohort or a window created on book. 1–128 ASCII characters on both reads and handoffs, matching the hosted seed cookie carrier."
        },
        "Price": {
          "type": "object",
          "properties": {
            "amount": {
              "$ref": "#/components/schemas/MinorUnits"
            },
            "currency": {
              "$ref": "#/components/schemas/Currency"
            },
            "amountBeforeDiscounts": {
              "$ref": "#/components/schemas/MinorUnits"
            },
            "hasPromotion": {
              "type": "boolean"
            }
          },
          "required": [
            "amount",
            "currency",
            "hasPromotion"
          ],
          "additionalProperties": false,
          "description": "Advertised from-price: the base price plus the compulsory upsells the operator includes in it. An operator may exclude a compulsory upsell from the advertised price (a dashboard setting with a pricing-regulation warning); checkout always charges every compulsory upsell. Not a checkout price promise."
        },
        "MinorUnits": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991,
          "description": "Nonnegative integer amount in the currency's minor units."
        },
        "Currency": {
          "type": "string",
          "pattern": "^[A-Z]{3}$",
          "description": "ISO 4217 currency code."
        },
        "LocationTimezone": {
          "type": "string",
          "pattern": "^[A-Za-z_][A-Za-z0-9_+-]*(?:\\/[A-Za-z0-9_+-]+)*$",
          "description": "IANA timezone name, checked for name syntax rather than registry membership (for example Europe/Amsterdam, America/Argentina/Buenos_Aires or UTC). When absent, use the operator's default timeZone."
        },
        "Coordinates": {
          "type": "object",
          "properties": {
            "latitude": {
              "type": "number",
              "minimum": -90,
              "maximum": 90
            },
            "longitude": {
              "type": "number",
              "minimum": -180,
              "maximum": 180
            }
          },
          "required": [
            "latitude",
            "longitude"
          ],
          "additionalProperties": false,
          "description": "Finite latitude and longitude in degrees, within [-90, 90] and [-180, 180] respectively."
        },
        "SiteAddress": {
          "type": "object",
          "properties": {
            "address1": {
              "type": "string"
            },
            "address2": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "postalCode": {
              "type": "string"
            },
            "city": {
              "type": "string"
            },
            "countryCode": {
              "type": "string"
            },
            "components": {
              "$ref": "#/components/schemas/AddressComponents"
            }
          },
          "required": [
            "address1",
            "address2",
            "postalCode",
            "city",
            "countryCode"
          ],
          "additionalProperties": false,
          "description": "Operator location address. Preserve address1 and nullable address2; structured components supplement the lines only when reliably known. This response does not prescribe address storage or input forms."
        },
        "AddressComponents": {
          "type": "object",
          "properties": {
            "street": {
              "type": "string"
            },
            "houseNumber": {
              "type": "string"
            },
            "addition": {
              "type": "string"
            }
          },
          "additionalProperties": false,
          "description": "Optional known address components. House number and addition are text. Omit unknown components; never infer them by splitting address lines."
        },
        "Media": {
          "anyOf": [
            {
              "type": "object",
              "properties": {
                "id": {
                  "$ref": "#/components/schemas/Id"
                },
                "url": {
                  "$ref": "#/components/schemas/PublicUrl"
                },
                "srcSet": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "url": {
                        "$ref": "#/components/schemas/PublicUrl"
                      },
                      "width": {
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 9007199254740991
                      }
                    },
                    "required": [
                      "url",
                      "width"
                    ],
                    "additionalProperties": false
                  }
                },
                "width": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 9007199254740991
                },
                "height": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 9007199254740991
                },
                "muxPlaybackId": {
                  "type": "string"
                },
                "posterUrl": {
                  "$ref": "#/components/schemas/PublicUrl"
                },
                "alt": {
                  "type": "string"
                },
                "position": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 9007199254740991
                },
                "type": {
                  "type": "string",
                  "enum": [
                    "image",
                    "video"
                  ]
                }
              },
              "required": [
                "id",
                "url",
                "srcSet",
                "position",
                "type"
              ],
              "additionalProperties": false
            },
            {
              "type": "object",
              "properties": {
                "id": {
                  "$ref": "#/components/schemas/Id"
                },
                "url": {
                  "$ref": "#/components/schemas/PublicUrl"
                },
                "srcSet": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "url": {
                        "$ref": "#/components/schemas/PublicUrl"
                      },
                      "width": {
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 9007199254740991
                      }
                    },
                    "required": [
                      "url",
                      "width"
                    ],
                    "additionalProperties": false
                  }
                },
                "width": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 9007199254740991
                },
                "height": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 9007199254740991
                },
                "muxPlaybackId": {
                  "type": "string"
                },
                "posterUrl": {
                  "$ref": "#/components/schemas/PublicUrl"
                },
                "alt": {
                  "type": "string"
                },
                "position": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 9007199254740991
                },
                "type": {
                  "type": "string",
                  "enum": [
                    "file"
                  ]
                },
                "mimeType": {
                  "type": "string",
                  "minLength": 1
                },
                "size": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 9007199254740991
                },
                "fileName": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "required": [
                "id",
                "url",
                "srcSet",
                "position",
                "type",
                "mimeType",
                "size",
                "fileName"
              ],
              "additionalProperties": false
            }
          ],
          "description": "Public media projection. type is a closed discriminator: image, video or file; file requires download metadata. Private storage paths and credentials are never exposed."
        },
        "Fact": {
          "anyOf": [
            {
              "type": "object",
              "properties": {
                "label": {
                  "type": "string"
                },
                "kind": {
                  "type": "string",
                  "enum": [
                    "reference"
                  ]
                },
                "value": {
                  "$ref": "#/components/schemas/CatalogueReference"
                }
              },
              "required": [
                "label",
                "kind",
                "value"
              ],
              "additionalProperties": false
            },
            {
              "type": "object",
              "properties": {
                "label": {
                  "type": "string"
                },
                "kind": {
                  "type": "string",
                  "enum": [
                    "references"
                  ]
                },
                "value": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CatalogueReference"
                  }
                }
              },
              "required": [
                "label",
                "kind",
                "value"
              ],
              "additionalProperties": false
            },
            {
              "type": "object",
              "properties": {
                "label": {
                  "type": "string"
                },
                "kind": {
                  "type": "string",
                  "enum": [
                    "text"
                  ]
                },
                "value": {
                  "type": "string"
                }
              },
              "required": [
                "label",
                "kind",
                "value"
              ],
              "additionalProperties": false
            },
            {
              "type": "object",
              "properties": {
                "label": {
                  "type": "string"
                },
                "kind": {
                  "type": "string",
                  "enum": [
                    "number"
                  ]
                },
                "value": {
                  "$ref": "#/components/schemas/CustomNumber"
                }
              },
              "required": [
                "label",
                "kind",
                "value"
              ],
              "additionalProperties": false
            },
            {
              "type": "object",
              "properties": {
                "label": {
                  "type": "string"
                },
                "kind": {
                  "type": "string",
                  "enum": [
                    "boolean"
                  ]
                },
                "value": {
                  "type": "boolean"
                }
              },
              "required": [
                "label",
                "kind",
                "value"
              ],
              "additionalProperties": false
            },
            {
              "type": "object",
              "properties": {
                "label": {
                  "type": "string"
                },
                "kind": {
                  "type": "string",
                  "enum": [
                    "choice"
                  ]
                },
                "value": {
                  "type": "object",
                  "properties": {
                    "key": {
                      "type": "string"
                    },
                    "label": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "key",
                    "label"
                  ],
                  "additionalProperties": false
                }
              },
              "required": [
                "label",
                "kind",
                "value"
              ],
              "additionalProperties": false
            },
            {
              "type": "object",
              "properties": {
                "label": {
                  "type": "string"
                },
                "kind": {
                  "type": "string",
                  "enum": [
                    "media"
                  ]
                },
                "value": {
                  "$ref": "#/components/schemas/Media"
                }
              },
              "required": [
                "label",
                "kind",
                "value"
              ],
              "additionalProperties": false
            },
            {
              "type": "object",
              "properties": {
                "label": {
                  "type": "string"
                },
                "kind": {
                  "type": "string",
                  "enum": [
                    "link"
                  ]
                },
                "value": {
                  "type": "object",
                  "properties": {
                    "url": {
                      "$ref": "#/components/schemas/PublicUrl"
                    },
                    "label": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "url",
                    "label"
                  ],
                  "additionalProperties": false
                }
              },
              "required": [
                "label",
                "kind",
                "value"
              ],
              "additionalProperties": false
            }
          ],
          "description": "Localized public catalogue fact, discriminated by kind. kind is a closed discriminator: reference, references, text, number, boolean, choice, media or link; each determines its value shape. Storefront custom facts have a cumulative 4 MiB per-page serialized budget; result_too_large maps to the 400 validation_failed envelope without truncation."
        },
        "CatalogueReference": {
          "type": "object",
          "properties": {
            "id": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Id"
                }
              ],
              "description": "Referenced catalogue entity UUID; query reference and set operators filter on this id."
            },
            "kind": {
              "type": "string",
              "minLength": 1,
              "description": "Kind of the referenced catalogue entity; an open vocabulary. Known value: activity. New strings may appear; clients must tolerate unknown values."
            }
          },
          "required": [
            "id",
            "kind"
          ],
          "additionalProperties": false,
          "description": "Public reference to a catalogue entity, identified by its id and kind."
        },
        "Remaining": {
          "anyOf": [
            {
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991
            },
            {
              "type": "null"
            }
          ],
          "description": "Remaining units of this sellable, never seats or people, or null for uncapped availability. Valid for a resource class of one unit and for a grouped resource. For a series cohort, counted across all sessions, all or nothing. Never sum remaining across display groups."
        },
        "BookingUnitNounForms": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "locale": {
                "type": "string",
                "minLength": 1
              },
              "forms": {
                "type": "object",
                "properties": {
                  "zero": {
                    "type": "string"
                  },
                  "one": {
                    "type": "string"
                  },
                  "two": {
                    "type": "string"
                  },
                  "few": {
                    "type": "string"
                  },
                  "many": {
                    "type": "string"
                  },
                  "other": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              }
            },
            "required": [
              "locale",
              "forms"
            ],
            "additionalProperties": false
          },
          "minItems": 1,
          "description": "Ordered noun fallback entries, including curated fallback. For each entry use its own locale's CLDR cardinal category for quantity, then forms[category] ?? forms.other; return the first nonblank value. Invalid legacy locale uses other. Preserve entry order, including repeated locales; never flatten into the request locale's plural categories."
        },
        "Location": {
          "type": "object",
          "properties": {
            "id": {
              "$ref": "#/components/schemas/Id"
            },
            "kind": {
              "type": "string",
              "enum": [
                "office",
                "activity_site"
              ],
              "description": "Closed set: office or activity_site. Platform place classification; operator-named harbours and meeting points use activity_site."
            },
            "name": {
              "type": "string"
            },
            "address": {
              "$ref": "#/components/schemas/SiteAddress"
            },
            "coordinates": {
              "$ref": "#/components/schemas/Coordinates"
            },
            "timezone": {
              "$ref": "#/components/schemas/LocationTimezone"
            }
          },
          "required": [
            "id",
            "kind",
            "name"
          ],
          "additionalProperties": false,
          "allOf": [
            {
              "anyOf": [
                {
                  "required": [
                    "address"
                  ]
                },
                {
                  "required": [
                    "coordinates"
                  ]
                }
              ],
              "description": "Operator-owned place with a stable id and localized name, carrying an address or coordinates (or both). Meeting points and itinerary stops may be known by coordinates only. A harbour, beach or meeting point is an activity_site named by the operator; legal and contact roles are not exposed here."
            }
          ]
        },
        "Availability": {
          "type": "object",
          "properties": {
            "locale": {
              "$ref": "#/components/schemas/Language"
            },
            "id": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Id"
                }
              ],
              "description": "Resource identity for reads; checkout accepts sku instead."
            },
            "activityId": {
              "$ref": "#/components/schemas/Id"
            },
            "eventId": {
              "$ref": "#/components/schemas/Id"
            },
            "variationId": {
              "$ref": "#/components/schemas/Id"
            },
            "status": {
              "type": "string",
              "enum": [
                "upcoming",
                "in_progress",
                "past"
              ],
              "description": "Closed set: upcoming, in_progress, past. Exhaustive temporal states determine price and remaining semantics."
            },
            "startsAt": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Instant"
                }
              ],
              "description": "Start of the sellable window interval; for a series cohort, the first session start."
            },
            "endsAt": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Instant"
                }
              ],
              "description": "End of the sellable window interval; for a series cohort, the last session end."
            },
            "timeZone": {
              "type": "string",
              "description": "Operator's default timezone, used when the departure or arrival location does not set timezone."
            },
            "locations": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "role": {
                    "type": "string",
                    "enum": [
                      "venue",
                      "departure",
                      "stop",
                      "arrival"
                    ],
                    "description": "Closed set: venue, departure, stop, arrival. These roles determine itinerary and display-timezone semantics."
                  },
                  "position": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  "location": {
                    "$ref": "#/components/schemas/Location"
                  }
                },
                "required": [
                  "role",
                  "position",
                  "location"
                ],
                "additionalProperties": false
              },
              "description": "The event's itinerary inherited by this availability, ordered by position: venue by default; departure, stops and arrival for trips. May be empty for online or customer-chosen locations. Start times render in the departure location's timezone and end times in the arrival location's timezone when set; otherwise use the operator's default timeZone. No activity default or availability override."
            },
            "title": {
              "type": "string"
            },
            "description": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "sku": {
              "$ref": "#/components/schemas/Sku"
            },
            "bookingUnitNounForms": {
              "$ref": "#/components/schemas/BookingUnitNounForms"
            },
            "price": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Price"
                },
                {
                  "type": "null"
                }
              ]
            },
            "remaining": {
              "$ref": "#/components/schemas/Remaining"
            },
            "soldOut": {
              "type": "boolean"
            },
            "bookableFrom": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Instant"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Instant from which this option can be booked on the storefront, or null when it is bookable whenever it is offerable. While it is in the future the option is listed with open: false; copy such as 'bookable from 1 November 09:00' renders it in the operator's time zone."
            },
            "open": {
              "type": "boolean",
              "description": "True when the option can be booked on the storefront right now: upcoming, not sold out and past bookableFrom. A sold-out option and a not-yet-bookable option are both open: false; soldOut and bookableFrom say which."
            },
            "facts": {
              "type": "object",
              "additionalProperties": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/Fact"
                }
              }
            }
          },
          "required": [
            "locale",
            "id",
            "activityId",
            "eventId",
            "variationId",
            "status",
            "startsAt",
            "endsAt",
            "timeZone",
            "locations",
            "title",
            "description",
            "sku",
            "bookingUnitNounForms",
            "price",
            "remaining",
            "soldOut",
            "bookableFrom",
            "open",
            "facts"
          ],
          "additionalProperties": false,
          "description": "One sellable scheduled instance, today one activity availability (AA), with its opaque sku and canonical advertised price/capacity. id identifies the resource for reads; sku is what checkout accepts. A series cohort later appears as one item with startsAt at the first session start and endsAt at the last session end; remaining spans all sessions, all or nothing. Sessions may later be listed as optional occurrences[], never as separate items. startsAt/endsAt are the window interval. Remaining belongs only to this sellable; never sum it across a display group. Public resolved occurrence facts and references omit unavailable/private/suppressed values. Non-upcoming matches carry null price and zero remaining; status distinguishes historical/in-progress matches from upcoming sold-out options. soldOut reflects zero advertised remaining. open is true only for an upcoming option that is not sold out and past bookableFrom; it is false for every non-upcoming match. Advertisements do not reserve inventory or guarantee checkout acceptance."
        }
      },
      "securitySchemes": {
        "channelKey": {
          "description": "Required channel key for every storefront operation, including site.get. On every storefront read, Buchung-Locale is optional: omission or a well-formed but unsupported value applies the operator's default locale; a supported explicit value selects that exact locale, Content-Language always reports the applied locale, and Buchung-Locale-Fallback reports the requested value only when unsupported; malformed values return 400 validation_failed. Only checkout.createHandoff requires a supported Buchung-Locale: absence or malformed values return 400 validation_failed, and well-formed unsupported values return 400 locale_not_supported with details naming the requested and supported locales. Start with site.get to discover the operator's locales.",
          "type": "apiKey",
          "name": "X-Buchung-Channel-Key",
          "in": "header"
        }
      }
    }
  }
}
```
