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

# Get an activity by handle

Resolve an operator-scoped handle with the same direct eligibility as UUID lookup. UUID-shaped handles are interpreted literally. Handles can change; retain the returned UUID for durable references. 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/by-handle/{handle}",
      "tags": [
        "activities"
      ]
    }
  ],
  "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/by-handle/{handle}": {
        "get": {
          "tags": [
            "activities"
          ],
          "operationId": "activities.getByHandle",
          "parameters": [
            {
              "name": "handle",
              "in": "path",
              "schema": {
                "$ref": "#/components/schemas/Handle"
              },
              "required": true,
              "description": "Public activity handle; see Handle."
            },
            {
              "name": "Buchung-Locale",
              "in": "header",
              "schema": {
                "$ref": "#/components/schemas/Language"
              },
              "required": false,
              "description": "On every storefront read, Buchung-Locale is optional: omission or a well-formed but unsupported value applies the operator's default locale; a supported explicit value selects that exact locale, Content-Language always reports the applied locale, and Buchung-Locale-Fallback reports the requested value only when unsupported; malformed values return 400 validation_failed. Only checkout.createHandoff requires a supported Buchung-Locale: absence or malformed values return 400 validation_failed, and well-formed unsupported values return 400 locale_not_supported with details naming the requested and supported locales. Start with site.get to discover the operator's locales. See Language for syntax and normalization."
            }
          ],
          "security": [
            {
              "channelKey": []
            }
          ],
          "responses": {
            "200": {
              "description": "Directly accessible activity with localized public catalogue data. Lists contain published activities; direct lookup also permits unlisted activities.",
              "content": {
                "application/json": {
                  "schema": {
                    "$ref": "#/components/schemas/Activity"
                  }
                }
              },
              "headers": {
                "Content-Language": {
                  "required": true,
                  "description": "Always reports the applied operator locale.",
                  "schema": {
                    "$ref": "#/components/schemas/Language"
                  }
                },
                "Buchung-Locale-Fallback": {
                  "required": false,
                  "description": "Present only for a well-formed but unsupported Buchung-Locale; echoes the requested value unchanged while the operator's default locale applies. Absent for omitted or supported values.",
                  "schema": {
                    "$ref": "#/components/schemas/Language"
                  }
                }
              }
            },
            "400": {
              "description": "ValidationFailed",
              "content": {
                "application/json": {
                  "schema": {
                    "$ref": "#/components/schemas/ValidationFailedEncoded"
                  }
                }
              }
            },
            "401": {
              "description": "Unauthorized",
              "content": {
                "application/json": {
                  "schema": {
                    "$ref": "#/components/schemas/UnauthorizedEncoded"
                  }
                }
              }
            },
            "403": {
              "description": "ForbiddenOrigin",
              "content": {
                "application/json": {
                  "schema": {
                    "$ref": "#/components/schemas/ForbiddenOriginEncoded"
                  }
                }
              }
            },
            "404": {
              "description": "NotFound",
              "content": {
                "application/json": {
                  "schema": {
                    "$ref": "#/components/schemas/NotFoundEncoded"
                  }
                }
              }
            },
            "429": {
              "description": "RateLimited",
              "content": {
                "application/json": {
                  "schema": {
                    "$ref": "#/components/schemas/RateLimitedEncoded"
                  }
                }
              }
            },
            "500": {
              "description": "Unexpected runtime failure. Configuration errors close the API mount with 404 not_found in the shared error envelope and an api_misconfigured log line (R23), never 500 internal_error.",
              "content": {
                "application/json": {
                  "schema": {
                    "$ref": "#/components/schemas/InternalErrorEncoded"
                  }
                }
              }
            },
            "503": {
              "description": "ServiceUnavailable | Exact counting exceeded the server's statement budget; retry later.",
              "content": {
                "application/json": {
                  "schema": {
                    "anyOf": [
                      {
                        "$ref": "#/components/schemas/ServiceUnavailableEncoded"
                      },
                      {
                        "$ref": "#/components/schemas/CountTimeoutEncoded"
                      }
                    ]
                  }
                }
              }
            }
          },
          "description": "Resolve an operator-scoped handle with the same direct eligibility as UUID lookup. UUID-shaped handles are interpreted literally. Handles can change; retain the returned UUID for durable references. On every storefront read, Buchung-Locale is optional: omission or a well-formed but unsupported value applies the operator's default locale; a supported explicit value selects that exact locale, Content-Language always reports the applied locale, and Buchung-Locale-Fallback reports the requested value only when unsupported; malformed values return 400 validation_failed.",
          "summary": "Get an activity by handle"
        }
      }
    },
    "security": [],
    "tags": [
      {
        "name": "activities"
      },
      {
        "name": "availabilities"
      },
      {
        "name": "bookingOptions"
      },
      {
        "name": "site"
      },
      {
        "name": "checkout"
      },
      {
        "name": "management"
      }
    ],
    "servers": [
      {
        "url": "https://api.buchungapp.com"
      }
    ],
    "components": {
      "schemas": {
        "UnauthorizedEncoded": {
          "type": "object",
          "properties": {
            "error": {
              "type": "object",
              "properties": {
                "code": {
                  "type": "string",
                  "enum": [
                    "unauthorized"
                  ],
                  "description": "Closed error discriminator for this HTTP error variant."
                },
                "message": {
                  "type": "string"
                },
                "doc_url": {
                  "type": "string",
                  "enum": [
                    "https://api.buchungapp.com/v1/docs#errors/unauthorized"
                  ],
                  "description": "Closed documentation URL corresponding to this error code."
                },
                "request_id": {
                  "type": "string"
                },
                "details": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErrorDetail"
                  }
                }
              },
              "required": [
                "code",
                "message",
                "doc_url",
                "request_id"
              ],
              "additionalProperties": false
            }
          },
          "required": [
            "error"
          ],
          "additionalProperties": false
        },
        "ErrorDetail": {
          "type": "object",
          "properties": {
            "path": {
              "type": "string"
            },
            "message": {
              "type": "string"
            }
          },
          "required": [
            "path",
            "message"
          ],
          "additionalProperties": false,
          "description": "A validation issue at a request field path."
        },
        "Language": {
          "type": "string",
          "pattern": "^[A-Za-z]{2,3}(-[A-Za-z0-9]{1,8}){0,3}$",
          "maxLength": 35,
          "description": "Matched case-insensitively against the operator's supported locale codes and normalized to the stored code. On every storefront read, Buchung-Locale is optional: omission or a well-formed but unsupported value applies the operator's default locale; a supported explicit value selects that exact locale, Content-Language always reports the applied locale, and Buchung-Locale-Fallback reports the requested value only when unsupported; malformed values return 400 validation_failed. Only checkout.createHandoff requires a supported Buchung-Locale: absence or malformed values return 400 validation_failed, and well-formed unsupported values return 400 locale_not_supported with details naming the requested and supported locales. Start with site.get to discover the operator's locales. Accepted locale codes form a closed set per operator, discovered from Site.locales; syntactically valid codes do not imply support. Management uses explicit locales without fallback; unsupported locales return 400 validation_failed."
        },
        "Id": {
          "type": "string",
          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
          "format": "uuid",
          "description": "Stable UUID of a public resource."
        },
        "NotFoundEncoded": {
          "type": "object",
          "properties": {
            "error": {
              "type": "object",
              "properties": {
                "code": {
                  "type": "string",
                  "enum": [
                    "not_found"
                  ],
                  "description": "Closed error discriminator for this HTTP error variant."
                },
                "message": {
                  "type": "string"
                },
                "doc_url": {
                  "type": "string",
                  "enum": [
                    "https://api.buchungapp.com/v1/docs#errors/not_found"
                  ],
                  "description": "Closed documentation URL corresponding to this error code."
                },
                "request_id": {
                  "type": "string"
                },
                "details": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErrorDetail"
                  }
                }
              },
              "required": [
                "code",
                "message",
                "doc_url",
                "request_id"
              ],
              "additionalProperties": false
            }
          },
          "required": [
            "error"
          ],
          "additionalProperties": false
        },
        "InternalErrorEncoded": {
          "type": "object",
          "properties": {
            "error": {
              "type": "object",
              "properties": {
                "code": {
                  "type": "string",
                  "enum": [
                    "internal_error"
                  ],
                  "description": "Closed error discriminator for this HTTP error variant."
                },
                "message": {
                  "type": "string"
                },
                "doc_url": {
                  "type": "string",
                  "enum": [
                    "https://api.buchungapp.com/v1/docs#errors/internal_error"
                  ],
                  "description": "Closed documentation URL corresponding to this error code."
                },
                "request_id": {
                  "type": "string"
                },
                "details": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErrorDetail"
                  }
                }
              },
              "required": [
                "code",
                "message",
                "doc_url",
                "request_id"
              ],
              "additionalProperties": false
            }
          },
          "required": [
            "error"
          ],
          "additionalProperties": false
        },
        "ServiceUnavailableEncoded": {
          "type": "object",
          "properties": {
            "error": {
              "type": "object",
              "properties": {
                "code": {
                  "type": "string",
                  "enum": [
                    "service_unavailable"
                  ],
                  "description": "Closed error discriminator for this HTTP error variant."
                },
                "message": {
                  "type": "string"
                },
                "doc_url": {
                  "type": "string",
                  "enum": [
                    "https://api.buchungapp.com/v1/docs#errors/service_unavailable"
                  ],
                  "description": "Closed documentation URL corresponding to this error code."
                },
                "request_id": {
                  "type": "string"
                },
                "details": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErrorDetail"
                  }
                }
              },
              "required": [
                "code",
                "message",
                "doc_url",
                "request_id"
              ],
              "additionalProperties": false
            }
          },
          "required": [
            "error"
          ],
          "additionalProperties": false
        },
        "RateLimitedEncoded": {
          "type": "object",
          "properties": {
            "error": {
              "type": "object",
              "properties": {
                "code": {
                  "type": "string",
                  "enum": [
                    "rate_limited"
                  ],
                  "description": "Closed error discriminator for this HTTP error variant."
                },
                "message": {
                  "type": "string"
                },
                "doc_url": {
                  "type": "string",
                  "enum": [
                    "https://api.buchungapp.com/v1/docs#errors/rate_limited"
                  ],
                  "description": "Closed documentation URL corresponding to this error code."
                },
                "request_id": {
                  "type": "string"
                },
                "details": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErrorDetail"
                  }
                }
              },
              "required": [
                "code",
                "message",
                "doc_url",
                "request_id"
              ],
              "additionalProperties": false
            }
          },
          "required": [
            "error"
          ],
          "additionalProperties": false
        },
        "ValidationFailedEncoded": {
          "type": "object",
          "properties": {
            "error": {
              "type": "object",
              "properties": {
                "code": {
                  "type": "string",
                  "enum": [
                    "validation_failed"
                  ],
                  "description": "Closed error discriminator for this HTTP error variant."
                },
                "message": {
                  "type": "string"
                },
                "doc_url": {
                  "type": "string",
                  "enum": [
                    "https://api.buchungapp.com/v1/docs#errors/validation_failed"
                  ],
                  "description": "Closed documentation URL corresponding to this error code."
                },
                "request_id": {
                  "type": "string"
                },
                "details": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErrorDetail"
                  }
                }
              },
              "required": [
                "code",
                "message",
                "doc_url",
                "request_id"
              ],
              "additionalProperties": false
            }
          },
          "required": [
            "error"
          ],
          "additionalProperties": false
        },
        "PublicUrl": {
          "type": "string",
          "format": "uri",
          "pattern": "^[Hh][Tt][Tt][Pp][Ss]?:\\/\\/\\S+$",
          "description": "Absolute public HTTP(S) URL; data and javascript URLs are not allowed."
        },
        "Instant": {
          "type": "string",
          "pattern": "^\\d{4}-\\d{2}-\\d{2}T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|[+-](?:[01]\\d|2[0-3]):[0-5]\\d)$",
          "format": "date-time",
          "description": "ISO 8601 absolute instant with explicit UTC offset (including Z). Render using the resource's documented display timezone; the serialized offset need not equal that zone."
        },
        "CustomNumber": {
          "type": "number",
          "minimum": -1000000000000000,
          "maximum": 1000000000000000,
          "description": "Finite custom number with |value| <= 1e15."
        },
        "CountTimeoutEncoded": {
          "type": "object",
          "properties": {
            "error": {
              "type": "object",
              "properties": {
                "code": {
                  "type": "string",
                  "enum": [
                    "count_timeout"
                  ],
                  "description": "Closed error discriminator for this HTTP error variant."
                },
                "message": {
                  "type": "string"
                },
                "doc_url": {
                  "type": "string",
                  "enum": [
                    "https://api.buchungapp.com/v1/docs#errors/count_timeout"
                  ],
                  "description": "Closed documentation URL corresponding to this error code."
                },
                "request_id": {
                  "type": "string"
                },
                "details": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErrorDetail"
                  }
                }
              },
              "required": [
                "code",
                "message",
                "doc_url",
                "request_id"
              ],
              "additionalProperties": false
            }
          },
          "required": [
            "error"
          ],
          "additionalProperties": false
        },
        "ForbiddenOriginEncoded": {
          "type": "object",
          "properties": {
            "error": {
              "type": "object",
              "properties": {
                "code": {
                  "type": "string",
                  "enum": [
                    "forbidden_origin"
                  ],
                  "description": "Closed error discriminator for this HTTP error variant."
                },
                "message": {
                  "type": "string"
                },
                "doc_url": {
                  "type": "string",
                  "enum": [
                    "https://api.buchungapp.com/v1/docs#errors/forbidden_origin"
                  ],
                  "description": "Closed documentation URL corresponding to this error code."
                },
                "request_id": {
                  "type": "string"
                },
                "details": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErrorDetail"
                  }
                }
              },
              "required": [
                "code",
                "message",
                "doc_url",
                "request_id"
              ],
              "additionalProperties": false
            }
          },
          "required": [
            "error"
          ],
          "additionalProperties": false
        },
        "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."
        },
        "TrustSignal": {
          "type": "object",
          "properties": {
            "id": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Id"
                }
              ],
              "description": "Unique per operator signal; readers mint this id per operator."
            },
            "kind": {
              "anyOf": [
                {
                  "type": "string",
                  "enum": [
                    "accreditation",
                    "membership",
                    "guarantee",
                    "payment_method",
                    "award",
                    "review_score"
                  ]
                },
                {
                  "type": "string"
                }
              ],
              "description": "Trust evidence kind; only review_score carries a snapshot. Known values: accreditation, membership, guarantee, payment_method, award, review_score. Open vocabulary: new strings may appear; clients must tolerate unknown values and provide a rendering fallback."
            },
            "source": {
              "anyOf": [
                {
                  "type": "string",
                  "enum": [
                    "library",
                    "authored",
                    "integration"
                  ]
                },
                {
                  "type": "string"
                }
              ],
              "description": "Provenance of trust evidence. Known values: library, authored, integration. Open vocabulary: new strings may appear; clients must tolerate unknown values and provide a rendering fallback."
            },
            "title": {
              "type": "string"
            },
            "url": {
              "$ref": "#/components/schemas/PublicUrl"
            },
            "logo": {
              "$ref": "#/components/schemas/Media"
            },
            "logoUrl": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/PublicUrl"
                }
              ],
              "description": "Interim public logo URL for readers that cannot yet produce the Media projection. Prefer logo when available."
            },
            "renderingShape": {
              "anyOf": [
                {
                  "type": "string",
                  "enum": [
                    "badge",
                    "rating",
                    "widget"
                  ]
                },
                {
                  "type": "string"
                }
              ],
              "description": "Theme presentation hint independent of kind. Known values: badge, rating, widget. Open vocabulary: new strings may appear; clients must tolerate unknown values and provide a rendering fallback."
            },
            "surfaces": {
              "type": "array",
              "items": {
                "anyOf": [
                  {
                    "type": "string",
                    "enum": [
                      "footer",
                      "activity_card",
                      "activity_page",
                      "checkout",
                      "confirmation_email"
                    ]
                  },
                  {
                    "type": "string"
                  }
                ],
                "description": "Theme presentation surface independent of operator-owned scope; ignore surfaces the client does not render. Known values: footer, activity_card, activity_page, checkout, confirmation_email. Open vocabulary: new strings may appear; clients must tolerate unknown values and provide a rendering fallback."
              },
              "description": "Allowed theme presentation surfaces, independent of operator-owned scope. Known values: footer, activity_card, activity_page, checkout, confirmation_email. New strings may appear; a frontend may ignore any surface it does not render."
            },
            "validUntil": {
              "$ref": "#/components/schemas/CalendarDate"
            },
            "snapshot": {
              "type": "object",
              "properties": {
                "value": {
                  "type": "number"
                },
                "max": {
                  "type": "number"
                },
                "count": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 9007199254740991
                },
                "fetchedAt": {
                  "$ref": "#/components/schemas/Instant"
                },
                "sourceUrl": {
                  "$ref": "#/components/schemas/PublicUrl"
                },
                "attribution": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "required": [
                "value",
                "max",
                "count",
                "fetchedAt",
                "sourceUrl",
                "attribution"
              ],
              "additionalProperties": false,
              "description": "Required exactly for review_score: aggregate measurement, provider link, fetch time and required provider attribution. Review texts never appear."
            }
          },
          "required": [
            "id",
            "kind",
            "source",
            "title",
            "renderingShape",
            "surfaces"
          ],
          "additionalProperties": false,
          "allOf": [
            {
              "anyOf": [
                {
                  "properties": {
                    "kind": {
                      "type": "string",
                      "not": {
                        "const": "review_score"
                      }
                    }
                  },
                  "not": {
                    "required": [
                      "snapshot"
                    ]
                  }
                },
                {
                  "properties": {
                    "kind": {
                      "const": "review_score"
                    }
                  },
                  "required": [
                    "snapshot"
                  ]
                }
              ],
              "description": "Operator-level trust evidence: scope is operator truth, resolved server-side; surfaces are theme presentation. Library signals link platform-curated reference data, authored signals carry operator content, integration signals carry connector evidence without credentials. renderingShape is a presentation hint independent of kind. Review scores carry aggregate snapshots and attribution; assertions carry no snapshot. Review texts never appear. Expired signals and snapshots stale beyond policy are omitted by the server."
            }
          ]
        },
        "CalendarDate": {
          "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."
        },
        "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."
        },
        "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."
        },
        "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."
        },
        "Activity": {
          "type": "object",
          "properties": {
            "locale": {
              "$ref": "#/components/schemas/Language"
            },
            "id": {
              "$ref": "#/components/schemas/Id"
            },
            "handle": {
              "$ref": "#/components/schemas/Handle"
            },
            "title": {
              "type": "string",
              "description": "Activity identity."
            },
            "description": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Projection of the platform-declared presentation definition _bg:meta. A theme or operator may leave it unused; a frontend may ignore it."
            },
            "html": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Projection of the platform-declared presentation definition _bg:content, which may be null: rich text cleaned with the storefront read policy for operator rich text. It keeps headings, lists, links (with the editor's link classes), tables and text alignment; scripts, event handlers, embeds, images and unsafe link targets are removed. A theme or operator may leave it unused; a frontend may ignore it."
            },
            "bookingUnitNounForms": {
              "$ref": "#/components/schemas/BookingUnitNounForms"
            },
            "locations": {
              "type": "array",
              "items": {
                "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"
                  }
                },
                "required": [
                  "id",
                  "kind",
                  "name"
                ],
                "additionalProperties": false
              },
              "description": "Distinct places of this activity's published availabilities, not an activity default or override. May be empty. Availability 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."
            },
            "categories": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "id": {
                    "$ref": "#/components/schemas/Id"
                  },
                  "handle": {
                    "$ref": "#/components/schemas/Handle"
                  },
                  "title": {
                    "type": "string"
                  }
                },
                "required": [
                  "id",
                  "handle",
                  "title"
                ],
                "additionalProperties": false
              }
            },
            "usps": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "description": "Projection of the platform-declared presentation definition _bg:usps. A theme or operator may leave it unused; it may be empty for themed operators, and a frontend may ignore it."
            },
            "trustSignals": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/TrustSignal"
              },
              "description": "Signals whose operator, category or explicit activity scope includes this activity, ordered by position. Scope is operator truth resolved server-side; surfaces are theme presentation, and a frontend may ignore any surface it does not render."
            },
            "media": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/Media"
              }
            },
            "facts": {
              "type": "object",
              "additionalProperties": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/Fact"
                }
              }
            },
            "customFacts": {
              "type": "object",
              "patternProperties": {
                "^[a-z][a-z0-9-]{1,63}$": {
                  "$ref": "#/components/schemas/PublicCustomFact"
                }
              },
              "additionalProperties": false,
              "description": "Public custom facts keyed by definition key; an empty object when none apply. Lists and direct lookup project the same shape, and these values count toward the 4 MiB per-page custom-fact budget."
            }
          },
          "required": [
            "locale",
            "id",
            "handle",
            "title",
            "description",
            "html",
            "bookingUnitNounForms",
            "locations",
            "categories",
            "usps",
            "trustSignals",
            "media",
            "facts",
            "customFacts"
          ],
          "additionalProperties": false,
          "description": "Directly accessible activity with localized public catalogue data. Lists contain published activities; direct lookup also permits unlisted activities."
        },
        "PublicCustomFact": {
          "anyOf": [
            {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "enum": [
                    "text"
                  ]
                },
                "value": {
                  "type": "string"
                },
                "locale": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Language"
                    }
                  ],
                  "description": "Present only when the definition is localized: the locale of the translation returned. The value resolves as a whole from the request locale, then the operator default locale, so a locale differing from the response locale marks a fallback."
                }
              },
              "required": [
                "type",
                "value"
              ],
              "additionalProperties": false,
              "description": "Text value, falling back from the request locale to the operator default locale when localized."
            },
            {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "enum": [
                    "text_list"
                  ]
                },
                "value": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "locale": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Language"
                    }
                  ],
                  "description": "Present only when the definition is localized: the locale of the translation returned. The value resolves as a whole from the request locale, then the operator default locale, so a locale differing from the response locale marks a fallback."
                }
              },
              "required": [
                "type",
                "value"
              ],
              "additionalProperties": false,
              "description": "Ordered list of strings, falling back as a whole from the request locale to the operator default locale when localized."
            },
            {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "enum": [
                    "boolean"
                  ]
                },
                "value": {
                  "type": "boolean"
                }
              },
              "required": [
                "type",
                "value"
              ],
              "additionalProperties": false,
              "description": "Invariant boolean; the definition is never localized, so the fact carries no locale."
            },
            {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "enum": [
                    "number"
                  ]
                },
                "value": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/CustomNumber"
                    }
                  ],
                  "description": "Finite number with |value| <= 1e15 and at most 6 decimals."
                }
              },
              "required": [
                "type",
                "value"
              ],
              "additionalProperties": false,
              "description": "Invariant number; the definition is never localized, so the fact carries no locale."
            },
            {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "enum": [
                    "choice"
                  ]
                },
                "value": {
                  "type": "object",
                  "properties": {
                    "key": {
                      "type": "string"
                    },
                    "label": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "key",
                    "label"
                  ],
                  "additionalProperties": false
                }
              },
              "required": [
                "type",
                "value"
              ],
              "additionalProperties": false,
              "description": "Invariant choice; the definition is never localized, so the fact carries no locale. The label falls back from the request locale to the operator default locale to the key."
            },
            {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "enum": [
                    "json"
                  ]
                },
                "value": {
                  "description": "Any JSON value, including null. A value shaped like a choice or a pdf document is still json."
                },
                "locale": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Language"
                    }
                  ],
                  "description": "Present only when the definition is localized: the locale of the translation returned. The value resolves as a whole from the request locale, then the operator default locale, so a locale differing from the response locale marks a fallback."
                }
              },
              "required": [
                "type",
                "value"
              ],
              "additionalProperties": false,
              "description": "JSON value, falling back as a whole from the request locale to the operator default locale when localized."
            },
            {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "enum": [
                    "pdf"
                  ]
                },
                "value": {
                  "$ref": "#/components/schemas/PublicCustomDocument"
                },
                "locale": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Language"
                    }
                  ],
                  "description": "Present only when the definition is localized: always the request locale. pdf values resolve the exact requested locale and never fall back; without a document in that locale the fact is omitted."
                }
              },
              "required": [
                "type",
                "value"
              ],
              "additionalProperties": false,
              "description": "Published document, resolved for the exact request locale only when localized."
            }
          ],
          "description": "Public value of an exposed, non-retired custom definition, tagged by the definition type so clients need no discovery read to interpret it. type is a closed discriminator: text, text_list, boolean, number, choice, json or pdf; each determines its value shape. text, text_list and json localize with fallback from the request locale to the operator default locale; pdf localizes to the exact request locale only; boolean, number and choice are invariant and carry no locale. A json value keeps type json even when shaped like a choice or a pdf document. Definitions without a resolvable value are omitted: no translation after any applicable fallback, an invalid stored value, or an unpublished or deleted document. A stored json null projects as { \"type\": \"json\", \"value\": null }."
        },
        "PublicCustomDocument": {
          "type": "object",
          "properties": {
            "url": {
              "$ref": "#/components/schemas/PublicUrl"
            },
            "mimeType": {
              "type": "string",
              "minLength": 1
            },
            "size": {
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991
            },
            "fileName": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "url",
            "mimeType",
            "size",
            "fileName"
          ],
          "additionalProperties": false,
          "description": "Public download of the published document a pdf custom fact references: url, mimeType, size and fileName describe the current published file. url is the storefront's own document route, which answers a 302 to a short-lived signed URL of the document's current file only while the document is published; mimeType is application/pdf, size the current file's byte size and fileName the display name with .pdf. Unpublished or deleted documents are never projected."
        }
      },
      "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"
        }
      }
    }
  }
}
```
