> 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.

# List an activity's availabilities

Query AAs within one explicit published or unlisted activity UUID. Direct conditions and configured facets remain available and cannot broaden the activity scope. An unknown, draft, archived or foreign activity returns 404 not_found. A valid activity outside the requested collection or with no matching AAs returns an empty page with totalCount 0. An unavailable collection returns 404 not_found. 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/activities/{id}/availabilities",
      "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/activities/{id}/availabilities": {
        "get": {
          "tags": [
            "availabilities"
          ],
          "operationId": "availabilities.listForActivity",
          "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."
            },
            {
              "name": "where",
              "in": "query",
              "schema": {
                "type": "string",
                "contentMediaType": "application/json",
                "contentSchema": {
                  "$ref": "#/components/schemas/CatalogueCondition"
                }
              },
              "required": false,
              "description": "JSON CatalogueCondition with typed activity/availability fields or fact entries carrying scope, set, field and one operator. Structural errors include paths such as query.where.activity.categories.containsAny.0. Unavailable category, event or variation references are handled like unknown ones. Refresh those values or remove the rejected filter. See CatalogueConditionLeaf for allowed operators and CatalogueQuery for admission budgets and same-AA matching. Host must cap the combined encoded query below 8 KiB in the raw request target before routing. Unknown keys return 400 validation_failed; no implicit collection."
            },
            {
              "name": "facets",
              "in": "query",
              "schema": {
                "type": "string",
                "contentMediaType": "application/json",
                "contentSchema": {
                  "$ref": "#/components/schemas/FacetSelections"
                }
              },
              "required": false,
              "description": "JSON FacetSelections. Send collectionId and use returned facet and option IDs. Structural error paths include query.facets.0.match. Unexpected properties can be reported at the enclosing object or array item. See CatalogueQuery for bounds and uniqueness. Host must cap the combined encoded query below 8 KiB in the raw request target before routing. Unknown keys return 400 validation_failed; no implicit collection."
            },
            {
              "name": "collectionId",
              "in": "query",
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/Id"
                  }
                ],
                "description": "Optional collection UUID. A collection returns the activities it selects without exposing its selection criteria. Availability queries return eligible dates for those activities. The existing ceiling of 1,000 distinct saved category IDs bounds the references checked per collection read. An unavailable collection, including one above this ceiling, returns 404 not_found. Check the UUID, storefront setup and booking channel before retrying."
              },
              "required": false,
              "description": "Optional collection UUID. A collection returns the activities it selects without exposing its selection criteria. Availability queries return eligible dates for those activities. The existing ceiling of 1,000 distinct saved category IDs bounds the references checked per collection read. An unavailable collection, including one above this ceiling, returns 404 not_found. Check the UUID, storefront setup and booking channel before retrying."
            },
            {
              "name": "includePast",
              "in": "query",
              "schema": {
                "type": "boolean",
                "default": false
              },
              "required": false,
              "description": "Include past AAs; default is declared by CatalogueQuery."
            },
            {
              "name": "limit",
              "in": "query",
              "schema": {
                "type": "integer",
                "minimum": 1,
                "maximum": 100,
                "description": "Page size 1–100, default 20, for client ergonomics and bounded page hydration.",
                "default": 20
              },
              "required": false,
              "description": "Page size; bounds and default are declared by CatalogueQuery."
            },
            {
              "name": "cursor",
              "in": "query",
              "schema": {
                "$ref": "#/components/schemas/Cursor"
              },
              "required": false,
              "description": "Opaque continuation; see Cursor for bounds and scope. Host must cap the combined encoded query below 8 KiB in the raw request target before routing. Unknown keys return 400 validation_failed; no implicit collection."
            }
          ],
          "security": [
            {
              "channelKey": []
            }
          ],
          "responses": {
            "200": {
              "description": "AAs ordered by effective startsAt then UUID; exact total/facet counts count distinct AAs before pagination. Membership, hydration and counts share one request snapshot. Preserve timestamp precision in opaque continuation; each next page re-evaluates current authority and data. Grouping is a client presentation concern, with no group capacity total.",
              "content": {
                "application/json": {
                  "schema": {
                    "$ref": "#/components/schemas/AvailabilityPage"
                  }
                }
              },
              "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"
                  }
                }
              }
            },
            "414": {
              "description": "The raw request target must be strictly below 8 KiB; the host rejects it before routing using this envelope.",
              "content": {
                "application/json": {
                  "schema": {
                    "$ref": "#/components/schemas/RequestTooLargeEncoded"
                  }
                }
              }
            },
            "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": "Query AAs within one explicit published or unlisted activity UUID. Direct conditions and configured facets remain available and cannot broaden the activity scope. An unknown, draft, archived or foreign activity returns 404 not_found. A valid activity outside the requested collection or with no matching AAs returns an empty page with totalCount 0. An unavailable collection returns 404 not_found. 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": "List an activity's availabilities"
        }
      }
    },
    "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."
        },
        "RequestTooLargeEncoded": {
          "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
        },
        "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
        },
        "Cursor": {
          "type": "string",
          "minLength": 1,
          "pattern": "^[A-Za-z0-9_-]+$",
          "maxLength": 4096,
          "description": "Opaque base64url keyset token, at most 4 KiB to bound continuation decoding. The server also validates its operator and filter scope."
        },
        "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."
            }
          ]
        },
        "Handle": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128,
          "pattern": "^[\\x00-\\x7F]+$",
          "description": "Public handle scoped to the authenticated operator, 1–128 ASCII characters, matching the hosted seed cookie carrier's ASCII assumption."
        },
        "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."
        },
        "AvailabilityPage": {
          "type": "object",
          "properties": {
            "items": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/Availability"
              }
            },
            "locale": {
              "$ref": "#/components/schemas/Language"
            },
            "nextCursor": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Cursor"
                },
                {
                  "type": "null"
                }
              ]
            },
            "totalCount": {
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991
            },
            "evaluatedAt": {
              "$ref": "#/components/schemas/Instant"
            },
            "collection": {
              "anyOf": [
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "$ref": "#/components/schemas/Id"
                    },
                    "handle": {
                      "$ref": "#/components/schemas/Handle"
                    },
                    "title": {
                      "type": "string"
                    },
                    "description": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "handle",
                    "title",
                    "description"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "null"
                }
              ],
              "description": "Public details of the requested collection. A collection returns the activities it selects without exposing its selection criteria. Null when collectionId is omitted."
            },
            "facets": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/CatalogueFacet"
              }
            }
          },
          "required": [
            "items",
            "locale",
            "nextCursor",
            "totalCount",
            "evaluatedAt",
            "collection",
            "facets"
          ],
          "additionalProperties": false,
          "description": "AAs ordered by effective startsAt then UUID; exact total/facet counts count distinct AAs before pagination. Membership, hydration and counts share one request snapshot. Preserve timestamp precision in opaque continuation; each next page re-evaluates current authority and data. Grouping is a client presentation concern, with no group capacity total."
        },
        "CatalogueFacet": {
          "type": "object",
          "properties": {
            "id": {
              "$ref": "#/components/schemas/CatalogueKey"
            },
            "title": {
              "type": "string"
            },
            "description": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "defaultOpen": {
              "type": "boolean"
            },
            "match": {
              "type": "string",
              "enum": [
                "any",
                "all"
              ],
              "description": "Closed set: any or all. Applied selection/counting mode with OR or AND semantics."
            },
            "supportedMatches": {
              "type": "array",
              "items": {
                "type": "string",
                "enum": [
                  "any",
                  "all"
                ],
                "description": "Closed set: any or all. Supported OR/AND selection modes."
              }
            },
            "optionsTruncated": {
              "type": "boolean",
              "description": "True when the facet cap or query budget limits the options shown. Refresh the available options after a selection. Counts for the options shown remain exact."
            },
            "selectedOptionIds": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/CatalogueKey"
              }
            },
            "options": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "id": {
                    "$ref": "#/components/schemas/CatalogueKey"
                  },
                  "title": {
                    "type": "string"
                  },
                  "description": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "count": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  "input": {
                    "allOf": [
                      {
                        "$ref": "#/components/schemas/CatalogueCondition"
                      }
                    ],
                    "description": "Exact JSON condition selecting this facet option: a leaf or an all/any/not tree under the same depth 6 and 64-node budgets as where. The client appends input unchanged to its where condition."
                  }
                },
                "required": [
                  "id",
                  "title",
                  "description",
                  "count",
                  "input"
                ],
                "additionalProperties": false
              }
            }
          },
          "required": [
            "id",
            "title",
            "description",
            "defaultOpen",
            "match",
            "supportedMatches",
            "optionsTruncated",
            "selectedOptionIds",
            "options"
          ],
          "additionalProperties": false,
          "description": "Exact counts in the response resource's unit. Any counts replace this facet's selection with the option; all counts retain this facet's other selected options and require this option. Other facets, direct filters and the collection selection still apply. Each option echoes its exact selecting condition in input; the client appends input unchanged to its where condition."
        },
        "CatalogueCondition": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/CatalogueConditionLeaf"
            },
            {
              "type": "object",
              "properties": {
                "all": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CatalogueCondition"
                  },
                  "minItems": 1
                }
              },
              "required": [
                "all"
              ],
              "additionalProperties": false
            },
            {
              "type": "object",
              "properties": {
                "any": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CatalogueCondition"
                  },
                  "minItems": 1
                }
              },
              "required": [
                "any"
              ],
              "additionalProperties": false
            },
            {
              "type": "object",
              "properties": {
                "not": {
                  "$ref": "#/components/schemas/CatalogueCondition"
                }
              },
              "required": [
                "not"
              ],
              "additionalProperties": false
            }
          ],
          "description": "Typed catalogue condition: a leaf or an all/any/not tree. Facet option input, GET CatalogueQuery and POST CatalogueQueryBody share maximum depth 6 and 64 condition nodes. Query decoding uses one iterative pre-walk, protecting the recursive decoder and SQL compiler on anonymous routes. The 8 KiB GET request target binds before the 64-node worst-case tree of 100-ID leaves; smaller leaves can hit the node limit first. Measured minified JSON: the largest tree within 64 nodes/depth <= 6 with 100-UUID fact leaves is 346887 bytes (63 leaves, depth 2, maximally escaped 128-character set/field keys); requiring depth exactly 6 gives 324903 bytes (59 leaves). With unescaped ASCII keys these are 266247 and 249383 bytes. These are structural decoder bounds; transport and reader budgets still apply. All occurrence conditions match the same AA. Leaves have exactly one activity, availability or fact key. Platform containers have exactly one field; leaves select exactly one operator (from/to together are one inclusive range). See CatalogueConditionLeaf for operators and bounds. Unknown keys/operators fail with 400 validation_failed. Unknown fact sets/fields or configured type mismatches are reader invalid_query errors, mapped to the same envelope."
        },
        "CatalogueConditionLeaf": {
          "anyOf": [
            {
              "type": "object",
              "properties": {
                "activity": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "id": {
                          "anyOf": [
                            {
                              "type": "object",
                              "properties": {
                                "eq": {
                                  "$ref": "#/components/schemas/Id"
                                }
                              },
                              "required": [
                                "eq"
                              ],
                              "additionalProperties": false
                            },
                            {
                              "type": "object",
                              "properties": {
                                "in": {
                                  "type": "array",
                                  "items": {
                                    "$ref": "#/components/schemas/Id"
                                  },
                                  "minItems": 1,
                                  "maxItems": 100,
                                  "description": "Between 1 and 100 reference UUIDs. The 100-value ceiling is retained for client ergonomics; readers derive the actual allowance from remaining capacity under 1000 total slots and 50,000 expanded binds across facet-count scenarios. Each repeated predicate value consumes a bind per occurrence; budget violations are typed invalid_query (400 validation_failed)."
                                }
                              },
                              "required": [
                                "in"
                              ],
                              "additionalProperties": false
                            }
                          ]
                        }
                      },
                      "required": [
                        "id"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "categories": {
                          "anyOf": [
                            {
                              "type": "object",
                              "properties": {
                                "containsAny": {
                                  "type": "array",
                                  "items": {
                                    "$ref": "#/components/schemas/Id"
                                  },
                                  "minItems": 1,
                                  "maxItems": 100,
                                  "description": "Between 1 and 100 reference UUIDs. The 100-value ceiling is retained for client ergonomics; readers derive the actual allowance from remaining capacity under 1000 total slots and 50,000 expanded binds across facet-count scenarios. Each repeated predicate value consumes a bind per occurrence; budget violations are typed invalid_query (400 validation_failed)."
                                }
                              },
                              "required": [
                                "containsAny"
                              ],
                              "additionalProperties": false
                            },
                            {
                              "type": "object",
                              "properties": {
                                "containsAll": {
                                  "type": "array",
                                  "items": {
                                    "$ref": "#/components/schemas/Id"
                                  },
                                  "minItems": 1,
                                  "maxItems": 100,
                                  "description": "Between 1 and 100 reference UUIDs. The 100-value ceiling is retained for client ergonomics; readers derive the actual allowance from remaining capacity under 1000 total slots and 50,000 expanded binds across facet-count scenarios. Each repeated predicate value consumes a bind per occurrence; budget violations are typed invalid_query (400 validation_failed)."
                                }
                              },
                              "required": [
                                "containsAll"
                              ],
                              "additionalProperties": false
                            }
                          ]
                        }
                      },
                      "required": [
                        "categories"
                      ],
                      "additionalProperties": false
                    }
                  ]
                }
              },
              "required": [
                "activity"
              ],
              "additionalProperties": false
            },
            {
              "type": "object",
              "properties": {
                "availability": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "event": {
                          "anyOf": [
                            {
                              "type": "object",
                              "properties": {
                                "eq": {
                                  "$ref": "#/components/schemas/Id"
                                }
                              },
                              "required": [
                                "eq"
                              ],
                              "additionalProperties": false
                            },
                            {
                              "type": "object",
                              "properties": {
                                "in": {
                                  "type": "array",
                                  "items": {
                                    "$ref": "#/components/schemas/Id"
                                  },
                                  "minItems": 1,
                                  "maxItems": 100,
                                  "description": "Between 1 and 100 reference UUIDs. The 100-value ceiling is retained for client ergonomics; readers derive the actual allowance from remaining capacity under 1000 total slots and 50,000 expanded binds across facet-count scenarios. Each repeated predicate value consumes a bind per occurrence; budget violations are typed invalid_query (400 validation_failed)."
                                }
                              },
                              "required": [
                                "in"
                              ],
                              "additionalProperties": false
                            }
                          ]
                        }
                      },
                      "required": [
                        "event"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "variation": {
                          "anyOf": [
                            {
                              "type": "object",
                              "properties": {
                                "eq": {
                                  "$ref": "#/components/schemas/Id"
                                }
                              },
                              "required": [
                                "eq"
                              ],
                              "additionalProperties": false
                            },
                            {
                              "type": "object",
                              "properties": {
                                "in": {
                                  "type": "array",
                                  "items": {
                                    "$ref": "#/components/schemas/Id"
                                  },
                                  "minItems": 1,
                                  "maxItems": 100,
                                  "description": "Between 1 and 100 reference UUIDs. The 100-value ceiling is retained for client ergonomics; readers derive the actual allowance from remaining capacity under 1000 total slots and 50,000 expanded binds across facet-count scenarios. Each repeated predicate value consumes a bind per occurrence; budget violations are typed invalid_query (400 validation_failed)."
                                }
                              },
                              "required": [
                                "in"
                              ],
                              "additionalProperties": false
                            }
                          ]
                        }
                      },
                      "required": [
                        "variation"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "startDate": {
                          "anyOf": [
                            {
                              "type": "object",
                              "properties": {
                                "from": {
                                  "type": "string",
                                  "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                                  "format": "date",
                                  "description": "Inclusive YYYY-MM-DD calendar date, interpreted in the operator's time zone."
                                },
                                "to": {
                                  "type": "string",
                                  "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                                  "format": "date",
                                  "description": "Inclusive YYYY-MM-DD calendar date, interpreted in the operator's time zone."
                                }
                              },
                              "required": [
                                "from"
                              ],
                              "additionalProperties": false
                            },
                            {
                              "type": "object",
                              "properties": {
                                "to": {
                                  "type": "string",
                                  "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                                  "format": "date",
                                  "description": "Inclusive YYYY-MM-DD calendar date, interpreted in the operator's time zone."
                                }
                              },
                              "required": [
                                "to"
                              ],
                              "additionalProperties": false
                            }
                          ]
                        }
                      },
                      "required": [
                        "startDate"
                      ],
                      "additionalProperties": false
                    }
                  ]
                }
              },
              "required": [
                "availability"
              ],
              "additionalProperties": false
            },
            {
              "type": "object",
              "properties": {
                "fact": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "scope": {
                          "type": "string",
                          "enum": [
                            "activity",
                            "availability"
                          ],
                          "description": "Closed set: activity or availability. Selects the query grammar's fact owner."
                        },
                        "set": {
                          "$ref": "#/components/schemas/CatalogueKey"
                        },
                        "field": {
                          "$ref": "#/components/schemas/CatalogueKey"
                        },
                        "eq": {
                          "$ref": "#/components/schemas/Id"
                        }
                      },
                      "required": [
                        "scope",
                        "set",
                        "field",
                        "eq"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "scope": {
                          "type": "string",
                          "enum": [
                            "activity",
                            "availability"
                          ],
                          "description": "Closed set: activity or availability. Selects the query grammar's fact owner."
                        },
                        "set": {
                          "$ref": "#/components/schemas/CatalogueKey"
                        },
                        "field": {
                          "$ref": "#/components/schemas/CatalogueKey"
                        },
                        "in": {
                          "type": "array",
                          "items": {
                            "$ref": "#/components/schemas/Id"
                          },
                          "minItems": 1,
                          "maxItems": 100,
                          "description": "Between 1 and 100 reference UUIDs. The 100-value ceiling is retained for client ergonomics; readers derive the actual allowance from remaining capacity under 1000 total slots and 50,000 expanded binds across facet-count scenarios. Each repeated predicate value consumes a bind per occurrence; budget violations are typed invalid_query (400 validation_failed)."
                        }
                      },
                      "required": [
                        "scope",
                        "set",
                        "field",
                        "in"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "scope": {
                          "type": "string",
                          "enum": [
                            "activity",
                            "availability"
                          ],
                          "description": "Closed set: activity or availability. Selects the query grammar's fact owner."
                        },
                        "set": {
                          "$ref": "#/components/schemas/CatalogueKey"
                        },
                        "field": {
                          "$ref": "#/components/schemas/CatalogueKey"
                        },
                        "containsAny": {
                          "type": "array",
                          "items": {
                            "$ref": "#/components/schemas/Id"
                          },
                          "minItems": 1,
                          "maxItems": 100,
                          "description": "Between 1 and 100 reference UUIDs. The 100-value ceiling is retained for client ergonomics; readers derive the actual allowance from remaining capacity under 1000 total slots and 50,000 expanded binds across facet-count scenarios. Each repeated predicate value consumes a bind per occurrence; budget violations are typed invalid_query (400 validation_failed)."
                        }
                      },
                      "required": [
                        "scope",
                        "set",
                        "field",
                        "containsAny"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "scope": {
                          "type": "string",
                          "enum": [
                            "activity",
                            "availability"
                          ],
                          "description": "Closed set: activity or availability. Selects the query grammar's fact owner."
                        },
                        "set": {
                          "$ref": "#/components/schemas/CatalogueKey"
                        },
                        "field": {
                          "$ref": "#/components/schemas/CatalogueKey"
                        },
                        "containsAll": {
                          "type": "array",
                          "items": {
                            "$ref": "#/components/schemas/Id"
                          },
                          "minItems": 1,
                          "maxItems": 100,
                          "description": "Between 1 and 100 reference UUIDs. The 100-value ceiling is retained for client ergonomics; readers derive the actual allowance from remaining capacity under 1000 total slots and 50,000 expanded binds across facet-count scenarios. Each repeated predicate value consumes a bind per occurrence; budget violations are typed invalid_query (400 validation_failed)."
                        }
                      },
                      "required": [
                        "scope",
                        "set",
                        "field",
                        "containsAll"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "scope": {
                          "type": "string",
                          "enum": [
                            "activity",
                            "availability"
                          ],
                          "description": "Closed set: activity or availability. Selects the query grammar's fact owner."
                        },
                        "set": {
                          "$ref": "#/components/schemas/CatalogueKey"
                        },
                        "field": {
                          "$ref": "#/components/schemas/CatalogueKey"
                        },
                        "from": {
                          "type": "string",
                          "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                          "format": "date",
                          "description": "Inclusive YYYY-MM-DD calendar date, interpreted in the operator's time zone."
                        },
                        "to": {
                          "type": "string",
                          "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                          "format": "date",
                          "description": "Inclusive YYYY-MM-DD calendar date, interpreted in the operator's time zone."
                        }
                      },
                      "required": [
                        "scope",
                        "set",
                        "field",
                        "from"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "scope": {
                          "type": "string",
                          "enum": [
                            "activity",
                            "availability"
                          ],
                          "description": "Closed set: activity or availability. Selects the query grammar's fact owner."
                        },
                        "set": {
                          "$ref": "#/components/schemas/CatalogueKey"
                        },
                        "field": {
                          "$ref": "#/components/schemas/CatalogueKey"
                        },
                        "to": {
                          "type": "string",
                          "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                          "format": "date",
                          "description": "Inclusive YYYY-MM-DD calendar date, interpreted in the operator's time zone."
                        }
                      },
                      "required": [
                        "scope",
                        "set",
                        "field",
                        "to"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "scope": {
                          "type": "string",
                          "enum": [
                            "activity",
                            "availability"
                          ],
                          "description": "Closed set: activity or availability. Selects the query grammar's fact owner."
                        },
                        "set": {
                          "$ref": "#/components/schemas/CatalogueKey"
                        },
                        "field": {
                          "$ref": "#/components/schemas/CatalogueKey"
                        },
                        "eq": {
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "scope",
                        "set",
                        "field",
                        "eq"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "scope": {
                          "type": "string",
                          "enum": [
                            "activity",
                            "availability"
                          ],
                          "description": "Closed set: activity or availability. Selects the query grammar's fact owner."
                        },
                        "set": {
                          "$ref": "#/components/schemas/CatalogueKey"
                        },
                        "field": {
                          "$ref": "#/components/schemas/CatalogueKey"
                        },
                        "eq": {
                          "$ref": "#/components/schemas/CatalogueKey"
                        }
                      },
                      "required": [
                        "scope",
                        "set",
                        "field",
                        "eq"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "scope": {
                          "type": "string",
                          "enum": [
                            "activity",
                            "availability"
                          ],
                          "description": "Closed set: activity or availability. Selects the query grammar's fact owner."
                        },
                        "set": {
                          "$ref": "#/components/schemas/CatalogueKey"
                        },
                        "field": {
                          "$ref": "#/components/schemas/CatalogueKey"
                        },
                        "in": {
                          "type": "array",
                          "items": {
                            "$ref": "#/components/schemas/CatalogueKey"
                          },
                          "minItems": 1,
                          "maxItems": 100,
                          "description": "1–100 choice keys; 100 is a client ergonomics ceiling. Readers additionally enforce remaining 1000-slot and 50,000 expanded-bind capacity across all scenarios with typed invalid_query."
                        }
                      },
                      "required": [
                        "scope",
                        "set",
                        "field",
                        "in"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "scope": {
                          "type": "string",
                          "enum": [
                            "activity",
                            "availability"
                          ],
                          "description": "Closed set: activity or availability. Selects the query grammar's fact owner."
                        },
                        "set": {
                          "$ref": "#/components/schemas/CatalogueKey"
                        },
                        "field": {
                          "$ref": "#/components/schemas/CatalogueKey"
                        },
                        "eq": {
                          "type": "number"
                        }
                      },
                      "required": [
                        "scope",
                        "set",
                        "field",
                        "eq"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "scope": {
                          "type": "string",
                          "enum": [
                            "activity",
                            "availability"
                          ],
                          "description": "Closed set: activity or availability. Selects the query grammar's fact owner."
                        },
                        "set": {
                          "$ref": "#/components/schemas/CatalogueKey"
                        },
                        "field": {
                          "$ref": "#/components/schemas/CatalogueKey"
                        },
                        "in": {
                          "type": "array",
                          "items": {
                            "type": "number"
                          },
                          "minItems": 1,
                          "maxItems": 100,
                          "description": "1–100 finite numbers; 100 is a client ergonomics ceiling. Readers additionally enforce remaining 1000-slot and 50,000 expanded-bind capacity across all scenarios with typed invalid_query."
                        }
                      },
                      "required": [
                        "scope",
                        "set",
                        "field",
                        "in"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "scope": {
                          "type": "string",
                          "enum": [
                            "activity",
                            "availability"
                          ],
                          "description": "Closed set: activity or availability. Selects the query grammar's fact owner."
                        },
                        "set": {
                          "$ref": "#/components/schemas/CatalogueKey"
                        },
                        "field": {
                          "$ref": "#/components/schemas/CatalogueKey"
                        },
                        "from": {
                          "type": "number"
                        },
                        "to": {
                          "type": "number"
                        }
                      },
                      "required": [
                        "scope",
                        "set",
                        "field",
                        "from"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "scope": {
                          "type": "string",
                          "enum": [
                            "activity",
                            "availability"
                          ],
                          "description": "Closed set: activity or availability. Selects the query grammar's fact owner."
                        },
                        "set": {
                          "$ref": "#/components/schemas/CatalogueKey"
                        },
                        "field": {
                          "$ref": "#/components/schemas/CatalogueKey"
                        },
                        "to": {
                          "type": "number"
                        }
                      },
                      "required": [
                        "scope",
                        "set",
                        "field",
                        "to"
                      ],
                      "additionalProperties": false
                    }
                  ]
                }
              },
              "required": [
                "fact"
              ],
              "additionalProperties": false
            }
          ],
          "description": "Exactly one activity (id/categories), availability (event/variation/startDate), or fact entry. Exactly one field and operator per platform leaf; fact entries carry scope, set, field and one operator. References: eq UUID or in 1–100 UUIDs. Sets: containsAny/containsAll 1–100 UUIDs. Dates: inclusive from/to, at least one, years 0001–9999, from <= to. Booleans: eq. Choices: eq key or in 1–100 keys. Numbers: finite eq/in (1–100) or inclusive from/to. A from/to pair is one range operator. Fact set/field keys are bounded CatalogueKeys; readers resolve them against the operator's configured filterable fact sets and validate value-type agreement (invalid_query, 400 validation_failed). All 100-item ceilings are for client ergonomics; readers derive the effective allowance from 1000 total slots and 50,000 expanded binds, including predicate repetition across facet-count scenarios (typed invalid_query on overflow). No free-text filters."
        },
        "CatalogueKey": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128,
          "description": "Bounded opaque catalogue key (fact set, field, choice, facet or option)."
        },
        "FacetSelections": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "facetId": {
                "$ref": "#/components/schemas/CatalogueKey"
              },
              "match": {
                "type": "string",
                "enum": [
                  "any",
                  "all"
                ],
                "description": "Closed set: any or all, selecting OR or AND semantics."
              },
              "optionIds": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/CatalogueKey"
                },
                "maxItems": 100,
                "description": "At most 100 option keys per selection for client ergonomics. Readers further require selections to fit the 1000-slot and 50,000 expanded-bind budgets, counting every repetition of the configured option predicates across facet-count scenarios; 100 is not a guarantee of admission."
              }
            },
            "required": [
              "facetId",
              "match",
              "optionIds"
            ],
            "additionalProperties": false
          },
          "maxItems": 1000,
          "description": "Configured facet/option IDs with explicit any/all matching. The static ceiling of 1000 selections is a generous decoder allocation bound aligned with the reader's 1000-slot cap, not permission to select unconfigured facets. Readers require at most the facets the operator configured for this collection, reject unknown facets/options and enforce the aggregate 1000-slot and 50,000 expanded-bind budgets with typed invalid_query (400 validation_failed). GET and POST reject duplicate IDs and require collection context."
        }
      },
      "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"
        }
      }
    }
  }
}
```
