{
    "openapi": "3.1.0",
    "info": {
        "title": "Ushba API",
        "version": "v1",
        "summary": "Your products, availability, bookings and events, for your own systems.",
        "description": "The Ushba API lets an operator's own systems (a website back-end, a kiosk, a PMS) read and change its data.\n\n**Base URL** `https://{api host}/api/supplier/v1`. HTTPS and JSON (UTF-8) only.\n\n**Authentication** `Authorization: Bearer {key}.{secret}`. The account and the mode (live or test) come from the key, never from a parameter. Create keys in the panel under Developers.\n\n**Versioning** The major version is in the path. Inside v1 only additive changes are made: new operations, new optional request members, new response members, new values of enums marked `x-extensible-enum`, new event types. Ignore members and event types you do not know. A deprecated operation answers with `Deprecation` and `Sunset` headers at least 12 months ahead.\n\n**Naming** Paths are plural kebab-case nouns, path ids are UUIDs, body members camelCase, query parameters snake_case, enums as the domain writes them (`CONFIRMED`, `ON_HOLD`).\n\n**Envelope** `{ \"data\": … }`; lists `{ \"data\": [], \"meta\": { \"nextCursor\", \"prevCursor\", \"perPage\", \"hasMore\" } }`. Creates answer 201 with `Location`, deletes 204. Errors are RFC 9457 problem details (`application/problem+json`) with a stable `code`.\n\n**Pagination** Cursor only: `limit` 1–100 (default 25), `cursor` opaque, `Link: <…>; rel=\"next\"` while `hasMore`. `sort` accepts `created_at`, `-created_at` and what an operation documents. No total counts.\n\n**Filtering** Flat snake_case parameters, multi-value as `status[]=A&status[]=B` or `status=A,B`, ranges as `<field>_from` / `<field>_to`, incremental sync with `updated_since` and `sort=updated_at`. Unknown parameters are refused with `invalid_parameter`.\n\n**Time** `…At` members are RFC 3339 UTC with `Z`; `local…` members are wall-clock times of the product's time zone, without offset.\n\n**Money** `{ \"minor\": 12000, \"currency\": \"GEL\", \"formatted\": \"₾120.00\" }`: integer minor units of the currency's ISO 4217 exponent (2 for GEL, USD and EUR, 0 for JPY and KRW, 3 for KWD and BHD). Never do float maths with money.\n\n**Idempotency** Send `Idempotency-Key` (1–64 of `A-Za-z0-9_-:.`) on every change you may retry; operations marked `x-idempotency: required` refuse to run without one. A retry with the same key and body gets the first answer back with `Idempotent-Replayed: true`. Keys are kept 24 hours.\n\n**Rate limits** Per key, per minute: reads 300, writes 60 (test keys 120 and 24). Every answer carries `RateLimit-Limit`, `RateLimit-Remaining`, `RateLimit-Reset` and `RateLimit-Policy`; over the limit you get 429 with `Retry-After`.\n\n**Request id** Every answer carries `X-Request-Id`; quote it to support. **Mode** Every authenticated answer carries `X-Api-Mode: live|test`. **Conditional GET** `ETag` and `If-None-Match` give 304.\n",
        "contact": {
            "name": "Ushba developer support"
        }
    },
    "servers": [
        {
            "url": "https://api.example.com/api/supplier/v1",
            "description": "Ushba"
        }
    ],
    "security": [
        {
            "apiKey": []
        }
    ],
    "tags": [
        {
            "name": "Meta",
            "description": "The API itself, your key and what it may do."
        },
        {
            "name": "Products",
            "description": "Your catalogue."
        },
        {
            "name": "Availability",
            "description": "Calendar and departures, priced in your key's price list."
        },
        {
            "name": "Bookings",
            "description": "Hold and confirm bookings from your own system."
        },
        {
            "name": "Events",
            "description": "Everything that happened, for polling when you cannot receive webhooks."
        },
        {
            "name": "Webhooks",
            "description": "Endpoints that receive events, and their deliveries."
        },
        {
            "name": "Quote requests",
            "description": "Requests for a price on products sold on request, and your answers."
        },
        {
            "name": "Prices",
            "description": "Your price lists, the published price of each departure, and price pushes."
        },
        {
            "name": "Reports",
            "description": "Sales, occupancy and forecast figures computed by the same engine as the panel."
        },
        {
            "name": "Waivers",
            "description": "Signed waivers and forms, their integrity and each booking's waiver status."
        }
    ],
    "components": {
        "securitySchemes": {
            "apiKey": {
                "type": "http",
                "scheme": "bearer",
                "bearerFormat": "{key}.{secret}",
                "description": "An API key from the panel, sent as `Authorization: Bearer {key}.{secret}`."
            }
        },
        "parameters": {
            "Limit": {
                "name": "limit",
                "in": "query",
                "description": "How many items a page holds, 1–100.",
                "schema": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 100,
                    "default": 25
                },
                "example": 25
            },
            "Cursor": {
                "name": "cursor",
                "in": "query",
                "description": "The `nextCursor` or `prevCursor` of a previous page.",
                "schema": {
                    "type": "string"
                },
                "example": "eyJ2IjoxLCJzIjoiLWNyZWF0ZWRfYXQifQ"
            },
            "DryRun": {
                "name": "dry_run",
                "in": "query",
                "description": "`true` runs the operation and rolls it back: nothing is stored, no event fires; the answer is the would-be resource with `dryRun: true`.",
                "schema": {
                    "type": "boolean"
                },
                "example": true
            },
            "IdempotencyKey": {
                "name": "Idempotency-Key",
                "in": "header",
                "description": "Makes a retry safe; see Idempotency.",
                "schema": {
                    "type": "string",
                    "pattern": "^[A-Za-z0-9_\\-:.]{1,64}$"
                },
                "example": "order-8812-hold"
            },
            "Uuid": {
                "name": "uuid",
                "in": "path",
                "required": true,
                "description": "The resource's id.",
                "schema": {
                    "$ref": "#/components/schemas/Uuid"
                },
                "example": "9b1d4e7a-2c3f-4d5e-8a6b-0c1d2e3f4a5b"
            },
            "OptionUuid": {
                "name": "optionUuid",
                "in": "path",
                "required": true,
                "description": "The option's id.",
                "schema": {
                    "$ref": "#/components/schemas/Uuid"
                },
                "example": "5e6f7a8b-9c0d-4e1f-a2b3-c4d5e6f7a8b9"
            }
        },
        "schemas": {
            "Uuid": {
                "type": "string",
                "format": "uuid",
                "description": "A public id.",
                "example": "9b1d4e7a-2c3f-4d5e-8a6b-0c1d2e3f4a5b"
            },
            "UtcDateTime": {
                "type": "string",
                "format": "date-time",
                "description": "An instant, RFC 3339 in UTC with `Z`.",
                "example": "2026-12-01T08:00:00Z"
            },
            "LocalDate": {
                "type": "string",
                "format": "date",
                "description": "A date in the product's time zone.",
                "example": "2026-12-01"
            },
            "LocalDateTime": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}$",
                "description": "A wall-clock time in the product's time zone, without offset.",
                "example": "2026-12-01T09:30:00"
            },
            "Money": {
                "type": "object",
                "description": "An amount in integer minor units of its currency.",
                "required": [
                    "minor",
                    "currency",
                    "formatted"
                ],
                "properties": {
                    "minor": {
                        "type": "integer",
                        "description": "Integer minor units (cents for USD",
                        "yen": 12000
                    },
                    "currency": {
                        "type": "string",
                        "pattern": "^[A-Z]{3,4}$",
                        "description": "ISO 4217 code.",
                        "example": "GEL"
                    },
                    "formatted": {
                        "type": "string",
                        "description": "For display only.",
                        "example": "₾120.00"
                    }
                }
            },
            "PageMeta": {
                "type": "object",
                "description": "Where a list page sits.",
                "required": [
                    "nextCursor",
                    "prevCursor",
                    "perPage",
                    "hasMore"
                ],
                "properties": {
                    "nextCursor": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "The cursor of the next page.",
                        "example": "eyJ2IjoxfQ"
                    },
                    "prevCursor": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "The cursor of the previous page.",
                        "example": null
                    },
                    "perPage": {
                        "type": "integer",
                        "description": "The page size.",
                        "example": 25
                    },
                    "hasMore": {
                        "type": "boolean",
                        "description": "Whether a next page exists.",
                        "example": true
                    }
                }
            },
            "Problem": {
                "type": "object",
                "description": "RFC 9457 problem details.",
                "required": [
                    "type",
                    "title",
                    "status",
                    "detail",
                    "instance",
                    "code",
                    "message",
                    "requestId"
                ],
                "additionalProperties": true,
                "properties": {
                    "type": {
                        "type": "string",
                        "format": "uri",
                        "description": "The code's entry in the error catalogue.",
                        "example": "https://example.com/developers/errors#validation_failed"
                    },
                    "title": {
                        "type": "string",
                        "description": "The code's fixed English title.",
                        "example": "Validation failed"
                    },
                    "status": {
                        "type": "integer",
                        "description": "The HTTP status.",
                        "example": 422
                    },
                    "detail": {
                        "type": "string",
                        "description": "What went wrong",
                        "in": "The request has 2 invalid fields."
                    },
                    "instance": {
                        "type": "string",
                        "description": "`urn:request:` and the request id.",
                        "example": "urn:request:01JD3XB0V7M2A8K4R6T9W1Y3Z5"
                    },
                    "code": {
                        "type": "string",
                        "description": "The stable problem code.",
                        "example": "validation_failed"
                    },
                    "message": {
                        "type": "string",
                        "description": "The same as `detail`.",
                        "example": "The request has 2 invalid fields."
                    },
                    "requestId": {
                        "type": "string",
                        "description": "The `X-Request-Id` of the call.",
                        "example": "01JD3XB0V7M2A8K4R6T9W1Y3Z5"
                    },
                    "errors": {
                        "type": "object",
                        "description": "Field path => messages (validation_failed).",
                        "additionalProperties": {
                            "type": "array",
                            "items": {
                                "type": "string"
                            }
                        },
                        "example": {
                            "units.0.quantity": [
                                "Must be at least 1."
                            ]
                        }
                    }
                }
            },
            "WebhookEvent": {
                "type": "object",
                "description": "An event, as webhooks send it and `GET /events` lists it. Payloads are thin; fetch the resource for its details.",
                "required": [
                    "id",
                    "type",
                    "apiVersion",
                    "createdAt",
                    "livemode",
                    "supplierId",
                    "data"
                ],
                "properties": {
                    "id": {
                        "type": "string",
                        "pattern": "^evt_[0-9A-Z]{26}$",
                        "description": "The event id; de-duplicate on the `webhook-id` header instead.",
                        "example": "evt_01JD3XB0V7M2A8K4R6T9W1Y3Z5"
                    },
                    "type": {
                        "type": "string",
                        "description": "The event type.",
                        "example": "booking.confirmed",
                        "x-extensible-enum": true
                    },
                    "apiVersion": {
                        "type": "string",
                        "const": "v1",
                        "description": "The API version of the payload.",
                        "example": "v1"
                    },
                    "createdAt": {
                        "$ref": "#/components/schemas/UtcDateTime"
                    },
                    "livemode": {
                        "type": "boolean",
                        "description": "False for events of test keys and test bookings.",
                        "example": true
                    },
                    "supplierId": {
                        "$ref": "#/components/schemas/Uuid"
                    },
                    "data": {
                        "type": "object",
                        "description": "The thin payload of the type.",
                        "additionalProperties": true,
                        "example": {
                            "bookingId": "3f2a8c1e-6d4b-4a7e-9c2d-1b5e8f0a7c3d"
                        }
                    }
                }
            },
            "BookingEventData": {
                "type": "object",
                "description": "The `data` of booking.* events.",
                "required": [
                    "bookingId",
                    "code",
                    "status",
                    "productId",
                    "optionId"
                ],
                "properties": {
                    "bookingId": {
                        "$ref": "#/components/schemas/Uuid"
                    },
                    "code": {
                        "type": "string",
                        "description": "The booking reference.",
                        "example": "UB261201K7M2Q"
                    },
                    "status": {
                        "type": "string",
                        "description": "The new status.",
                        "example": "CONFIRMED",
                        "x-extensible-enum": true
                    },
                    "productId": {
                        "$ref": "#/components/schemas/Uuid"
                    },
                    "optionId": {
                        "$ref": "#/components/schemas/Uuid"
                    },
                    "availabilityId": {
                        "$ref": "#/components/schemas/Uuid"
                    },
                    "resellerReference": {
                        "type": "string",
                        "description": "The seller's own reference.",
                        "example": "ORDER-8812"
                    },
                    "changed": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        },
                        "description": "What changed (booking.updated).",
                        "example": [
                            "contact"
                        ]
                    },
                    "partial": {
                        "type": "boolean",
                        "description": "Only some travellers were cancelled (booking.cancelled).",
                        "example": false
                    },
                    "fromPending": {
                        "type": "boolean",
                        "description": "You accepted an on-request booking (booking.confirmed).",
                        "example": false
                    },
                    "test": {
                        "type": "boolean",
                        "description": "Present on test events.",
                        "example": true
                    }
                }
            },
            "RangeEventData": {
                "type": "object",
                "description": "The `data` of availability.updated and price.updated.",
                "required": [
                    "productId",
                    "optionId"
                ],
                "properties": {
                    "productId": {
                        "$ref": "#/components/schemas/Uuid"
                    },
                    "optionId": {
                        "$ref": "#/components/schemas/Uuid"
                    },
                    "from": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date",
                        "description": "First local date affected.",
                        "example": "2026-12-01"
                    },
                    "to": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date",
                        "description": "Last local date affected.",
                        "example": "2026-12-10"
                    },
                    "availabilityIds": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Uuid"
                        },
                        "description": "The departures affected",
                        "when": [
                            "c1d2e3f4-a5b6-4c7d-8e9f-0a1b2c3d4e5f"
                        ]
                    },
                    "test": {
                        "type": "boolean",
                        "description": "Present on test events.",
                        "example": true
                    }
                }
            },
            "ProductEventData": {
                "type": "object",
                "description": "The `data` of product.* events.",
                "required": [
                    "productId",
                    "status"
                ],
                "properties": {
                    "productId": {
                        "$ref": "#/components/schemas/Uuid"
                    },
                    "status": {
                        "type": "string",
                        "description": "The product's status.",
                        "example": "published"
                    },
                    "changed": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        },
                        "description": "Aspects that changed.",
                        "example": [
                            "content",
                            "media"
                        ]
                    },
                    "locales": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        },
                        "description": "Languages that changed.",
                        "example": [
                            "en"
                        ]
                    },
                    "test": {
                        "type": "boolean",
                        "description": "Present on test events.",
                        "example": true
                    }
                }
            },
            "PaymentEventData": {
                "type": "object",
                "description": "The `data` of payment.* events.",
                "required": [
                    "bookingId",
                    "status"
                ],
                "properties": {
                    "paymentId": {
                        "$ref": "#/components/schemas/Uuid"
                    },
                    "bookingId": {
                        "$ref": "#/components/schemas/Uuid"
                    },
                    "status": {
                        "type": "string",
                        "description": "succeeded",
                        "failed": "succeeded"
                    },
                    "refundId": {
                        "$ref": "#/components/schemas/Uuid"
                    },
                    "test": {
                        "type": "boolean",
                        "description": "Present on test events.",
                        "example": true
                    }
                }
            },
            "CustomerEventData": {
                "type": "object",
                "description": "The `data` of customer.* events.",
                "required": [
                    "customerId"
                ],
                "additionalProperties": true,
                "properties": {
                    "customerId": {
                        "$ref": "#/components/schemas/Uuid"
                    }
                }
            },
            "ReviewEventData": {
                "type": "object",
                "description": "The `data` of review.* and nps.answered events.",
                "additionalProperties": true,
                "properties": {
                    "reviewId": {
                        "$ref": "#/components/schemas/Uuid"
                    },
                    "rating": {
                        "type": "integer",
                        "description": "The rating (not personal data).",
                        "example": 5
                    }
                }
            },
            "WaiverEventData": {
                "type": "object",
                "description": "The `data` of waiver.* events.",
                "additionalProperties": true,
                "properties": {
                    "waiverId": {
                        "$ref": "#/components/schemas/Uuid"
                    },
                    "bookingId": {
                        "$ref": "#/components/schemas/Uuid"
                    }
                }
            },
            "TicketEventData": {
                "type": "object",
                "description": "The `data` of ticket.* events.",
                "additionalProperties": true,
                "properties": {
                    "ticketId": {
                        "$ref": "#/components/schemas/Uuid"
                    },
                    "bookingId": {
                        "$ref": "#/components/schemas/Uuid"
                    }
                }
            },
            "OperationsEventData": {
                "type": "object",
                "description": "The `data` of assignment.*, departure.* and incident.* events.",
                "additionalProperties": true,
                "properties": {
                    "availabilityId": {
                        "$ref": "#/components/schemas/Uuid"
                    }
                }
            },
            "BillingEventData": {
                "type": "object",
                "description": "The `data` of invoice.* and payout.* events.",
                "additionalProperties": true,
                "properties": {
                    "status": {
                        "type": "string",
                        "description": "The new status.",
                        "example": "paid"
                    }
                }
            },
            "PingEventData": {
                "type": "object",
                "description": "The `data` of ping (empty, or `test` on test sends).",
                "properties": {
                    "test": {
                        "type": "boolean",
                        "description": "Present on test events.",
                        "example": true
                    }
                }
            },
            "ApiRoot": {
                "type": "object",
                "description": "What the API is.",
                "properties": {
                    "name": {
                        "type": "string",
                        "description": "The API's name.",
                        "example": "Ushba API"
                    },
                    "version": {
                        "type": "string",
                        "description": "The major version.",
                        "example": "v1"
                    },
                    "documentation": {
                        "type": "string",
                        "description": "The developer portal.",
                        "example": "https://example.com/developers",
                        "format": "uri"
                    },
                    "openapi": {
                        "type": "string",
                        "description": "This document.",
                        "example": "https://api.example.com/api/supplier/v1/openapi.json",
                        "format": "uri"
                    },
                    "status": {
                        "type": "string",
                        "description": "ok when the API answers.",
                        "example": "ok"
                    },
                    "time": {
                        "$ref": "#/components/schemas/UtcDateTime"
                    }
                },
                "required": [
                    "name",
                    "version",
                    "documentation",
                    "openapi",
                    "status",
                    "time"
                ]
            },
            "Me": {
                "type": "object",
                "description": "The key and the account it works in.",
                "properties": {
                    "key": {
                        "type": "object",
                        "description": "The key.",
                        "properties": {
                            "id": {
                                "type": "string",
                                "description": "The public key id.",
                                "example": "ush_test_Ab12Cd34Ef56Gh78Ij90Kl12"
                            },
                            "label": {
                                "type": "string",
                                "description": "Its name in the panel.",
                                "example": "Website back-end"
                            },
                            "mode": {
                                "type": "string",
                                "description": "live or test.",
                                "example": "test",
                                "enum": [
                                    "live",
                                    "test"
                                ]
                            },
                            "scopes": {
                                "type": "array",
                                "description": "What it may do.",
                                "example": [
                                    "products:read"
                                ],
                                "items": {
                                    "type": "string"
                                }
                            },
                            "expiresAt": {
                                "oneOf": [
                                    {
                                        "$ref": "#/components/schemas/UtcDateTime"
                                    },
                                    {
                                        "type": "null"
                                    }
                                ]
                            },
                            "rateLimit": {
                                "type": "object",
                                "description": "Calls a minute.",
                                "properties": {
                                    "read": {
                                        "type": "integer",
                                        "description": "Reads a minute.",
                                        "example": 120
                                    },
                                    "write": {
                                        "type": "integer",
                                        "description": "Writes a minute.",
                                        "example": 24
                                    }
                                },
                                "required": [
                                    "read",
                                    "write"
                                ]
                            }
                        },
                        "required": [
                            "id",
                            "label",
                            "mode",
                            "scopes",
                            "expiresAt",
                            "rateLimit"
                        ]
                    },
                    "supplier": {
                        "type": "object",
                        "description": "Your account.",
                        "properties": {
                            "id": {
                                "$ref": "#/components/schemas/Uuid"
                            },
                            "name": {
                                "type": "string",
                                "description": "Your trading name.",
                                "example": "Aurora Tours"
                            },
                            "slug": {
                                "type": [
                                    "string",
                                    "null"
                                ],
                                "description": "Your public slug.",
                                "example": "aurora-tours"
                            },
                            "status": {
                                "type": "string",
                                "description": "Account status.",
                                "example": "approved"
                            },
                            "currency": {
                                "type": "string",
                                "description": "Your pricing currency.",
                                "example": "GEL"
                            },
                            "currencyPrecision": {
                                "type": "integer",
                                "description": "Decimal places of your currency (ISO 4217).",
                                "example": 2
                            },
                            "timeZone": {
                                "type": "string",
                                "description": "Your time zone.",
                                "example": "Asia/Tbilisi"
                            },
                            "defaultLocale": {
                                "type": "string",
                                "description": "Your default language.",
                                "example": "en"
                            },
                            "locales": {
                                "type": "array",
                                "description": "Languages content is served in.",
                                "example": [
                                    "en",
                                    "fa",
                                    "ar",
                                    "ru",
                                    "zh-Hans",
                                    "hi",
                                    "ko"
                                ],
                                "items": {
                                    "type": "string"
                                }
                            }
                        },
                        "required": [
                            "id",
                            "name",
                            "slug",
                            "status",
                            "currency",
                            "currencyPrecision",
                            "timeZone",
                            "defaultLocale",
                            "locales"
                        ]
                    },
                    "modules": {
                        "type": "array",
                        "description": "Modules switched on for you.",
                        "example": [
                            "publicapi"
                        ],
                        "items": {
                            "type": "string"
                        }
                    }
                },
                "required": [
                    "key",
                    "supplier",
                    "modules"
                ]
            },
            "EventType": {
                "type": "object",
                "description": "An event type you can subscribe to.",
                "properties": {
                    "type": {
                        "type": "string",
                        "description": "The type.",
                        "example": "booking.confirmed"
                    },
                    "group": {
                        "type": "string",
                        "description": "Its section.",
                        "example": "bookings"
                    },
                    "description": {
                        "type": "string",
                        "description": "When it is sent.",
                        "example": "A booking was confirmed."
                    },
                    "coalesced": {
                        "type": "boolean",
                        "description": "Bursts are gathered into one event.",
                        "example": false
                    }
                },
                "required": [
                    "type",
                    "group",
                    "description",
                    "coalesced"
                ]
            },
            "Scope": {
                "type": "object",
                "description": "A permission a key can hold.",
                "properties": {
                    "scope": {
                        "type": "string",
                        "description": "resource:action.",
                        "example": "bookings:read"
                    },
                    "description": {
                        "type": "string",
                        "description": "What it allows.",
                        "example": "Read bookings with guest contact details"
                    }
                },
                "required": [
                    "scope",
                    "description"
                ]
            },
            "ProductType": {
                "type": "object",
                "description": "A product archetype and what creating one asks for.",
                "properties": {
                    "code": {
                        "type": "string",
                        "description": "The type code.",
                        "example": "walking_tour"
                    },
                    "name": {
                        "type": "string",
                        "description": "Its name.",
                        "example": "Walking tour"
                    },
                    "family": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Its family.",
                        "example": "tours"
                    },
                    "description": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "What it is.",
                        "example": "A guided walk."
                    },
                    "defaults": {
                        "type": "object",
                        "description": "Defaults applied on create.",
                        "additionalProperties": true,
                        "example": {
                            "pricingPer": "UNIT"
                        }
                    },
                    "capabilities": {
                        "type": "object",
                        "description": "What it supports.",
                        "additionalProperties": true,
                        "example": {
                            "timeslots": true
                        }
                    },
                    "wizardSteps": {
                        "type": "array",
                        "description": "The creation steps.",
                        "example": [],
                        "items": []
                    },
                    "detailSchema": {
                        "description": "The detail sections it asks for, with their fields."
                    }
                },
                "required": [
                    "code",
                    "name",
                    "family",
                    "description",
                    "defaults",
                    "capabilities",
                    "wizardSteps",
                    "detailSchema"
                ]
            },
            "ProductSummary": {
                "type": "object",
                "description": "A product.",
                "properties": {
                    "id": {
                        "$ref": "#/components/schemas/Uuid"
                    },
                    "uuid": {
                        "$ref": "#/components/schemas/Uuid",
                        "description": "Same as id (kept for older clients).",
                        "deprecated": true
                    },
                    "slug": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Public slug.",
                        "example": "old-tbilisi-walk"
                    },
                    "type": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Type code.",
                        "example": "walking_tour"
                    },
                    "status": {
                        "type": "string",
                        "description": "draft, pending_review, published or archived.",
                        "example": "published",
                        "x-extensible-enum": true
                    },
                    "title": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Title in the requested language.",
                        "example": "Old Tbilisi walk"
                    },
                    "summary": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Short description.",
                        "example": "Two hours through the old town."
                    },
                    "internalName": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Your own name for it.",
                        "example": "OTW"
                    },
                    "reference": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Your own reference.",
                        "example": "P-100"
                    },
                    "timeZone": {
                        "type": "string",
                        "description": "The product's time zone; local times are in it.",
                        "example": "Asia/Tbilisi"
                    },
                    "currency": {
                        "type": "string",
                        "description": "Its pricing currency.",
                        "example": "GEL"
                    },
                    "defaultLocale": {
                        "type": "string",
                        "description": "Its source language.",
                        "example": "en"
                    },
                    "availabilityType": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "START_TIME or OPENING_HOURS.",
                        "example": "START_TIME"
                    },
                    "pricingPer": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "UNIT or BOOKING.",
                        "example": "UNIT"
                    },
                    "scarcityThreshold": {
                        "type": [
                            "integer",
                            "null"
                        ],
                        "description": "\"N left\" shows at or below this.",
                        "example": 5
                    },
                    "fromPrice": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/Money"
                            },
                            {
                                "type": "null"
                            }
                        ]
                    },
                    "optionCount": {
                        "type": "integer",
                        "description": "How many options.",
                        "example": 1
                    },
                    "updatedAt": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/UtcDateTime"
                            },
                            {
                                "type": "null"
                            }
                        ]
                    },
                    "createdAt": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/UtcDateTime"
                            },
                            {
                                "type": "null"
                            }
                        ]
                    },
                    "options": {
                        "type": "array",
                        "description": "Options (include=options).",
                        "example": [],
                        "items": {
                            "type": "object",
                            "description": "An option.",
                            "properties": {
                                "id": {
                                    "$ref": "#/components/schemas/Uuid"
                                },
                                "title": {
                                    "type": [
                                        "string",
                                        "null"
                                    ],
                                    "description": "Title.",
                                    "example": "Morning"
                                },
                                "enabled": {
                                    "type": "boolean",
                                    "description": "On sale.",
                                    "example": true
                                }
                            },
                            "required": [
                                "id",
                                "title",
                                "enabled"
                            ]
                        }
                    },
                    "translations": {
                        "type": "object",
                        "description": "Wording per language (include=translations).",
                        "additionalProperties": true
                    }
                },
                "required": [
                    "id",
                    "uuid",
                    "slug",
                    "type",
                    "status",
                    "title",
                    "summary",
                    "internalName",
                    "reference",
                    "timeZone",
                    "currency",
                    "defaultLocale",
                    "availabilityType",
                    "pricingPer",
                    "scarcityThreshold",
                    "fromPrice",
                    "optionCount",
                    "updatedAt",
                    "createdAt"
                ]
            },
            "Product": {
                "type": "object",
                "description": "A product with its options and units.",
                "properties": {
                    "dryRun": {
                        "type": "boolean",
                        "description": "Present, and true, on a dry run (`?dry_run=true`); nothing was stored.",
                        "example": true
                    },
                    "id": {
                        "$ref": "#/components/schemas/Uuid"
                    },
                    "uuid": {
                        "$ref": "#/components/schemas/Uuid",
                        "description": "Same as id (kept for older clients).",
                        "deprecated": true
                    },
                    "slug": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Public slug.",
                        "example": "old-tbilisi-walk"
                    },
                    "type": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Type code.",
                        "example": "walking_tour"
                    },
                    "status": {
                        "type": "string",
                        "description": "draft, pending_review, published or archived.",
                        "example": "published",
                        "x-extensible-enum": true
                    },
                    "title": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Title in the requested language.",
                        "example": "Old Tbilisi walk"
                    },
                    "summary": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Short description.",
                        "example": "Two hours through the old town."
                    },
                    "internalName": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Your own name for it.",
                        "example": "OTW"
                    },
                    "reference": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Your own reference.",
                        "example": "P-100"
                    },
                    "timeZone": {
                        "type": "string",
                        "description": "The product's time zone; local times are in it.",
                        "example": "Asia/Tbilisi"
                    },
                    "currency": {
                        "type": "string",
                        "description": "Its pricing currency.",
                        "example": "GEL"
                    },
                    "defaultLocale": {
                        "type": "string",
                        "description": "Its source language.",
                        "example": "en"
                    },
                    "availabilityType": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "START_TIME or OPENING_HOURS.",
                        "example": "START_TIME"
                    },
                    "pricingPer": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "UNIT or BOOKING.",
                        "example": "UNIT"
                    },
                    "scarcityThreshold": {
                        "type": [
                            "integer",
                            "null"
                        ],
                        "description": "\"N left\" shows at or below this.",
                        "example": 5
                    },
                    "fromPrice": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/Money"
                            },
                            {
                                "type": "null"
                            }
                        ]
                    },
                    "optionCount": {
                        "type": "integer",
                        "description": "How many options.",
                        "example": 1
                    },
                    "updatedAt": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/UtcDateTime"
                            },
                            {
                                "type": "null"
                            }
                        ]
                    },
                    "createdAt": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/UtcDateTime"
                            },
                            {
                                "type": "null"
                            }
                        ]
                    },
                    "options": {
                        "type": "array",
                        "description": "Options.",
                        "example": [],
                        "items": {
                            "type": "object",
                            "description": "An option of a product.",
                            "properties": {
                                "id": {
                                    "$ref": "#/components/schemas/Uuid"
                                },
                                "uuid": {
                                    "$ref": "#/components/schemas/Uuid",
                                    "deprecated": true,
                                    "description": "Same as id."
                                },
                                "title": {
                                    "type": [
                                        "string",
                                        "null"
                                    ],
                                    "description": "Title.",
                                    "example": "Morning"
                                },
                                "enabled": {
                                    "type": "boolean",
                                    "description": "On sale.",
                                    "example": true
                                },
                                "details": {
                                    "type": "object",
                                    "description": "Detail sections of the option.",
                                    "additionalProperties": true
                                },
                                "startTimes": {
                                    "type": "array",
                                    "description": "Start times (HH:MM).",
                                    "example": [
                                        "09:30"
                                    ],
                                    "items": []
                                },
                                "range": {
                                    "type": [
                                        "object",
                                        "null"
                                    ],
                                    "description": "How a rental runs from one date to another.",
                                    "additionalProperties": true
                                },
                                "slotCount": {
                                    "type": "integer",
                                    "description": "Departures it has.",
                                    "example": 30
                                },
                                "questions": {
                                    "type": "array",
                                    "description": "Checkout questions.",
                                    "example": [],
                                    "items": []
                                },
                                "itinerary": {
                                    "type": "array",
                                    "description": "Itinerary stops.",
                                    "example": [],
                                    "items": []
                                },
                                "units": {
                                    "type": "array",
                                    "description": "Ticket types.",
                                    "example": [],
                                    "items": {
                                        "type": "object",
                                        "description": "A ticket type.",
                                        "properties": {
                                            "id": {
                                                "$ref": "#/components/schemas/Uuid"
                                            },
                                            "uuid": {
                                                "$ref": "#/components/schemas/Uuid",
                                                "deprecated": true,
                                                "description": "Same as id."
                                            },
                                            "type": {
                                                "type": "string",
                                                "description": "adult, child, …",
                                                "example": "adult",
                                                "x-extensible-enum": true
                                            },
                                            "title": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "description": "Its name.",
                                                "example": "Adult"
                                            },
                                            "label": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "description": "Same as title.",
                                                "example": "Adult"
                                            },
                                            "minAge": {
                                                "type": [
                                                    "integer",
                                                    "null"
                                                ],
                                                "description": "Youngest age.",
                                                "example": 18
                                            },
                                            "maxAge": {
                                                "type": [
                                                    "integer",
                                                    "null"
                                                ],
                                                "description": "Oldest age.",
                                                "example": 99
                                            },
                                            "enabled": {
                                                "type": "boolean",
                                                "description": "Sold.",
                                                "example": true
                                            }
                                        },
                                        "required": [
                                            "id",
                                            "uuid",
                                            "type",
                                            "title",
                                            "label",
                                            "minAge",
                                            "maxAge",
                                            "enabled"
                                        ]
                                    }
                                }
                            },
                            "required": [
                                "id",
                                "uuid",
                                "title",
                                "enabled",
                                "details",
                                "startTimes",
                                "range",
                                "slotCount",
                                "questions",
                                "itinerary",
                                "units"
                            ]
                        }
                    },
                    "translations": {
                        "type": "object",
                        "description": "Wording per language (include=translations).",
                        "additionalProperties": true
                    },
                    "description": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Long description.",
                        "example": "We start at Freedom Square…"
                    },
                    "details": {
                        "type": "object",
                        "description": "Detail sections of the product (amounts in major units).",
                        "additionalProperties": true
                    }
                },
                "required": [
                    "id",
                    "uuid",
                    "slug",
                    "type",
                    "status",
                    "title",
                    "summary",
                    "internalName",
                    "reference",
                    "timeZone",
                    "currency",
                    "defaultLocale",
                    "availabilityType",
                    "pricingPer",
                    "scarcityThreshold",
                    "fromPrice",
                    "optionCount",
                    "updatedAt",
                    "createdAt",
                    "description",
                    "details",
                    "options"
                ]
            },
            "ProductCreated": {
                "type": "object",
                "description": "The product created, and what it still needs before it can be published.",
                "properties": {
                    "dryRun": {
                        "type": "boolean",
                        "description": "Present, and true, on a dry run (`?dry_run=true`); nothing was stored.",
                        "example": true
                    },
                    "id": {
                        "$ref": "#/components/schemas/Uuid"
                    },
                    "uuid": {
                        "$ref": "#/components/schemas/Uuid",
                        "description": "Same as id (kept for older clients).",
                        "deprecated": true
                    },
                    "slug": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Public slug.",
                        "example": "old-tbilisi-walk"
                    },
                    "type": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Type code.",
                        "example": "walking_tour"
                    },
                    "status": {
                        "type": "string",
                        "description": "draft, pending_review, published or archived.",
                        "example": "published",
                        "x-extensible-enum": true
                    },
                    "title": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Title in the requested language.",
                        "example": "Old Tbilisi walk"
                    },
                    "summary": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Short description.",
                        "example": "Two hours through the old town."
                    },
                    "internalName": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Your own name for it.",
                        "example": "OTW"
                    },
                    "reference": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Your own reference.",
                        "example": "P-100"
                    },
                    "timeZone": {
                        "type": "string",
                        "description": "The product's time zone; local times are in it.",
                        "example": "Asia/Tbilisi"
                    },
                    "currency": {
                        "type": "string",
                        "description": "Its pricing currency.",
                        "example": "GEL"
                    },
                    "defaultLocale": {
                        "type": "string",
                        "description": "Its source language.",
                        "example": "en"
                    },
                    "availabilityType": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "START_TIME or OPENING_HOURS.",
                        "example": "START_TIME"
                    },
                    "pricingPer": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "UNIT or BOOKING.",
                        "example": "UNIT"
                    },
                    "scarcityThreshold": {
                        "type": [
                            "integer",
                            "null"
                        ],
                        "description": "\"N left\" shows at or below this.",
                        "example": 5
                    },
                    "fromPrice": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/Money"
                            },
                            {
                                "type": "null"
                            }
                        ]
                    },
                    "optionCount": {
                        "type": "integer",
                        "description": "How many options.",
                        "example": 1
                    },
                    "updatedAt": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/UtcDateTime"
                            },
                            {
                                "type": "null"
                            }
                        ]
                    },
                    "createdAt": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/UtcDateTime"
                            },
                            {
                                "type": "null"
                            }
                        ]
                    },
                    "options": {
                        "type": "array",
                        "description": "Options (include=options).",
                        "example": [],
                        "items": {
                            "type": "object",
                            "description": "An option.",
                            "properties": {
                                "id": {
                                    "$ref": "#/components/schemas/Uuid"
                                },
                                "title": {
                                    "type": [
                                        "string",
                                        "null"
                                    ],
                                    "description": "Title.",
                                    "example": "Morning"
                                },
                                "enabled": {
                                    "type": "boolean",
                                    "description": "On sale.",
                                    "example": true
                                }
                            },
                            "required": [
                                "id",
                                "title",
                                "enabled"
                            ]
                        }
                    },
                    "translations": {
                        "type": "object",
                        "description": "Wording per language (include=translations).",
                        "additionalProperties": true
                    },
                    "missing": {
                        "type": "array",
                        "description": "What it still needs; empty when complete.",
                        "example": [],
                        "items": []
                    }
                },
                "required": [
                    "id",
                    "uuid",
                    "slug",
                    "type",
                    "status",
                    "title",
                    "summary",
                    "internalName",
                    "reference",
                    "timeZone",
                    "currency",
                    "defaultLocale",
                    "availabilityType",
                    "pricingPer",
                    "scarcityThreshold",
                    "fromPrice",
                    "optionCount",
                    "updatedAt",
                    "createdAt",
                    "missing"
                ]
            },
            "ProductCopied": {
                "type": "object",
                "description": "The copy, and what it still needs.",
                "properties": {
                    "dryRun": {
                        "type": "boolean",
                        "description": "Present, and true, on a dry run (`?dry_run=true`); nothing was stored.",
                        "example": true
                    },
                    "id": {
                        "$ref": "#/components/schemas/Uuid"
                    },
                    "uuid": {
                        "$ref": "#/components/schemas/Uuid",
                        "description": "Same as id (kept for older clients).",
                        "deprecated": true
                    },
                    "slug": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Public slug.",
                        "example": "old-tbilisi-walk"
                    },
                    "type": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Type code.",
                        "example": "walking_tour"
                    },
                    "status": {
                        "type": "string",
                        "description": "draft, pending_review, published or archived.",
                        "example": "published",
                        "x-extensible-enum": true
                    },
                    "title": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Title in the requested language.",
                        "example": "Old Tbilisi walk"
                    },
                    "summary": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Short description.",
                        "example": "Two hours through the old town."
                    },
                    "internalName": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Your own name for it.",
                        "example": "OTW"
                    },
                    "reference": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Your own reference.",
                        "example": "P-100"
                    },
                    "timeZone": {
                        "type": "string",
                        "description": "The product's time zone; local times are in it.",
                        "example": "Asia/Tbilisi"
                    },
                    "currency": {
                        "type": "string",
                        "description": "Its pricing currency.",
                        "example": "GEL"
                    },
                    "defaultLocale": {
                        "type": "string",
                        "description": "Its source language.",
                        "example": "en"
                    },
                    "availabilityType": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "START_TIME or OPENING_HOURS.",
                        "example": "START_TIME"
                    },
                    "pricingPer": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "UNIT or BOOKING.",
                        "example": "UNIT"
                    },
                    "scarcityThreshold": {
                        "type": [
                            "integer",
                            "null"
                        ],
                        "description": "\"N left\" shows at or below this.",
                        "example": 5
                    },
                    "fromPrice": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/Money"
                            },
                            {
                                "type": "null"
                            }
                        ]
                    },
                    "optionCount": {
                        "type": "integer",
                        "description": "How many options.",
                        "example": 1
                    },
                    "updatedAt": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/UtcDateTime"
                            },
                            {
                                "type": "null"
                            }
                        ]
                    },
                    "createdAt": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/UtcDateTime"
                            },
                            {
                                "type": "null"
                            }
                        ]
                    },
                    "options": {
                        "type": "array",
                        "description": "Options.",
                        "example": [],
                        "items": {
                            "type": "object",
                            "description": "An option of a product.",
                            "properties": {
                                "id": {
                                    "$ref": "#/components/schemas/Uuid"
                                },
                                "uuid": {
                                    "$ref": "#/components/schemas/Uuid",
                                    "deprecated": true,
                                    "description": "Same as id."
                                },
                                "title": {
                                    "type": [
                                        "string",
                                        "null"
                                    ],
                                    "description": "Title.",
                                    "example": "Morning"
                                },
                                "enabled": {
                                    "type": "boolean",
                                    "description": "On sale.",
                                    "example": true
                                },
                                "details": {
                                    "type": "object",
                                    "description": "Detail sections of the option.",
                                    "additionalProperties": true
                                },
                                "startTimes": {
                                    "type": "array",
                                    "description": "Start times (HH:MM).",
                                    "example": [
                                        "09:30"
                                    ],
                                    "items": []
                                },
                                "range": {
                                    "type": [
                                        "object",
                                        "null"
                                    ],
                                    "description": "How a rental runs from one date to another.",
                                    "additionalProperties": true
                                },
                                "slotCount": {
                                    "type": "integer",
                                    "description": "Departures it has.",
                                    "example": 30
                                },
                                "questions": {
                                    "type": "array",
                                    "description": "Checkout questions.",
                                    "example": [],
                                    "items": []
                                },
                                "itinerary": {
                                    "type": "array",
                                    "description": "Itinerary stops.",
                                    "example": [],
                                    "items": []
                                },
                                "units": {
                                    "type": "array",
                                    "description": "Ticket types.",
                                    "example": [],
                                    "items": {
                                        "type": "object",
                                        "description": "A ticket type.",
                                        "properties": {
                                            "id": {
                                                "$ref": "#/components/schemas/Uuid"
                                            },
                                            "uuid": {
                                                "$ref": "#/components/schemas/Uuid",
                                                "deprecated": true,
                                                "description": "Same as id."
                                            },
                                            "type": {
                                                "type": "string",
                                                "description": "adult, child, …",
                                                "example": "adult",
                                                "x-extensible-enum": true
                                            },
                                            "title": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "description": "Its name.",
                                                "example": "Adult"
                                            },
                                            "label": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "description": "Same as title.",
                                                "example": "Adult"
                                            },
                                            "minAge": {
                                                "type": [
                                                    "integer",
                                                    "null"
                                                ],
                                                "description": "Youngest age.",
                                                "example": 18
                                            },
                                            "maxAge": {
                                                "type": [
                                                    "integer",
                                                    "null"
                                                ],
                                                "description": "Oldest age.",
                                                "example": 99
                                            },
                                            "enabled": {
                                                "type": "boolean",
                                                "description": "Sold.",
                                                "example": true
                                            }
                                        },
                                        "required": [
                                            "id",
                                            "uuid",
                                            "type",
                                            "title",
                                            "label",
                                            "minAge",
                                            "maxAge",
                                            "enabled"
                                        ]
                                    }
                                }
                            },
                            "required": [
                                "id",
                                "uuid",
                                "title",
                                "enabled",
                                "details",
                                "startTimes",
                                "range",
                                "slotCount",
                                "questions",
                                "itinerary",
                                "units"
                            ]
                        }
                    },
                    "translations": {
                        "type": "object",
                        "description": "Wording per language (include=translations).",
                        "additionalProperties": true
                    },
                    "description": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Long description.",
                        "example": "We start at Freedom Square…"
                    },
                    "details": {
                        "type": "object",
                        "description": "Detail sections of the product (amounts in major units).",
                        "additionalProperties": true
                    },
                    "missing": {
                        "type": "array",
                        "description": "What it still needs.",
                        "example": [],
                        "items": []
                    }
                },
                "required": [
                    "id",
                    "uuid",
                    "slug",
                    "type",
                    "status",
                    "title",
                    "summary",
                    "internalName",
                    "reference",
                    "timeZone",
                    "currency",
                    "defaultLocale",
                    "availabilityType",
                    "pricingPer",
                    "scarcityThreshold",
                    "fromPrice",
                    "optionCount",
                    "updatedAt",
                    "createdAt",
                    "description",
                    "details",
                    "options",
                    "missing"
                ]
            },
            "AvailabilityPushed": {
                "type": "object",
                "description": "What a push touched.",
                "properties": {
                    "optionId": {
                        "$ref": "#/components/schemas/Uuid"
                    },
                    "slotsTouched": {
                        "type": "integer",
                        "description": "Departures created or refreshed.",
                        "example": 31
                    },
                    "from": {
                        "$ref": "#/components/schemas/LocalDate"
                    },
                    "to": {
                        "$ref": "#/components/schemas/LocalDate"
                    },
                    "dryRun": {
                        "type": "boolean",
                        "description": "Present on dry runs.",
                        "example": true
                    }
                },
                "required": [
                    "optionId",
                    "slotsTouched",
                    "from",
                    "to"
                ]
            },
            "CalendarDay": {
                "type": "object",
                "description": "One local day.",
                "properties": {
                    "localDate": {
                        "$ref": "#/components/schemas/LocalDate"
                    },
                    "available": {
                        "type": "boolean",
                        "description": "Bookable for one.",
                        "example": true
                    },
                    "status": {
                        "type": "string",
                        "description": "AVAILABLE, LIMITED, SOLD_OUT, FREESALE or CLOSED.",
                        "example": "AVAILABLE",
                        "x-extensible-enum": true
                    },
                    "vacancies": {
                        "type": [
                            "integer",
                            "null"
                        ],
                        "description": "Places left; null when unlimited.",
                        "example": 12
                    },
                    "capacity": {
                        "type": [
                            "integer",
                            "null"
                        ],
                        "description": "Places in all.",
                        "example": 20
                    },
                    "pricingFrom": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/Money"
                            },
                            {
                                "type": "null"
                            }
                        ]
                    }
                },
                "required": [
                    "localDate",
                    "available",
                    "status",
                    "vacancies",
                    "capacity",
                    "pricingFrom"
                ]
            },
            "UnitPrice": {
                "type": "object",
                "description": "A ticket type's price on a departure.",
                "properties": {
                    "unitId": {
                        "$ref": "#/components/schemas/Uuid"
                    },
                    "unitType": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "adult, child, …",
                        "example": "adult"
                    },
                    "retail": {
                        "$ref": "#/components/schemas/Money"
                    },
                    "original": {
                        "$ref": "#/components/schemas/Money"
                    }
                },
                "required": [
                    "unitId",
                    "unitType",
                    "retail",
                    "original"
                ]
            },
            "Slot": {
                "type": "object",
                "description": "A departure (OCTO availability).",
                "properties": {
                    "id": {
                        "$ref": "#/components/schemas/Uuid"
                    },
                    "localDateTimeStart": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/LocalDateTime"
                            },
                            {
                                "type": "null"
                            }
                        ]
                    },
                    "localDateTimeEnd": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/LocalDateTime"
                            },
                            {
                                "type": "null"
                            }
                        ]
                    },
                    "allDay": {
                        "type": "boolean",
                        "description": "No start time.",
                        "example": false
                    },
                    "status": {
                        "type": "string",
                        "description": "AVAILABLE, LIMITED, SOLD_OUT, FREESALE or CLOSED.",
                        "example": "AVAILABLE",
                        "x-extensible-enum": true
                    },
                    "available": {
                        "type": "boolean",
                        "description": "Bookable for the party asked about.",
                        "example": true
                    },
                    "vacancies": {
                        "type": [
                            "integer",
                            "null"
                        ],
                        "description": "Places left.",
                        "example": 12
                    },
                    "capacity": {
                        "type": [
                            "integer",
                            "null"
                        ],
                        "description": "Places in all.",
                        "example": 20
                    },
                    "maxUnits": {
                        "type": [
                            "integer",
                            "null"
                        ],
                        "description": "Most units one booking may take.",
                        "example": 10
                    },
                    "utcCutoffAt": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/UtcDateTime"
                            },
                            {
                                "type": "null"
                            }
                        ]
                    },
                    "unitPricing": {
                        "type": "array",
                        "description": "Prices per ticket type.",
                        "example": [],
                        "items": {
                            "$ref": "#/components/schemas/UnitPrice"
                        }
                    }
                },
                "required": [
                    "id",
                    "localDateTimeStart",
                    "localDateTimeEnd",
                    "allDay",
                    "status",
                    "available",
                    "vacancies",
                    "capacity",
                    "maxUnits",
                    "utcCutoffAt",
                    "unitPricing"
                ]
            },
            "Booking": {
                "type": "object",
                "description": "A booking (the shape of GET /bookings/{uuid}).",
                "properties": {
                    "id": {
                        "$ref": "#/components/schemas/Uuid"
                    },
                    "code": {
                        "type": "string",
                        "description": "The reference.",
                        "example": "UB261201K7M2Q"
                    },
                    "status": {
                        "type": "string",
                        "description": "ON_HOLD, PENDING, CONFIRMED, CANCELLED, EXPIRED, REDEEMED, NO_SHOW, REJECTED.",
                        "example": "ON_HOLD",
                        "x-extensible-enum": true
                    },
                    "testMode": {
                        "type": "boolean",
                        "description": "Made with a test key.",
                        "example": false
                    },
                    "productId": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/Uuid"
                            },
                            {
                                "type": "null"
                            }
                        ]
                    },
                    "optionId": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/Uuid"
                            },
                            {
                                "type": "null"
                            }
                        ]
                    },
                    "availabilityId": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/Uuid"
                            },
                            {
                                "type": "null"
                            }
                        ]
                    },
                    "localDateTimeStart": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/LocalDateTime"
                            },
                            {
                                "type": "null"
                            }
                        ]
                    },
                    "expiresAt": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/UtcDateTime"
                            },
                            {
                                "type": "null"
                            }
                        ]
                    },
                    "reference": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Your own reference.",
                        "example": "ORDER-8812"
                    },
                    "contact": {
                        "type": "object",
                        "description": "The lead traveller.",
                        "properties": {
                            "fullName": {
                                "type": [
                                    "string",
                                    "null"
                                ],
                                "description": "Name.",
                                "example": "Ana Beridze"
                            },
                            "email": {
                                "type": [
                                    "string",
                                    "null"
                                ],
                                "description": "E-mail.",
                                "example": "ana@example.com"
                            },
                            "phone": {
                                "type": [
                                    "string",
                                    "null"
                                ],
                                "description": "Phone.",
                                "example": "+995555000111"
                            },
                            "locale": {
                                "type": [
                                    "string",
                                    "null"
                                ],
                                "description": "Language.",
                                "example": "en"
                            },
                            "country": {
                                "type": [
                                    "string",
                                    "null"
                                ],
                                "description": "ISO country.",
                                "example": "GE"
                            }
                        },
                        "required": [
                            "fullName",
                            "email",
                            "phone",
                            "locale",
                            "country"
                        ]
                    },
                    "units": {
                        "type": "array",
                        "description": "Units booked.",
                        "example": [],
                        "items": {
                            "type": "object",
                            "description": "Units of one type.",
                            "properties": {
                                "unitId": {
                                    "oneOf": [
                                        {
                                            "$ref": "#/components/schemas/Uuid"
                                        },
                                        {
                                            "type": "null"
                                        }
                                    ]
                                },
                                "quantity": {
                                    "type": "integer",
                                    "description": "How many.",
                                    "example": 2
                                }
                            },
                            "required": [
                                "unitId",
                                "quantity"
                            ]
                        }
                    },
                    "paxCount": {
                        "type": "integer",
                        "description": "Travellers.",
                        "example": 3
                    },
                    "total": {
                        "$ref": "#/components/schemas/Money"
                    },
                    "cashFlowMode": {
                        "type": "string",
                        "description": "Who collects the money.",
                        "example": "offline"
                    },
                    "paymentStatus": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Payment state.",
                        "example": "unpaid"
                    },
                    "notes": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Notes.",
                        "example": "Window seat"
                    },
                    "confirmedAt": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/UtcDateTime"
                            },
                            {
                                "type": "null"
                            }
                        ]
                    },
                    "cancelledAt": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/UtcDateTime"
                            },
                            {
                                "type": "null"
                            }
                        ]
                    },
                    "createdAt": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/UtcDateTime"
                            },
                            {
                                "type": "null"
                            }
                        ]
                    },
                    "updatedAt": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/UtcDateTime"
                            },
                            {
                                "type": "null"
                            }
                        ]
                    },
                    "payLink": {
                        "type": "object",
                        "description": "A payment link (payment mode pay_link).",
                        "properties": {
                            "url": {
                                "type": "string",
                                "description": "The link.",
                                "example": "https://pay.example.com/x"
                            },
                            "expiresAt": {
                                "oneOf": [
                                    {
                                        "$ref": "#/components/schemas/UtcDateTime"
                                    },
                                    {
                                        "type": "null"
                                    }
                                ]
                            }
                        },
                        "required": [
                            "url",
                            "expiresAt"
                        ]
                    }
                },
                "required": [
                    "id",
                    "code",
                    "status",
                    "testMode",
                    "productId",
                    "optionId",
                    "availabilityId",
                    "localDateTimeStart",
                    "expiresAt",
                    "reference",
                    "contact",
                    "units",
                    "paxCount",
                    "total",
                    "cashFlowMode",
                    "paymentStatus",
                    "notes",
                    "confirmedAt",
                    "cancelledAt",
                    "createdAt",
                    "updatedAt"
                ]
            },
            "WebhookEndpoint": {
                "type": "object",
                "description": "A webhook endpoint.",
                "properties": {
                    "id": {
                        "$ref": "#/components/schemas/Uuid"
                    },
                    "url": {
                        "type": "string",
                        "description": "Where events go.",
                        "example": "https://example.com/webhooks"
                    },
                    "description": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Your note.",
                        "example": "Bookings to the CRM"
                    },
                    "events": {
                        "type": "array",
                        "description": "Types or patterns.",
                        "example": [
                            "booking.*"
                        ],
                        "items": {
                            "type": "string"
                        }
                    },
                    "mode": {
                        "type": "string",
                        "description": "live or test.",
                        "example": "live",
                        "enum": [
                            "live",
                            "test"
                        ]
                    },
                    "status": {
                        "type": "string",
                        "description": "active, failing or disabled.",
                        "example": "active",
                        "enum": [
                            "active",
                            "failing",
                            "disabled"
                        ]
                    },
                    "disabledReason": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "manual, failures, gone, supplier_suspended, source_removed.",
                        "example": "failures"
                    },
                    "lastSuccessAt": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/UtcDateTime"
                            },
                            {
                                "type": "null"
                            }
                        ]
                    },
                    "lastFailureAt": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/UtcDateTime"
                            },
                            {
                                "type": "null"
                            }
                        ]
                    },
                    "lastResponseCode": {
                        "type": [
                            "integer",
                            "null"
                        ],
                        "description": "HTTP status of the last answer.",
                        "example": 200
                    },
                    "createdAt": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/UtcDateTime"
                            },
                            {
                                "type": "null"
                            }
                        ]
                    }
                },
                "required": [
                    "id",
                    "url",
                    "description",
                    "events",
                    "mode",
                    "status",
                    "disabledReason",
                    "lastSuccessAt",
                    "lastFailureAt",
                    "lastResponseCode",
                    "createdAt"
                ]
            },
            "WebhookEndpointCreated": {
                "type": "object",
                "description": "The endpoint and its signing secret (shown here once).",
                "properties": {
                    "id": {
                        "$ref": "#/components/schemas/Uuid"
                    },
                    "url": {
                        "type": "string",
                        "description": "Where events go.",
                        "example": "https://example.com/webhooks"
                    },
                    "description": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Your note.",
                        "example": "Bookings to the CRM"
                    },
                    "events": {
                        "type": "array",
                        "description": "Types or patterns.",
                        "example": [
                            "booking.*"
                        ],
                        "items": {
                            "type": "string"
                        }
                    },
                    "mode": {
                        "type": "string",
                        "description": "live or test.",
                        "example": "live",
                        "enum": [
                            "live",
                            "test"
                        ]
                    },
                    "status": {
                        "type": "string",
                        "description": "active, failing or disabled.",
                        "example": "active",
                        "enum": [
                            "active",
                            "failing",
                            "disabled"
                        ]
                    },
                    "disabledReason": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "manual, failures, gone, supplier_suspended, source_removed.",
                        "example": "failures"
                    },
                    "lastSuccessAt": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/UtcDateTime"
                            },
                            {
                                "type": "null"
                            }
                        ]
                    },
                    "lastFailureAt": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/UtcDateTime"
                            },
                            {
                                "type": "null"
                            }
                        ]
                    },
                    "lastResponseCode": {
                        "type": [
                            "integer",
                            "null"
                        ],
                        "description": "HTTP status of the last answer.",
                        "example": 200
                    },
                    "createdAt": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/UtcDateTime"
                            },
                            {
                                "type": "null"
                            }
                        ]
                    },
                    "secret": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "The signing secret: `whsec_` + base64.",
                        "example": "whsec_MfKQ9r8GKYqrTwjUPD8ILPZIo2LaLaSw"
                    }
                },
                "required": [
                    "id",
                    "url",
                    "description",
                    "events",
                    "mode",
                    "status",
                    "disabledReason",
                    "lastSuccessAt",
                    "lastFailureAt",
                    "lastResponseCode",
                    "createdAt",
                    "secret"
                ]
            },
            "SecretRolled": {
                "type": "object",
                "description": "The new signing secret.",
                "properties": {
                    "secret": {
                        "type": "string",
                        "description": "Sign with it from now on.",
                        "example": "whsec_…"
                    },
                    "previousSecretExpiresAt": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/UtcDateTime"
                            },
                            {
                                "type": "null"
                            }
                        ]
                    }
                },
                "required": [
                    "secret",
                    "previousSecretExpiresAt"
                ]
            },
            "WebhookDelivery": {
                "type": "object",
                "description": "One event sent to one endpoint.",
                "properties": {
                    "id": {
                        "$ref": "#/components/schemas/Uuid"
                    },
                    "messageId": {
                        "type": "string",
                        "description": "The webhook-id header.",
                        "example": "msg_01JD3XB0V7M2A8K4R6T9W1Y3Z5"
                    },
                    "eventId": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "The event.",
                        "example": "evt_01JD3XB0V7M2A8K4R6T9W1Y3Z5"
                    },
                    "eventType": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Its type.",
                        "example": "booking.confirmed"
                    },
                    "trigger": {
                        "type": "string",
                        "description": "auto, replay or test.",
                        "example": "auto",
                        "enum": [
                            "auto",
                            "replay",
                            "test"
                        ]
                    },
                    "status": {
                        "type": "string",
                        "description": "pending, delivered, failed or cancelled.",
                        "example": "delivered",
                        "enum": [
                            "pending",
                            "delivered",
                            "failed",
                            "cancelled"
                        ]
                    },
                    "attempts": {
                        "type": "integer",
                        "description": "Attempts made (of 8).",
                        "example": 1
                    },
                    "nextAttemptAt": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/UtcDateTime"
                            },
                            {
                                "type": "null"
                            }
                        ]
                    },
                    "lastResponseCode": {
                        "type": [
                            "integer",
                            "null"
                        ],
                        "description": "Last HTTP status.",
                        "example": 200
                    },
                    "lastError": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "timeout, connect, dns, tls, blocked_address, redirect, http_4xx, http_5xx.",
                        "example": "http_5xx"
                    },
                    "deliveredAt": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/UtcDateTime"
                            },
                            {
                                "type": "null"
                            }
                        ]
                    },
                    "createdAt": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/UtcDateTime"
                            },
                            {
                                "type": "null"
                            }
                        ]
                    }
                },
                "required": [
                    "id",
                    "messageId",
                    "eventId",
                    "eventType",
                    "trigger",
                    "status",
                    "attempts",
                    "nextAttemptAt",
                    "lastResponseCode",
                    "lastError",
                    "deliveredAt",
                    "createdAt"
                ]
            },
            "WebhookAttempt": {
                "type": "object",
                "description": "One HTTP POST of a delivery.",
                "properties": {
                    "attemptNo": {
                        "type": "integer",
                        "description": "1-based.",
                        "example": 1
                    },
                    "startedAt": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/UtcDateTime"
                            },
                            {
                                "type": "null"
                            }
                        ]
                    },
                    "durationMs": {
                        "type": "integer",
                        "description": "Time to answer.",
                        "example": 182
                    },
                    "responseCode": {
                        "type": [
                            "integer",
                            "null"
                        ],
                        "description": "HTTP status; null when nothing answered.",
                        "example": 200
                    },
                    "errorKind": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Why it failed.",
                        "example": "timeout"
                    },
                    "responseBody": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "First 2 KiB of the answer.",
                        "example": "ok"
                    }
                },
                "required": [
                    "attemptNo",
                    "startedAt",
                    "durationMs",
                    "responseCode",
                    "errorKind",
                    "responseBody"
                ]
            },
            "WebhookDeliveryDetail": {
                "type": "object",
                "description": "A delivery with its attempts and the request as sent.",
                "properties": {
                    "id": {
                        "$ref": "#/components/schemas/Uuid"
                    },
                    "messageId": {
                        "type": "string",
                        "description": "The webhook-id header.",
                        "example": "msg_01JD3XB0V7M2A8K4R6T9W1Y3Z5"
                    },
                    "eventId": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "The event.",
                        "example": "evt_01JD3XB0V7M2A8K4R6T9W1Y3Z5"
                    },
                    "eventType": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Its type.",
                        "example": "booking.confirmed"
                    },
                    "trigger": {
                        "type": "string",
                        "description": "auto, replay or test.",
                        "example": "auto",
                        "enum": [
                            "auto",
                            "replay",
                            "test"
                        ]
                    },
                    "status": {
                        "type": "string",
                        "description": "pending, delivered, failed or cancelled.",
                        "example": "delivered",
                        "enum": [
                            "pending",
                            "delivered",
                            "failed",
                            "cancelled"
                        ]
                    },
                    "nextAttemptAt": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/UtcDateTime"
                            },
                            {
                                "type": "null"
                            }
                        ]
                    },
                    "lastResponseCode": {
                        "type": [
                            "integer",
                            "null"
                        ],
                        "description": "Last HTTP status.",
                        "example": 200
                    },
                    "lastError": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "timeout, connect, dns, tls, blocked_address, redirect, http_4xx, http_5xx.",
                        "example": "http_5xx"
                    },
                    "deliveredAt": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/UtcDateTime"
                            },
                            {
                                "type": "null"
                            }
                        ]
                    },
                    "createdAt": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/UtcDateTime"
                            },
                            {
                                "type": "null"
                            }
                        ]
                    },
                    "attempts": {
                        "type": "array",
                        "description": "Attempts, newest first.",
                        "example": [],
                        "items": {
                            "$ref": "#/components/schemas/WebhookAttempt"
                        }
                    },
                    "request": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "description": "The request as sent (and as it would be sent again).",
                        "properties": {
                            "headers": {
                                "type": "object",
                                "description": "Headers; custom values masked.",
                                "additionalProperties": true
                            },
                            "body": {
                                "type": "string",
                                "description": "The exact JSON body.",
                                "example": "{\"id\":\"evt_…\"}"
                            }
                        },
                        "required": [
                            "headers",
                            "body"
                        ]
                    }
                },
                "required": [
                    "id",
                    "messageId",
                    "eventId",
                    "eventType",
                    "trigger",
                    "status",
                    "attempts",
                    "nextAttemptAt",
                    "lastResponseCode",
                    "lastError",
                    "deliveredAt",
                    "createdAt",
                    "request"
                ]
            },
            "WebhookTestResult": {
                "type": "object",
                "description": "A test delivery and its one attempt.",
                "properties": {
                    "id": {
                        "$ref": "#/components/schemas/Uuid"
                    },
                    "messageId": {
                        "type": "string",
                        "description": "The webhook-id header.",
                        "example": "msg_01JD3XB0V7M2A8K4R6T9W1Y3Z5"
                    },
                    "eventId": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "The event.",
                        "example": "evt_01JD3XB0V7M2A8K4R6T9W1Y3Z5"
                    },
                    "eventType": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Its type.",
                        "example": "booking.confirmed"
                    },
                    "trigger": {
                        "type": "string",
                        "description": "auto, replay or test.",
                        "example": "auto",
                        "enum": [
                            "auto",
                            "replay",
                            "test"
                        ]
                    },
                    "status": {
                        "type": "string",
                        "description": "pending, delivered, failed or cancelled.",
                        "example": "delivered",
                        "enum": [
                            "pending",
                            "delivered",
                            "failed",
                            "cancelled"
                        ]
                    },
                    "attempts": {
                        "type": "integer",
                        "description": "Attempts made (of 8).",
                        "example": 1
                    },
                    "nextAttemptAt": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/UtcDateTime"
                            },
                            {
                                "type": "null"
                            }
                        ]
                    },
                    "lastResponseCode": {
                        "type": [
                            "integer",
                            "null"
                        ],
                        "description": "Last HTTP status.",
                        "example": 200
                    },
                    "lastError": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "timeout, connect, dns, tls, blocked_address, redirect, http_4xx, http_5xx.",
                        "example": "http_5xx"
                    },
                    "deliveredAt": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/UtcDateTime"
                            },
                            {
                                "type": "null"
                            }
                        ]
                    },
                    "createdAt": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/UtcDateTime"
                            },
                            {
                                "type": "null"
                            }
                        ]
                    },
                    "attempt": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/WebhookAttempt"
                            },
                            {
                                "type": "null"
                            }
                        ]
                    }
                },
                "required": [
                    "id",
                    "messageId",
                    "eventId",
                    "eventType",
                    "trigger",
                    "status",
                    "attempts",
                    "nextAttemptAt",
                    "lastResponseCode",
                    "lastError",
                    "deliveredAt",
                    "createdAt",
                    "attempt"
                ]
            },
            "ReportResult": {
                "type": "object",
                "description": "A report: the definition run, the resolved period, columns, rows, totals and meta.",
                "additionalProperties": true,
                "properties": {
                    "definition": {
                        "type": "object",
                        "description": "The definition as validated, with its defaults.",
                        "additionalProperties": true
                    },
                    "resolved": {
                        "type": "object",
                        "description": "from, to (local dates), timezone, currency, basis, granularity, compare?",
                        "additionalProperties": true
                    },
                    "columns": {
                        "type": "array",
                        "description": "One per dimension and measure: key, label, type (dimension, money, count, percent, number, days), currency?",
                        "items": {
                            "type": "object",
                            "additionalProperties": true
                        }
                    },
                    "rows": {
                        "type": "array",
                        "description": "dims {key: {id, label}}, bucket?, values {measure: number|null}, compare?, change?",
                        "items": {
                            "type": "object",
                            "additionalProperties": true
                        }
                    },
                    "totals": {
                        "type": "object",
                        "description": "values, compare?, change?",
                        "additionalProperties": true
                    },
                    "buckets": {
                        "type": "array",
                        "description": "The time buckets, in order, when the report has a time grain.",
                        "items": {
                            "type": "object",
                            "additionalProperties": true
                        }
                    },
                    "meta": {
                        "type": "object",
                        "description": "truncated, other_row, estimated_commission, unrated_rows, generated_at, cache_hit.",
                        "additionalProperties": true
                    }
                }
            },
            "Waiver": {
                "type": "object",
                "description": "A signed waiver or form.",
                "additionalProperties": true,
                "properties": {
                    "id": {
                        "$ref": "#/components/schemas/Uuid"
                    },
                    "sequence": {
                        "type": "integer",
                        "description": "Number in the operator's hash chain."
                    },
                    "status": {
                        "type": "string",
                        "enum": [
                            "signed",
                            "voided",
                            "purged"
                        ],
                        "description": "Signed, voided or purged (personal data deleted)."
                    },
                    "kind": {
                        "type": "string",
                        "enum": [
                            "waiver",
                            "form"
                        ],
                        "description": "A waiver is signed; a form is confirmed with a tick."
                    },
                    "bookingId": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "uuid",
                        "description": "The booking it covers; null when unbound."
                    },
                    "signedAt": {
                        "type": "string",
                        "format": "date-time",
                        "description": "When it was signed (UTC)."
                    },
                    "documentSha256": {
                        "type": "string",
                        "description": "SHA-256 of the canonical evidence."
                    }
                }
            },
            "BookingWaiverStatus": {
                "type": "object",
                "description": "A booking's waiver status.",
                "properties": {
                    "bookingId": {
                        "$ref": "#/components/schemas/Uuid"
                    },
                    "signed": {
                        "type": "integer",
                        "description": "Participants with a signed or waived waiver."
                    },
                    "required": {
                        "type": "integer",
                        "description": "Participants who need one."
                    },
                    "complete": {
                        "type": "boolean",
                        "description": "Everyone who needs a waiver has one."
                    },
                    "participants": {
                        "type": "object",
                        "additionalProperties": {
                            "type": "string"
                        },
                        "description": "Unit item id to signed, waived, partial, pending or not_required."
                    }
                }
            }
        },
        "responses": {
            "Problem400": {
                "description": "The request is malformed (`invalid_json`, `invalid_parameter`, `invalid_cursor`, `idempotency_key_required`, `invalid_idempotency_key`).",
                "content": {
                    "application/problem+json": {
                        "schema": {
                            "$ref": "#/components/schemas/Problem"
                        }
                    }
                }
            },
            "Problem401": {
                "description": "No valid key (`missing_credential`, `invalid_credential`, `credential_revoked`, `credential_expired`).",
                "content": {
                    "application/problem+json": {
                        "schema": {
                            "$ref": "#/components/schemas/Problem"
                        }
                    }
                }
            },
            "Problem403": {
                "description": "The key may not do this (`insufficient_scope`, `ip_not_allowed`, `account_suspended`, `module_disabled`, `live_key_required`).",
                "content": {
                    "application/problem+json": {
                        "schema": {
                            "$ref": "#/components/schemas/Problem"
                        }
                    }
                }
            },
            "Problem404": {
                "description": "No such resource in your account (`not_found`).",
                "content": {
                    "application/problem+json": {
                        "schema": {
                            "$ref": "#/components/schemas/Problem"
                        }
                    }
                }
            },
            "Problem409": {
                "description": "Not possible in the resource's state (`conflict`, `unavailable`, `price_changed`, `idempotency_in_progress`).",
                "content": {
                    "application/problem+json": {
                        "schema": {
                            "$ref": "#/components/schemas/Problem"
                        }
                    }
                }
            },
            "Problem422": {
                "description": "Invalid fields (`validation_failed`) or a reused idempotency key (`idempotency_key_reused`).",
                "content": {
                    "application/problem+json": {
                        "schema": {
                            "$ref": "#/components/schemas/Problem"
                        }
                    }
                }
            },
            "Problem429": {
                "description": "Too many calls (`rate_limited`, `too_many_failed_attempts`, `test_booking_limit`).",
                "content": {
                    "application/problem+json": {
                        "schema": {
                            "$ref": "#/components/schemas/Problem"
                        }
                    }
                }
            },
            "ProblemDefault": {
                "description": "Any other problem of the platform list (405 `method_not_allowed`, 406 `not_acceptable`, 413 `payload_too_large`, 415 `unsupported_media_type`, 503 `service_unavailable`, …).",
                "content": {
                    "application/problem+json": {
                        "schema": {
                            "$ref": "#/components/schemas/Problem"
                        }
                    }
                }
            },
            "Problem500": {
                "description": "Our fault (`internal_error`); quote the request id.",
                "content": {
                    "application/problem+json": {
                        "schema": {
                            "$ref": "#/components/schemas/Problem"
                        }
                    }
                }
            },
            "Problem410": {
                "description": "The hold expired (`hold_expired`).",
                "content": {
                    "application/problem+json": {
                        "schema": {
                            "$ref": "#/components/schemas/Problem"
                        }
                    }
                }
            }
        }
    },
    "paths": {
        "/": {
            "get": {
                "operationId": "metaRoot",
                "tags": [
                    "Meta"
                ],
                "summary": "Describe the API",
                "description": "The API's name, version and documentation links. No key needed.",
                "security": [],
                "x-idempotency": "none",
                "x-mode": "any",
                "x-dry-run": false,
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "description": "One item.",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/ApiRoot"
                                        }
                                    },
                                    "required": [
                                        "data"
                                    ]
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Problem400"
                    },
                    "404": {
                        "$ref": "#/components/responses/Problem404"
                    },
                    "422": {
                        "$ref": "#/components/responses/Problem422"
                    },
                    "429": {
                        "$ref": "#/components/responses/Problem429"
                    },
                    "500": {
                        "$ref": "#/components/responses/Problem500"
                    },
                    "default": {
                        "$ref": "#/components/responses/ProblemDefault"
                    }
                }
            }
        },
        "/bookings": {
            "get": {
                "operationId": "bookingsList",
                "tags": [
                    "Bookings"
                ],
                "summary": "List bookings",
                "description": "Bookings of your inventory, newest first, with what you earn from each. Also answered at the unversioned address without `/v1` until its sunset, with `Deprecation`, `Sunset` and `Link: rel=\"successor-version\"` headers.",
                "security": [
                    {
                        "apiKey": [
                            "bookings:read"
                        ]
                    }
                ],
                "x-idempotency": "none",
                "x-mode": "any",
                "x-dry-run": false,
                "parameters": [
                    {
                        "name": "status",
                        "in": "query",
                        "description": "Only this status (on_hold, confirmed, cancelled…).",
                        "schema": {
                            "type": "string"
                        },
                        "example": "confirmed"
                    },
                    {
                        "name": "date_from",
                        "in": "query",
                        "description": "Travel on or after this day.",
                        "schema": {
                            "type": "string",
                            "format": "date"
                        },
                        "example": "2026-12-01"
                    },
                    {
                        "name": "date_to",
                        "in": "query",
                        "description": "Travel on or before this day.",
                        "schema": {
                            "type": "string",
                            "format": "date"
                        },
                        "example": "2026-12-31"
                    },
                    {
                        "name": "per_page",
                        "in": "query",
                        "description": "Bookings per page, 1–100; default 25.",
                        "schema": {
                            "type": "integer"
                        },
                        "example": 25
                    },
                    {
                        "name": "page",
                        "in": "query",
                        "description": "Page number, from 1.",
                        "schema": {
                            "type": "integer"
                        },
                        "example": 1
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "description": "A page.",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "description": "The bookings.",
                                            "example": [],
                                            "items": {
                                                "type": "object",
                                                "description": "A booking of your inventory, as you earn from it.",
                                                "properties": {
                                                    "uuid": {
                                                        "$ref": "#/components/schemas/Uuid"
                                                    },
                                                    "code": {
                                                        "type": "string",
                                                        "description": "The booking code.",
                                                        "example": "USH-7K2M9"
                                                    },
                                                    "status": {
                                                        "type": "string",
                                                        "description": "ON_HOLD, CONFIRMED, CANCELLED, EXPIRED, REDEEMED or NO_SHOW.",
                                                        "example": "CONFIRMED"
                                                    },
                                                    "product": {
                                                        "type": "string",
                                                        "description": "The product's title.",
                                                        "example": "Old Town Walk"
                                                    },
                                                    "option": {
                                                        "type": "string",
                                                        "description": "The option's title.",
                                                        "example": "Morning"
                                                    },
                                                    "arrivalDate": {
                                                        "type": [
                                                            "string",
                                                            "null"
                                                        ],
                                                        "description": "Travel date.",
                                                        "example": "2026-12-05",
                                                        "format": "date"
                                                    },
                                                    "rental": {
                                                        "type": [
                                                            "object",
                                                            "null"
                                                        ],
                                                        "description": "For rentals: basis, length, pickup and return (local); null otherwise.",
                                                        "example": null
                                                    },
                                                    "time": {
                                                        "type": [
                                                            "string",
                                                            "null"
                                                        ],
                                                        "description": "Start time, local.",
                                                        "example": "09:00"
                                                    },
                                                    "pax": {
                                                        "type": "integer",
                                                        "description": "Guests.",
                                                        "example": 2
                                                    },
                                                    "leadGuest": {
                                                        "type": "string",
                                                        "description": "Lead guest.",
                                                        "example": "Nino Beridze"
                                                    },
                                                    "email": {
                                                        "type": [
                                                            "string",
                                                            "null"
                                                        ],
                                                        "description": "Lead guest's e-mail.",
                                                        "example": "nino@example.com"
                                                    },
                                                    "phone": {
                                                        "type": [
                                                            "string",
                                                            "null"
                                                        ],
                                                        "description": "Lead guest's phone.",
                                                        "example": "+995 555 12 34 56"
                                                    },
                                                    "netPayable": {
                                                        "type": "string",
                                                        "description": "What you receive, major units.",
                                                        "example": "90.00"
                                                    },
                                                    "currency": {
                                                        "type": "string",
                                                        "description": "ISO 4217 code.",
                                                        "example": "GEL"
                                                    },
                                                    "createdAt": {
                                                        "type": "string",
                                                        "description": "When it was made.",
                                                        "example": "2026-11-30T10:15:00+00:00",
                                                        "format": "date-time"
                                                    }
                                                }
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "description": "Where the page is.",
                                            "example": {
                                                "total": 42,
                                                "currentPage": 1,
                                                "lastPage": 2
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Problem400"
                    },
                    "401": {
                        "$ref": "#/components/responses/Problem401"
                    },
                    "403": {
                        "$ref": "#/components/responses/Problem403"
                    },
                    "404": {
                        "$ref": "#/components/responses/Problem404"
                    },
                    "422": {
                        "$ref": "#/components/responses/Problem422"
                    },
                    "429": {
                        "$ref": "#/components/responses/Problem429"
                    },
                    "500": {
                        "$ref": "#/components/responses/Problem500"
                    },
                    "default": {
                        "$ref": "#/components/responses/ProblemDefault"
                    }
                }
            },
            "post": {
                "operationId": "bookingsCreate",
                "tags": [
                    "Bookings"
                ],
                "summary": "Hold a booking",
                "description": "Holds places on a departure (status ON_HOLD) until `expiresAt`. The Idempotency-Key is also the booking's own key: a retry, even after 24 hours, returns the same booking (200). Test keys: at most 10 open test bookings and 10 units each. Emits booking.created.",
                "security": [
                    {
                        "apiKey": [
                            "bookings:write"
                        ]
                    }
                ],
                "x-idempotency": "required",
                "x-mode": "any",
                "x-dry-run": false,
                "parameters": [
                    {
                        "$ref": "#/components/parameters/IdempotencyKey"
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "description": "A hold.",
                                "properties": {
                                    "optionId": {
                                        "$ref": "#/components/schemas/Uuid"
                                    },
                                    "availabilityId": {
                                        "$ref": "#/components/schemas/Uuid"
                                    },
                                    "units": {
                                        "type": "array",
                                        "description": "What is booked.",
                                        "example": [
                                            {
                                                "unitId": "…",
                                                "quantity": 2
                                            }
                                        ],
                                        "items": {
                                            "type": "object",
                                            "description": "Units of one type.",
                                            "properties": {
                                                "unitId": {
                                                    "$ref": "#/components/schemas/Uuid"
                                                },
                                                "quantity": {
                                                    "type": "integer",
                                                    "description": "1–999.",
                                                    "example": 2
                                                }
                                            },
                                            "required": [
                                                "unitId",
                                                "quantity"
                                            ]
                                        }
                                    },
                                    "holdMinutes": {
                                        "type": "integer",
                                        "description": "5–60 (test keys ≤ 15); default 30 (test 15).",
                                        "example": 30
                                    },
                                    "reference": {
                                        "type": "string",
                                        "description": "Your own id, ≤ 64.",
                                        "example": "ORDER-8812"
                                    },
                                    "notes": {
                                        "type": "string",
                                        "description": "Notes.",
                                        "example": "Window seat"
                                    },
                                    "contact": {
                                        "type": "object",
                                        "description": "The lead traveller.",
                                        "properties": {
                                            "fullName": {
                                                "type": "string",
                                                "description": "Name.",
                                                "example": "Ana Beridze"
                                            },
                                            "email": {
                                                "type": "string",
                                                "description": "E-mail.",
                                                "example": "ana@example.com"
                                            },
                                            "phone": {
                                                "type": "string",
                                                "description": "Phone.",
                                                "example": "+995555000111"
                                            },
                                            "locale": {
                                                "type": "string",
                                                "description": "Language.",
                                                "example": "en"
                                            },
                                            "country": {
                                                "type": "string",
                                                "description": "ISO country.",
                                                "example": "GE"
                                            }
                                        },
                                        "required": []
                                    },
                                    "answers": {
                                        "type": "array",
                                        "description": "Answers to the option's questions.",
                                        "example": [],
                                        "items": {
                                            "type": "object",
                                            "description": "An answer.",
                                            "properties": {
                                                "questionId": {
                                                    "type": "string",
                                                    "description": "The question.",
                                                    "example": "q1"
                                                },
                                                "value": {
                                                    "description": "The answer."
                                                },
                                                "travellerIndex": {
                                                    "type": "integer",
                                                    "description": "Whose, 0-based.",
                                                    "example": 0
                                                }
                                            },
                                            "required": [
                                                "questionId",
                                                "value"
                                            ]
                                        }
                                    },
                                    "pickup": {
                                        "type": "object",
                                        "description": "Pickup.",
                                        "properties": {
                                            "pointId": {
                                                "type": "string",
                                                "description": "Pickup point.",
                                                "example": "p1"
                                            },
                                            "hotel": {
                                                "type": "string",
                                                "description": "Hotel.",
                                                "example": "Rooms Hotel"
                                            },
                                            "room": {
                                                "type": "string",
                                                "description": "Room.",
                                                "example": "12"
                                            },
                                            "address": {
                                                "type": "string",
                                                "description": "Address.",
                                                "example": "Rustaveli 1"
                                            },
                                            "notes": {
                                                "type": "string",
                                                "description": "Notes.",
                                                "example": "Lobby"
                                            }
                                        },
                                        "required": []
                                    }
                                },
                                "required": [
                                    "optionId",
                                    "availabilityId",
                                    "units"
                                ]
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "Held",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "description": "One item.",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/Booking"
                                        }
                                    },
                                    "required": [
                                        "data"
                                    ]
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "The booking an earlier request with this key made",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "description": "One item.",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/Booking"
                                        }
                                    },
                                    "required": [
                                        "data"
                                    ]
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Problem400"
                    },
                    "401": {
                        "$ref": "#/components/responses/Problem401"
                    },
                    "403": {
                        "$ref": "#/components/responses/Problem403"
                    },
                    "404": {
                        "$ref": "#/components/responses/Problem404"
                    },
                    "422": {
                        "$ref": "#/components/responses/Problem422"
                    },
                    "429": {
                        "$ref": "#/components/responses/Problem429"
                    },
                    "500": {
                        "$ref": "#/components/responses/Problem500"
                    },
                    "409": {
                        "$ref": "#/components/responses/Problem409"
                    },
                    "default": {
                        "$ref": "#/components/responses/ProblemDefault"
                    }
                },
                "x-error-codes": {
                    "unavailable": {
                        "status": 409,
                        "description": "Not enough places; `vacancies` says how many."
                    },
                    "test_booking_limit": {
                        "status": 429,
                        "description": "Too many open test bookings."
                    }
                }
            }
        },
        "/bookings/{uuid}/confirm": {
            "post": {
                "operationId": "bookingsConfirm",
                "tags": [
                    "Bookings"
                ],
                "summary": "Confirm a booking",
                "description": "Confirms a held booking (CONFIRMED, or PENDING for on-request options). Card data never enters this API. Emits booking.confirmed.",
                "security": [
                    {
                        "apiKey": [
                            "bookings:write"
                        ]
                    }
                ],
                "x-idempotency": "required",
                "x-mode": "any",
                "x-dry-run": false,
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Uuid"
                    },
                    {
                        "$ref": "#/components/parameters/IdempotencyKey"
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "description": "Confirmation.",
                                "properties": {
                                    "contact": {
                                        "type": "object",
                                        "description": "The lead traveller.",
                                        "properties": {
                                            "fullName": {
                                                "type": "string",
                                                "description": "Name.",
                                                "example": "Ana Beridze"
                                            },
                                            "email": {
                                                "type": "string",
                                                "description": "E-mail.",
                                                "example": "ana@example.com"
                                            },
                                            "phone": {
                                                "type": "string",
                                                "description": "Phone.",
                                                "example": "+995555000111"
                                            }
                                        },
                                        "required": []
                                    },
                                    "notes": {
                                        "type": "string",
                                        "description": "Notes.",
                                        "example": "Window seat"
                                    },
                                    "payment": {
                                        "type": "object",
                                        "description": "How it is paid.",
                                        "properties": {
                                            "mode": {
                                                "type": "string",
                                                "description": "offline (you collected it) or pay_link.",
                                                "example": "offline",
                                                "enum": [
                                                    "offline",
                                                    "pay_link"
                                                ]
                                            },
                                            "payLinkVia": {
                                                "type": "array",
                                                "description": "email, sms.",
                                                "example": [
                                                    "email"
                                                ],
                                                "items": {
                                                    "type": "string",
                                                    "enum": [
                                                        "email",
                                                        "sms"
                                                    ]
                                                }
                                            }
                                        },
                                        "required": []
                                    },
                                    "expectedTotal": {
                                        "type": "object",
                                        "description": "The total you expect; 409 price_changed when it differs.",
                                        "properties": {
                                            "minor": {
                                                "type": "integer",
                                                "description": "Minor units.",
                                                "example": 30000
                                            },
                                            "currency": {
                                                "type": "string",
                                                "description": "ISO 4217.",
                                                "example": "GEL"
                                            }
                                        },
                                        "required": [
                                            "minor"
                                        ]
                                    },
                                    "sendConfirmation": {
                                        "type": "boolean",
                                        "description": "false: you send your own confirmation.",
                                        "example": true
                                    }
                                },
                                "required": []
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "description": "One item.",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/Booking"
                                        }
                                    },
                                    "required": [
                                        "data"
                                    ]
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Problem400"
                    },
                    "401": {
                        "$ref": "#/components/responses/Problem401"
                    },
                    "403": {
                        "$ref": "#/components/responses/Problem403"
                    },
                    "404": {
                        "$ref": "#/components/responses/Problem404"
                    },
                    "422": {
                        "$ref": "#/components/responses/Problem422"
                    },
                    "429": {
                        "$ref": "#/components/responses/Problem429"
                    },
                    "500": {
                        "$ref": "#/components/responses/Problem500"
                    },
                    "409": {
                        "$ref": "#/components/responses/Problem409"
                    },
                    "410": {
                        "$ref": "#/components/responses/Problem410"
                    },
                    "default": {
                        "$ref": "#/components/responses/ProblemDefault"
                    }
                },
                "x-error-codes": {
                    "hold_expired": {
                        "status": 410,
                        "description": "The hold ran out; hold again."
                    },
                    "price_changed": {
                        "status": 409,
                        "description": "The total differs from expectedTotal; `total` is the current one."
                    }
                }
            }
        },
        "/bookings/{uuid}/extend": {
            "post": {
                "operationId": "bookingsExtend",
                "tags": [
                    "Bookings"
                ],
                "summary": "Extend a hold",
                "description": "Gives a held booking more time.",
                "security": [
                    {
                        "apiKey": [
                            "bookings:write"
                        ]
                    }
                ],
                "x-idempotency": "optional",
                "x-mode": "any",
                "x-dry-run": false,
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Uuid"
                    },
                    {
                        "$ref": "#/components/parameters/IdempotencyKey"
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "description": "How long.",
                                "properties": {
                                    "holdMinutes": {
                                        "type": "integer",
                                        "description": "5–60 (test ≤ 15) from now.",
                                        "example": 30
                                    }
                                },
                                "required": [
                                    "holdMinutes"
                                ]
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "description": "One item.",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/Booking"
                                        }
                                    },
                                    "required": [
                                        "data"
                                    ]
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Problem400"
                    },
                    "401": {
                        "$ref": "#/components/responses/Problem401"
                    },
                    "403": {
                        "$ref": "#/components/responses/Problem403"
                    },
                    "404": {
                        "$ref": "#/components/responses/Problem404"
                    },
                    "422": {
                        "$ref": "#/components/responses/Problem422"
                    },
                    "429": {
                        "$ref": "#/components/responses/Problem429"
                    },
                    "500": {
                        "$ref": "#/components/responses/Problem500"
                    },
                    "409": {
                        "$ref": "#/components/responses/Problem409"
                    },
                    "410": {
                        "$ref": "#/components/responses/Problem410"
                    },
                    "default": {
                        "$ref": "#/components/responses/ProblemDefault"
                    }
                }
            }
        },
        "/bookings/{uuid}/waiver-status": {
            "get": {
                "operationId": "bookingsWaiverStatus",
                "tags": [
                    "Waivers"
                ],
                "summary": "Show a booking's waiver status",
                "description": "How many participants of a booking need a waiver and how many have one, per participant.",
                "security": [
                    {
                        "apiKey": [
                            "waivers:read"
                        ]
                    }
                ],
                "x-idempotency": "none",
                "x-mode": "any",
                "x-dry-run": false,
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Uuid"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "description": "One item.",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/BookingWaiverStatus"
                                        }
                                    },
                                    "required": [
                                        "data"
                                    ]
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Problem400"
                    },
                    "401": {
                        "$ref": "#/components/responses/Problem401"
                    },
                    "403": {
                        "$ref": "#/components/responses/Problem403"
                    },
                    "404": {
                        "$ref": "#/components/responses/Problem404"
                    },
                    "422": {
                        "$ref": "#/components/responses/Problem422"
                    },
                    "429": {
                        "$ref": "#/components/responses/Problem429"
                    },
                    "500": {
                        "$ref": "#/components/responses/Problem500"
                    },
                    "default": {
                        "$ref": "#/components/responses/ProblemDefault"
                    }
                }
            }
        },
        "/events": {
            "get": {
                "operationId": "eventsList",
                "tags": [
                    "Events"
                ],
                "summary": "List events",
                "description": "Your events of the key's mode, kept 30 days, newest first. To poll, remember the last id you saw and ask `?after=evt_…` (oldest first).",
                "security": [
                    {
                        "apiKey": [
                            "events:read"
                        ]
                    }
                ],
                "x-idempotency": "none",
                "x-mode": "any",
                "x-dry-run": false,
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Limit"
                    },
                    {
                        "$ref": "#/components/parameters/Cursor"
                    },
                    {
                        "name": "type",
                        "in": "query",
                        "description": "Types or patterns (booking.*).",
                        "schema": {
                            "type": "array",
                            "items": {
                                "type": "string"
                            }
                        },
                        "example": [
                            "booking.*"
                        ]
                    },
                    {
                        "name": "created_from",
                        "in": "query",
                        "description": "From this instant.",
                        "schema": {
                            "type": "string",
                            "format": "date-time"
                        },
                        "example": "2026-12-01T00:00:00Z"
                    },
                    {
                        "name": "created_to",
                        "in": "query",
                        "description": "Up to this instant.",
                        "schema": {
                            "type": "string",
                            "format": "date-time"
                        },
                        "example": "2026-12-02T00:00:00Z"
                    },
                    {
                        "name": "subject_id",
                        "in": "query",
                        "description": "Events of this booking, product, …",
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        },
                        "example": "3f2a8c1e-6d4b-4a7e-9c2d-1b5e8f0a7c3d"
                    },
                    {
                        "name": "after",
                        "in": "query",
                        "description": "Events after this one, oldest first (not with cursor). An id that has since been pruned still works, from the time it carries.",
                        "schema": {
                            "type": "string"
                        },
                        "example": "evt_01JD3XB0V7M2A8K4R6T9W1Y3Z5"
                    },
                    {
                        "name": "sort",
                        "in": "query",
                        "description": "Sort order: -created_at, created_at.",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "-created_at",
                                "created_at"
                            ]
                        },
                        "example": "-created_at"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "description": "A page.",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "description": "The items.",
                                            "example": [],
                                            "items": {
                                                "$ref": "#/components/schemas/WebhookEvent"
                                            }
                                        },
                                        "meta": {
                                            "$ref": "#/components/schemas/PageMeta"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta"
                                    ]
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Problem400"
                    },
                    "401": {
                        "$ref": "#/components/responses/Problem401"
                    },
                    "403": {
                        "$ref": "#/components/responses/Problem403"
                    },
                    "404": {
                        "$ref": "#/components/responses/Problem404"
                    },
                    "422": {
                        "$ref": "#/components/responses/Problem422"
                    },
                    "429": {
                        "$ref": "#/components/responses/Problem429"
                    },
                    "500": {
                        "$ref": "#/components/responses/Problem500"
                    },
                    "default": {
                        "$ref": "#/components/responses/ProblemDefault"
                    }
                }
            }
        },
        "/events/{id}": {
            "get": {
                "operationId": "eventsShow",
                "tags": [
                    "Events"
                ],
                "summary": "Show an event",
                "description": "One event by its `evt_` id.",
                "security": [
                    {
                        "apiKey": [
                            "events:read"
                        ]
                    }
                ],
                "x-idempotency": "none",
                "x-mode": "any",
                "x-dry-run": false,
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "description": "The event id.",
                        "schema": {
                            "type": "string"
                        },
                        "example": "evt_01JD3XB0V7M2A8K4R6T9W1Y3Z5"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "description": "One item.",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/WebhookEvent"
                                        }
                                    },
                                    "required": [
                                        "data"
                                    ]
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Problem400"
                    },
                    "401": {
                        "$ref": "#/components/responses/Problem401"
                    },
                    "403": {
                        "$ref": "#/components/responses/Problem403"
                    },
                    "404": {
                        "$ref": "#/components/responses/Problem404"
                    },
                    "422": {
                        "$ref": "#/components/responses/Problem422"
                    },
                    "429": {
                        "$ref": "#/components/responses/Problem429"
                    },
                    "500": {
                        "$ref": "#/components/responses/Problem500"
                    },
                    "default": {
                        "$ref": "#/components/responses/ProblemDefault"
                    }
                }
            }
        },
        "/me": {
            "get": {
                "operationId": "meShow",
                "tags": [
                    "Meta"
                ],
                "summary": "Show your key and account",
                "description": "Who the key is, what it may do and which account it works in. The first call to try with a new key.",
                "security": [
                    {
                        "apiKey": []
                    }
                ],
                "x-idempotency": "none",
                "x-mode": "any",
                "x-dry-run": false,
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "description": "One item.",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/Me"
                                        }
                                    },
                                    "required": [
                                        "data"
                                    ]
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Problem400"
                    },
                    "401": {
                        "$ref": "#/components/responses/Problem401"
                    },
                    "403": {
                        "$ref": "#/components/responses/Problem403"
                    },
                    "404": {
                        "$ref": "#/components/responses/Problem404"
                    },
                    "422": {
                        "$ref": "#/components/responses/Problem422"
                    },
                    "429": {
                        "$ref": "#/components/responses/Problem429"
                    },
                    "500": {
                        "$ref": "#/components/responses/Problem500"
                    },
                    "default": {
                        "$ref": "#/components/responses/ProblemDefault"
                    }
                }
            }
        },
        "/meta/event-types": {
            "get": {
                "operationId": "metaEventTypes",
                "tags": [
                    "Meta"
                ],
                "summary": "List event types",
                "description": "The webhook event types you can subscribe to now.",
                "security": [
                    {
                        "apiKey": []
                    }
                ],
                "x-idempotency": "none",
                "x-mode": "any",
                "x-dry-run": false,
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "description": "One item.",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "description": "Types.",
                                            "example": [],
                                            "items": {
                                                "$ref": "#/components/schemas/EventType"
                                            }
                                        }
                                    },
                                    "required": [
                                        "data"
                                    ]
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Problem400"
                    },
                    "401": {
                        "$ref": "#/components/responses/Problem401"
                    },
                    "403": {
                        "$ref": "#/components/responses/Problem403"
                    },
                    "404": {
                        "$ref": "#/components/responses/Problem404"
                    },
                    "422": {
                        "$ref": "#/components/responses/Problem422"
                    },
                    "429": {
                        "$ref": "#/components/responses/Problem429"
                    },
                    "500": {
                        "$ref": "#/components/responses/Problem500"
                    },
                    "default": {
                        "$ref": "#/components/responses/ProblemDefault"
                    }
                }
            }
        },
        "/meta/scopes": {
            "get": {
                "operationId": "metaScopes",
                "tags": [
                    "Meta"
                ],
                "summary": "List scopes",
                "description": "Every permission a key can hold.",
                "security": [
                    {
                        "apiKey": []
                    }
                ],
                "x-idempotency": "none",
                "x-mode": "any",
                "x-dry-run": false,
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "description": "One item.",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "description": "Scopes.",
                                            "example": [],
                                            "items": {
                                                "$ref": "#/components/schemas/Scope"
                                            }
                                        }
                                    },
                                    "required": [
                                        "data"
                                    ]
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Problem400"
                    },
                    "401": {
                        "$ref": "#/components/responses/Problem401"
                    },
                    "403": {
                        "$ref": "#/components/responses/Problem403"
                    },
                    "404": {
                        "$ref": "#/components/responses/Problem404"
                    },
                    "422": {
                        "$ref": "#/components/responses/Problem422"
                    },
                    "429": {
                        "$ref": "#/components/responses/Problem429"
                    },
                    "500": {
                        "$ref": "#/components/responses/Problem500"
                    },
                    "default": {
                        "$ref": "#/components/responses/ProblemDefault"
                    }
                }
            }
        },
        "/openapi.json": {
            "get": {
                "operationId": "metaOpenapi",
                "tags": [
                    "Meta"
                ],
                "summary": "Download the OpenAPI document",
                "description": "This document as JSON. No key needed; cached 5 minutes.",
                "security": [],
                "x-idempotency": "none",
                "x-mode": "any",
                "x-dry-run": false,
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "additionalProperties": true,
                                    "description": "The OpenAPI document."
                                }
                            }
                        }
                    },
                    "500": {
                        "$ref": "#/components/responses/Problem500"
                    },
                    "default": {
                        "$ref": "#/components/responses/ProblemDefault"
                    }
                }
            }
        },
        "/openapi.yaml": {
            "get": {
                "operationId": "metaOpenapiYaml",
                "tags": [
                    "Meta"
                ],
                "summary": "Download the OpenAPI document as YAML",
                "description": "This document as YAML. No key needed.",
                "security": [],
                "x-idempotency": "none",
                "x-mode": "any",
                "x-dry-run": false,
                "responses": {
                    "200": {
                        "description": "The OpenAPI document.",
                        "content": {
                            "application/yaml": {
                                "schema": {
                                    "type": "string",
                                    "description": "YAML."
                                }
                            }
                        }
                    },
                    "500": {
                        "$ref": "#/components/responses/Problem500"
                    },
                    "default": {
                        "$ref": "#/components/responses/ProblemDefault"
                    }
                }
            }
        },
        "/options/{optionUuid}/availability": {
            "get": {
                "operationId": "availabilityList",
                "tags": [
                    "Availability"
                ],
                "summary": "List departures",
                "description": "Departures of one day (`local_date`), a range (`from`/`to`, at most 31 days) or by id (`availability_ids[]`, at most 100), priced for the party in `units[type]=n`. Not paginated.",
                "security": [
                    {
                        "apiKey": [
                            "availability:read"
                        ]
                    }
                ],
                "x-idempotency": "none",
                "x-mode": "any",
                "x-dry-run": false,
                "parameters": [
                    {
                        "$ref": "#/components/parameters/OptionUuid"
                    },
                    {
                        "name": "local_date",
                        "in": "query",
                        "description": "One local day.",
                        "schema": {
                            "type": "string",
                            "format": "date"
                        },
                        "example": "2026-12-01"
                    },
                    {
                        "name": "from",
                        "in": "query",
                        "description": "First local day.",
                        "schema": {
                            "type": "string",
                            "format": "date"
                        },
                        "example": "2026-12-01"
                    },
                    {
                        "name": "to",
                        "in": "query",
                        "description": "Last local day.",
                        "schema": {
                            "type": "string",
                            "format": "date"
                        },
                        "example": "2026-12-07"
                    },
                    {
                        "name": "availability_ids",
                        "in": "query",
                        "description": "Departure ids.",
                        "schema": {
                            "type": "array",
                            "items": {
                                "type": "string"
                            }
                        },
                        "example": [
                            "c1d2e3f4-a5b6-4c7d-8e9f-0a1b2c3d4e5f"
                        ]
                    },
                    {
                        "name": "units",
                        "in": "query",
                        "description": "Party by unit type, e.g. units[adult]=2.",
                        "schema": {
                            "type": "object",
                            "additionalProperties": {
                                "type": "integer"
                            }
                        },
                        "example": {
                            "adult": 2
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "description": "One item.",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "description": "Departures.",
                                            "example": [],
                                            "items": {
                                                "$ref": "#/components/schemas/Slot"
                                            }
                                        }
                                    },
                                    "required": [
                                        "data"
                                    ]
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Problem400"
                    },
                    "401": {
                        "$ref": "#/components/responses/Problem401"
                    },
                    "403": {
                        "$ref": "#/components/responses/Problem403"
                    },
                    "404": {
                        "$ref": "#/components/responses/Problem404"
                    },
                    "422": {
                        "$ref": "#/components/responses/Problem422"
                    },
                    "429": {
                        "$ref": "#/components/responses/Problem429"
                    },
                    "500": {
                        "$ref": "#/components/responses/Problem500"
                    },
                    "409": {
                        "$ref": "#/components/responses/Problem409"
                    },
                    "default": {
                        "$ref": "#/components/responses/ProblemDefault"
                    }
                }
            }
        },
        "/options/{optionUuid}/availability/calendar": {
            "get": {
                "operationId": "availabilityCalendar",
                "tags": [
                    "Availability"
                ],
                "summary": "Show the calendar",
                "description": "One row per local day (at most 62; default today + 30) with status, vacancies and the lowest price. Ranged products answer 409.",
                "security": [
                    {
                        "apiKey": [
                            "availability:read"
                        ]
                    }
                ],
                "x-idempotency": "none",
                "x-mode": "any",
                "x-dry-run": false,
                "parameters": [
                    {
                        "$ref": "#/components/parameters/OptionUuid"
                    },
                    {
                        "name": "from",
                        "in": "query",
                        "description": "First local day.",
                        "schema": {
                            "type": "string",
                            "format": "date"
                        },
                        "example": "2026-12-01"
                    },
                    {
                        "name": "to",
                        "in": "query",
                        "description": "Last local day.",
                        "schema": {
                            "type": "string",
                            "format": "date"
                        },
                        "example": "2026-12-31"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "description": "One item.",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "description": "Days.",
                                            "example": [],
                                            "items": {
                                                "$ref": "#/components/schemas/CalendarDay"
                                            }
                                        }
                                    },
                                    "required": [
                                        "data"
                                    ]
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Problem400"
                    },
                    "401": {
                        "$ref": "#/components/responses/Problem401"
                    },
                    "403": {
                        "$ref": "#/components/responses/Problem403"
                    },
                    "404": {
                        "$ref": "#/components/responses/Problem404"
                    },
                    "422": {
                        "$ref": "#/components/responses/Problem422"
                    },
                    "429": {
                        "$ref": "#/components/responses/Problem429"
                    },
                    "500": {
                        "$ref": "#/components/responses/Problem500"
                    },
                    "409": {
                        "$ref": "#/components/responses/Problem409"
                    },
                    "default": {
                        "$ref": "#/components/responses/ProblemDefault"
                    }
                }
            }
        },
        "/price-lists": {
            "get": {
                "operationId": "priceListsList",
                "tags": [
                    "Prices"
                ],
                "summary": "List price lists",
                "description": "Your price lists, the default one first. Also answered at the unversioned address without `/v1` until its sunset, with `Deprecation`, `Sunset` and `Link: rel=\"successor-version\"` headers.",
                "security": [
                    {
                        "apiKey": [
                            "products:read"
                        ]
                    }
                ],
                "x-idempotency": "none",
                "x-mode": "any",
                "x-dry-run": false,
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "description": "Every list (there are few; not paged).",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "description": "The lists.",
                                            "example": [],
                                            "items": {
                                                "type": "object",
                                                "description": "A price list. `default` is the list every channel without its own sells from.",
                                                "properties": {
                                                    "code": {
                                                        "type": "string",
                                                        "description": "The code you pass as `price_list`.",
                                                        "example": "default"
                                                    },
                                                    "name": {
                                                        "type": "string",
                                                        "description": "Its name.",
                                                        "example": "Default"
                                                    },
                                                    "currency": {
                                                        "type": "string",
                                                        "description": "ISO 4217 code of its prices.",
                                                        "example": "GEL"
                                                    },
                                                    "kind": {
                                                        "type": "string",
                                                        "description": "retail or net.",
                                                        "example": "retail"
                                                    },
                                                    "status": {
                                                        "type": "string",
                                                        "description": "active or archived.",
                                                        "example": "active"
                                                    }
                                                },
                                                "required": [
                                                    "code",
                                                    "name",
                                                    "currency"
                                                ]
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Problem400"
                    },
                    "401": {
                        "$ref": "#/components/responses/Problem401"
                    },
                    "403": {
                        "$ref": "#/components/responses/Problem403"
                    },
                    "404": {
                        "$ref": "#/components/responses/Problem404"
                    },
                    "422": {
                        "$ref": "#/components/responses/Problem422"
                    },
                    "429": {
                        "$ref": "#/components/responses/Problem429"
                    },
                    "500": {
                        "$ref": "#/components/responses/Problem500"
                    },
                    "default": {
                        "$ref": "#/components/responses/ProblemDefault"
                    }
                }
            }
        },
        "/product-types": {
            "get": {
                "operationId": "productTypesList",
                "tags": [
                    "Products"
                ],
                "summary": "List product types",
                "description": "The archetypes you create products from, with the detail sections and fields each asks for.",
                "security": [
                    {
                        "apiKey": []
                    }
                ],
                "x-idempotency": "none",
                "x-mode": "any",
                "x-dry-run": false,
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "description": "One item.",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "description": "Types.",
                                            "example": [],
                                            "items": {
                                                "$ref": "#/components/schemas/ProductType"
                                            }
                                        }
                                    },
                                    "required": [
                                        "data"
                                    ]
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Problem400"
                    },
                    "401": {
                        "$ref": "#/components/responses/Problem401"
                    },
                    "403": {
                        "$ref": "#/components/responses/Problem403"
                    },
                    "404": {
                        "$ref": "#/components/responses/Problem404"
                    },
                    "422": {
                        "$ref": "#/components/responses/Problem422"
                    },
                    "429": {
                        "$ref": "#/components/responses/Problem429"
                    },
                    "500": {
                        "$ref": "#/components/responses/Problem500"
                    },
                    "default": {
                        "$ref": "#/components/responses/ProblemDefault"
                    }
                }
            }
        },
        "/products": {
            "get": {
                "operationId": "productsList",
                "tags": [
                    "Products"
                ],
                "summary": "List products",
                "description": "Your products, newest first. Use `updated_since` with `sort=updated_at` to sync incrementally.",
                "security": [
                    {
                        "apiKey": [
                            "products:read"
                        ]
                    }
                ],
                "x-idempotency": "none",
                "x-mode": "any",
                "x-dry-run": false,
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Limit"
                    },
                    {
                        "$ref": "#/components/parameters/Cursor"
                    },
                    {
                        "name": "sort",
                        "in": "query",
                        "description": "Sort order: -created_at, created_at, -updated_at, updated_at.",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "-created_at",
                                "created_at",
                                "-updated_at",
                                "updated_at"
                            ]
                        },
                        "example": "-created_at"
                    },
                    {
                        "name": "status",
                        "in": "query",
                        "description": "Status, several allowed.",
                        "schema": {
                            "type": "array",
                            "items": {
                                "type": "string"
                            }
                        },
                        "example": [
                            "published"
                        ]
                    },
                    {
                        "name": "type",
                        "in": "query",
                        "description": "Type code, several allowed.",
                        "schema": {
                            "type": "array",
                            "items": {
                                "type": "string"
                            }
                        },
                        "example": [
                            "walking_tour"
                        ]
                    },
                    {
                        "name": "q",
                        "in": "query",
                        "description": "Title contains (2 characters or more).",
                        "schema": {
                            "type": "string",
                            "minLength": 2
                        },
                        "example": "tbilisi"
                    },
                    {
                        "name": "updated_since",
                        "in": "query",
                        "description": "Changed after this instant (exclusive).",
                        "schema": {
                            "type": "string",
                            "format": "date-time"
                        },
                        "example": "2026-11-30T00:00:00Z"
                    },
                    {
                        "name": "include",
                        "in": "query",
                        "description": "Expand: options, units, media, translations.",
                        "schema": {
                            "type": "string"
                        },
                        "example": "options"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "description": "A page.",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "description": "The items.",
                                            "example": [],
                                            "items": {
                                                "$ref": "#/components/schemas/ProductSummary"
                                            }
                                        },
                                        "meta": {
                                            "$ref": "#/components/schemas/PageMeta"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta"
                                    ]
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Problem400"
                    },
                    "401": {
                        "$ref": "#/components/responses/Problem401"
                    },
                    "403": {
                        "$ref": "#/components/responses/Problem403"
                    },
                    "404": {
                        "$ref": "#/components/responses/Problem404"
                    },
                    "422": {
                        "$ref": "#/components/responses/Problem422"
                    },
                    "429": {
                        "$ref": "#/components/responses/Problem429"
                    },
                    "500": {
                        "$ref": "#/components/responses/Problem500"
                    },
                    "default": {
                        "$ref": "#/components/responses/ProblemDefault"
                    }
                }
            },
            "post": {
                "operationId": "productsCreate",
                "tags": [
                    "Products"
                ],
                "summary": "Create a product",
                "description": "Creates a product from an archetype; omitted fields take the archetype's defaults. Not complete yet, it is created as a draft and `missing` says what it needs. Emits product.created.",
                "security": [
                    {
                        "apiKey": [
                            "products:write"
                        ]
                    }
                ],
                "x-idempotency": "required",
                "x-mode": "live",
                "x-dry-run": true,
                "parameters": [
                    {
                        "$ref": "#/components/parameters/DryRun"
                    },
                    {
                        "$ref": "#/components/parameters/IdempotencyKey"
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "description": "`{type, title, options:[{title, prices?, range?}], …}` as GET /product-types describes; camelCase or snake_case members.",
                                "additionalProperties": true,
                                "example": {
                                    "type": "walking_tour",
                                    "title": "Old Tbilisi walk",
                                    "options": [
                                        {
                                            "title": "Morning",
                                            "prices": [
                                                {
                                                    "unitType": "adult",
                                                    "net": 120
                                                }
                                            ]
                                        }
                                    ]
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The would-be result of a dry run (`?dry_run=true`); nothing was stored.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "description": "One item.",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/ProductCreated"
                                        }
                                    },
                                    "required": [
                                        "data"
                                    ]
                                }
                            }
                        }
                    },
                    "201": {
                        "description": "Created",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "description": "One item.",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/ProductCreated"
                                        }
                                    },
                                    "required": [
                                        "data"
                                    ]
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Problem400"
                    },
                    "401": {
                        "$ref": "#/components/responses/Problem401"
                    },
                    "403": {
                        "$ref": "#/components/responses/Problem403"
                    },
                    "404": {
                        "$ref": "#/components/responses/Problem404"
                    },
                    "422": {
                        "$ref": "#/components/responses/Problem422"
                    },
                    "429": {
                        "$ref": "#/components/responses/Problem429"
                    },
                    "500": {
                        "$ref": "#/components/responses/Problem500"
                    },
                    "default": {
                        "$ref": "#/components/responses/ProblemDefault"
                    }
                }
            }
        },
        "/products/{uuid}": {
            "get": {
                "operationId": "productsShow",
                "tags": [
                    "Products"
                ],
                "summary": "Show a product",
                "description": "A product with its options, units, questions and itinerary.",
                "security": [
                    {
                        "apiKey": [
                            "products:read"
                        ]
                    }
                ],
                "x-idempotency": "none",
                "x-mode": "any",
                "x-dry-run": false,
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Uuid"
                    },
                    {
                        "name": "include",
                        "in": "query",
                        "description": "Expand: translations.",
                        "schema": {
                            "type": "string"
                        },
                        "example": "translations"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "description": "One item.",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/Product"
                                        }
                                    },
                                    "required": [
                                        "data"
                                    ]
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Problem400"
                    },
                    "401": {
                        "$ref": "#/components/responses/Problem401"
                    },
                    "403": {
                        "$ref": "#/components/responses/Problem403"
                    },
                    "404": {
                        "$ref": "#/components/responses/Problem404"
                    },
                    "422": {
                        "$ref": "#/components/responses/Problem422"
                    },
                    "429": {
                        "$ref": "#/components/responses/Problem429"
                    },
                    "500": {
                        "$ref": "#/components/responses/Problem500"
                    },
                    "default": {
                        "$ref": "#/components/responses/ProblemDefault"
                    }
                }
            },
            "patch": {
                "operationId": "productsUpdate",
                "tags": [
                    "Products"
                ],
                "summary": "Change a product",
                "description": "Changes wording, status or settings; absent members stay as they are. Publishing checks the product is complete. Emits product.updated (or product.published / unpublished).",
                "security": [
                    {
                        "apiKey": [
                            "products:write"
                        ]
                    }
                ],
                "x-idempotency": "optional",
                "x-mode": "live",
                "x-dry-run": true,
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Uuid"
                    },
                    {
                        "$ref": "#/components/parameters/DryRun"
                    },
                    {
                        "$ref": "#/components/parameters/IdempotencyKey"
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "description": "Members to change: title, status, shortDescription, description, highlights, priceIncludes, metaTitle, metaDescription, isFeatured, scarcityThreshold.",
                                "additionalProperties": true,
                                "example": {
                                    "title": "Old Tbilisi walk at dawn"
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "description": "One item.",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/Product"
                                        }
                                    },
                                    "required": [
                                        "data"
                                    ]
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Problem400"
                    },
                    "401": {
                        "$ref": "#/components/responses/Problem401"
                    },
                    "403": {
                        "$ref": "#/components/responses/Problem403"
                    },
                    "404": {
                        "$ref": "#/components/responses/Problem404"
                    },
                    "422": {
                        "$ref": "#/components/responses/Problem422"
                    },
                    "429": {
                        "$ref": "#/components/responses/Problem429"
                    },
                    "500": {
                        "$ref": "#/components/responses/Problem500"
                    },
                    "default": {
                        "$ref": "#/components/responses/ProblemDefault"
                    }
                }
            },
            "delete": {
                "operationId": "productsArchive",
                "tags": [
                    "Products"
                ],
                "summary": "Archive a product",
                "description": "Takes the product off sale and keeps it with its bookings; refused while confirmed bookings are still to run. Emits product.unpublished.",
                "security": [
                    {
                        "apiKey": [
                            "products:write"
                        ]
                    }
                ],
                "x-idempotency": "optional",
                "x-mode": "live",
                "x-dry-run": true,
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Uuid"
                    },
                    {
                        "$ref": "#/components/parameters/DryRun"
                    },
                    {
                        "$ref": "#/components/parameters/IdempotencyKey"
                    }
                ],
                "responses": {
                    "204": {
                        "description": "Archived."
                    },
                    "400": {
                        "$ref": "#/components/responses/Problem400"
                    },
                    "401": {
                        "$ref": "#/components/responses/Problem401"
                    },
                    "403": {
                        "$ref": "#/components/responses/Problem403"
                    },
                    "404": {
                        "$ref": "#/components/responses/Problem404"
                    },
                    "422": {
                        "$ref": "#/components/responses/Problem422"
                    },
                    "429": {
                        "$ref": "#/components/responses/Problem429"
                    },
                    "500": {
                        "$ref": "#/components/responses/Problem500"
                    },
                    "409": {
                        "$ref": "#/components/responses/Problem409"
                    },
                    "default": {
                        "$ref": "#/components/responses/ProblemDefault"
                    }
                },
                "x-error-codes": {
                    "conflict": {
                        "status": 409,
                        "description": "The product has confirmed bookings still to run."
                    }
                }
            }
        },
        "/products/{uuid}/copy": {
            "get": {
                "operationId": "productsCopyPlan",
                "tags": [
                    "Products"
                ],
                "summary": "Plan a copy under another type",
                "description": "What a copy under a type would ask for and carry, before it is made.",
                "security": [
                    {
                        "apiKey": [
                            "products:read"
                        ]
                    }
                ],
                "x-idempotency": "none",
                "x-mode": "any",
                "x-dry-run": false,
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Uuid"
                    },
                    {
                        "name": "type",
                        "in": "query",
                        "description": "The type to copy to.",
                        "schema": {
                            "type": "string"
                        },
                        "example": "transfer"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "description": "One item.",
                                    "properties": {
                                        "data": {
                                            "type": "object",
                                            "description": "The plan.",
                                            "additionalProperties": true
                                        }
                                    },
                                    "required": [
                                        "data"
                                    ]
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Problem400"
                    },
                    "401": {
                        "$ref": "#/components/responses/Problem401"
                    },
                    "403": {
                        "$ref": "#/components/responses/Problem403"
                    },
                    "404": {
                        "$ref": "#/components/responses/Problem404"
                    },
                    "422": {
                        "$ref": "#/components/responses/Problem422"
                    },
                    "429": {
                        "$ref": "#/components/responses/Problem429"
                    },
                    "500": {
                        "$ref": "#/components/responses/Problem500"
                    },
                    "default": {
                        "$ref": "#/components/responses/ProblemDefault"
                    }
                }
            },
            "post": {
                "operationId": "productsCopy",
                "tags": [
                    "Products"
                ],
                "summary": "Copy a product",
                "description": "The product again, as a draft, under the type given or its own. Emits product.created.",
                "security": [
                    {
                        "apiKey": [
                            "products:write"
                        ]
                    }
                ],
                "x-idempotency": "required",
                "x-mode": "live",
                "x-dry-run": true,
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Uuid"
                    },
                    {
                        "$ref": "#/components/parameters/DryRun"
                    },
                    {
                        "$ref": "#/components/parameters/IdempotencyKey"
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "description": "`{type?, pricingPer?, startTimes?, openingHours?, capacity?}`.",
                                "additionalProperties": true,
                                "example": {
                                    "type": "transfer"
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The would-be result of a dry run (`?dry_run=true`); nothing was stored.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "description": "One item.",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/ProductCopied"
                                        }
                                    },
                                    "required": [
                                        "data"
                                    ]
                                }
                            }
                        }
                    },
                    "201": {
                        "description": "Created",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "description": "One item.",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/ProductCopied"
                                        }
                                    },
                                    "required": [
                                        "data"
                                    ]
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Problem400"
                    },
                    "401": {
                        "$ref": "#/components/responses/Problem401"
                    },
                    "403": {
                        "$ref": "#/components/responses/Problem403"
                    },
                    "404": {
                        "$ref": "#/components/responses/Problem404"
                    },
                    "422": {
                        "$ref": "#/components/responses/Problem422"
                    },
                    "429": {
                        "$ref": "#/components/responses/Problem429"
                    },
                    "500": {
                        "$ref": "#/components/responses/Problem500"
                    },
                    "default": {
                        "$ref": "#/components/responses/ProblemDefault"
                    }
                }
            }
        },
        "/products/{uuid}/details": {
            "put": {
                "operationId": "productsDetailsUpdate",
                "tags": [
                    "Products"
                ],
                "summary": "Write a detail section",
                "description": "`{section, values, option?, replace?}`, checked against the type's registry. Amounts in major units.",
                "security": [
                    {
                        "apiKey": [
                            "products:write"
                        ]
                    }
                ],
                "x-idempotency": "optional",
                "x-mode": "live",
                "x-dry-run": true,
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Uuid"
                    },
                    {
                        "$ref": "#/components/parameters/DryRun"
                    },
                    {
                        "$ref": "#/components/parameters/IdempotencyKey"
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "description": "The section.",
                                "additionalProperties": true,
                                "example": {
                                    "section": "transfer_route",
                                    "values": {
                                        "from": "Tbilisi Airport"
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "description": "One item.",
                                    "properties": {
                                        "data": {
                                            "type": "object",
                                            "description": "The section as saved.",
                                            "properties": {
                                                "section": {
                                                    "type": "string",
                                                    "description": "The section.",
                                                    "example": "transfer_route"
                                                },
                                                "values": {
                                                    "type": "object",
                                                    "description": "Its values.",
                                                    "additionalProperties": true
                                                },
                                                "currency": {
                                                    "type": "string",
                                                    "description": "Currency of amounts.",
                                                    "example": "GEL"
                                                },
                                                "dryRun": {
                                                    "type": "boolean",
                                                    "description": "Present on dry runs.",
                                                    "example": true
                                                }
                                            },
                                            "required": [
                                                "section",
                                                "values",
                                                "currency"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "data"
                                    ]
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Problem400"
                    },
                    "401": {
                        "$ref": "#/components/responses/Problem401"
                    },
                    "403": {
                        "$ref": "#/components/responses/Problem403"
                    },
                    "404": {
                        "$ref": "#/components/responses/Problem404"
                    },
                    "422": {
                        "$ref": "#/components/responses/Problem422"
                    },
                    "429": {
                        "$ref": "#/components/responses/Problem429"
                    },
                    "500": {
                        "$ref": "#/components/responses/Problem500"
                    },
                    "default": {
                        "$ref": "#/components/responses/ProblemDefault"
                    }
                }
            }
        },
        "/products/{uuid}/options/{optionUuid}/availability": {
            "post": {
                "operationId": "productsOptionsAvailabilityPush",
                "tags": [
                    "Availability"
                ],
                "summary": "Push availability",
                "description": "A schedule over a date range (`{dateFrom, dateTo, weekdayMask?, startTimes?, openingHours?, capacity?, status?}`); `status: CLOSED` stops sales. Emits availability.updated.",
                "security": [
                    {
                        "apiKey": [
                            "availability:write"
                        ]
                    }
                ],
                "x-idempotency": "optional",
                "x-mode": "live",
                "x-dry-run": true,
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Uuid"
                    },
                    {
                        "$ref": "#/components/parameters/OptionUuid"
                    },
                    {
                        "$ref": "#/components/parameters/DryRun"
                    },
                    {
                        "$ref": "#/components/parameters/IdempotencyKey"
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "description": "The schedule.",
                                "properties": {
                                    "dateFrom": {
                                        "$ref": "#/components/schemas/LocalDate"
                                    },
                                    "dateTo": {
                                        "$ref": "#/components/schemas/LocalDate"
                                    },
                                    "weekdayMask": {
                                        "type": "integer",
                                        "description": "Days of the week, Monday = 1 … Sunday = 64.",
                                        "example": 127
                                    },
                                    "startTimes": {
                                        "type": "array",
                                        "description": "Start times.",
                                        "example": [
                                            "09:30"
                                        ],
                                        "items": []
                                    },
                                    "openingHours": {
                                        "type": "array",
                                        "description": "Opening hours.",
                                        "example": [],
                                        "items": []
                                    },
                                    "capacity": {
                                        "type": [
                                            "integer",
                                            "null"
                                        ],
                                        "description": "Places.",
                                        "example": 20
                                    },
                                    "status": {
                                        "type": "string",
                                        "description": "AVAILABLE or CLOSED.",
                                        "example": "AVAILABLE",
                                        "enum": [
                                            "AVAILABLE",
                                            "CLOSED"
                                        ]
                                    }
                                },
                                "required": [
                                    "dateFrom",
                                    "dateTo"
                                ],
                                "additionalProperties": true
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "description": "One item.",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/AvailabilityPushed"
                                        }
                                    },
                                    "required": [
                                        "data"
                                    ]
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Problem400"
                    },
                    "401": {
                        "$ref": "#/components/responses/Problem401"
                    },
                    "403": {
                        "$ref": "#/components/responses/Problem403"
                    },
                    "404": {
                        "$ref": "#/components/responses/Problem404"
                    },
                    "422": {
                        "$ref": "#/components/responses/Problem422"
                    },
                    "429": {
                        "$ref": "#/components/responses/Problem429"
                    },
                    "500": {
                        "$ref": "#/components/responses/Problem500"
                    },
                    "default": {
                        "$ref": "#/components/responses/ProblemDefault"
                    }
                }
            }
        },
        "/products/{uuid}/options/{optionUuid}/itinerary": {
            "put": {
                "operationId": "productsOptionsItineraryUpdate",
                "tags": [
                    "Products"
                ],
                "summary": "Replace an option's itinerary",
                "description": "`{stops: [...]}` replaces the itinerary. Emits product.updated.",
                "security": [
                    {
                        "apiKey": [
                            "products:write"
                        ]
                    }
                ],
                "x-idempotency": "optional",
                "x-mode": "live",
                "x-dry-run": true,
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Uuid"
                    },
                    {
                        "$ref": "#/components/parameters/OptionUuid"
                    },
                    {
                        "$ref": "#/components/parameters/DryRun"
                    },
                    {
                        "$ref": "#/components/parameters/IdempotencyKey"
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "description": "The new value.",
                                "additionalProperties": true
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "description": "One item.",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "description": "The stops.",
                                            "example": [],
                                            "items": []
                                        },
                                        "dryRun": {
                                            "type": "boolean",
                                            "description": "Present, and true, on a dry run (`?dry_run=true`); nothing was stored.",
                                            "example": true
                                        }
                                    },
                                    "required": [
                                        "data"
                                    ]
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Problem400"
                    },
                    "401": {
                        "$ref": "#/components/responses/Problem401"
                    },
                    "403": {
                        "$ref": "#/components/responses/Problem403"
                    },
                    "404": {
                        "$ref": "#/components/responses/Problem404"
                    },
                    "422": {
                        "$ref": "#/components/responses/Problem422"
                    },
                    "429": {
                        "$ref": "#/components/responses/Problem429"
                    },
                    "500": {
                        "$ref": "#/components/responses/Problem500"
                    },
                    "default": {
                        "$ref": "#/components/responses/ProblemDefault"
                    }
                }
            }
        },
        "/products/{uuid}/options/{optionUuid}/prices": {
            "get": {
                "operationId": "productsOptionsPricesList",
                "tags": [
                    "Prices"
                ],
                "summary": "List the prices of departures",
                "description": "The published price of every departure of an option between two dates (at most 62 days), in your key's price list unless `price_list` names another. Also answered at the unversioned address without `/v1` until its sunset, with `Deprecation`, `Sunset` and `Link: rel=\"successor-version\"` headers.",
                "security": [
                    {
                        "apiKey": [
                            "products:read"
                        ]
                    }
                ],
                "x-idempotency": "none",
                "x-mode": "any",
                "x-dry-run": false,
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "description": "The product's id.",
                        "schema": {
                            "$ref": "#/components/schemas/Uuid"
                        },
                        "example": "9b1d4e7a-2c3f-4d5e-8a6b-0c1d2e3f4a5b"
                    },
                    {
                        "$ref": "#/components/parameters/OptionUuid"
                    },
                    {
                        "name": "from",
                        "in": "query",
                        "description": "First day; default today in the product's time zone.",
                        "schema": {
                            "type": "string",
                            "format": "date"
                        },
                        "example": "2026-12-01"
                    },
                    {
                        "name": "to",
                        "in": "query",
                        "description": "Last day; default 30 days after `from`.",
                        "schema": {
                            "type": "string",
                            "format": "date"
                        },
                        "example": "2026-12-31"
                    },
                    {
                        "name": "price_list",
                        "in": "query",
                        "description": "A price list code, or `default`.",
                        "schema": {
                            "type": "string"
                        },
                        "example": "default"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "description": "The departures in the range.",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "description": "Departures, in time order.",
                                            "example": [],
                                            "items": {
                                                "type": "object",
                                                "description": "One departure's published prices, OCTO field names, in minor units.",
                                                "properties": {
                                                    "availabilityId": {
                                                        "$ref": "#/components/schemas/Uuid"
                                                    },
                                                    "localDateTimeStart": {
                                                        "type": "string",
                                                        "description": "Start, local time with offset.",
                                                        "example": "2026-12-05T09:00:00+04:00",
                                                        "format": "date-time"
                                                    },
                                                    "unitPricing": {
                                                        "type": "array",
                                                        "description": "One price per ticket type.",
                                                        "example": [
                                                            {
                                                                "unitId": "5e6f7a8b-9c0d-4e1f-a2b3-c4d5e6f7a8b9",
                                                                "original": 15000,
                                                                "retail": 12000,
                                                                "currency": "GEL",
                                                                "currencyPrecision": 2
                                                            }
                                                        ],
                                                        "items": {
                                                            "type": "object",
                                                            "description": "A ticket type's price.",
                                                            "properties": {
                                                                "unitId": {
                                                                    "type": [
                                                                        "string",
                                                                        "null"
                                                                    ],
                                                                    "description": "The ticket type, null for a price per booking.",
                                                                    "example": "5e6f7a8b-9c0d-4e1f-a2b3-c4d5e6f7a8b9"
                                                                },
                                                                "original": {
                                                                    "type": "integer",
                                                                    "description": "Price before any discount, minor units.",
                                                                    "example": 15000
                                                                },
                                                                "retail": {
                                                                    "type": "integer",
                                                                    "description": "What the guest pays, minor units.",
                                                                    "example": 12000
                                                                },
                                                                "currency": {
                                                                    "type": "string",
                                                                    "description": "ISO 4217 code.",
                                                                    "example": "GEL"
                                                                },
                                                                "currencyPrecision": {
                                                                    "type": "integer",
                                                                    "description": "Digits after the decimal point.",
                                                                    "example": 2
                                                                }
                                                            }
                                                        }
                                                    },
                                                    "version": {
                                                        "type": "integer",
                                                        "description": "Changes whenever any price of the departure does.",
                                                        "example": 48213
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Problem400"
                    },
                    "401": {
                        "$ref": "#/components/responses/Problem401"
                    },
                    "403": {
                        "$ref": "#/components/responses/Problem403"
                    },
                    "404": {
                        "$ref": "#/components/responses/Problem404"
                    },
                    "422": {
                        "$ref": "#/components/responses/Problem422"
                    },
                    "429": {
                        "$ref": "#/components/responses/Problem429"
                    },
                    "500": {
                        "$ref": "#/components/responses/Problem500"
                    },
                    "default": {
                        "$ref": "#/components/responses/ProblemDefault"
                    }
                }
            }
        },
        "/products/{uuid}/options/{optionUuid}/pricing": {
            "post": {
                "operationId": "productsOptionsPricingPush",
                "tags": [
                    "Prices"
                ],
                "summary": "Push net prices",
                "description": "Writes net prices for date ranges of an option, per ticket type; a later push wins over an earlier one. Group prices (`minQuantity` > 1) count only with the rate pushed before them. Emits price changes to every channel. Also answered at the unversioned address without `/v1` until its sunset, with `Deprecation`, `Sunset` and `Link: rel=\"successor-version\"` headers.",
                "security": [
                    {
                        "apiKey": [
                            "availability:write"
                        ]
                    }
                ],
                "x-idempotency": "optional",
                "x-mode": "live",
                "x-dry-run": true,
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "description": "The product's id.",
                        "schema": {
                            "$ref": "#/components/schemas/Uuid"
                        },
                        "example": "9b1d4e7a-2c3f-4d5e-8a6b-0c1d2e3f4a5b"
                    },
                    {
                        "$ref": "#/components/parameters/OptionUuid"
                    },
                    {
                        "$ref": "#/components/parameters/DryRun"
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "description": "The prices.",
                                "properties": {
                                    "prices": {
                                        "type": "array",
                                        "description": "At least one.",
                                        "example": [
                                            {
                                                "unitType": "adult",
                                                "net": "45.00",
                                                "dateFrom": "2026-12-01",
                                                "dateTo": "2027-03-31"
                                            }
                                        ],
                                        "items": {
                                            "type": "object",
                                            "description": "A price for a date range.",
                                            "properties": {
                                                "unitType": {
                                                    "type": "string",
                                                    "description": "The ticket type (adult, child…); none for every type.",
                                                    "example": "adult"
                                                },
                                                "net": {
                                                    "type": "string",
                                                    "description": "What you receive, in major units of your currency.",
                                                    "example": "45.00"
                                                },
                                                "rrp": {
                                                    "type": "string",
                                                    "description": "Recommended retail price, major units.",
                                                    "example": "59.00"
                                                },
                                                "minSelling": {
                                                    "type": "string",
                                                    "description": "The lowest price a channel may sell at, major units.",
                                                    "example": "50.00"
                                                },
                                                "dateFrom": {
                                                    "type": "string",
                                                    "description": "First day.",
                                                    "example": "2026-12-01",
                                                    "format": "date"
                                                },
                                                "dateTo": {
                                                    "type": "string",
                                                    "description": "Last day.",
                                                    "example": "2027-03-31",
                                                    "format": "date"
                                                },
                                                "weekdayMask": {
                                                    "type": "integer",
                                                    "description": "Days of the week, Monday = 1 … Sunday = 64; default 127 (all).",
                                                    "example": 127
                                                },
                                                "minQuantity": {
                                                    "type": "integer",
                                                    "description": "Group price from this many; default 1.",
                                                    "example": 1
                                                },
                                                "minLength": {
                                                    "type": "integer",
                                                    "description": "For rentals: from this many days or hours; default 1.",
                                                    "example": 1
                                                }
                                            },
                                            "required": [
                                                "net",
                                                "dateFrom",
                                                "dateTo"
                                            ]
                                        }
                                    }
                                },
                                "required": [
                                    "prices"
                                ]
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "description": "One item.",
                                    "properties": {
                                        "data": {
                                            "type": "object",
                                            "description": "What was written.",
                                            "properties": {
                                                "optionId": {
                                                    "$ref": "#/components/schemas/Uuid"
                                                },
                                                "pricesWritten": {
                                                    "type": "integer",
                                                    "description": "Rows written; a row naming an unknown ticket type is skipped.",
                                                    "example": 1
                                                },
                                                "dryRun": {
                                                    "type": "boolean",
                                                    "description": "Present and true on a dry run: nothing was stored.",
                                                    "example": true
                                                }
                                            }
                                        }
                                    },
                                    "required": [
                                        "data"
                                    ]
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Problem400"
                    },
                    "401": {
                        "$ref": "#/components/responses/Problem401"
                    },
                    "403": {
                        "$ref": "#/components/responses/Problem403"
                    },
                    "404": {
                        "$ref": "#/components/responses/Problem404"
                    },
                    "422": {
                        "$ref": "#/components/responses/Problem422"
                    },
                    "429": {
                        "$ref": "#/components/responses/Problem429"
                    },
                    "500": {
                        "$ref": "#/components/responses/Problem500"
                    },
                    "default": {
                        "$ref": "#/components/responses/ProblemDefault"
                    }
                }
            }
        },
        "/products/{uuid}/options/{optionUuid}/questions": {
            "put": {
                "operationId": "productsOptionsQuestionsUpdate",
                "tags": [
                    "Products"
                ],
                "summary": "Replace an option's questions",
                "description": "`{questions: [...]}` replaces the checkout questions. Emits product.updated.",
                "security": [
                    {
                        "apiKey": [
                            "products:write"
                        ]
                    }
                ],
                "x-idempotency": "optional",
                "x-mode": "live",
                "x-dry-run": true,
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Uuid"
                    },
                    {
                        "$ref": "#/components/parameters/OptionUuid"
                    },
                    {
                        "$ref": "#/components/parameters/DryRun"
                    },
                    {
                        "$ref": "#/components/parameters/IdempotencyKey"
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "description": "The new value.",
                                "additionalProperties": true
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "description": "One item.",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "description": "The questions.",
                                            "example": [],
                                            "items": []
                                        },
                                        "dryRun": {
                                            "type": "boolean",
                                            "description": "Present, and true, on a dry run (`?dry_run=true`); nothing was stored.",
                                            "example": true
                                        }
                                    },
                                    "required": [
                                        "data"
                                    ]
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Problem400"
                    },
                    "401": {
                        "$ref": "#/components/responses/Problem401"
                    },
                    "403": {
                        "$ref": "#/components/responses/Problem403"
                    },
                    "404": {
                        "$ref": "#/components/responses/Problem404"
                    },
                    "422": {
                        "$ref": "#/components/responses/Problem422"
                    },
                    "429": {
                        "$ref": "#/components/responses/Problem429"
                    },
                    "500": {
                        "$ref": "#/components/responses/Problem500"
                    },
                    "default": {
                        "$ref": "#/components/responses/ProblemDefault"
                    }
                }
            }
        },
        "/products/{uuid}/options/{optionUuid}/range": {
            "put": {
                "operationId": "productsOptionsRangeUpdate",
                "tags": [
                    "Products"
                ],
                "summary": "Set how an option runs over dates",
                "description": "`{basis: day|night|hour|none, min?, max?, flat?}`. Emits product.updated.",
                "security": [
                    {
                        "apiKey": [
                            "products:write"
                        ]
                    }
                ],
                "x-idempotency": "optional",
                "x-mode": "live",
                "x-dry-run": true,
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Uuid"
                    },
                    {
                        "$ref": "#/components/parameters/OptionUuid"
                    },
                    {
                        "$ref": "#/components/parameters/DryRun"
                    },
                    {
                        "$ref": "#/components/parameters/IdempotencyKey"
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "description": "The new value.",
                                "additionalProperties": true
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "description": "One item.",
                                    "properties": {
                                        "data": {
                                            "type": "object",
                                            "description": "The range.",
                                            "properties": {
                                                "range": {
                                                    "type": [
                                                        "object",
                                                        "null"
                                                    ],
                                                    "description": "The range terms.",
                                                    "additionalProperties": true
                                                },
                                                "dryRun": {
                                                    "type": "boolean",
                                                    "description": "Present on dry runs.",
                                                    "example": true
                                                }
                                            },
                                            "required": [
                                                "range"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "data"
                                    ]
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Problem400"
                    },
                    "401": {
                        "$ref": "#/components/responses/Problem401"
                    },
                    "403": {
                        "$ref": "#/components/responses/Problem403"
                    },
                    "404": {
                        "$ref": "#/components/responses/Problem404"
                    },
                    "422": {
                        "$ref": "#/components/responses/Problem422"
                    },
                    "429": {
                        "$ref": "#/components/responses/Problem429"
                    },
                    "500": {
                        "$ref": "#/components/responses/Problem500"
                    },
                    "default": {
                        "$ref": "#/components/responses/ProblemDefault"
                    }
                }
            }
        },
        "/products/{uuid}/options/{optionUuid}/resources": {
            "put": {
                "operationId": "productsOptionsResourcesUpdate",
                "tags": [
                    "Products"
                ],
                "summary": "Set what an option uses",
                "description": "`{resources: [{resource, quantity?, per?}]}`: the boats, vehicles or guides it needs. Emits product.updated.",
                "security": [
                    {
                        "apiKey": [
                            "products:write"
                        ]
                    }
                ],
                "x-idempotency": "optional",
                "x-mode": "live",
                "x-dry-run": true,
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Uuid"
                    },
                    {
                        "$ref": "#/components/parameters/OptionUuid"
                    },
                    {
                        "$ref": "#/components/parameters/DryRun"
                    },
                    {
                        "$ref": "#/components/parameters/IdempotencyKey"
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "description": "The new value.",
                                "additionalProperties": true
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "description": "One item.",
                                    "properties": {
                                        "data": {
                                            "description": "The product's resources and their use."
                                        },
                                        "dryRun": {
                                            "type": "boolean",
                                            "description": "Present, and true, on a dry run (`?dry_run=true`); nothing was stored.",
                                            "example": true
                                        }
                                    },
                                    "required": [
                                        "data"
                                    ]
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Problem400"
                    },
                    "401": {
                        "$ref": "#/components/responses/Problem401"
                    },
                    "403": {
                        "$ref": "#/components/responses/Problem403"
                    },
                    "404": {
                        "$ref": "#/components/responses/Problem404"
                    },
                    "422": {
                        "$ref": "#/components/responses/Problem422"
                    },
                    "429": {
                        "$ref": "#/components/responses/Problem429"
                    },
                    "500": {
                        "$ref": "#/components/responses/Problem500"
                    },
                    "default": {
                        "$ref": "#/components/responses/ProblemDefault"
                    }
                }
            }
        },
        "/products/{uuid}/resources": {
            "get": {
                "operationId": "productsResourcesList",
                "tags": [
                    "Products"
                ],
                "summary": "List a product's resources",
                "description": "Your resources and what each option of the product uses.",
                "security": [
                    {
                        "apiKey": [
                            "products:read"
                        ]
                    }
                ],
                "x-idempotency": "none",
                "x-mode": "any",
                "x-dry-run": false,
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Uuid"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "description": "One item.",
                                    "properties": {
                                        "data": {
                                            "description": "Resources and their use."
                                        }
                                    },
                                    "required": [
                                        "data"
                                    ]
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Problem400"
                    },
                    "401": {
                        "$ref": "#/components/responses/Problem401"
                    },
                    "403": {
                        "$ref": "#/components/responses/Problem403"
                    },
                    "404": {
                        "$ref": "#/components/responses/Problem404"
                    },
                    "422": {
                        "$ref": "#/components/responses/Problem422"
                    },
                    "429": {
                        "$ref": "#/components/responses/Problem429"
                    },
                    "500": {
                        "$ref": "#/components/responses/Problem500"
                    },
                    "default": {
                        "$ref": "#/components/responses/ProblemDefault"
                    }
                }
            }
        },
        "/quote-requests": {
            "get": {
                "operationId": "quoteRequestsList",
                "tags": [
                    "Quote requests"
                ],
                "summary": "List quote requests",
                "description": "Open requests first, then the rest, newest first (at most 200). Also answered at the unversioned address without `/v1` until its sunset, with `Deprecation`, `Sunset` and `Link: rel=\"successor-version\"` headers.",
                "security": [
                    {
                        "apiKey": [
                            "bookings:read"
                        ]
                    }
                ],
                "x-idempotency": "none",
                "x-mode": "any",
                "x-dry-run": false,
                "parameters": [
                    {
                        "name": "status",
                        "in": "query",
                        "description": "open, quoted, accepted, declined, withdrawn or expired.",
                        "schema": {
                            "type": "string"
                        },
                        "example": "open"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "description": "The requests.",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "description": "The requests.",
                                            "example": [],
                                            "items": {
                                                "type": "object",
                                                "description": "A request for a price on a product sold on request.",
                                                "properties": {
                                                    "uuid": {
                                                        "$ref": "#/components/schemas/Uuid"
                                                    },
                                                    "reference": {
                                                        "type": "string",
                                                        "description": "Its reference.",
                                                        "example": "Q-4821"
                                                    },
                                                    "status": {
                                                        "type": "string",
                                                        "description": "open, quoted, accepted, declined, withdrawn or expired.",
                                                        "example": "open"
                                                    },
                                                    "product": {
                                                        "type": "object",
                                                        "description": "The product: uuid, slug, title.",
                                                        "example": {
                                                            "uuid": "9b1d4e7a-2c3f-4d5e-8a6b-0c1d2e3f4a5b",
                                                            "title": "Private Kazbegi Day"
                                                        }
                                                    },
                                                    "option": {
                                                        "type": "object",
                                                        "description": "The option asked about: uuid, title.",
                                                        "example": {
                                                            "uuid": "5e6f7a8b-9c0d-4e1f-a2b3-c4d5e6f7a8b9",
                                                            "title": "Morning"
                                                        }
                                                    },
                                                    "travelDate": {
                                                        "type": "string",
                                                        "description": "Travel date.",
                                                        "example": "2027-05-02",
                                                        "format": "date"
                                                    },
                                                    "endDate": {
                                                        "type": "string",
                                                        "description": "Last day, for a stay of several days.",
                                                        "example": "2027-05-04",
                                                        "format": "date"
                                                    },
                                                    "datesFlexible": {
                                                        "type": "boolean",
                                                        "description": "Whether the dates can move.",
                                                        "example": true
                                                    },
                                                    "groupSize": {
                                                        "type": "integer",
                                                        "description": "Guests.",
                                                        "example": 6
                                                    },
                                                    "budget": {
                                                        "type": "integer",
                                                        "description": "Their budget, minor units.",
                                                        "example": 150000
                                                    },
                                                    "message": {
                                                        "type": "string",
                                                        "description": "What they wrote.",
                                                        "example": "Two of us are vegetarian."
                                                    },
                                                    "answers": {
                                                        "type": [
                                                            "object",
                                                            "array"
                                                        ],
                                                        "description": "Their answers to the questions, by question.",
                                                        "example": []
                                                    },
                                                    "contact": {
                                                        "type": "object",
                                                        "description": "Who asked: firstName, lastName, email, phone, country.",
                                                        "example": {
                                                            "firstName": "Ana",
                                                            "lastName": "Kim",
                                                            "email": "ana@example.com"
                                                        }
                                                    },
                                                    "resellerReference": {
                                                        "type": "string",
                                                        "description": "A trade buyer's own reference.",
                                                        "example": "AG-551"
                                                    },
                                                    "fromTrade": {
                                                        "type": "boolean",
                                                        "description": "Whether a trade buyer asked.",
                                                        "example": false
                                                    },
                                                    "net": {
                                                        "type": "integer",
                                                        "description": "Your quoted net for the whole group, minor units, once answered.",
                                                        "example": 120000
                                                    },
                                                    "currency": {
                                                        "type": "string",
                                                        "description": "ISO 4217 code.",
                                                        "example": "GEL"
                                                    },
                                                    "quoteMessage": {
                                                        "type": "string",
                                                        "description": "Your note with the price.",
                                                        "example": "Lunch included."
                                                    },
                                                    "quotedAt": {
                                                        "type": "string",
                                                        "description": "When you answered.",
                                                        "example": "2026-12-01T09:00:00+00:00",
                                                        "format": "date-time"
                                                    },
                                                    "validUntil": {
                                                        "type": "string",
                                                        "description": "Until when the quote can be booked.",
                                                        "example": "2027-04-01T00:00:00+00:00",
                                                        "format": "date-time"
                                                    },
                                                    "declineReason": {
                                                        "type": "string",
                                                        "description": "Why you said no.",
                                                        "example": "Fully booked that week."
                                                    },
                                                    "bookingId": {
                                                        "$ref": "#/components/schemas/Uuid"
                                                    },
                                                    "bookable": {
                                                        "type": "boolean",
                                                        "description": "Whether it can be booked now.",
                                                        "example": false
                                                    },
                                                    "testMode": {
                                                        "type": "boolean",
                                                        "description": "Asked with a test key.",
                                                        "example": true
                                                    },
                                                    "createdAt": {
                                                        "type": "string",
                                                        "description": "When it was asked.",
                                                        "example": "2026-11-30T10:15:00+00:00",
                                                        "format": "date-time"
                                                    }
                                                }
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "description": "How many are open.",
                                            "example": {
                                                "open": 3
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Problem400"
                    },
                    "401": {
                        "$ref": "#/components/responses/Problem401"
                    },
                    "403": {
                        "$ref": "#/components/responses/Problem403"
                    },
                    "404": {
                        "$ref": "#/components/responses/Problem404"
                    },
                    "422": {
                        "$ref": "#/components/responses/Problem422"
                    },
                    "429": {
                        "$ref": "#/components/responses/Problem429"
                    },
                    "500": {
                        "$ref": "#/components/responses/Problem500"
                    },
                    "default": {
                        "$ref": "#/components/responses/ProblemDefault"
                    }
                }
            }
        },
        "/quote-requests/{uuid}": {
            "get": {
                "operationId": "quoteRequestsShow",
                "tags": [
                    "Quote requests"
                ],
                "summary": "Show a quote request",
                "description": "One request. Also answered at the unversioned address without `/v1` until its sunset, with `Deprecation`, `Sunset` and `Link: rel=\"successor-version\"` headers.",
                "security": [
                    {
                        "apiKey": [
                            "bookings:read"
                        ]
                    }
                ],
                "x-idempotency": "none",
                "x-mode": "any",
                "x-dry-run": false,
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Uuid"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "description": "One item.",
                                    "properties": {
                                        "data": {
                                            "type": "object",
                                            "description": "A request for a price on a product sold on request.",
                                            "properties": {
                                                "uuid": {
                                                    "$ref": "#/components/schemas/Uuid"
                                                },
                                                "reference": {
                                                    "type": "string",
                                                    "description": "Its reference.",
                                                    "example": "Q-4821"
                                                },
                                                "status": {
                                                    "type": "string",
                                                    "description": "open, quoted, accepted, declined, withdrawn or expired.",
                                                    "example": "open"
                                                },
                                                "product": {
                                                    "type": "object",
                                                    "description": "The product: uuid, slug, title.",
                                                    "example": {
                                                        "uuid": "9b1d4e7a-2c3f-4d5e-8a6b-0c1d2e3f4a5b",
                                                        "title": "Private Kazbegi Day"
                                                    }
                                                },
                                                "option": {
                                                    "type": "object",
                                                    "description": "The option asked about: uuid, title.",
                                                    "example": {
                                                        "uuid": "5e6f7a8b-9c0d-4e1f-a2b3-c4d5e6f7a8b9",
                                                        "title": "Morning"
                                                    }
                                                },
                                                "travelDate": {
                                                    "type": "string",
                                                    "description": "Travel date.",
                                                    "example": "2027-05-02",
                                                    "format": "date"
                                                },
                                                "endDate": {
                                                    "type": "string",
                                                    "description": "Last day, for a stay of several days.",
                                                    "example": "2027-05-04",
                                                    "format": "date"
                                                },
                                                "datesFlexible": {
                                                    "type": "boolean",
                                                    "description": "Whether the dates can move.",
                                                    "example": true
                                                },
                                                "groupSize": {
                                                    "type": "integer",
                                                    "description": "Guests.",
                                                    "example": 6
                                                },
                                                "budget": {
                                                    "type": "integer",
                                                    "description": "Their budget, minor units.",
                                                    "example": 150000
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "What they wrote.",
                                                    "example": "Two of us are vegetarian."
                                                },
                                                "answers": {
                                                    "type": [
                                                        "object",
                                                        "array"
                                                    ],
                                                    "description": "Their answers to the questions, by question.",
                                                    "example": []
                                                },
                                                "contact": {
                                                    "type": "object",
                                                    "description": "Who asked: firstName, lastName, email, phone, country.",
                                                    "example": {
                                                        "firstName": "Ana",
                                                        "lastName": "Kim",
                                                        "email": "ana@example.com"
                                                    }
                                                },
                                                "resellerReference": {
                                                    "type": "string",
                                                    "description": "A trade buyer's own reference.",
                                                    "example": "AG-551"
                                                },
                                                "fromTrade": {
                                                    "type": "boolean",
                                                    "description": "Whether a trade buyer asked.",
                                                    "example": false
                                                },
                                                "net": {
                                                    "type": "integer",
                                                    "description": "Your quoted net for the whole group, minor units, once answered.",
                                                    "example": 120000
                                                },
                                                "currency": {
                                                    "type": "string",
                                                    "description": "ISO 4217 code.",
                                                    "example": "GEL"
                                                },
                                                "quoteMessage": {
                                                    "type": "string",
                                                    "description": "Your note with the price.",
                                                    "example": "Lunch included."
                                                },
                                                "quotedAt": {
                                                    "type": "string",
                                                    "description": "When you answered.",
                                                    "example": "2026-12-01T09:00:00+00:00",
                                                    "format": "date-time"
                                                },
                                                "validUntil": {
                                                    "type": "string",
                                                    "description": "Until when the quote can be booked.",
                                                    "example": "2027-04-01T00:00:00+00:00",
                                                    "format": "date-time"
                                                },
                                                "declineReason": {
                                                    "type": "string",
                                                    "description": "Why you said no.",
                                                    "example": "Fully booked that week."
                                                },
                                                "bookingId": {
                                                    "$ref": "#/components/schemas/Uuid"
                                                },
                                                "bookable": {
                                                    "type": "boolean",
                                                    "description": "Whether it can be booked now.",
                                                    "example": false
                                                },
                                                "testMode": {
                                                    "type": "boolean",
                                                    "description": "Asked with a test key.",
                                                    "example": true
                                                },
                                                "createdAt": {
                                                    "type": "string",
                                                    "description": "When it was asked.",
                                                    "example": "2026-11-30T10:15:00+00:00",
                                                    "format": "date-time"
                                                }
                                            }
                                        }
                                    },
                                    "required": [
                                        "data"
                                    ]
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Problem400"
                    },
                    "401": {
                        "$ref": "#/components/responses/Problem401"
                    },
                    "403": {
                        "$ref": "#/components/responses/Problem403"
                    },
                    "404": {
                        "$ref": "#/components/responses/Problem404"
                    },
                    "422": {
                        "$ref": "#/components/responses/Problem422"
                    },
                    "429": {
                        "$ref": "#/components/responses/Problem429"
                    },
                    "500": {
                        "$ref": "#/components/responses/Problem500"
                    },
                    "default": {
                        "$ref": "#/components/responses/ProblemDefault"
                    }
                }
            }
        },
        "/quote-requests/{uuid}/answer": {
            "post": {
                "operationId": "quoteRequestsAnswer",
                "tags": [
                    "Quote requests"
                ],
                "summary": "Answer with a price",
                "description": "Quotes a net price for the whole group; the guest or partner can then book it until `validUntil`. Also answered at the unversioned address without `/v1` until its sunset, with `Deprecation`, `Sunset` and `Link: rel=\"successor-version\"` headers.",
                "security": [
                    {
                        "apiKey": [
                            "availability:write"
                        ]
                    }
                ],
                "x-idempotency": "optional",
                "x-mode": "any",
                "x-dry-run": false,
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Uuid"
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "description": "Your answer.",
                                "properties": {
                                    "net": {
                                        "type": "string",
                                        "description": "Net for the whole group, major units of your currency.",
                                        "example": "1200.00"
                                    },
                                    "message": {
                                        "type": "string",
                                        "description": "A note to them.",
                                        "example": "Lunch included."
                                    },
                                    "validUntil": {
                                        "type": "string",
                                        "description": "Last day it can be booked.",
                                        "example": "2027-04-01",
                                        "format": "date"
                                    }
                                },
                                "required": [
                                    "net"
                                ]
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "description": "One item.",
                                    "properties": {
                                        "data": {
                                            "type": "object",
                                            "description": "A request for a price on a product sold on request.",
                                            "properties": {
                                                "uuid": {
                                                    "$ref": "#/components/schemas/Uuid"
                                                },
                                                "reference": {
                                                    "type": "string",
                                                    "description": "Its reference.",
                                                    "example": "Q-4821"
                                                },
                                                "status": {
                                                    "type": "string",
                                                    "description": "open, quoted, accepted, declined, withdrawn or expired.",
                                                    "example": "open"
                                                },
                                                "product": {
                                                    "type": "object",
                                                    "description": "The product: uuid, slug, title.",
                                                    "example": {
                                                        "uuid": "9b1d4e7a-2c3f-4d5e-8a6b-0c1d2e3f4a5b",
                                                        "title": "Private Kazbegi Day"
                                                    }
                                                },
                                                "option": {
                                                    "type": "object",
                                                    "description": "The option asked about: uuid, title.",
                                                    "example": {
                                                        "uuid": "5e6f7a8b-9c0d-4e1f-a2b3-c4d5e6f7a8b9",
                                                        "title": "Morning"
                                                    }
                                                },
                                                "travelDate": {
                                                    "type": "string",
                                                    "description": "Travel date.",
                                                    "example": "2027-05-02",
                                                    "format": "date"
                                                },
                                                "endDate": {
                                                    "type": "string",
                                                    "description": "Last day, for a stay of several days.",
                                                    "example": "2027-05-04",
                                                    "format": "date"
                                                },
                                                "datesFlexible": {
                                                    "type": "boolean",
                                                    "description": "Whether the dates can move.",
                                                    "example": true
                                                },
                                                "groupSize": {
                                                    "type": "integer",
                                                    "description": "Guests.",
                                                    "example": 6
                                                },
                                                "budget": {
                                                    "type": "integer",
                                                    "description": "Their budget, minor units.",
                                                    "example": 150000
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "What they wrote.",
                                                    "example": "Two of us are vegetarian."
                                                },
                                                "answers": {
                                                    "type": [
                                                        "object",
                                                        "array"
                                                    ],
                                                    "description": "Their answers to the questions, by question.",
                                                    "example": []
                                                },
                                                "contact": {
                                                    "type": "object",
                                                    "description": "Who asked: firstName, lastName, email, phone, country.",
                                                    "example": {
                                                        "firstName": "Ana",
                                                        "lastName": "Kim",
                                                        "email": "ana@example.com"
                                                    }
                                                },
                                                "resellerReference": {
                                                    "type": "string",
                                                    "description": "A trade buyer's own reference.",
                                                    "example": "AG-551"
                                                },
                                                "fromTrade": {
                                                    "type": "boolean",
                                                    "description": "Whether a trade buyer asked.",
                                                    "example": false
                                                },
                                                "net": {
                                                    "type": "integer",
                                                    "description": "Your quoted net for the whole group, minor units, once answered.",
                                                    "example": 120000
                                                },
                                                "currency": {
                                                    "type": "string",
                                                    "description": "ISO 4217 code.",
                                                    "example": "GEL"
                                                },
                                                "quoteMessage": {
                                                    "type": "string",
                                                    "description": "Your note with the price.",
                                                    "example": "Lunch included."
                                                },
                                                "quotedAt": {
                                                    "type": "string",
                                                    "description": "When you answered.",
                                                    "example": "2026-12-01T09:00:00+00:00",
                                                    "format": "date-time"
                                                },
                                                "validUntil": {
                                                    "type": "string",
                                                    "description": "Until when the quote can be booked.",
                                                    "example": "2027-04-01T00:00:00+00:00",
                                                    "format": "date-time"
                                                },
                                                "declineReason": {
                                                    "type": "string",
                                                    "description": "Why you said no.",
                                                    "example": "Fully booked that week."
                                                },
                                                "bookingId": {
                                                    "$ref": "#/components/schemas/Uuid"
                                                },
                                                "bookable": {
                                                    "type": "boolean",
                                                    "description": "Whether it can be booked now.",
                                                    "example": false
                                                },
                                                "testMode": {
                                                    "type": "boolean",
                                                    "description": "Asked with a test key.",
                                                    "example": true
                                                },
                                                "createdAt": {
                                                    "type": "string",
                                                    "description": "When it was asked.",
                                                    "example": "2026-11-30T10:15:00+00:00",
                                                    "format": "date-time"
                                                }
                                            }
                                        }
                                    },
                                    "required": [
                                        "data"
                                    ]
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Problem400"
                    },
                    "401": {
                        "$ref": "#/components/responses/Problem401"
                    },
                    "403": {
                        "$ref": "#/components/responses/Problem403"
                    },
                    "404": {
                        "$ref": "#/components/responses/Problem404"
                    },
                    "422": {
                        "$ref": "#/components/responses/Problem422"
                    },
                    "429": {
                        "$ref": "#/components/responses/Problem429"
                    },
                    "500": {
                        "$ref": "#/components/responses/Problem500"
                    },
                    "default": {
                        "$ref": "#/components/responses/ProblemDefault"
                    }
                }
            }
        },
        "/quote-requests/{uuid}/decline": {
            "post": {
                "operationId": "quoteRequestsDecline",
                "tags": [
                    "Quote requests"
                ],
                "summary": "Decline a quote request",
                "description": "Says no, with a reason they read. Also answered at the unversioned address without `/v1` until its sunset, with `Deprecation`, `Sunset` and `Link: rel=\"successor-version\"` headers.",
                "security": [
                    {
                        "apiKey": [
                            "availability:write"
                        ]
                    }
                ],
                "x-idempotency": "optional",
                "x-mode": "any",
                "x-dry-run": false,
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Uuid"
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "description": "Why.",
                                "properties": {
                                    "reason": {
                                        "type": "string",
                                        "description": "The reason.",
                                        "example": "Fully booked that week."
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "description": "One item.",
                                    "properties": {
                                        "data": {
                                            "type": "object",
                                            "description": "A request for a price on a product sold on request.",
                                            "properties": {
                                                "uuid": {
                                                    "$ref": "#/components/schemas/Uuid"
                                                },
                                                "reference": {
                                                    "type": "string",
                                                    "description": "Its reference.",
                                                    "example": "Q-4821"
                                                },
                                                "status": {
                                                    "type": "string",
                                                    "description": "open, quoted, accepted, declined, withdrawn or expired.",
                                                    "example": "open"
                                                },
                                                "product": {
                                                    "type": "object",
                                                    "description": "The product: uuid, slug, title.",
                                                    "example": {
                                                        "uuid": "9b1d4e7a-2c3f-4d5e-8a6b-0c1d2e3f4a5b",
                                                        "title": "Private Kazbegi Day"
                                                    }
                                                },
                                                "option": {
                                                    "type": "object",
                                                    "description": "The option asked about: uuid, title.",
                                                    "example": {
                                                        "uuid": "5e6f7a8b-9c0d-4e1f-a2b3-c4d5e6f7a8b9",
                                                        "title": "Morning"
                                                    }
                                                },
                                                "travelDate": {
                                                    "type": "string",
                                                    "description": "Travel date.",
                                                    "example": "2027-05-02",
                                                    "format": "date"
                                                },
                                                "endDate": {
                                                    "type": "string",
                                                    "description": "Last day, for a stay of several days.",
                                                    "example": "2027-05-04",
                                                    "format": "date"
                                                },
                                                "datesFlexible": {
                                                    "type": "boolean",
                                                    "description": "Whether the dates can move.",
                                                    "example": true
                                                },
                                                "groupSize": {
                                                    "type": "integer",
                                                    "description": "Guests.",
                                                    "example": 6
                                                },
                                                "budget": {
                                                    "type": "integer",
                                                    "description": "Their budget, minor units.",
                                                    "example": 150000
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "What they wrote.",
                                                    "example": "Two of us are vegetarian."
                                                },
                                                "answers": {
                                                    "type": [
                                                        "object",
                                                        "array"
                                                    ],
                                                    "description": "Their answers to the questions, by question.",
                                                    "example": []
                                                },
                                                "contact": {
                                                    "type": "object",
                                                    "description": "Who asked: firstName, lastName, email, phone, country.",
                                                    "example": {
                                                        "firstName": "Ana",
                                                        "lastName": "Kim",
                                                        "email": "ana@example.com"
                                                    }
                                                },
                                                "resellerReference": {
                                                    "type": "string",
                                                    "description": "A trade buyer's own reference.",
                                                    "example": "AG-551"
                                                },
                                                "fromTrade": {
                                                    "type": "boolean",
                                                    "description": "Whether a trade buyer asked.",
                                                    "example": false
                                                },
                                                "net": {
                                                    "type": "integer",
                                                    "description": "Your quoted net for the whole group, minor units, once answered.",
                                                    "example": 120000
                                                },
                                                "currency": {
                                                    "type": "string",
                                                    "description": "ISO 4217 code.",
                                                    "example": "GEL"
                                                },
                                                "quoteMessage": {
                                                    "type": "string",
                                                    "description": "Your note with the price.",
                                                    "example": "Lunch included."
                                                },
                                                "quotedAt": {
                                                    "type": "string",
                                                    "description": "When you answered.",
                                                    "example": "2026-12-01T09:00:00+00:00",
                                                    "format": "date-time"
                                                },
                                                "validUntil": {
                                                    "type": "string",
                                                    "description": "Until when the quote can be booked.",
                                                    "example": "2027-04-01T00:00:00+00:00",
                                                    "format": "date-time"
                                                },
                                                "declineReason": {
                                                    "type": "string",
                                                    "description": "Why you said no.",
                                                    "example": "Fully booked that week."
                                                },
                                                "bookingId": {
                                                    "$ref": "#/components/schemas/Uuid"
                                                },
                                                "bookable": {
                                                    "type": "boolean",
                                                    "description": "Whether it can be booked now.",
                                                    "example": false
                                                },
                                                "testMode": {
                                                    "type": "boolean",
                                                    "description": "Asked with a test key.",
                                                    "example": true
                                                },
                                                "createdAt": {
                                                    "type": "string",
                                                    "description": "When it was asked.",
                                                    "example": "2026-11-30T10:15:00+00:00",
                                                    "format": "date-time"
                                                }
                                            }
                                        }
                                    },
                                    "required": [
                                        "data"
                                    ]
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Problem400"
                    },
                    "401": {
                        "$ref": "#/components/responses/Problem401"
                    },
                    "403": {
                        "$ref": "#/components/responses/Problem403"
                    },
                    "404": {
                        "$ref": "#/components/responses/Problem404"
                    },
                    "422": {
                        "$ref": "#/components/responses/Problem422"
                    },
                    "429": {
                        "$ref": "#/components/responses/Problem429"
                    },
                    "500": {
                        "$ref": "#/components/responses/Problem500"
                    },
                    "default": {
                        "$ref": "#/components/responses/ProblemDefault"
                    }
                }
            }
        },
        "/reports/query": {
            "post": {
                "operationId": "reportsQuery",
                "tags": [
                    "Reports"
                ],
                "summary": "Run a report",
                "description": "Runs a report definition (dataset, dimensions, measures, filters, period, compare) or a built-in report (`built_in` with optional `period`, `basis`, `compare`, `filters`). Money is in minor units of the operator's currency, named in `resolved.currency`; an undefined ratio is null.",
                "security": [
                    {
                        "apiKey": [
                            "reports:read"
                        ]
                    }
                ],
                "x-idempotency": "none",
                "x-mode": "any",
                "x-dry-run": false,
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "description": "A report definition: dataset, basis (booked or travel), period ({preset} or {from, to}), granularity, dimensions (0–2), measures (1–8), filters, compare, sort, limit; or {built_in}.",
                                "additionalProperties": true,
                                "example": {
                                    "dataset": "sales",
                                    "basis": "travel",
                                    "period": {
                                        "preset": "last_30_days"
                                    },
                                    "dimensions": [
                                        "channel"
                                    ],
                                    "measures": [
                                        "sales",
                                        "bookings",
                                        "pax"
                                    ]
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "description": "One report result.",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/ReportResult"
                                        }
                                    },
                                    "required": [
                                        "data"
                                    ]
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Problem400"
                    },
                    "401": {
                        "$ref": "#/components/responses/Problem401"
                    },
                    "403": {
                        "$ref": "#/components/responses/Problem403"
                    },
                    "422": {
                        "$ref": "#/components/responses/Problem422"
                    },
                    "429": {
                        "$ref": "#/components/responses/Problem429"
                    },
                    "500": {
                        "$ref": "#/components/responses/Problem500"
                    },
                    "default": {
                        "$ref": "#/components/responses/ProblemDefault"
                    }
                }
            }
        },
        "/resources": {
            "post": {
                "operationId": "resourcesSave",
                "tags": [
                    "Products"
                ],
                "summary": "Save a resource",
                "description": "A new resource, or changes to one: `{uuid?, name, type, capacity, bufferMinutes, enabled}`.",
                "security": [
                    {
                        "apiKey": [
                            "products:write"
                        ]
                    }
                ],
                "x-idempotency": "optional",
                "x-mode": "live",
                "x-dry-run": true,
                "parameters": [
                    {
                        "$ref": "#/components/parameters/DryRun"
                    },
                    {
                        "$ref": "#/components/parameters/IdempotencyKey"
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "description": "The resource.",
                                "additionalProperties": true,
                                "example": {
                                    "name": "Yacht Ana",
                                    "capacity": 12
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Changed",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "description": "One item.",
                                    "properties": {
                                        "data": {
                                            "type": "object",
                                            "description": "The resource.",
                                            "properties": {
                                                "uuid": {
                                                    "$ref": "#/components/schemas/Uuid"
                                                },
                                                "name": {
                                                    "type": "string",
                                                    "description": "Name.",
                                                    "example": "Yacht Ana"
                                                },
                                                "capacity": {
                                                    "type": "integer",
                                                    "description": "Places.",
                                                    "example": 12
                                                },
                                                "dryRun": {
                                                    "type": "boolean",
                                                    "description": "Present on dry runs.",
                                                    "example": true
                                                }
                                            },
                                            "required": [
                                                "uuid",
                                                "name",
                                                "capacity"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "data"
                                    ]
                                }
                            }
                        }
                    },
                    "201": {
                        "description": "Created",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "description": "One item.",
                                    "properties": {
                                        "data": {
                                            "type": "object",
                                            "description": "The resource.",
                                            "properties": {
                                                "uuid": {
                                                    "$ref": "#/components/schemas/Uuid"
                                                },
                                                "name": {
                                                    "type": "string",
                                                    "description": "Name.",
                                                    "example": "Yacht Ana"
                                                },
                                                "capacity": {
                                                    "type": "integer",
                                                    "description": "Places.",
                                                    "example": 12
                                                },
                                                "dryRun": {
                                                    "type": "boolean",
                                                    "description": "Present on dry runs.",
                                                    "example": true
                                                }
                                            },
                                            "required": [
                                                "uuid",
                                                "name",
                                                "capacity"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "data"
                                    ]
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Problem400"
                    },
                    "401": {
                        "$ref": "#/components/responses/Problem401"
                    },
                    "403": {
                        "$ref": "#/components/responses/Problem403"
                    },
                    "404": {
                        "$ref": "#/components/responses/Problem404"
                    },
                    "422": {
                        "$ref": "#/components/responses/Problem422"
                    },
                    "429": {
                        "$ref": "#/components/responses/Problem429"
                    },
                    "500": {
                        "$ref": "#/components/responses/Problem500"
                    },
                    "default": {
                        "$ref": "#/components/responses/ProblemDefault"
                    }
                }
            }
        },
        "/waivers": {
            "get": {
                "operationId": "waiversList",
                "tags": [
                    "Waivers"
                ],
                "summary": "List signed waivers",
                "description": "Signed, voided and purged waivers, newest first. Filter by booking, signing time or status.",
                "security": [
                    {
                        "apiKey": [
                            "waivers:read"
                        ]
                    }
                ],
                "x-idempotency": "none",
                "x-mode": "any",
                "x-dry-run": false,
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Limit"
                    },
                    {
                        "$ref": "#/components/parameters/Cursor"
                    },
                    {
                        "name": "sort",
                        "in": "query",
                        "description": "Sort order: -signed_at_utc, signed_at_utc, -created_at, created_at.",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "-signed_at_utc",
                                "signed_at_utc",
                                "-created_at",
                                "created_at"
                            ]
                        },
                        "example": "-signed_at_utc"
                    },
                    {
                        "name": "booking",
                        "in": "query",
                        "description": "Only the waivers of this booking (its id).",
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        },
                        "example": "7c1f3e2a-4b5d-4e6f-8a9b-0c1d2e3f4a5b"
                    },
                    {
                        "name": "signed_from",
                        "in": "query",
                        "description": "Signed at or after this instant.",
                        "schema": {
                            "type": "string",
                            "format": "date-time"
                        },
                        "example": "2026-12-01T00:00:00Z"
                    },
                    {
                        "name": "signed_to",
                        "in": "query",
                        "description": "Signed on or before this day.",
                        "schema": {
                            "type": "string",
                            "format": "date"
                        },
                        "example": "2026-12-31"
                    },
                    {
                        "name": "status",
                        "in": "query",
                        "description": "signed, voided or purged.",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "signed",
                                "voided",
                                "purged"
                            ]
                        },
                        "example": "signed"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "description": "A page.",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "description": "The items.",
                                            "example": [],
                                            "items": {
                                                "$ref": "#/components/schemas/Waiver"
                                            }
                                        },
                                        "meta": {
                                            "$ref": "#/components/schemas/PageMeta"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Problem400"
                    },
                    "401": {
                        "$ref": "#/components/responses/Problem401"
                    },
                    "403": {
                        "$ref": "#/components/responses/Problem403"
                    },
                    "404": {
                        "$ref": "#/components/responses/Problem404"
                    },
                    "422": {
                        "$ref": "#/components/responses/Problem422"
                    },
                    "429": {
                        "$ref": "#/components/responses/Problem429"
                    },
                    "500": {
                        "$ref": "#/components/responses/Problem500"
                    },
                    "default": {
                        "$ref": "#/components/responses/ProblemDefault"
                    }
                }
            }
        },
        "/waivers/{uuid}": {
            "get": {
                "operationId": "waiversShow",
                "tags": [
                    "Waivers"
                ],
                "summary": "Show a waiver",
                "description": "One waiver with its participants, non-sensitive answers, hashes, seal and integrity check.",
                "security": [
                    {
                        "apiKey": [
                            "waivers:read"
                        ]
                    }
                ],
                "x-idempotency": "none",
                "x-mode": "any",
                "x-dry-run": false,
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Uuid"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "description": "One item.",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/Waiver"
                                        }
                                    },
                                    "required": [
                                        "data"
                                    ]
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Problem400"
                    },
                    "401": {
                        "$ref": "#/components/responses/Problem401"
                    },
                    "403": {
                        "$ref": "#/components/responses/Problem403"
                    },
                    "404": {
                        "$ref": "#/components/responses/Problem404"
                    },
                    "422": {
                        "$ref": "#/components/responses/Problem422"
                    },
                    "429": {
                        "$ref": "#/components/responses/Problem429"
                    },
                    "500": {
                        "$ref": "#/components/responses/Problem500"
                    },
                    "default": {
                        "$ref": "#/components/responses/ProblemDefault"
                    }
                }
            }
        },
        "/waivers/{uuid}/pdf": {
            "get": {
                "operationId": "waiversPdf",
                "tags": [
                    "Waivers"
                ],
                "summary": "Download a waiver PDF",
                "description": "The signed PDF: the document as shown to the signer and its audit page.",
                "security": [
                    {
                        "apiKey": [
                            "waivers:read"
                        ]
                    }
                ],
                "x-idempotency": "none",
                "x-mode": "any",
                "x-dry-run": false,
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Uuid"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "The PDF.",
                        "content": {
                            "application/pdf": {
                                "schema": {
                                    "type": "string",
                                    "format": "binary",
                                    "description": "PDF bytes."
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Problem400"
                    },
                    "401": {
                        "$ref": "#/components/responses/Problem401"
                    },
                    "403": {
                        "$ref": "#/components/responses/Problem403"
                    },
                    "404": {
                        "$ref": "#/components/responses/Problem404"
                    },
                    "422": {
                        "$ref": "#/components/responses/Problem422"
                    },
                    "429": {
                        "$ref": "#/components/responses/Problem429"
                    },
                    "500": {
                        "$ref": "#/components/responses/Problem500"
                    },
                    "default": {
                        "$ref": "#/components/responses/ProblemDefault"
                    }
                }
            }
        },
        "/webhook-deliveries/{uuid}": {
            "get": {
                "operationId": "webhookDeliveriesShow",
                "tags": [
                    "Webhooks"
                ],
                "summary": "Show a delivery",
                "description": "A delivery with its attempts and the exact request.",
                "security": [
                    {
                        "apiKey": [
                            "webhooks:manage"
                        ]
                    }
                ],
                "x-idempotency": "none",
                "x-mode": "any",
                "x-dry-run": false,
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Uuid"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "description": "One item.",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/WebhookDeliveryDetail"
                                        }
                                    },
                                    "required": [
                                        "data"
                                    ]
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Problem400"
                    },
                    "401": {
                        "$ref": "#/components/responses/Problem401"
                    },
                    "403": {
                        "$ref": "#/components/responses/Problem403"
                    },
                    "404": {
                        "$ref": "#/components/responses/Problem404"
                    },
                    "422": {
                        "$ref": "#/components/responses/Problem422"
                    },
                    "429": {
                        "$ref": "#/components/responses/Problem429"
                    },
                    "500": {
                        "$ref": "#/components/responses/Problem500"
                    },
                    "default": {
                        "$ref": "#/components/responses/ProblemDefault"
                    }
                }
            }
        },
        "/webhook-deliveries/{uuid}/replay": {
            "post": {
                "operationId": "webhookDeliveriesReplay",
                "tags": [
                    "Webhooks"
                ],
                "summary": "Replay a delivery",
                "description": "Sends the event again as a new delivery (new webhook-id, same event id). Refused for a disabled endpoint (409 endpoint_disabled) or an event older than 30 days.",
                "security": [
                    {
                        "apiKey": [
                            "webhooks:manage"
                        ]
                    }
                ],
                "x-idempotency": "optional",
                "x-mode": "any",
                "x-dry-run": false,
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Uuid"
                    },
                    {
                        "$ref": "#/components/parameters/IdempotencyKey"
                    }
                ],
                "responses": {
                    "201": {
                        "description": "Queued",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "description": "One item.",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/WebhookDelivery"
                                        }
                                    },
                                    "required": [
                                        "data"
                                    ]
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Problem400"
                    },
                    "401": {
                        "$ref": "#/components/responses/Problem401"
                    },
                    "403": {
                        "$ref": "#/components/responses/Problem403"
                    },
                    "404": {
                        "$ref": "#/components/responses/Problem404"
                    },
                    "422": {
                        "$ref": "#/components/responses/Problem422"
                    },
                    "429": {
                        "$ref": "#/components/responses/Problem429"
                    },
                    "500": {
                        "$ref": "#/components/responses/Problem500"
                    },
                    "409": {
                        "$ref": "#/components/responses/Problem409"
                    },
                    "default": {
                        "$ref": "#/components/responses/ProblemDefault"
                    }
                },
                "x-error-codes": {
                    "endpoint_disabled": {
                        "status": 409,
                        "description": "Enable the endpoint first."
                    }
                }
            }
        },
        "/webhook-endpoints": {
            "get": {
                "operationId": "webhookEndpointsList",
                "tags": [
                    "Webhooks"
                ],
                "summary": "List webhook endpoints",
                "description": "Your endpoints in the key's mode.",
                "security": [
                    {
                        "apiKey": [
                            "webhooks:manage"
                        ]
                    }
                ],
                "x-idempotency": "none",
                "x-mode": "any",
                "x-dry-run": false,
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Limit"
                    },
                    {
                        "$ref": "#/components/parameters/Cursor"
                    },
                    {
                        "name": "status",
                        "in": "query",
                        "description": "active, failing, disabled.",
                        "schema": {
                            "type": "array",
                            "items": {
                                "type": "string"
                            }
                        },
                        "example": [
                            "active"
                        ]
                    },
                    {
                        "name": "sort",
                        "in": "query",
                        "description": "Sort order: -created_at, created_at.",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "-created_at",
                                "created_at"
                            ]
                        },
                        "example": "-created_at"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "description": "A page.",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "description": "The items.",
                                            "example": [],
                                            "items": {
                                                "$ref": "#/components/schemas/WebhookEndpoint"
                                            }
                                        },
                                        "meta": {
                                            "$ref": "#/components/schemas/PageMeta"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta"
                                    ]
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Problem400"
                    },
                    "401": {
                        "$ref": "#/components/responses/Problem401"
                    },
                    "403": {
                        "$ref": "#/components/responses/Problem403"
                    },
                    "404": {
                        "$ref": "#/components/responses/Problem404"
                    },
                    "422": {
                        "$ref": "#/components/responses/Problem422"
                    },
                    "429": {
                        "$ref": "#/components/responses/Problem429"
                    },
                    "500": {
                        "$ref": "#/components/responses/Problem500"
                    },
                    "default": {
                        "$ref": "#/components/responses/ProblemDefault"
                    }
                }
            },
            "post": {
                "operationId": "webhookEndpointsCreate",
                "tags": [
                    "Webhooks"
                ],
                "summary": "Add a webhook endpoint",
                "description": "A public https URL and the event types (or `booking.*`, `*`) it receives. The answer holds the signing secret; it is not shown again here.",
                "security": [
                    {
                        "apiKey": [
                            "webhooks:manage"
                        ]
                    }
                ],
                "x-idempotency": "required",
                "x-mode": "any",
                "x-dry-run": false,
                "parameters": [
                    {
                        "$ref": "#/components/parameters/IdempotencyKey"
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "description": "The endpoint.",
                                "properties": {
                                    "url": {
                                        "type": "string",
                                        "description": "https only.",
                                        "example": "https://example.com/webhooks"
                                    },
                                    "events": {
                                        "type": "array",
                                        "description": "Types or patterns.",
                                        "example": [
                                            "booking.*"
                                        ],
                                        "items": {
                                            "type": "string"
                                        }
                                    },
                                    "description": {
                                        "type": "string",
                                        "description": "Your note.",
                                        "example": "CRM"
                                    }
                                },
                                "required": [
                                    "url",
                                    "events"
                                ]
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "Created",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "description": "One item.",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/WebhookEndpointCreated"
                                        }
                                    },
                                    "required": [
                                        "data"
                                    ]
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Problem400"
                    },
                    "401": {
                        "$ref": "#/components/responses/Problem401"
                    },
                    "403": {
                        "$ref": "#/components/responses/Problem403"
                    },
                    "404": {
                        "$ref": "#/components/responses/Problem404"
                    },
                    "422": {
                        "$ref": "#/components/responses/Problem422"
                    },
                    "429": {
                        "$ref": "#/components/responses/Problem429"
                    },
                    "500": {
                        "$ref": "#/components/responses/Problem500"
                    },
                    "default": {
                        "$ref": "#/components/responses/ProblemDefault"
                    }
                },
                "x-error-codes": {
                    "endpoint_limit_reached": {
                        "status": 422,
                        "description": "Delete an endpoint first."
                    }
                }
            }
        },
        "/webhook-endpoints/{uuid}": {
            "get": {
                "operationId": "webhookEndpointsShow",
                "tags": [
                    "Webhooks"
                ],
                "summary": "Show a webhook endpoint",
                "description": "One endpoint.",
                "security": [
                    {
                        "apiKey": [
                            "webhooks:manage"
                        ]
                    }
                ],
                "x-idempotency": "none",
                "x-mode": "any",
                "x-dry-run": false,
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Uuid"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "description": "One item.",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/WebhookEndpoint"
                                        }
                                    },
                                    "required": [
                                        "data"
                                    ]
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Problem400"
                    },
                    "401": {
                        "$ref": "#/components/responses/Problem401"
                    },
                    "403": {
                        "$ref": "#/components/responses/Problem403"
                    },
                    "404": {
                        "$ref": "#/components/responses/Problem404"
                    },
                    "422": {
                        "$ref": "#/components/responses/Problem422"
                    },
                    "429": {
                        "$ref": "#/components/responses/Problem429"
                    },
                    "500": {
                        "$ref": "#/components/responses/Problem500"
                    },
                    "default": {
                        "$ref": "#/components/responses/ProblemDefault"
                    }
                }
            },
            "patch": {
                "operationId": "webhookEndpointsUpdate",
                "tags": [
                    "Webhooks"
                ],
                "summary": "Change a webhook endpoint",
                "description": "Change the URL, events or note; `status: disabled` stops deliveries, `active` starts them again.",
                "security": [
                    {
                        "apiKey": [
                            "webhooks:manage"
                        ]
                    }
                ],
                "x-idempotency": "optional",
                "x-mode": "any",
                "x-dry-run": false,
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Uuid"
                    },
                    {
                        "$ref": "#/components/parameters/IdempotencyKey"
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "description": "Changes.",
                                "properties": {
                                    "url": {
                                        "type": "string",
                                        "description": "https only.",
                                        "example": "https://example.com/hooks"
                                    },
                                    "events": {
                                        "type": "array",
                                        "description": "Types.",
                                        "example": [
                                            "*"
                                        ],
                                        "items": {
                                            "type": "string"
                                        }
                                    },
                                    "description": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "description": "Note.",
                                        "example": "CRM"
                                    },
                                    "status": {
                                        "type": "string",
                                        "description": "active or disabled.",
                                        "example": "active",
                                        "enum": [
                                            "active",
                                            "disabled"
                                        ]
                                    }
                                },
                                "required": []
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "description": "One item.",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/WebhookEndpoint"
                                        }
                                    },
                                    "required": [
                                        "data"
                                    ]
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Problem400"
                    },
                    "401": {
                        "$ref": "#/components/responses/Problem401"
                    },
                    "403": {
                        "$ref": "#/components/responses/Problem403"
                    },
                    "404": {
                        "$ref": "#/components/responses/Problem404"
                    },
                    "422": {
                        "$ref": "#/components/responses/Problem422"
                    },
                    "429": {
                        "$ref": "#/components/responses/Problem429"
                    },
                    "500": {
                        "$ref": "#/components/responses/Problem500"
                    },
                    "default": {
                        "$ref": "#/components/responses/ProblemDefault"
                    }
                }
            },
            "delete": {
                "operationId": "webhookEndpointsDelete",
                "tags": [
                    "Webhooks"
                ],
                "summary": "Delete a webhook endpoint",
                "description": "Deletes it and cancels its pending deliveries.",
                "security": [
                    {
                        "apiKey": [
                            "webhooks:manage"
                        ]
                    }
                ],
                "x-idempotency": "optional",
                "x-mode": "any",
                "x-dry-run": false,
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Uuid"
                    },
                    {
                        "$ref": "#/components/parameters/IdempotencyKey"
                    }
                ],
                "responses": {
                    "204": {
                        "description": "Deleted."
                    },
                    "400": {
                        "$ref": "#/components/responses/Problem400"
                    },
                    "401": {
                        "$ref": "#/components/responses/Problem401"
                    },
                    "403": {
                        "$ref": "#/components/responses/Problem403"
                    },
                    "404": {
                        "$ref": "#/components/responses/Problem404"
                    },
                    "422": {
                        "$ref": "#/components/responses/Problem422"
                    },
                    "429": {
                        "$ref": "#/components/responses/Problem429"
                    },
                    "500": {
                        "$ref": "#/components/responses/Problem500"
                    },
                    "default": {
                        "$ref": "#/components/responses/ProblemDefault"
                    }
                }
            }
        },
        "/webhook-endpoints/{uuid}/deliveries": {
            "get": {
                "operationId": "webhookEndpointsDeliveries",
                "tags": [
                    "Webhooks"
                ],
                "summary": "List deliveries",
                "description": "Deliveries to one endpoint, newest first.",
                "security": [
                    {
                        "apiKey": [
                            "webhooks:manage"
                        ]
                    }
                ],
                "x-idempotency": "none",
                "x-mode": "any",
                "x-dry-run": false,
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Uuid"
                    },
                    {
                        "$ref": "#/components/parameters/Limit"
                    },
                    {
                        "$ref": "#/components/parameters/Cursor"
                    },
                    {
                        "name": "status",
                        "in": "query",
                        "description": "pending, delivered, failed, cancelled.",
                        "schema": {
                            "type": "array",
                            "items": {
                                "type": "string"
                            }
                        },
                        "example": [
                            "failed"
                        ]
                    },
                    {
                        "name": "event_type",
                        "in": "query",
                        "description": "Event types.",
                        "schema": {
                            "type": "array",
                            "items": {
                                "type": "string"
                            }
                        },
                        "example": [
                            "booking.confirmed"
                        ]
                    },
                    {
                        "name": "created_from",
                        "in": "query",
                        "description": "From this instant.",
                        "schema": {
                            "type": "string",
                            "format": "date-time"
                        },
                        "example": "2026-12-01T00:00:00Z"
                    },
                    {
                        "name": "created_to",
                        "in": "query",
                        "description": "Up to this instant.",
                        "schema": {
                            "type": "string",
                            "format": "date-time"
                        },
                        "example": "2026-12-02T00:00:00Z"
                    },
                    {
                        "name": "sort",
                        "in": "query",
                        "description": "Sort order: -created_at, created_at.",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "-created_at",
                                "created_at"
                            ]
                        },
                        "example": "-created_at"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "description": "A page.",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "description": "The items.",
                                            "example": [],
                                            "items": {
                                                "$ref": "#/components/schemas/WebhookDelivery"
                                            }
                                        },
                                        "meta": {
                                            "$ref": "#/components/schemas/PageMeta"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta"
                                    ]
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Problem400"
                    },
                    "401": {
                        "$ref": "#/components/responses/Problem401"
                    },
                    "403": {
                        "$ref": "#/components/responses/Problem403"
                    },
                    "404": {
                        "$ref": "#/components/responses/Problem404"
                    },
                    "422": {
                        "$ref": "#/components/responses/Problem422"
                    },
                    "429": {
                        "$ref": "#/components/responses/Problem429"
                    },
                    "500": {
                        "$ref": "#/components/responses/Problem500"
                    },
                    "default": {
                        "$ref": "#/components/responses/ProblemDefault"
                    }
                }
            }
        },
        "/webhook-endpoints/{uuid}/roll-secret": {
            "post": {
                "operationId": "webhookEndpointsRollSecret",
                "tags": [
                    "Webhooks"
                ],
                "summary": "Roll a signing secret",
                "description": "A new secret; the previous one keeps signing beside it for 24 hours.",
                "security": [
                    {
                        "apiKey": [
                            "webhooks:manage"
                        ]
                    }
                ],
                "x-idempotency": "optional",
                "x-mode": "any",
                "x-dry-run": false,
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Uuid"
                    },
                    {
                        "$ref": "#/components/parameters/IdempotencyKey"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "description": "One item.",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/SecretRolled"
                                        }
                                    },
                                    "required": [
                                        "data"
                                    ]
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Problem400"
                    },
                    "401": {
                        "$ref": "#/components/responses/Problem401"
                    },
                    "403": {
                        "$ref": "#/components/responses/Problem403"
                    },
                    "404": {
                        "$ref": "#/components/responses/Problem404"
                    },
                    "422": {
                        "$ref": "#/components/responses/Problem422"
                    },
                    "429": {
                        "$ref": "#/components/responses/Problem429"
                    },
                    "500": {
                        "$ref": "#/components/responses/Problem500"
                    },
                    "default": {
                        "$ref": "#/components/responses/ProblemDefault"
                    }
                }
            }
        },
        "/webhook-endpoints/{uuid}/test": {
            "post": {
                "operationId": "webhookEndpointsTest",
                "tags": [
                    "Webhooks"
                ],
                "summary": "Send a test event",
                "description": "Sends an example of the type (default ping) now, once, and answers with the attempt. Works on disabled endpoints.",
                "security": [
                    {
                        "apiKey": [
                            "webhooks:manage"
                        ]
                    }
                ],
                "x-idempotency": "optional",
                "x-mode": "any",
                "x-dry-run": false,
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Uuid"
                    },
                    {
                        "$ref": "#/components/parameters/IdempotencyKey"
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "description": "What to send.",
                                "properties": {
                                    "type": {
                                        "type": "string",
                                        "description": "An event type, or ping.",
                                        "example": "ping"
                                    }
                                },
                                "required": []
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "description": "One item.",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/WebhookTestResult"
                                        }
                                    },
                                    "required": [
                                        "data"
                                    ]
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Problem400"
                    },
                    "401": {
                        "$ref": "#/components/responses/Problem401"
                    },
                    "403": {
                        "$ref": "#/components/responses/Problem403"
                    },
                    "404": {
                        "$ref": "#/components/responses/Problem404"
                    },
                    "422": {
                        "$ref": "#/components/responses/Problem422"
                    },
                    "429": {
                        "$ref": "#/components/responses/Problem429"
                    },
                    "500": {
                        "$ref": "#/components/responses/Problem500"
                    },
                    "default": {
                        "$ref": "#/components/responses/ProblemDefault"
                    }
                }
            }
        }
    },
    "x-error-codes": {
        "account_suspended": {
            "status": 403,
            "title": "Account suspended",
            "description": "The operator account is suspended or was not approved.",
            "module": "publicapi"
        },
        "conflict": {
            "status": 409,
            "title": "Conflict",
            "description": "The resource is not in a state that allows this operation.",
            "module": "publicapi"
        },
        "credential_expired": {
            "status": 401,
            "title": "Credential expired",
            "description": "The key passed its expiry date.",
            "module": "publicapi"
        },
        "credential_revoked": {
            "status": 401,
            "title": "Credential revoked",
            "description": "The key was revoked. Create a new one in the panel.",
            "module": "publicapi"
        },
        "endpoint_disabled": {
            "status": 409,
            "title": "Endpoint disabled",
            "description": "Enable the webhook endpoint before replaying to it.",
            "module": "publicapi"
        },
        "endpoint_limit_reached": {
            "status": 422,
            "title": "Endpoint limit reached",
            "description": "The account has the most webhook endpoints allowed in this mode.",
            "module": "publicapi"
        },
        "hold_expired": {
            "status": 410,
            "title": "Hold expired",
            "description": "The hold ran out and its places were released. Hold again.",
            "module": "publicapi"
        },
        "idempotency_in_progress": {
            "status": 409,
            "title": "Request in progress",
            "description": "A request with the same idempotency key is still running. Retry after `Retry-After`.",
            "module": "publicapi"
        },
        "idempotency_key_required": {
            "status": 400,
            "title": "Idempotency key required",
            "description": "This operation needs an `Idempotency-Key` header.",
            "module": "publicapi"
        },
        "idempotency_key_reused": {
            "status": 422,
            "title": "Idempotency key reused",
            "description": "The idempotency key was used with a different request.",
            "module": "publicapi"
        },
        "insufficient_scope": {
            "status": 403,
            "title": "Insufficient scope",
            "description": "The key lacks the scope this operation needs; `requiredScope` names it.",
            "module": "publicapi"
        },
        "internal_error": {
            "status": 500,
            "title": "Internal error",
            "description": "Something failed on our side. Quote the request id to support.",
            "module": "publicapi"
        },
        "invalid_credential": {
            "status": 401,
            "title": "Invalid credential",
            "description": "The key does not exist or the secret does not match it.",
            "module": "publicapi"
        },
        "invalid_cursor": {
            "status": 400,
            "title": "Invalid cursor",
            "description": "The cursor was changed, has expired or belongs to another sort order.",
            "module": "publicapi"
        },
        "invalid_idempotency_key": {
            "status": 400,
            "title": "Invalid idempotency key",
            "description": "The `Idempotency-Key` header must be 1 to 64 characters of A-Z, a-z, 0-9, `_ - : .`.",
            "module": "publicapi"
        },
        "invalid_json": {
            "status": 400,
            "title": "Invalid JSON",
            "description": "The body is not valid JSON.",
            "module": "publicapi"
        },
        "invalid_parameter": {
            "status": 400,
            "title": "Invalid parameter",
            "description": "A query parameter is unknown or malformed; `parameter` names it.",
            "module": "publicapi"
        },
        "ip_not_allowed": {
            "status": 403,
            "title": "IP address not allowed",
            "description": "The key has an IP allow-list and the call came from another address.",
            "module": "publicapi"
        },
        "live_key_required": {
            "status": 403,
            "title": "Live key required",
            "description": "Test keys cannot change the catalogue; use `dry_run=true` or a live key.",
            "module": "publicapi"
        },
        "method_not_allowed": {
            "status": 405,
            "title": "Method not allowed",
            "description": "The path exists but not with this method; `Allow` lists the methods.",
            "module": "publicapi"
        },
        "missing_credential": {
            "status": 401,
            "title": "Missing credential",
            "description": "Send `Authorization: Bearer {key}.{secret}`.",
            "module": "publicapi"
        },
        "module_disabled": {
            "status": 403,
            "title": "API not enabled",
            "description": "The public API is switched off for this account.",
            "module": "publicapi"
        },
        "not_acceptable": {
            "status": 406,
            "title": "Not acceptable",
            "description": "The API answers `application/json` only.",
            "module": "publicapi"
        },
        "not_found": {
            "status": 404,
            "title": "Not found",
            "description": "The resource does not exist or belongs to another account.",
            "module": "publicapi"
        },
        "payload_too_large": {
            "status": 413,
            "title": "Payload too large",
            "description": "Bodies are limited to 1 MiB.",
            "module": "publicapi"
        },
        "price_changed": {
            "status": 409,
            "title": "Price changed",
            "description": "The total differs from `expectedTotal`; `total` is the current one.",
            "module": "publicapi"
        },
        "rate_limited": {
            "status": 429,
            "title": "Rate limited",
            "description": "Too many calls this minute. Wait for `Retry-After` seconds.",
            "module": "publicapi"
        },
        "service_unavailable": {
            "status": 503,
            "title": "Service unavailable",
            "description": "The service is down for maintenance. Retry later.",
            "module": "publicapi"
        },
        "test_booking_limit": {
            "status": 429,
            "title": "Test booking limit",
            "description": "Too many open test bookings. Cancel some first.",
            "module": "publicapi"
        },
        "too_many_failed_attempts": {
            "status": 429,
            "title": "Too many failed attempts",
            "description": "Too many invalid credentials from this address.",
            "module": "publicapi"
        },
        "unavailable": {
            "status": 409,
            "title": "Unavailable",
            "description": "Not enough places are left; `vacancies` says how many.",
            "module": "publicapi"
        },
        "unsupported_media_type": {
            "status": 415,
            "title": "Unsupported media type",
            "description": "Send bodies as `application/json`.",
            "module": "publicapi"
        },
        "validation_failed": {
            "status": 422,
            "title": "Validation failed",
            "description": "One or more fields are invalid; `errors` lists them by field.",
            "module": "publicapi"
        }
    },
    "webhooks": {
        "assignment.cancelled": {
            "post": {
                "summary": "assignment.cancelled",
                "description": "An assignment was cancelled.",
                "tags": [
                    "Webhooks"
                ],
                "operationId": "webhookAssignmentCancelled",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "allOf": [
                                    {
                                        "$ref": "#/components/schemas/WebhookEvent"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "type": {
                                                "const": "assignment.cancelled"
                                            },
                                            "data": {
                                                "$ref": "#/components/schemas/OperationsEventData"
                                            }
                                        }
                                    }
                                ]
                            },
                            "example": {
                                "id": "evt_01JD3XB0V7M2A8K4R6T9W1Y3Z5",
                                "type": "assignment.cancelled",
                                "apiVersion": "v1",
                                "createdAt": "2026-12-01T08:00:00Z",
                                "livemode": true,
                                "supplierId": "0b0f6a0e-5a57-4a10-9f6c-2f7f7a5d3c11",
                                "data": {
                                    "assignmentId": "8b9c0d1e-2f3a-4b4c-5d6e-7f8a9b0c1d2e",
                                    "availabilityId": "c1d2e3f4-a5b6-4c7d-8e9f-0a1b2c3d4e5f"
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "2XX": {
                        "description": "Answer with any 2xx within 5 seconds; anything else is retried."
                    }
                }
            }
        },
        "assignment.created": {
            "post": {
                "summary": "assignment.created",
                "description": "A guide, driver or resource was assigned to a departure.",
                "tags": [
                    "Webhooks"
                ],
                "operationId": "webhookAssignmentCreated",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "allOf": [
                                    {
                                        "$ref": "#/components/schemas/WebhookEvent"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "type": {
                                                "const": "assignment.created"
                                            },
                                            "data": {
                                                "$ref": "#/components/schemas/OperationsEventData"
                                            }
                                        }
                                    }
                                ]
                            },
                            "example": {
                                "id": "evt_01JD3XB0V7M2A8K4R6T9W1Y3Z5",
                                "type": "assignment.created",
                                "apiVersion": "v1",
                                "createdAt": "2026-12-01T08:00:00Z",
                                "livemode": true,
                                "supplierId": "0b0f6a0e-5a57-4a10-9f6c-2f7f7a5d3c11",
                                "data": {
                                    "assignmentId": "8b9c0d1e-2f3a-4b4c-5d6e-7f8a9b0c1d2e",
                                    "availabilityId": "c1d2e3f4-a5b6-4c7d-8e9f-0a1b2c3d4e5f"
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "2XX": {
                        "description": "Answer with any 2xx within 5 seconds; anything else is retried."
                    }
                }
            }
        },
        "assignment.updated": {
            "post": {
                "summary": "assignment.updated",
                "description": "An assignment changed.",
                "tags": [
                    "Webhooks"
                ],
                "operationId": "webhookAssignmentUpdated",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "allOf": [
                                    {
                                        "$ref": "#/components/schemas/WebhookEvent"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "type": {
                                                "const": "assignment.updated"
                                            },
                                            "data": {
                                                "$ref": "#/components/schemas/OperationsEventData"
                                            }
                                        }
                                    }
                                ]
                            },
                            "example": {
                                "id": "evt_01JD3XB0V7M2A8K4R6T9W1Y3Z5",
                                "type": "assignment.updated",
                                "apiVersion": "v1",
                                "createdAt": "2026-12-01T08:00:00Z",
                                "livemode": true,
                                "supplierId": "0b0f6a0e-5a57-4a10-9f6c-2f7f7a5d3c11",
                                "data": {
                                    "assignmentId": "8b9c0d1e-2f3a-4b4c-5d6e-7f8a9b0c1d2e",
                                    "availabilityId": "c1d2e3f4-a5b6-4c7d-8e9f-0a1b2c3d4e5f"
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "2XX": {
                        "description": "Answer with any 2xx within 5 seconds; anything else is retried."
                    }
                }
            }
        },
        "availability.updated": {
            "post": {
                "summary": "availability.updated",
                "description": "Availability of an option changed between `from` and `to` (local dates). Gathered over 30 seconds per option. (coalesced over 30 s)",
                "tags": [
                    "Webhooks"
                ],
                "operationId": "webhookAvailabilityUpdated",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "allOf": [
                                    {
                                        "$ref": "#/components/schemas/WebhookEvent"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "type": {
                                                "const": "availability.updated"
                                            },
                                            "data": {
                                                "$ref": "#/components/schemas/RangeEventData"
                                            }
                                        }
                                    }
                                ]
                            },
                            "example": {
                                "id": "evt_01JD3XB0V7M2A8K4R6T9W1Y3Z5",
                                "type": "availability.updated",
                                "apiVersion": "v1",
                                "createdAt": "2026-12-01T08:00:00Z",
                                "livemode": true,
                                "supplierId": "0b0f6a0e-5a57-4a10-9f6c-2f7f7a5d3c11",
                                "data": {
                                    "productId": "9b1d4e7a-2c3f-4d5e-8a6b-0c1d2e3f4a5b",
                                    "optionId": "5e6f7a8b-9c0d-4e1f-a2b3-c4d5e6f7a8b9",
                                    "from": "2026-12-01",
                                    "to": "2026-12-10",
                                    "availabilityIds": [
                                        "c1d2e3f4-a5b6-4c7d-8e9f-0a1b2c3d4e5f"
                                    ]
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "2XX": {
                        "description": "Answer with any 2xx within 5 seconds; anything else is retried."
                    }
                }
            }
        },
        "booking.cancelled": {
            "post": {
                "summary": "booking.cancelled",
                "description": "A booking was cancelled; `partial` is true when only some travellers were.",
                "tags": [
                    "Webhooks"
                ],
                "operationId": "webhookBookingCancelled",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "allOf": [
                                    {
                                        "$ref": "#/components/schemas/WebhookEvent"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "type": {
                                                "const": "booking.cancelled"
                                            },
                                            "data": {
                                                "$ref": "#/components/schemas/BookingEventData"
                                            }
                                        }
                                    }
                                ]
                            },
                            "example": {
                                "id": "evt_01JD3XB0V7M2A8K4R6T9W1Y3Z5",
                                "type": "booking.cancelled",
                                "apiVersion": "v1",
                                "createdAt": "2026-12-01T08:00:00Z",
                                "livemode": true,
                                "supplierId": "0b0f6a0e-5a57-4a10-9f6c-2f7f7a5d3c11",
                                "data": {
                                    "bookingId": "3f2a8c1e-6d4b-4a7e-9c2d-1b5e8f0a7c3d",
                                    "code": "UB261201K7M2Q",
                                    "status": "CANCELLED",
                                    "productId": "9b1d4e7a-2c3f-4d5e-8a6b-0c1d2e3f4a5b",
                                    "optionId": "5e6f7a8b-9c0d-4e1f-a2b3-c4d5e6f7a8b9",
                                    "availabilityId": "c1d2e3f4-a5b6-4c7d-8e9f-0a1b2c3d4e5f",
                                    "partial": false
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "2XX": {
                        "description": "Answer with any 2xx within 5 seconds; anything else is retried."
                    }
                }
            }
        },
        "booking.confirmed": {
            "post": {
                "summary": "booking.confirmed",
                "description": "A booking was confirmed. `fromPending` is true when you accepted an on-request booking.",
                "tags": [
                    "Webhooks"
                ],
                "operationId": "webhookBookingConfirmed",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "allOf": [
                                    {
                                        "$ref": "#/components/schemas/WebhookEvent"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "type": {
                                                "const": "booking.confirmed"
                                            },
                                            "data": {
                                                "$ref": "#/components/schemas/BookingEventData"
                                            }
                                        }
                                    }
                                ]
                            },
                            "example": {
                                "id": "evt_01JD3XB0V7M2A8K4R6T9W1Y3Z5",
                                "type": "booking.confirmed",
                                "apiVersion": "v1",
                                "createdAt": "2026-12-01T08:00:00Z",
                                "livemode": true,
                                "supplierId": "0b0f6a0e-5a57-4a10-9f6c-2f7f7a5d3c11",
                                "data": {
                                    "bookingId": "3f2a8c1e-6d4b-4a7e-9c2d-1b5e8f0a7c3d",
                                    "code": "UB261201K7M2Q",
                                    "status": "CONFIRMED",
                                    "productId": "9b1d4e7a-2c3f-4d5e-8a6b-0c1d2e3f4a5b",
                                    "optionId": "5e6f7a8b-9c0d-4e1f-a2b3-c4d5e6f7a8b9",
                                    "availabilityId": "c1d2e3f4-a5b6-4c7d-8e9f-0a1b2c3d4e5f",
                                    "fromPending": false
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "2XX": {
                        "description": "Answer with any 2xx within 5 seconds; anything else is retried."
                    }
                }
            }
        },
        "booking.created": {
            "post": {
                "summary": "booking.created",
                "description": "A booking was created, usually on hold (ON_HOLD) waiting to be confirmed.",
                "tags": [
                    "Webhooks"
                ],
                "operationId": "webhookBookingCreated",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "allOf": [
                                    {
                                        "$ref": "#/components/schemas/WebhookEvent"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "type": {
                                                "const": "booking.created"
                                            },
                                            "data": {
                                                "$ref": "#/components/schemas/BookingEventData"
                                            }
                                        }
                                    }
                                ]
                            },
                            "example": {
                                "id": "evt_01JD3XB0V7M2A8K4R6T9W1Y3Z5",
                                "type": "booking.created",
                                "apiVersion": "v1",
                                "createdAt": "2026-12-01T08:00:00Z",
                                "livemode": true,
                                "supplierId": "0b0f6a0e-5a57-4a10-9f6c-2f7f7a5d3c11",
                                "data": {
                                    "bookingId": "3f2a8c1e-6d4b-4a7e-9c2d-1b5e8f0a7c3d",
                                    "code": "UB261201K7M2Q",
                                    "status": "ON_HOLD",
                                    "productId": "9b1d4e7a-2c3f-4d5e-8a6b-0c1d2e3f4a5b",
                                    "optionId": "5e6f7a8b-9c0d-4e1f-a2b3-c4d5e6f7a8b9",
                                    "availabilityId": "c1d2e3f4-a5b6-4c7d-8e9f-0a1b2c3d4e5f"
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "2XX": {
                        "description": "Answer with any 2xx within 5 seconds; anything else is retried."
                    }
                }
            }
        },
        "booking.expired": {
            "post": {
                "summary": "booking.expired",
                "description": "A hold ran out before it was confirmed and its places were released.",
                "tags": [
                    "Webhooks"
                ],
                "operationId": "webhookBookingExpired",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "allOf": [
                                    {
                                        "$ref": "#/components/schemas/WebhookEvent"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "type": {
                                                "const": "booking.expired"
                                            },
                                            "data": {
                                                "$ref": "#/components/schemas/BookingEventData"
                                            }
                                        }
                                    }
                                ]
                            },
                            "example": {
                                "id": "evt_01JD3XB0V7M2A8K4R6T9W1Y3Z5",
                                "type": "booking.expired",
                                "apiVersion": "v1",
                                "createdAt": "2026-12-01T08:00:00Z",
                                "livemode": true,
                                "supplierId": "0b0f6a0e-5a57-4a10-9f6c-2f7f7a5d3c11",
                                "data": {
                                    "bookingId": "3f2a8c1e-6d4b-4a7e-9c2d-1b5e8f0a7c3d",
                                    "code": "UB261201K7M2Q",
                                    "status": "EXPIRED",
                                    "productId": "9b1d4e7a-2c3f-4d5e-8a6b-0c1d2e3f4a5b",
                                    "optionId": "5e6f7a8b-9c0d-4e1f-a2b3-c4d5e6f7a8b9",
                                    "availabilityId": "c1d2e3f4-a5b6-4c7d-8e9f-0a1b2c3d4e5f"
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "2XX": {
                        "description": "Answer with any 2xx within 5 seconds; anything else is retried."
                    }
                }
            }
        },
        "booking.no_show": {
            "post": {
                "summary": "booking.no_show",
                "description": "A booking was marked as a no-show.",
                "tags": [
                    "Webhooks"
                ],
                "operationId": "webhookBookingNoShow",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "allOf": [
                                    {
                                        "$ref": "#/components/schemas/WebhookEvent"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "type": {
                                                "const": "booking.no_show"
                                            },
                                            "data": {
                                                "$ref": "#/components/schemas/BookingEventData"
                                            }
                                        }
                                    }
                                ]
                            },
                            "example": {
                                "id": "evt_01JD3XB0V7M2A8K4R6T9W1Y3Z5",
                                "type": "booking.no_show",
                                "apiVersion": "v1",
                                "createdAt": "2026-12-01T08:00:00Z",
                                "livemode": true,
                                "supplierId": "0b0f6a0e-5a57-4a10-9f6c-2f7f7a5d3c11",
                                "data": {
                                    "bookingId": "3f2a8c1e-6d4b-4a7e-9c2d-1b5e8f0a7c3d",
                                    "code": "UB261201K7M2Q",
                                    "status": "NO_SHOW",
                                    "productId": "9b1d4e7a-2c3f-4d5e-8a6b-0c1d2e3f4a5b",
                                    "optionId": "5e6f7a8b-9c0d-4e1f-a2b3-c4d5e6f7a8b9",
                                    "availabilityId": "c1d2e3f4-a5b6-4c7d-8e9f-0a1b2c3d4e5f"
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "2XX": {
                        "description": "Answer with any 2xx within 5 seconds; anything else is retried."
                    }
                }
            }
        },
        "booking.pending": {
            "post": {
                "summary": "booking.pending",
                "description": "A booking is waiting for you to accept or reject it (on-request options).",
                "tags": [
                    "Webhooks"
                ],
                "operationId": "webhookBookingPending",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "allOf": [
                                    {
                                        "$ref": "#/components/schemas/WebhookEvent"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "type": {
                                                "const": "booking.pending"
                                            },
                                            "data": {
                                                "$ref": "#/components/schemas/BookingEventData"
                                            }
                                        }
                                    }
                                ]
                            },
                            "example": {
                                "id": "evt_01JD3XB0V7M2A8K4R6T9W1Y3Z5",
                                "type": "booking.pending",
                                "apiVersion": "v1",
                                "createdAt": "2026-12-01T08:00:00Z",
                                "livemode": true,
                                "supplierId": "0b0f6a0e-5a57-4a10-9f6c-2f7f7a5d3c11",
                                "data": {
                                    "bookingId": "3f2a8c1e-6d4b-4a7e-9c2d-1b5e8f0a7c3d",
                                    "code": "UB261201K7M2Q",
                                    "status": "PENDING",
                                    "productId": "9b1d4e7a-2c3f-4d5e-8a6b-0c1d2e3f4a5b",
                                    "optionId": "5e6f7a8b-9c0d-4e1f-a2b3-c4d5e6f7a8b9",
                                    "availabilityId": "c1d2e3f4-a5b6-4c7d-8e9f-0a1b2c3d4e5f"
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "2XX": {
                        "description": "Answer with any 2xx within 5 seconds; anything else is retried."
                    }
                }
            }
        },
        "booking.redeemed": {
            "post": {
                "summary": "booking.redeemed",
                "description": "Every ticket of a booking was used.",
                "tags": [
                    "Webhooks"
                ],
                "operationId": "webhookBookingRedeemed",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "allOf": [
                                    {
                                        "$ref": "#/components/schemas/WebhookEvent"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "type": {
                                                "const": "booking.redeemed"
                                            },
                                            "data": {
                                                "$ref": "#/components/schemas/BookingEventData"
                                            }
                                        }
                                    }
                                ]
                            },
                            "example": {
                                "id": "evt_01JD3XB0V7M2A8K4R6T9W1Y3Z5",
                                "type": "booking.redeemed",
                                "apiVersion": "v1",
                                "createdAt": "2026-12-01T08:00:00Z",
                                "livemode": true,
                                "supplierId": "0b0f6a0e-5a57-4a10-9f6c-2f7f7a5d3c11",
                                "data": {
                                    "bookingId": "3f2a8c1e-6d4b-4a7e-9c2d-1b5e8f0a7c3d",
                                    "code": "UB261201K7M2Q",
                                    "status": "REDEEMED",
                                    "productId": "9b1d4e7a-2c3f-4d5e-8a6b-0c1d2e3f4a5b",
                                    "optionId": "5e6f7a8b-9c0d-4e1f-a2b3-c4d5e6f7a8b9",
                                    "availabilityId": "c1d2e3f4-a5b6-4c7d-8e9f-0a1b2c3d4e5f"
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "2XX": {
                        "description": "Answer with any 2xx within 5 seconds; anything else is retried."
                    }
                }
            }
        },
        "booking.rejected": {
            "post": {
                "summary": "booking.rejected",
                "description": "You rejected an on-request booking.",
                "tags": [
                    "Webhooks"
                ],
                "operationId": "webhookBookingRejected",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "allOf": [
                                    {
                                        "$ref": "#/components/schemas/WebhookEvent"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "type": {
                                                "const": "booking.rejected"
                                            },
                                            "data": {
                                                "$ref": "#/components/schemas/BookingEventData"
                                            }
                                        }
                                    }
                                ]
                            },
                            "example": {
                                "id": "evt_01JD3XB0V7M2A8K4R6T9W1Y3Z5",
                                "type": "booking.rejected",
                                "apiVersion": "v1",
                                "createdAt": "2026-12-01T08:00:00Z",
                                "livemode": true,
                                "supplierId": "0b0f6a0e-5a57-4a10-9f6c-2f7f7a5d3c11",
                                "data": {
                                    "bookingId": "3f2a8c1e-6d4b-4a7e-9c2d-1b5e8f0a7c3d",
                                    "code": "UB261201K7M2Q",
                                    "status": "REJECTED",
                                    "productId": "9b1d4e7a-2c3f-4d5e-8a6b-0c1d2e3f4a5b",
                                    "optionId": "5e6f7a8b-9c0d-4e1f-a2b3-c4d5e6f7a8b9",
                                    "availabilityId": "c1d2e3f4-a5b6-4c7d-8e9f-0a1b2c3d4e5f"
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "2XX": {
                        "description": "Answer with any 2xx within 5 seconds; anything else is retried."
                    }
                }
            }
        },
        "booking.updated": {
            "post": {
                "summary": "booking.updated",
                "description": "A booking changed without changing status; `changed` lists what (date, units, contact, …).",
                "tags": [
                    "Webhooks"
                ],
                "operationId": "webhookBookingUpdated",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "allOf": [
                                    {
                                        "$ref": "#/components/schemas/WebhookEvent"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "type": {
                                                "const": "booking.updated"
                                            },
                                            "data": {
                                                "$ref": "#/components/schemas/BookingEventData"
                                            }
                                        }
                                    }
                                ]
                            },
                            "example": {
                                "id": "evt_01JD3XB0V7M2A8K4R6T9W1Y3Z5",
                                "type": "booking.updated",
                                "apiVersion": "v1",
                                "createdAt": "2026-12-01T08:00:00Z",
                                "livemode": true,
                                "supplierId": "0b0f6a0e-5a57-4a10-9f6c-2f7f7a5d3c11",
                                "data": {
                                    "bookingId": "3f2a8c1e-6d4b-4a7e-9c2d-1b5e8f0a7c3d",
                                    "code": "UB261201K7M2Q",
                                    "status": "CONFIRMED",
                                    "productId": "9b1d4e7a-2c3f-4d5e-8a6b-0c1d2e3f4a5b",
                                    "optionId": "5e6f7a8b-9c0d-4e1f-a2b3-c4d5e6f7a8b9",
                                    "availabilityId": "c1d2e3f4-a5b6-4c7d-8e9f-0a1b2c3d4e5f",
                                    "changed": [
                                        "contact"
                                    ]
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "2XX": {
                        "description": "Answer with any 2xx within 5 seconds; anything else is retried."
                    }
                }
            }
        },
        "booking.waivers_completed": {
            "post": {
                "summary": "booking.waivers_completed",
                "description": "Every traveller of a booking has signed the waivers it needs.",
                "tags": [
                    "Webhooks"
                ],
                "operationId": "webhookBookingWaiversCompleted",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "allOf": [
                                    {
                                        "$ref": "#/components/schemas/WebhookEvent"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "type": {
                                                "const": "booking.waivers_completed"
                                            },
                                            "data": {
                                                "$ref": "#/components/schemas/BookingEventData"
                                            }
                                        }
                                    }
                                ]
                            },
                            "example": {
                                "id": "evt_01JD3XB0V7M2A8K4R6T9W1Y3Z5",
                                "type": "booking.waivers_completed",
                                "apiVersion": "v1",
                                "createdAt": "2026-12-01T08:00:00Z",
                                "livemode": true,
                                "supplierId": "0b0f6a0e-5a57-4a10-9f6c-2f7f7a5d3c11",
                                "data": {
                                    "bookingId": "3f2a8c1e-6d4b-4a7e-9c2d-1b5e8f0a7c3d",
                                    "code": "UB261201K7M2Q",
                                    "status": "CONFIRMED",
                                    "productId": "9b1d4e7a-2c3f-4d5e-8a6b-0c1d2e3f4a5b",
                                    "optionId": "5e6f7a8b-9c0d-4e1f-a2b3-c4d5e6f7a8b9",
                                    "availabilityId": "c1d2e3f4-a5b6-4c7d-8e9f-0a1b2c3d4e5f"
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "2XX": {
                        "description": "Answer with any 2xx within 5 seconds; anything else is retried."
                    }
                }
            }
        },
        "customer.consent_changed": {
            "post": {
                "summary": "customer.consent_changed",
                "description": "A customer's marketing consent changed.",
                "tags": [
                    "Webhooks"
                ],
                "operationId": "webhookCustomerConsentChanged",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "allOf": [
                                    {
                                        "$ref": "#/components/schemas/WebhookEvent"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "type": {
                                                "const": "customer.consent_changed"
                                            },
                                            "data": {
                                                "$ref": "#/components/schemas/CustomerEventData"
                                            }
                                        }
                                    }
                                ]
                            },
                            "example": {
                                "id": "evt_01JD3XB0V7M2A8K4R6T9W1Y3Z5",
                                "type": "customer.consent_changed",
                                "apiVersion": "v1",
                                "createdAt": "2026-12-01T08:00:00Z",
                                "livemode": true,
                                "supplierId": "0b0f6a0e-5a57-4a10-9f6c-2f7f7a5d3c11",
                                "data": {
                                    "customerId": "3c4d5e6f-7a8b-4c9d-0e1f-2a3b4c5d6e7f",
                                    "purpose": "marketing_email",
                                    "consentStatus": "granted"
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "2XX": {
                        "description": "Answer with any 2xx within 5 seconds; anything else is retried."
                    }
                }
            }
        },
        "customer.created": {
            "post": {
                "summary": "customer.created",
                "description": "A customer record was created.",
                "tags": [
                    "Webhooks"
                ],
                "operationId": "webhookCustomerCreated",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "allOf": [
                                    {
                                        "$ref": "#/components/schemas/WebhookEvent"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "type": {
                                                "const": "customer.created"
                                            },
                                            "data": {
                                                "$ref": "#/components/schemas/CustomerEventData"
                                            }
                                        }
                                    }
                                ]
                            },
                            "example": {
                                "id": "evt_01JD3XB0V7M2A8K4R6T9W1Y3Z5",
                                "type": "customer.created",
                                "apiVersion": "v1",
                                "createdAt": "2026-12-01T08:00:00Z",
                                "livemode": true,
                                "supplierId": "0b0f6a0e-5a57-4a10-9f6c-2f7f7a5d3c11",
                                "data": {
                                    "customerId": "3c4d5e6f-7a8b-4c9d-0e1f-2a3b4c5d6e7f"
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "2XX": {
                        "description": "Answer with any 2xx within 5 seconds; anything else is retried."
                    }
                }
            }
        },
        "customer.erased": {
            "post": {
                "summary": "customer.erased",
                "description": "A customer's personal data was erased on request.",
                "tags": [
                    "Webhooks"
                ],
                "operationId": "webhookCustomerErased",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "allOf": [
                                    {
                                        "$ref": "#/components/schemas/WebhookEvent"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "type": {
                                                "const": "customer.erased"
                                            },
                                            "data": {
                                                "$ref": "#/components/schemas/CustomerEventData"
                                            }
                                        }
                                    }
                                ]
                            },
                            "example": {
                                "id": "evt_01JD3XB0V7M2A8K4R6T9W1Y3Z5",
                                "type": "customer.erased",
                                "apiVersion": "v1",
                                "createdAt": "2026-12-01T08:00:00Z",
                                "livemode": true,
                                "supplierId": "0b0f6a0e-5a57-4a10-9f6c-2f7f7a5d3c11",
                                "data": {
                                    "customerId": "3c4d5e6f-7a8b-4c9d-0e1f-2a3b4c5d6e7f"
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "2XX": {
                        "description": "Answer with any 2xx within 5 seconds; anything else is retried."
                    }
                }
            }
        },
        "customer.merged": {
            "post": {
                "summary": "customer.merged",
                "description": "A customer was merged into another (`mergedIntoId`).",
                "tags": [
                    "Webhooks"
                ],
                "operationId": "webhookCustomerMerged",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "allOf": [
                                    {
                                        "$ref": "#/components/schemas/WebhookEvent"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "type": {
                                                "const": "customer.merged"
                                            },
                                            "data": {
                                                "$ref": "#/components/schemas/CustomerEventData"
                                            }
                                        }
                                    }
                                ]
                            },
                            "example": {
                                "id": "evt_01JD3XB0V7M2A8K4R6T9W1Y3Z5",
                                "type": "customer.merged",
                                "apiVersion": "v1",
                                "createdAt": "2026-12-01T08:00:00Z",
                                "livemode": true,
                                "supplierId": "0b0f6a0e-5a57-4a10-9f6c-2f7f7a5d3c11",
                                "data": {
                                    "customerId": "3c4d5e6f-7a8b-4c9d-0e1f-2a3b4c5d6e7f",
                                    "mergedIntoId": "4d5e6f7a-8b9c-4d0e-1f2a-3b4c5d6e7f8a"
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "2XX": {
                        "description": "Answer with any 2xx within 5 seconds; anything else is retried."
                    }
                }
            }
        },
        "customer.updated": {
            "post": {
                "summary": "customer.updated",
                "description": "A customer record changed; `changed` lists the fields. Gathered over 10 seconds per customer. (coalesced over 10 s)",
                "tags": [
                    "Webhooks"
                ],
                "operationId": "webhookCustomerUpdated",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "allOf": [
                                    {
                                        "$ref": "#/components/schemas/WebhookEvent"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "type": {
                                                "const": "customer.updated"
                                            },
                                            "data": {
                                                "$ref": "#/components/schemas/CustomerEventData"
                                            }
                                        }
                                    }
                                ]
                            },
                            "example": {
                                "id": "evt_01JD3XB0V7M2A8K4R6T9W1Y3Z5",
                                "type": "customer.updated",
                                "apiVersion": "v1",
                                "createdAt": "2026-12-01T08:00:00Z",
                                "livemode": true,
                                "supplierId": "0b0f6a0e-5a57-4a10-9f6c-2f7f7a5d3c11",
                                "data": {
                                    "customerId": "3c4d5e6f-7a8b-4c9d-0e1f-2a3b4c5d6e7f",
                                    "changed": [
                                        "tags"
                                    ]
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "2XX": {
                        "description": "Answer with any 2xx within 5 seconds; anything else is retried."
                    }
                }
            }
        },
        "departure.cancelled": {
            "post": {
                "summary": "departure.cancelled",
                "description": "A whole departure was cancelled; its bookings get their own booking.cancelled.",
                "tags": [
                    "Webhooks"
                ],
                "operationId": "webhookDepartureCancelled",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "allOf": [
                                    {
                                        "$ref": "#/components/schemas/WebhookEvent"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "type": {
                                                "const": "departure.cancelled"
                                            },
                                            "data": {
                                                "$ref": "#/components/schemas/OperationsEventData"
                                            }
                                        }
                                    }
                                ]
                            },
                            "example": {
                                "id": "evt_01JD3XB0V7M2A8K4R6T9W1Y3Z5",
                                "type": "departure.cancelled",
                                "apiVersion": "v1",
                                "createdAt": "2026-12-01T08:00:00Z",
                                "livemode": true,
                                "supplierId": "0b0f6a0e-5a57-4a10-9f6c-2f7f7a5d3c11",
                                "data": {
                                    "availabilityId": "c1d2e3f4-a5b6-4c7d-8e9f-0a1b2c3d4e5f",
                                    "productId": "9b1d4e7a-2c3f-4d5e-8a6b-0c1d2e3f4a5b",
                                    "optionId": "5e6f7a8b-9c0d-4e1f-a2b3-c4d5e6f7a8b9"
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "2XX": {
                        "description": "Answer with any 2xx within 5 seconds; anything else is retried."
                    }
                }
            }
        },
        "departure.closed_out": {
            "post": {
                "summary": "departure.closed_out",
                "description": "A departure was closed out after it ran.",
                "tags": [
                    "Webhooks"
                ],
                "operationId": "webhookDepartureClosedOut",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "allOf": [
                                    {
                                        "$ref": "#/components/schemas/WebhookEvent"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "type": {
                                                "const": "departure.closed_out"
                                            },
                                            "data": {
                                                "$ref": "#/components/schemas/OperationsEventData"
                                            }
                                        }
                                    }
                                ]
                            },
                            "example": {
                                "id": "evt_01JD3XB0V7M2A8K4R6T9W1Y3Z5",
                                "type": "departure.closed_out",
                                "apiVersion": "v1",
                                "createdAt": "2026-12-01T08:00:00Z",
                                "livemode": true,
                                "supplierId": "0b0f6a0e-5a57-4a10-9f6c-2f7f7a5d3c11",
                                "data": {
                                    "availabilityId": "c1d2e3f4-a5b6-4c7d-8e9f-0a1b2c3d4e5f",
                                    "productId": "9b1d4e7a-2c3f-4d5e-8a6b-0c1d2e3f4a5b",
                                    "optionId": "5e6f7a8b-9c0d-4e1f-a2b3-c4d5e6f7a8b9"
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "2XX": {
                        "description": "Answer with any 2xx within 5 seconds; anything else is retried."
                    }
                }
            }
        },
        "incident.created": {
            "post": {
                "summary": "incident.created",
                "description": "Staff reported an incident.",
                "tags": [
                    "Webhooks"
                ],
                "operationId": "webhookIncidentCreated",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "allOf": [
                                    {
                                        "$ref": "#/components/schemas/WebhookEvent"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "type": {
                                                "const": "incident.created"
                                            },
                                            "data": {
                                                "$ref": "#/components/schemas/OperationsEventData"
                                            }
                                        }
                                    }
                                ]
                            },
                            "example": {
                                "id": "evt_01JD3XB0V7M2A8K4R6T9W1Y3Z5",
                                "type": "incident.created",
                                "apiVersion": "v1",
                                "createdAt": "2026-12-01T08:00:00Z",
                                "livemode": true,
                                "supplierId": "0b0f6a0e-5a57-4a10-9f6c-2f7f7a5d3c11",
                                "data": {
                                    "incidentId": "9c0d1e2f-3a4b-4c5d-6e7f-8a9b0c1d2e3f",
                                    "availabilityId": "c1d2e3f4-a5b6-4c7d-8e9f-0a1b2c3d4e5f"
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "2XX": {
                        "description": "Answer with any 2xx within 5 seconds; anything else is retried."
                    }
                }
            }
        },
        "invoice.issued": {
            "post": {
                "summary": "invoice.issued",
                "description": "The platform issued you an invoice.",
                "tags": [
                    "Webhooks"
                ],
                "operationId": "webhookInvoiceIssued",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "allOf": [
                                    {
                                        "$ref": "#/components/schemas/WebhookEvent"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "type": {
                                                "const": "invoice.issued"
                                            },
                                            "data": {
                                                "$ref": "#/components/schemas/BillingEventData"
                                            }
                                        }
                                    }
                                ]
                            },
                            "example": {
                                "id": "evt_01JD3XB0V7M2A8K4R6T9W1Y3Z5",
                                "type": "invoice.issued",
                                "apiVersion": "v1",
                                "createdAt": "2026-12-01T08:00:00Z",
                                "livemode": true,
                                "supplierId": "0b0f6a0e-5a57-4a10-9f6c-2f7f7a5d3c11",
                                "data": {
                                    "invoiceId": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
                                    "status": "issued"
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "2XX": {
                        "description": "Answer with any 2xx within 5 seconds; anything else is retried."
                    }
                }
            }
        },
        "invoice.paid": {
            "post": {
                "summary": "invoice.paid",
                "description": "An invoice of yours was paid.",
                "tags": [
                    "Webhooks"
                ],
                "operationId": "webhookInvoicePaid",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "allOf": [
                                    {
                                        "$ref": "#/components/schemas/WebhookEvent"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "type": {
                                                "const": "invoice.paid"
                                            },
                                            "data": {
                                                "$ref": "#/components/schemas/BillingEventData"
                                            }
                                        }
                                    }
                                ]
                            },
                            "example": {
                                "id": "evt_01JD3XB0V7M2A8K4R6T9W1Y3Z5",
                                "type": "invoice.paid",
                                "apiVersion": "v1",
                                "createdAt": "2026-12-01T08:00:00Z",
                                "livemode": true,
                                "supplierId": "0b0f6a0e-5a57-4a10-9f6c-2f7f7a5d3c11",
                                "data": {
                                    "invoiceId": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
                                    "status": "paid"
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "2XX": {
                        "description": "Answer with any 2xx within 5 seconds; anything else is retried."
                    }
                }
            }
        },
        "nps.answered": {
            "post": {
                "summary": "nps.answered",
                "description": "A guest answered a net promoter score survey.",
                "tags": [
                    "Webhooks"
                ],
                "operationId": "webhookNpsAnswered",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "allOf": [
                                    {
                                        "$ref": "#/components/schemas/WebhookEvent"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "type": {
                                                "const": "nps.answered"
                                            },
                                            "data": {
                                                "$ref": "#/components/schemas/ReviewEventData"
                                            }
                                        }
                                    }
                                ]
                            },
                            "example": {
                                "id": "evt_01JD3XB0V7M2A8K4R6T9W1Y3Z5",
                                "type": "nps.answered",
                                "apiVersion": "v1",
                                "createdAt": "2026-12-01T08:00:00Z",
                                "livemode": true,
                                "supplierId": "0b0f6a0e-5a57-4a10-9f6c-2f7f7a5d3c11",
                                "data": {
                                    "bookingId": "3f2a8c1e-6d4b-4a7e-9c2d-1b5e8f0a7c3d",
                                    "score": 9
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "2XX": {
                        "description": "Answer with any 2xx within 5 seconds; anything else is retried."
                    }
                }
            }
        },
        "payment.failed": {
            "post": {
                "summary": "payment.failed",
                "description": "A payment attempt failed.",
                "tags": [
                    "Webhooks"
                ],
                "operationId": "webhookPaymentFailed",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "allOf": [
                                    {
                                        "$ref": "#/components/schemas/WebhookEvent"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "type": {
                                                "const": "payment.failed"
                                            },
                                            "data": {
                                                "$ref": "#/components/schemas/PaymentEventData"
                                            }
                                        }
                                    }
                                ]
                            },
                            "example": {
                                "id": "evt_01JD3XB0V7M2A8K4R6T9W1Y3Z5",
                                "type": "payment.failed",
                                "apiVersion": "v1",
                                "createdAt": "2026-12-01T08:00:00Z",
                                "livemode": true,
                                "supplierId": "0b0f6a0e-5a57-4a10-9f6c-2f7f7a5d3c11",
                                "data": {
                                    "paymentId": "7a8b9c0d-1e2f-4a3b-8c4d-5e6f7a8b9c0d",
                                    "bookingId": "3f2a8c1e-6d4b-4a7e-9c2d-1b5e8f0a7c3d",
                                    "status": "failed"
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "2XX": {
                        "description": "Answer with any 2xx within 5 seconds; anything else is retried."
                    }
                }
            }
        },
        "payment.refunded": {
            "post": {
                "summary": "payment.refunded",
                "description": "Money was refunded on a payment.",
                "tags": [
                    "Webhooks"
                ],
                "operationId": "webhookPaymentRefunded",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "allOf": [
                                    {
                                        "$ref": "#/components/schemas/WebhookEvent"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "type": {
                                                "const": "payment.refunded"
                                            },
                                            "data": {
                                                "$ref": "#/components/schemas/PaymentEventData"
                                            }
                                        }
                                    }
                                ]
                            },
                            "example": {
                                "id": "evt_01JD3XB0V7M2A8K4R6T9W1Y3Z5",
                                "type": "payment.refunded",
                                "apiVersion": "v1",
                                "createdAt": "2026-12-01T08:00:00Z",
                                "livemode": true,
                                "supplierId": "0b0f6a0e-5a57-4a10-9f6c-2f7f7a5d3c11",
                                "data": {
                                    "paymentId": "7a8b9c0d-1e2f-4a3b-8c4d-5e6f7a8b9c0d",
                                    "bookingId": "3f2a8c1e-6d4b-4a7e-9c2d-1b5e8f0a7c3d",
                                    "status": "refunded"
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "2XX": {
                        "description": "Answer with any 2xx within 5 seconds; anything else is retried."
                    }
                }
            }
        },
        "payment.succeeded": {
            "post": {
                "summary": "payment.succeeded",
                "description": "A payment for a booking succeeded.",
                "tags": [
                    "Webhooks"
                ],
                "operationId": "webhookPaymentSucceeded",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "allOf": [
                                    {
                                        "$ref": "#/components/schemas/WebhookEvent"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "type": {
                                                "const": "payment.succeeded"
                                            },
                                            "data": {
                                                "$ref": "#/components/schemas/PaymentEventData"
                                            }
                                        }
                                    }
                                ]
                            },
                            "example": {
                                "id": "evt_01JD3XB0V7M2A8K4R6T9W1Y3Z5",
                                "type": "payment.succeeded",
                                "apiVersion": "v1",
                                "createdAt": "2026-12-01T08:00:00Z",
                                "livemode": true,
                                "supplierId": "0b0f6a0e-5a57-4a10-9f6c-2f7f7a5d3c11",
                                "data": {
                                    "paymentId": "7a8b9c0d-1e2f-4a3b-8c4d-5e6f7a8b9c0d",
                                    "bookingId": "3f2a8c1e-6d4b-4a7e-9c2d-1b5e8f0a7c3d",
                                    "status": "succeeded"
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "2XX": {
                        "description": "Answer with any 2xx within 5 seconds; anything else is retried."
                    }
                }
            }
        },
        "payout.failed": {
            "post": {
                "summary": "payout.failed",
                "description": "A payout to you failed.",
                "tags": [
                    "Webhooks"
                ],
                "operationId": "webhookPayoutFailed",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "allOf": [
                                    {
                                        "$ref": "#/components/schemas/WebhookEvent"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "type": {
                                                "const": "payout.failed"
                                            },
                                            "data": {
                                                "$ref": "#/components/schemas/BillingEventData"
                                            }
                                        }
                                    }
                                ]
                            },
                            "example": {
                                "id": "evt_01JD3XB0V7M2A8K4R6T9W1Y3Z5",
                                "type": "payout.failed",
                                "apiVersion": "v1",
                                "createdAt": "2026-12-01T08:00:00Z",
                                "livemode": true,
                                "supplierId": "0b0f6a0e-5a57-4a10-9f6c-2f7f7a5d3c11",
                                "data": {
                                    "payoutId": "2b3c4d5e-6f7a-4b8c-9d0e-1f2a3b4c5d6e",
                                    "status": "failed"
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "2XX": {
                        "description": "Answer with any 2xx within 5 seconds; anything else is retried."
                    }
                }
            }
        },
        "payout.paid": {
            "post": {
                "summary": "payout.paid",
                "description": "A payout to you was paid.",
                "tags": [
                    "Webhooks"
                ],
                "operationId": "webhookPayoutPaid",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "allOf": [
                                    {
                                        "$ref": "#/components/schemas/WebhookEvent"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "type": {
                                                "const": "payout.paid"
                                            },
                                            "data": {
                                                "$ref": "#/components/schemas/BillingEventData"
                                            }
                                        }
                                    }
                                ]
                            },
                            "example": {
                                "id": "evt_01JD3XB0V7M2A8K4R6T9W1Y3Z5",
                                "type": "payout.paid",
                                "apiVersion": "v1",
                                "createdAt": "2026-12-01T08:00:00Z",
                                "livemode": true,
                                "supplierId": "0b0f6a0e-5a57-4a10-9f6c-2f7f7a5d3c11",
                                "data": {
                                    "payoutId": "2b3c4d5e-6f7a-4b8c-9d0e-1f2a3b4c5d6e",
                                    "status": "paid"
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "2XX": {
                        "description": "Answer with any 2xx within 5 seconds; anything else is retried."
                    }
                }
            }
        },
        "ping": {
            "post": {
                "summary": "ping",
                "description": "A test event sent from the panel or the API. Never sent on its own.",
                "tags": [
                    "Webhooks"
                ],
                "operationId": "webhookPing",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "allOf": [
                                    {
                                        "$ref": "#/components/schemas/WebhookEvent"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "type": {
                                                "const": "ping"
                                            },
                                            "data": {
                                                "$ref": "#/components/schemas/PingEventData"
                                            }
                                        }
                                    }
                                ]
                            },
                            "example": {
                                "id": "evt_01JD3XB0V7M2A8K4R6T9W1Y3Z5",
                                "type": "ping",
                                "apiVersion": "v1",
                                "createdAt": "2026-12-01T08:00:00Z",
                                "livemode": true,
                                "supplierId": "0b0f6a0e-5a57-4a10-9f6c-2f7f7a5d3c11",
                                "data": {}
                            }
                        }
                    }
                },
                "responses": {
                    "2XX": {
                        "description": "Answer with any 2xx within 5 seconds; anything else is retried."
                    }
                }
            }
        },
        "price.updated": {
            "post": {
                "summary": "price.updated",
                "description": "Prices of an option changed between `from` and `to` (local dates). Gathered over 30 seconds per option. (coalesced over 30 s)",
                "tags": [
                    "Webhooks"
                ],
                "operationId": "webhookPriceUpdated",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "allOf": [
                                    {
                                        "$ref": "#/components/schemas/WebhookEvent"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "type": {
                                                "const": "price.updated"
                                            },
                                            "data": {
                                                "$ref": "#/components/schemas/RangeEventData"
                                            }
                                        }
                                    }
                                ]
                            },
                            "example": {
                                "id": "evt_01JD3XB0V7M2A8K4R6T9W1Y3Z5",
                                "type": "price.updated",
                                "apiVersion": "v1",
                                "createdAt": "2026-12-01T08:00:00Z",
                                "livemode": true,
                                "supplierId": "0b0f6a0e-5a57-4a10-9f6c-2f7f7a5d3c11",
                                "data": {
                                    "productId": "9b1d4e7a-2c3f-4d5e-8a6b-0c1d2e3f4a5b",
                                    "optionId": "5e6f7a8b-9c0d-4e1f-a2b3-c4d5e6f7a8b9",
                                    "from": "2026-12-01",
                                    "to": "2027-03-31"
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "2XX": {
                        "description": "Answer with any 2xx within 5 seconds; anything else is retried."
                    }
                }
            }
        },
        "product.created": {
            "post": {
                "summary": "product.created",
                "description": "A product was created.",
                "tags": [
                    "Webhooks"
                ],
                "operationId": "webhookProductCreated",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "allOf": [
                                    {
                                        "$ref": "#/components/schemas/WebhookEvent"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "type": {
                                                "const": "product.created"
                                            },
                                            "data": {
                                                "$ref": "#/components/schemas/ProductEventData"
                                            }
                                        }
                                    }
                                ]
                            },
                            "example": {
                                "id": "evt_01JD3XB0V7M2A8K4R6T9W1Y3Z5",
                                "type": "product.created",
                                "apiVersion": "v1",
                                "createdAt": "2026-12-01T08:00:00Z",
                                "livemode": true,
                                "supplierId": "0b0f6a0e-5a57-4a10-9f6c-2f7f7a5d3c11",
                                "data": {
                                    "productId": "9b1d4e7a-2c3f-4d5e-8a6b-0c1d2e3f4a5b",
                                    "status": "draft"
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "2XX": {
                        "description": "Answer with any 2xx within 5 seconds; anything else is retried."
                    }
                }
            }
        },
        "product.deleted": {
            "post": {
                "summary": "product.deleted",
                "description": "A product was deleted.",
                "tags": [
                    "Webhooks"
                ],
                "operationId": "webhookProductDeleted",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "allOf": [
                                    {
                                        "$ref": "#/components/schemas/WebhookEvent"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "type": {
                                                "const": "product.deleted"
                                            },
                                            "data": {
                                                "$ref": "#/components/schemas/ProductEventData"
                                            }
                                        }
                                    }
                                ]
                            },
                            "example": {
                                "id": "evt_01JD3XB0V7M2A8K4R6T9W1Y3Z5",
                                "type": "product.deleted",
                                "apiVersion": "v1",
                                "createdAt": "2026-12-01T08:00:00Z",
                                "livemode": true,
                                "supplierId": "0b0f6a0e-5a57-4a10-9f6c-2f7f7a5d3c11",
                                "data": {
                                    "productId": "9b1d4e7a-2c3f-4d5e-8a6b-0c1d2e3f4a5b",
                                    "status": "archived"
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "2XX": {
                        "description": "Answer with any 2xx within 5 seconds; anything else is retried."
                    }
                }
            }
        },
        "product.published": {
            "post": {
                "summary": "product.published",
                "description": "A product went on sale.",
                "tags": [
                    "Webhooks"
                ],
                "operationId": "webhookProductPublished",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "allOf": [
                                    {
                                        "$ref": "#/components/schemas/WebhookEvent"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "type": {
                                                "const": "product.published"
                                            },
                                            "data": {
                                                "$ref": "#/components/schemas/ProductEventData"
                                            }
                                        }
                                    }
                                ]
                            },
                            "example": {
                                "id": "evt_01JD3XB0V7M2A8K4R6T9W1Y3Z5",
                                "type": "product.published",
                                "apiVersion": "v1",
                                "createdAt": "2026-12-01T08:00:00Z",
                                "livemode": true,
                                "supplierId": "0b0f6a0e-5a57-4a10-9f6c-2f7f7a5d3c11",
                                "data": {
                                    "productId": "9b1d4e7a-2c3f-4d5e-8a6b-0c1d2e3f4a5b",
                                    "status": "published"
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "2XX": {
                        "description": "Answer with any 2xx within 5 seconds; anything else is retried."
                    }
                }
            }
        },
        "product.unpublished": {
            "post": {
                "summary": "product.unpublished",
                "description": "A product came off sale (draft, paused, archived or rejected).",
                "tags": [
                    "Webhooks"
                ],
                "operationId": "webhookProductUnpublished",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "allOf": [
                                    {
                                        "$ref": "#/components/schemas/WebhookEvent"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "type": {
                                                "const": "product.unpublished"
                                            },
                                            "data": {
                                                "$ref": "#/components/schemas/ProductEventData"
                                            }
                                        }
                                    }
                                ]
                            },
                            "example": {
                                "id": "evt_01JD3XB0V7M2A8K4R6T9W1Y3Z5",
                                "type": "product.unpublished",
                                "apiVersion": "v1",
                                "createdAt": "2026-12-01T08:00:00Z",
                                "livemode": true,
                                "supplierId": "0b0f6a0e-5a57-4a10-9f6c-2f7f7a5d3c11",
                                "data": {
                                    "productId": "9b1d4e7a-2c3f-4d5e-8a6b-0c1d2e3f4a5b",
                                    "status": "archived"
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "2XX": {
                        "description": "Answer with any 2xx within 5 seconds; anything else is retried."
                    }
                }
            }
        },
        "product.updated": {
            "post": {
                "summary": "product.updated",
                "description": "A product changed; `changed` lists the aspects and `locales` the languages. Gathered over 10 seconds per product. (coalesced over 10 s)",
                "tags": [
                    "Webhooks"
                ],
                "operationId": "webhookProductUpdated",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "allOf": [
                                    {
                                        "$ref": "#/components/schemas/WebhookEvent"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "type": {
                                                "const": "product.updated"
                                            },
                                            "data": {
                                                "$ref": "#/components/schemas/ProductEventData"
                                            }
                                        }
                                    }
                                ]
                            },
                            "example": {
                                "id": "evt_01JD3XB0V7M2A8K4R6T9W1Y3Z5",
                                "type": "product.updated",
                                "apiVersion": "v1",
                                "createdAt": "2026-12-01T08:00:00Z",
                                "livemode": true,
                                "supplierId": "0b0f6a0e-5a57-4a10-9f6c-2f7f7a5d3c11",
                                "data": {
                                    "productId": "9b1d4e7a-2c3f-4d5e-8a6b-0c1d2e3f4a5b",
                                    "status": "published",
                                    "changed": [
                                        "content",
                                        "media"
                                    ]
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "2XX": {
                        "description": "Answer with any 2xx within 5 seconds; anything else is retried."
                    }
                }
            }
        },
        "review.created": {
            "post": {
                "summary": "review.created",
                "description": "A guest left a review.",
                "tags": [
                    "Webhooks"
                ],
                "operationId": "webhookReviewCreated",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "allOf": [
                                    {
                                        "$ref": "#/components/schemas/WebhookEvent"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "type": {
                                                "const": "review.created"
                                            },
                                            "data": {
                                                "$ref": "#/components/schemas/ReviewEventData"
                                            }
                                        }
                                    }
                                ]
                            },
                            "example": {
                                "id": "evt_01JD3XB0V7M2A8K4R6T9W1Y3Z5",
                                "type": "review.created",
                                "apiVersion": "v1",
                                "createdAt": "2026-12-01T08:00:00Z",
                                "livemode": true,
                                "supplierId": "0b0f6a0e-5a57-4a10-9f6c-2f7f7a5d3c11",
                                "data": {
                                    "reviewId": "5e6f7a8b-9c0d-4e1f-2a3b-4c5d6e7f8a9b",
                                    "productId": "9b1d4e7a-2c3f-4d5e-8a6b-0c1d2e3f4a5b",
                                    "bookingId": "3f2a8c1e-6d4b-4a7e-9c2d-1b5e8f0a7c3d",
                                    "rating": 5
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "2XX": {
                        "description": "Answer with any 2xx within 5 seconds; anything else is retried."
                    }
                }
            }
        },
        "review.deleted": {
            "post": {
                "summary": "review.deleted",
                "description": "A review was deleted.",
                "tags": [
                    "Webhooks"
                ],
                "operationId": "webhookReviewDeleted",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "allOf": [
                                    {
                                        "$ref": "#/components/schemas/WebhookEvent"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "type": {
                                                "const": "review.deleted"
                                            },
                                            "data": {
                                                "$ref": "#/components/schemas/ReviewEventData"
                                            }
                                        }
                                    }
                                ]
                            },
                            "example": {
                                "id": "evt_01JD3XB0V7M2A8K4R6T9W1Y3Z5",
                                "type": "review.deleted",
                                "apiVersion": "v1",
                                "createdAt": "2026-12-01T08:00:00Z",
                                "livemode": true,
                                "supplierId": "0b0f6a0e-5a57-4a10-9f6c-2f7f7a5d3c11",
                                "data": {
                                    "reviewId": "5e6f7a8b-9c0d-4e1f-2a3b-4c5d6e7f8a9b",
                                    "productId": "9b1d4e7a-2c3f-4d5e-8a6b-0c1d2e3f4a5b"
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "2XX": {
                        "description": "Answer with any 2xx within 5 seconds; anything else is retried."
                    }
                }
            }
        },
        "review.published": {
            "post": {
                "summary": "review.published",
                "description": "A review was published.",
                "tags": [
                    "Webhooks"
                ],
                "operationId": "webhookReviewPublished",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "allOf": [
                                    {
                                        "$ref": "#/components/schemas/WebhookEvent"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "type": {
                                                "const": "review.published"
                                            },
                                            "data": {
                                                "$ref": "#/components/schemas/ReviewEventData"
                                            }
                                        }
                                    }
                                ]
                            },
                            "example": {
                                "id": "evt_01JD3XB0V7M2A8K4R6T9W1Y3Z5",
                                "type": "review.published",
                                "apiVersion": "v1",
                                "createdAt": "2026-12-01T08:00:00Z",
                                "livemode": true,
                                "supplierId": "0b0f6a0e-5a57-4a10-9f6c-2f7f7a5d3c11",
                                "data": {
                                    "reviewId": "5e6f7a8b-9c0d-4e1f-2a3b-4c5d6e7f8a9b",
                                    "productId": "9b1d4e7a-2c3f-4d5e-8a6b-0c1d2e3f4a5b",
                                    "rating": 5
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "2XX": {
                        "description": "Answer with any 2xx within 5 seconds; anything else is retried."
                    }
                }
            }
        },
        "review.replied": {
            "post": {
                "summary": "review.replied",
                "description": "You replied to a review.",
                "tags": [
                    "Webhooks"
                ],
                "operationId": "webhookReviewReplied",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "allOf": [
                                    {
                                        "$ref": "#/components/schemas/WebhookEvent"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "type": {
                                                "const": "review.replied"
                                            },
                                            "data": {
                                                "$ref": "#/components/schemas/ReviewEventData"
                                            }
                                        }
                                    }
                                ]
                            },
                            "example": {
                                "id": "evt_01JD3XB0V7M2A8K4R6T9W1Y3Z5",
                                "type": "review.replied",
                                "apiVersion": "v1",
                                "createdAt": "2026-12-01T08:00:00Z",
                                "livemode": true,
                                "supplierId": "0b0f6a0e-5a57-4a10-9f6c-2f7f7a5d3c11",
                                "data": {
                                    "reviewId": "5e6f7a8b-9c0d-4e1f-2a3b-4c5d6e7f8a9b",
                                    "productId": "9b1d4e7a-2c3f-4d5e-8a6b-0c1d2e3f4a5b"
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "2XX": {
                        "description": "Answer with any 2xx within 5 seconds; anything else is retried."
                    }
                }
            }
        },
        "review.updated": {
            "post": {
                "summary": "review.updated",
                "description": "A review was changed.",
                "tags": [
                    "Webhooks"
                ],
                "operationId": "webhookReviewUpdated",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "allOf": [
                                    {
                                        "$ref": "#/components/schemas/WebhookEvent"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "type": {
                                                "const": "review.updated"
                                            },
                                            "data": {
                                                "$ref": "#/components/schemas/ReviewEventData"
                                            }
                                        }
                                    }
                                ]
                            },
                            "example": {
                                "id": "evt_01JD3XB0V7M2A8K4R6T9W1Y3Z5",
                                "type": "review.updated",
                                "apiVersion": "v1",
                                "createdAt": "2026-12-01T08:00:00Z",
                                "livemode": true,
                                "supplierId": "0b0f6a0e-5a57-4a10-9f6c-2f7f7a5d3c11",
                                "data": {
                                    "reviewId": "5e6f7a8b-9c0d-4e1f-2a3b-4c5d6e7f8a9b",
                                    "productId": "9b1d4e7a-2c3f-4d5e-8a6b-0c1d2e3f4a5b",
                                    "rating": 4
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "2XX": {
                        "description": "Answer with any 2xx within 5 seconds; anything else is retried."
                    }
                }
            }
        },
        "ticket.redeemed": {
            "post": {
                "summary": "ticket.redeemed",
                "description": "A ticket was scanned or checked in.",
                "tags": [
                    "Webhooks"
                ],
                "operationId": "webhookTicketRedeemed",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "allOf": [
                                    {
                                        "$ref": "#/components/schemas/WebhookEvent"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "type": {
                                                "const": "ticket.redeemed"
                                            },
                                            "data": {
                                                "$ref": "#/components/schemas/TicketEventData"
                                            }
                                        }
                                    }
                                ]
                            },
                            "example": {
                                "id": "evt_01JD3XB0V7M2A8K4R6T9W1Y3Z5",
                                "type": "ticket.redeemed",
                                "apiVersion": "v1",
                                "createdAt": "2026-12-01T08:00:00Z",
                                "livemode": true,
                                "supplierId": "0b0f6a0e-5a57-4a10-9f6c-2f7f7a5d3c11",
                                "data": {
                                    "ticketId": "7a8b9c0d-1e2f-4a3b-4c5d-6e7f8a9b0c1d",
                                    "bookingId": "3f2a8c1e-6d4b-4a7e-9c2d-1b5e8f0a7c3d"
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "2XX": {
                        "description": "Answer with any 2xx within 5 seconds; anything else is retried."
                    }
                }
            }
        },
        "ticket.redemption_undone": {
            "post": {
                "summary": "ticket.redemption_undone",
                "description": "A check-in was undone.",
                "tags": [
                    "Webhooks"
                ],
                "operationId": "webhookTicketRedemptionUndone",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "allOf": [
                                    {
                                        "$ref": "#/components/schemas/WebhookEvent"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "type": {
                                                "const": "ticket.redemption_undone"
                                            },
                                            "data": {
                                                "$ref": "#/components/schemas/TicketEventData"
                                            }
                                        }
                                    }
                                ]
                            },
                            "example": {
                                "id": "evt_01JD3XB0V7M2A8K4R6T9W1Y3Z5",
                                "type": "ticket.redemption_undone",
                                "apiVersion": "v1",
                                "createdAt": "2026-12-01T08:00:00Z",
                                "livemode": true,
                                "supplierId": "0b0f6a0e-5a57-4a10-9f6c-2f7f7a5d3c11",
                                "data": {
                                    "ticketId": "7a8b9c0d-1e2f-4a3b-4c5d-6e7f8a9b0c1d",
                                    "bookingId": "3f2a8c1e-6d4b-4a7e-9c2d-1b5e8f0a7c3d"
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "2XX": {
                        "description": "Answer with any 2xx within 5 seconds; anything else is retried."
                    }
                }
            }
        },
        "waiver.signed": {
            "post": {
                "summary": "waiver.signed",
                "description": "A traveller signed a waiver.",
                "tags": [
                    "Webhooks"
                ],
                "operationId": "webhookWaiverSigned",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "allOf": [
                                    {
                                        "$ref": "#/components/schemas/WebhookEvent"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "type": {
                                                "const": "waiver.signed"
                                            },
                                            "data": {
                                                "$ref": "#/components/schemas/WaiverEventData"
                                            }
                                        }
                                    }
                                ]
                            },
                            "example": {
                                "id": "evt_01JD3XB0V7M2A8K4R6T9W1Y3Z5",
                                "type": "waiver.signed",
                                "apiVersion": "v1",
                                "createdAt": "2026-12-01T08:00:00Z",
                                "livemode": true,
                                "supplierId": "0b0f6a0e-5a57-4a10-9f6c-2f7f7a5d3c11",
                                "data": {
                                    "waiverId": "6f7a8b9c-0d1e-4f2a-3b4c-5d6e7f8a9b0c",
                                    "bookingId": "3f2a8c1e-6d4b-4a7e-9c2d-1b5e8f0a7c3d"
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "2XX": {
                        "description": "Answer with any 2xx within 5 seconds; anything else is retried."
                    }
                }
            }
        },
        "waiver.voided": {
            "post": {
                "summary": "waiver.voided",
                "description": "A signed waiver was voided.",
                "tags": [
                    "Webhooks"
                ],
                "operationId": "webhookWaiverVoided",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "allOf": [
                                    {
                                        "$ref": "#/components/schemas/WebhookEvent"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "type": {
                                                "const": "waiver.voided"
                                            },
                                            "data": {
                                                "$ref": "#/components/schemas/WaiverEventData"
                                            }
                                        }
                                    }
                                ]
                            },
                            "example": {
                                "id": "evt_01JD3XB0V7M2A8K4R6T9W1Y3Z5",
                                "type": "waiver.voided",
                                "apiVersion": "v1",
                                "createdAt": "2026-12-01T08:00:00Z",
                                "livemode": true,
                                "supplierId": "0b0f6a0e-5a57-4a10-9f6c-2f7f7a5d3c11",
                                "data": {
                                    "waiverId": "6f7a8b9c-0d1e-4f2a-3b4c-5d6e7f8a9b0c",
                                    "bookingId": "3f2a8c1e-6d4b-4a7e-9c2d-1b5e8f0a7c3d"
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "2XX": {
                        "description": "Answer with any 2xx within 5 seconds; anything else is retried."
                    }
                }
            }
        }
    }
}
