> 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 site configuration

Retrieve operator identity, brand, locations, legal links and supported locales for the authenticated channel. Start with site.get to discover the operator's locales. The response states the applied locale in locale and all supported locales in locales, with the default marked by isDefault and named by defaultLocale. 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/site",
      "tags": [
        "site"
      ]
    }
  ],
  "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/site": {
        "get": {
          "tags": [
            "site"
          ],
          "operationId": "site.get",
          "parameters": [
            {
              "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": "Operator identity, brand, locations, legal links and locale configuration. locale is the applied locale: the operator's default when Buchung-Locale is absent or well-formed but unsupported, otherwise the normalized supported request locale. locales lists all supported codes with the default marked by isDefault; defaultLocale names that default.",
              "content": {
                "application/json": {
                  "schema": {
                    "$ref": "#/components/schemas/Site"
                  }
                }
              },
              "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"
                  }
                }
              }
            },
            "429": {
              "description": "RateLimited",
              "content": {
                "application/json": {
                  "schema": {
                    "$ref": "#/components/schemas/RateLimitedEncoded"
                  }
                }
              }
            },
            "500": {
              "description": "Unexpected runtime failure. Configuration errors close the API mount with 404 not_found in the shared error envelope and an api_misconfigured log line (R23), never 500 internal_error.",
              "content": {
                "application/json": {
                  "schema": {
                    "$ref": "#/components/schemas/InternalErrorEncoded"
                  }
                }
              }
            },
            "503": {
              "description": "ServiceUnavailable | Exact counting exceeded the server's statement budget; retry later.",
              "content": {
                "application/json": {
                  "schema": {
                    "anyOf": [
                      {
                        "$ref": "#/components/schemas/ServiceUnavailableEncoded"
                      },
                      {
                        "$ref": "#/components/schemas/CountTimeoutEncoded"
                      }
                    ]
                  }
                }
              }
            }
          },
          "description": "Retrieve operator identity, brand, locations, legal links and supported locales for the authenticated channel. Start with site.get to discover the operator's locales. The response states the applied locale in locale and all supported locales in locales, with the default marked by isDefault and named by defaultLocale. 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 site configuration"
        }
      }
    },
    "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."
        },
        "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."
        },
        "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
        },
        "Currency": {
          "type": "string",
          "pattern": "^[A-Z]{3}$",
          "description": "ISO 4217 currency code."
        },
        "Site": {
          "type": "object",
          "properties": {
            "locale": {
              "$ref": "#/components/schemas/Language"
            },
            "trustSignals": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/TrustSignal"
              },
              "description": "Operator-scope trust signals, 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."
            },
            "operator": {
              "type": "object",
              "properties": {
                "id": {
                  "$ref": "#/components/schemas/Id"
                },
                "name": {
                  "type": "string"
                },
                "legalName": {
                  "type": "string"
                }
              },
              "required": [
                "id",
                "name",
                "legalName"
              ],
              "additionalProperties": false
            },
            "brand": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string"
                },
                "slogan": {
                  "type": "string"
                },
                "shortDescription": {
                  "type": "string"
                },
                "logo": {
                  "$ref": "#/components/schemas/Media"
                },
                "squareLogo": {
                  "$ref": "#/components/schemas/Media"
                },
                "logoOnDark": {
                  "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"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "url",
                    "srcSet",
                    "position",
                    "type"
                  ],
                  "additionalProperties": false,
                  "description": "The logo for surfaces with a dark background. The operator's own logo for dark backgrounds when it is set and is a public, ready image, else the logo; absent when neither exists."
                },
                "colors": {
                  "type": "object",
                  "properties": {
                    "primary": {
                      "type": "string",
                      "pattern": "^#[0-9a-fA-F]{6}$"
                    },
                    "secondary": {
                      "type": "string",
                      "pattern": "^#[0-9a-fA-F]{6}$"
                    }
                  },
                  "required": [
                    "primary",
                    "secondary"
                  ],
                  "additionalProperties": false
                },
                "socials": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "name": {
                        "type": "string"
                      },
                      "url": {
                        "$ref": "#/components/schemas/PublicUrl"
                      }
                    },
                    "required": [
                      "name",
                      "url"
                    ],
                    "additionalProperties": false
                  }
                }
              },
              "required": [
                "name",
                "socials"
              ],
              "additionalProperties": false
            },
            "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"
                  },
                  "address": {
                    "$ref": "#/components/schemas/SiteAddress"
                  },
                  "coordinates": {
                    "$ref": "#/components/schemas/Coordinates"
                  },
                  "timezone": {
                    "$ref": "#/components/schemas/LocationTimezone"
                  },
                  "channels": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "type": {
                          "anyOf": [
                            {
                              "type": "string",
                              "enum": [
                                "email",
                                "phone",
                                "whatsapp",
                                "url"
                              ]
                            },
                            {
                              "type": "string"
                            }
                          ],
                          "description": "Contact channel; ignore channels the client cannot render. Known values: email, phone, whatsapp, url. Open vocabulary: new strings may appear; clients must tolerate unknown values and provide a rendering fallback."
                        },
                        "value": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "type",
                        "value"
                      ],
                      "additionalProperties": false
                    }
                  }
                },
                "required": [
                  "id",
                  "kind",
                  "name",
                  "channels"
                ],
                "additionalProperties": false,
                "allOf": [
                  {
                    "anyOf": [
                      {
                        "required": [
                          "address"
                        ]
                      },
                      {
                        "required": [
                          "coordinates"
                        ]
                      }
                    ],
                    "description": "A location must carry an address or coordinates (or both)."
                  }
                ]
              },
              "description": "Locations carry an address or coordinates (or both). Locations are operator truth, with stable ids. A harbour, beach or meeting point is an activity_site named by the operator; legal and contact roles are not exposed here."
            },
            "legal": {
              "type": "object",
              "properties": {
                "privacyUrl": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/PublicUrl"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "termsUrl": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/PublicUrl"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "contactUrl": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/PublicUrl"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "privacyUrl",
                "termsUrl",
                "contactUrl"
              ],
              "additionalProperties": false
            },
            "locales": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "code": {
                    "$ref": "#/components/schemas/Language"
                  },
                  "isDefault": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "code",
                  "isDefault"
                ],
                "additionalProperties": false
              }
            },
            "defaultLocale": {
              "$ref": "#/components/schemas/Language"
            },
            "timeZone": {
              "type": "string"
            },
            "currency": {
              "$ref": "#/components/schemas/Currency"
            }
          },
          "required": [
            "locale",
            "trustSignals",
            "operator",
            "brand",
            "locations",
            "legal",
            "locales",
            "defaultLocale",
            "timeZone",
            "currency"
          ],
          "additionalProperties": false,
          "description": "Operator identity, brand, locations, legal links and locale configuration. locale is the applied locale: the operator's default when Buchung-Locale is absent or well-formed but unsupported, otherwise the normalized supported request locale. locales lists all supported codes with the default marked by isDefault; defaultLocale names that default."
        },
        "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."
        },
        "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."
        }
      },
      "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"
        }
      }
    }
  }
}
```
