{
  "openapi": "3.1.0",
  "info": {
    "title": "DEDALUS New Holiday Packages API",
    "version": "0.41.0",
    "description": "Single actual corrected holiday engine with neutral provider2.1 plumbing; immutable2.0.0 baseline archive SHA2562025e2547b45eb8dff6036c617851d73d024b6b76cdc595165a79501000e15cc. APIv1 MMK-compatible and v2 canonical dual-provider TEST routing. API access is not an onward-distribution licence; MMK redistribution remains held. Operator-entered TEST portal data is separate from fictional partner inventory and grants no licence. Separate Coolify deployment enforces TEST-only, fictional inventory and no supplier operations. Native MMK remains disabled pending own real catalogue and factual per-product policies; NauSYS profile access was verified, but native dated price/availability search is not implemented. Catalogue review cannot fabricate supplier facts. No live supplier parity, schedules, holds, reservations or payments."
  },
  "servers": [
    {
      "url": "/",
      "description": "Current origin: development or enforced TEST-only deployed API."
    },
    {
      "url": "https://dedalus-api.88.217.254.115.sslip.io",
      "description": "DEDALUS production API. Holidays are on request; online booking and payment are not enabled."
    }
  ],
  "paths": {
    "/api/v1/admin/catalogue": {
      "get": {
        "operationId": "readCatalogueControls",
        "summary": "Read scoped compact catalogue controls",
        "description": "Required scope: catalogue:read. Credentials and tenant mode remain server-side.",
        "security": [
          {
            "partnerBearer": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogueSummaryResponse"
                }
              }
            }
          },
          "400": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "410": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/admin/catalogue/preview": {
      "post": {
        "operationId": "previewCatalogueControls",
        "summary": "Validate and sign a catalogue control preview without writing",
        "description": "Separate administrator scope. Current stored versions, country/provider target and full shared-entity affected-yacht/source grants, and manual source/operator decision references required. No supplier availability, skipper/mandatory completeness or price overrides. HTTP body limit16KiB.",
        "security": [
          {
            "partnerBearer": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CataloguePreviewResponse"
                }
              }
            }
          },
          "400": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "410": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ControlImport"
              }
            }
          }
        }
      }
    },
    "/api/v1/admin/catalogue/apply": {
      "post": {
        "operationId": "applyCatalogueControls",
        "summary": "Apply an unexpired, tenant-bound signed control preview",
        "description": "Separate administrator scope. Signed preview binds tenant, mode, scope, payload and five-minute expiry. Optimistic version checks prevent replay/lost updates. Changes invalidate earlier quotes. No supplier operation.",
        "security": [
          {
            "partnerBearer": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogueSummaryResponse"
                }
              }
            }
          },
          "400": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "410": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "previewToken": {
                    "type": "string"
                  }
                },
                "required": [
                  "previewToken"
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/routes": {
      "get": {
        "operationId": "listRoutes",
        "summary": "List granted destination routes",
        "description": "Required scope: content:read. Credentials and tenant mode remain server-side.",
        "security": [
          {
            "partnerBearer": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RoutesResponse"
                }
              }
            }
          },
          "400": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "410": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "language",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "en",
                "de"
              ],
              "default": "en"
            }
          }
        ]
      }
    },
    "/api/v1/routes/{slug}": {
      "get": {
        "operationId": "getRoute",
        "summary": "Read bilingual route content",
        "description": "Required scope: content:read. Credentials and tenant mode remain server-side.",
        "security": [
          {
            "partnerBearer": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RouteResponse"
                }
              }
            }
          },
          "400": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "410": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "slug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "language",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "en",
                "de"
              ],
              "default": "en"
            }
          }
        ]
      }
    },
    "/api/v1/packages/search": {
      "post": {
        "operationId": "searchPackages",
        "summary": "Search exact-period holiday packages",
        "description": "Scope packages:search. Saturdays, 7/14/21 nights, 2–12 guests. All holidays qualify for a skipper via reused Cosmos rules; service any does not expose bareboat-only products. A 200 with coverage blocked/failed/incomplete is NOT a successful empty search. TEST always synthetic. Maximum 60 packages.",
        "security": [
          {
            "partnerBearer": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SearchResponse"
                }
              }
            }
          },
          "400": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "410": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Search"
              }
            }
          }
        }
      }
    },
    "/api/v1/packages/{selectionId}": {
      "get": {
        "operationId": "getSelectedPackage",
        "summary": "Read the exact expiring selection snapshot",
        "description": "Required scope: packages:read. Credentials and tenant mode remain server-side.",
        "security": [
          {
            "partnerBearer": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DetailResponse"
                }
              }
            }
          },
          "400": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "410": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "selectionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/v1/packages/{selectionId}/recheck": {
      "post": {
        "operationId": "recheckSelectedPackage",
        "summary": "Recheck the exact product with fresh evidence",
        "description": "Scope packages:recheck. Empty body only; no changed dates, guests or amounts. Complete fresh evidence required; price-component changes return 409, expired references410, failed coverage503. A successful recheck issues a replacement reference. No supplier hold/payment/reservation.",
        "security": [
          {
            "partnerBearer": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecheckResponse"
                }
              }
            }
          },
          "400": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "410": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "selectionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "properties": {},
                "required": []
              }
            }
          }
        }
      }
    },
    "/api/v1/test/handoffs": {
      "post": {
        "operationId": "createTestHandoff",
        "summary": "Create a simulated TEST handoff",
        "description": "TEST partners only, scope handoffs:test. Fresh exact recheck required even after an earlier recheck. No supplier call that holds/reserves/cancels, no customer details or payment. Supplier confirmation and payment both NOT_REQUESTED.",
        "security": [
          {
            "partnerBearer": []
          }
        ],
        "responses": {
          "200": {
            "description": "Idempotent replay",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HandoffResponse"
                }
              }
            }
          },
          "201": {
            "description": "TEST handoff created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HandoffResponse"
                }
              }
            }
          },
          "400": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "410": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[A-Za-z0-9_-]{8,128}$"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "selectionId": {
                    "type": "string",
                    "format": "uuid"
                  }
                },
                "required": [
                  "selectionId"
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/test/handoffs/{id}": {
      "get": {
        "operationId": "getTestHandoff",
        "summary": "Read tenant-isolated TEST status",
        "description": "Required scope: handoffs:test. Credentials and tenant mode remain server-side.",
        "security": [
          {
            "partnerBearer": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HandoffResponse"
                }
              }
            }
          },
          "400": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "410": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/health": {
      "get": {
        "operationId": "health",
        "summary": "Public process readiness",
        "security": [],
        "responses": {
          "200": {
            "description": "Ready, reservations disabled"
          }
        }
      }
    },
    "/openapi.json": {
      "get": {
        "operationId": "openapi",
        "summary": "Public API contract",
        "security": [],
        "responses": {
          "200": {
            "description": "This OpenAPI contract"
          }
        }
      }
    },
    "/api/v2/routes": {
      "get": {
        "operationId": "listRoutesV2",
        "summary": "List granted destination routes",
        "description": "Required scope: content:read. Credentials and tenant mode remain server-side.",
        "security": [
          {
            "partnerBearer": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RoutesResponseV2"
                }
              }
            }
          },
          "400": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "410": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "language",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "en",
                "de"
              ],
              "default": "en"
            }
          }
        ]
      }
    },
    "/api/v2/routes/{slug}": {
      "get": {
        "operationId": "getRouteV2",
        "summary": "Read bilingual route content",
        "description": "Required scope: content:read. Credentials and tenant mode remain server-side.",
        "security": [
          {
            "partnerBearer": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RouteResponseV2"
                }
              }
            }
          },
          "400": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "410": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "slug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "language",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "en",
                "de"
              ],
              "default": "en"
            }
          }
        ]
      }
    },
    "/api/v2/packages/search": {
      "post": {
        "operationId": "searchPackagesV2",
        "summary": "Search exact-period holiday packages",
        "description": "Scope packages:search. Saturdays, 7/14/21 nights, 2–12 guests. All holidays qualify for a skipper via reused Cosmos rules; service any does not expose bareboat-only products. A 200 with coverage blocked/failed/incomplete is NOT a successful empty search. TEST always synthetic. Maximum 60 packages.",
        "security": [
          {
            "partnerBearer": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SearchResponseV2"
                }
              }
            }
          },
          "400": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "410": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Search"
              }
            }
          }
        }
      }
    },
    "/api/v2/packages/{selectionId}": {
      "get": {
        "operationId": "getSelectedPackageV2",
        "summary": "Read the exact expiring selection snapshot",
        "description": "Required scope: packages:read. Credentials and tenant mode remain server-side.",
        "security": [
          {
            "partnerBearer": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DetailResponseV2"
                }
              }
            }
          },
          "400": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "410": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "selectionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/api/v2/packages/{selectionId}/recheck": {
      "post": {
        "operationId": "recheckSelectedPackageV2",
        "summary": "Recheck the exact product with fresh evidence",
        "description": "Scope packages:recheck. Empty body only; no changed dates, guests or amounts. Complete fresh evidence required; price-component changes return 409, expired references410, failed coverage503. A successful recheck issues a replacement reference. No supplier hold/payment/reservation.",
        "security": [
          {
            "partnerBearer": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecheckResponseV2"
                }
              }
            }
          },
          "400": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "410": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "selectionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "properties": {},
                "required": []
              }
            }
          }
        }
      }
    },
    "/api/v2/providers": {
      "get": {
        "operationId": "providerCapabilitiesV2",
        "summary": "Read granted provider technical and TEST capability status",
        "description": "Required scope: content:read. Credentials and tenant mode remain server-side.",
        "security": [
          {
            "partnerBearer": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProvidersResponse"
                }
              }
            }
          },
          "400": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "410": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/admin/review": {
      "get": {
        "operationId": "matchingReviewSummary",
        "summary": "Read scoped identity conflicts and review-only suggestions",
        "description": "Required scope: catalogue:read. Credentials and tenant mode remain server-side.",
        "security": [
          {
            "partnerBearer": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReviewSummaryResponse"
                }
              }
            }
          },
          "400": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "410": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/admin/review/export": {
      "get": {
        "operationId": "matchingReviewExport",
        "summary": "Download protected review draft; references remain blank until approved",
        "description": "Required scope: catalogue:read. Credentials and tenant mode remain server-side.",
        "security": [
          {
            "partnerBearer": []
          }
        ],
        "responses": {
          "200": {
            "description": "Raw draft attachment, never an automatically approved mapping",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "properties": {
                    "formatVersion": {
                      "const": 1
                    },
                    "expectedVersions": {
                      "$ref": "#/components/schemas/CatalogueVersions"
                    },
                    "changes": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "properties": {
                          "entityType": {
                            "enum": [
                              "yacht",
                              "operator",
                              "base"
                            ]
                          },
                          "sourceId": {
                            "type": "string"
                          },
                          "targetId": {
                            "type": "string"
                          },
                          "decisionReference": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "entityType",
                          "sourceId",
                          "targetId",
                          "decisionReference"
                        ]
                      }
                    }
                  },
                  "required": [
                    "formatVersion",
                    "expectedVersions",
                    "changes"
                  ]
                }
              },
              "text/csv": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "410": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "format",
            "in": "query",
            "schema": {
              "enum": [
                "json",
                "csv"
              ],
              "default": "json"
            }
          }
        ]
      }
    },
    "/api/v1/admin/review/preview": {
      "post": {
        "operationId": "matchingReviewPreview",
        "summary": "Validate verified anchors and complete affected grants; no write",
        "description": "Trusted physical/legal/base anchors required; fuzzy names cannot authorize links. Strict service2,000,000-byte input bound; HTTP review envelope4MiB. Five-minute preview binds exact tenant/mode/grants/all versions/reference. Source IDs, aliases, prices and supplier verification cannot be edited.",
        "security": [
          {
            "partnerBearer": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReviewPreviewResponse"
                }
              }
            }
          },
          "400": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "410": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ReviewImport"
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "properties": {
                      "format": {
                        "enum": [
                          "csv",
                          "json"
                        ]
                      },
                      "content": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "format",
                      "content"
                    ]
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/admin/review/apply": {
      "post": {
        "operationId": "matchingReviewApply",
        "summary": "Apply signed review under one atomic full-version transaction",
        "description": "Rechecks expiry/grants/versions. Preserves source facts, manual controls and supplier observation time; invalidates old selections. No supplier calls.",
        "security": [
          {
            "partnerBearer": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReviewSummaryResponse"
                }
              }
            }
          },
          "400": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "410": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "See error.code; provider failures never imply availability or a reservation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "previewToken": {
                    "type": "string",
                    "maxLength": 3000000
                  }
                },
                "required": [
                  "previewToken"
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/operator-portal/state": {
      "get": {
        "operationId": "operatorPortalState",
        "tags": [
          "Operator portal TEST"
        ],
        "description": "Operators access only their assigned fleet/countries; authorised catalogue reviewers inspect their permitted workspaces. Ordinary OTA partner keys are forbidden. Named cookie sessions recheck current grants. Cookie mutations also require same-origin Origin and X-DDN-CSRF; bearer clients retain their separate existing authentication.",
        "security": [
          {
            "partnerBearer": []
          },
          {
            "accountSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "TEST-only authenticated result; no distribution rights/reservation granted.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "apiVersion",
                    "requestId",
                    "mode",
                    "data"
                  ],
                  "properties": {
                    "apiVersion": {
                      "const": "v1"
                    },
                    "requestId": {
                      "type": "string"
                    },
                    "mode": {
                      "const": "TEST"
                    },
                    "data": {
                      "$ref": "#/components/schemas/OperatorPortalState"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Invalid/revoked bearer"
          },
          "403": {
            "description": "Operator/reviewer/current country grant not permitted"
          },
          "404": {
            "description": "Record outside current owner/country scope"
          },
          "409": {
            "description": "Revision, workflow or overlapping calendar conflict; reload, never retry blindly"
          },
          "422": {
            "description": "Unknown/contradictory required facts block submission/review"
          },
          "503": {
            "description": "Operator workspace requires explicit dedicated setup; no fallback"
          }
        }
      }
    },
    "/api/v1/operator-portal/actions": {
      "post": {
        "operationId": "operatorPortalAction",
        "tags": [
          "Operator portal TEST"
        ],
        "description": "Versioned scoped direct entry/review. Operators submit; reviewers approve/publish authenticated TEST preview only. Calendar fields follow OperatorCalendarFields: ordered arbitrary ongoing/future range, end exclusive, all blocking reasons deny same physical yacht supply. Calendar/price/content edits invalidate affected review. Week-first planning display marks unblocked dates Available (no recorded block); this does not manufacture fresh operator-declared evidence, and expired/unknown/conflicting evidence remains qualified. Booked/option records never create a DEDALUS reservation or external hold. No upstream calls or live stock guarantee. Named cookie sessions recheck current grants. Cookie mutations also require same-origin Origin and X-DDN-CSRF; bearer clients retain their separate existing authentication. Ordinary yacht facts, prices and availability are maintained by the owning operator only. Reviewers inspect the same supply read-only; panel URLs do not grant editing rights. DEDALUS editorial, review/approval, identity, sharing and explicit maintenance actions remain separately authorized. Reviewer departure updates assign existing DEDALUS products without changing supply facts; reviewer holiday updates change editorial content only. Operator legacy holiday supply entry reuses existing DEDALUS content rather than authoring descriptions/itineraries. Existing reviewer-only prepare_price_season accepts no authored fields and derives unassigned draft departures from already validated operator seasonal snapshots; it is not a price/calendar editing permission or publication grant.",
        "security": [
          {
            "partnerBearer": []
          },
          {
            "accountSession": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OperatorPortalAction"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "TEST-only authenticated result; no distribution rights/reservation granted.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "apiVersion",
                    "requestId",
                    "mode",
                    "data"
                  ],
                  "properties": {
                    "apiVersion": {
                      "const": "v1"
                    },
                    "requestId": {
                      "type": "string"
                    },
                    "mode": {
                      "const": "TEST"
                    },
                    "data": {
                      "$ref": "#/components/schemas/OperatorPortalState"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Invalid/revoked bearer"
          },
          "403": {
            "description": "OPERATOR_SUPPLY_WRITE_REQUIRED for ordinary reviewer supply edits; otherwise current role, owner or country grant denied."
          },
          "404": {
            "description": "Record outside current owner/country scope"
          },
          "409": {
            "description": "Revision, workflow or overlapping calendar conflict; reload, never retry blindly"
          },
          "422": {
            "description": "Unknown/contradictory required facts block submission/review"
          },
          "503": {
            "description": "Operator workspace requires explicit dedicated setup; no fallback"
          }
        }
      }
    },
    "/api/v1/operator-portal/access": {
      "post": {
        "operationId": "issueTestOperatorAccess",
        "tags": [
          "Operator portal TEST"
        ],
        "description": "Explicit reviewer-only private credential issuance. Server derives owner/country grants; clients cannot request role/scopes/LIVE. Current grants rechecked before issuance. Named cookie sessions recheck current grants. Cookie mutations also require same-origin Origin and X-DDN-CSRF; bearer clients retain their separate existing authentication.",
        "security": [
          {
            "partnerBearer": []
          },
          {
            "accountSession": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OperatorAccessRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "TEST-only authenticated result; no distribution rights/reservation granted.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "apiVersion",
                    "requestId",
                    "mode",
                    "data"
                  ],
                  "properties": {
                    "apiVersion": {
                      "const": "v1"
                    },
                    "requestId": {
                      "type": "string"
                    },
                    "mode": {
                      "const": "TEST"
                    },
                    "data": {
                      "$ref": "#/components/schemas/OperatorAccessResult"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Invalid/revoked bearer"
          },
          "403": {
            "description": "Operator/reviewer/current country grant not permitted"
          },
          "404": {
            "description": "Record outside current owner/country scope"
          },
          "409": {
            "description": "Revision, workflow or overlapping calendar conflict; reload, never retry blindly"
          },
          "422": {
            "description": "Unknown/contradictory required facts block submission/review"
          },
          "503": {
            "description": "Operator workspace requires explicit dedicated setup; no fallback"
          }
        }
      }
    },
    "/api/v1/operator-portal/yachts/{yachtId}/photos": {
      "get": {
        "tags": [
          "Operator yacht photos"
        ],
        "security": [
          {
            "partnerBearer": []
          },
          {
            "accountSession": []
          },
          {
            "accountSession": []
          },
          {
            "accountSession": []
          },
          {
            "accountSession": []
          },
          {
            "accountSession": []
          }
        ],
        "operationId": "operatorYachtPhotos",
        "parameters": [
          {
            "name": "yachtId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "operatorId",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "Optional reviewer target; server-owned scope remains authoritative."
          }
        ],
        "responses": {
          "200": {
            "description": "TEST-only authenticated result; no distribution rights/reservation granted.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "apiVersion",
                    "requestId",
                    "mode",
                    "data"
                  ],
                  "properties": {
                    "apiVersion": {
                      "const": "v1"
                    },
                    "requestId": {
                      "type": "string"
                    },
                    "mode": {
                      "const": "TEST"
                    },
                    "data": {
                      "$ref": "#/components/schemas/OperatorYachtPhotoList"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid photo/query/MIME/rights"
          },
          "401": {
            "description": "Invalid/revoked bearer"
          },
          "403": {
            "description": "Operator/reviewer/current country grant not permitted"
          },
          "404": {
            "description": "Record outside current owner/country scope"
          },
          "409": {
            "description": "Revision, workflow or overlapping calendar conflict; reload, never retry blindly"
          },
          "413": {
            "description": "File exceeds8MB,16MP or normalized output bound"
          },
          "415": {
            "description": "Compressed request bodies unsupported"
          },
          "422": {
            "description": "Unknown/contradictory required facts block submission/review"
          },
          "429": {
            "description": "Photo processing or request limit reached; do not duplicate uncertain mutations"
          },
          "503": {
            "description": "Operator workspace requires explicit dedicated setup; no fallback"
          }
        },
        "description": " Named cookie sessions recheck current grants. Cookie mutations also require same-origin Origin and X-DDN-CSRF; bearer clients retain their separate existing authentication."
      },
      "post": {
        "tags": [
          "Operator yacht photos"
        ],
        "security": [
          {
            "partnerBearer": []
          },
          {
            "accountSession": []
          },
          {
            "accountSession": []
          },
          {
            "accountSession": []
          },
          {
            "accountSession": []
          },
          {
            "accountSession": []
          }
        ],
        "operationId": "uploadOperatorYachtPhoto",
        "parameters": [
          {
            "name": "yachtId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "operatorId",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "Optional reviewer target; server-owned scope remains authoritative."
          },
          {
            "name": "expectedRevision",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "minimum": 0
            }
          },
          {
            "name": "mediaRightsAttested",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "const": "true"
            },
            "deprecated": true,
            "description": "Legacy explicit media-use instruction. New UI uses uploadIntent instead; never a copyright-verification result."
          },
          {
            "name": "uploadIntent",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "const": "operator_upload"
            },
            "description": "Explicit authenticated owner instruction to upload/use this file. Supply this or the legacy true flag. No repeated rights checkbox, automatic public permission or legal verification."
          }
        ],
        "description": "Explicit owned raw JPEG/PNG/WebP upload,8MB input/16MP/20photos per yacht. Decoder validates format; strips metadata, preserves aspect/content and downsizes to WebP plus thumbnail. Files live in own persistent volume; current grants/revision are rechecked at commit. No SVG/animation/path input or automatic publication. Relevant yacht review is invalidated. Named cookie sessions recheck current grants. Cookie mutations also require same-origin Origin and X-DDN-CSRF; bearer clients retain their separate existing authentication. The server requires an explicit operator_upload intent or the supported legacy true flag. Existing private/unknown imported rights remain unchanged; upload does not grant public distribution rights.",
        "requestBody": {
          "required": true,
          "content": {
            "image/jpeg": {
              "schema": {
                "type": "string",
                "format": "binary"
              }
            },
            "image/png": {
              "schema": {
                "type": "string",
                "format": "binary"
              }
            },
            "image/webp": {
              "schema": {
                "type": "string",
                "format": "binary"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "TEST-only authenticated result; no distribution rights/reservation granted.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "apiVersion",
                    "requestId",
                    "mode",
                    "data"
                  ],
                  "properties": {
                    "apiVersion": {
                      "const": "v1"
                    },
                    "requestId": {
                      "type": "string"
                    },
                    "mode": {
                      "const": "TEST"
                    },
                    "data": {
                      "$ref": "#/components/schemas/OperatorPortalState"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid photo/query/MIME/rights"
          },
          "401": {
            "description": "Invalid/revoked bearer"
          },
          "403": {
            "description": "Operator/reviewer/current country grant not permitted"
          },
          "404": {
            "description": "Record outside current owner/country scope"
          },
          "409": {
            "description": "Revision, workflow or overlapping calendar conflict; reload, never retry blindly"
          },
          "413": {
            "description": "File exceeds8MB,16MP or normalized output bound"
          },
          "415": {
            "description": "Compressed request bodies unsupported"
          },
          "422": {
            "description": "Unknown/contradictory required facts block submission/review"
          },
          "429": {
            "description": "Photo processing or request limit reached; do not duplicate uncertain mutations"
          },
          "503": {
            "description": "Operator workspace requires explicit dedicated setup; no fallback"
          }
        }
      }
    },
    "/api/v1/operator-portal/yachts/{yachtId}/photos/{photoId}": {
      "get": {
        "tags": [
          "Operator yacht photos"
        ],
        "security": [
          {
            "partnerBearer": []
          },
          {
            "accountSession": []
          },
          {
            "accountSession": []
          },
          {
            "accountSession": []
          },
          {
            "accountSession": []
          },
          {
            "accountSession": []
          }
        ],
        "operationId": "readOperatorYachtPhoto",
        "parameters": [
          {
            "name": "yachtId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "operatorId",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "Optional reviewer target; server-owned scope remains authoritative."
          },
          {
            "name": "photoId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "size",
            "in": "query",
            "schema": {
              "enum": [
                "thumbnail"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Owned normalized image; private no-store.",
            "content": {
              "image/webp": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "400": {
            "description": "Invalid photo/query/MIME/rights"
          },
          "401": {
            "description": "Invalid/revoked bearer"
          },
          "403": {
            "description": "Operator/reviewer/current country grant not permitted"
          },
          "404": {
            "description": "Record outside current owner/country scope"
          },
          "409": {
            "description": "Revision, workflow or overlapping calendar conflict; reload, never retry blindly"
          },
          "413": {
            "description": "File exceeds8MB,16MP or normalized output bound"
          },
          "415": {
            "description": "Compressed request bodies unsupported"
          },
          "422": {
            "description": "Unknown/contradictory required facts block submission/review"
          },
          "429": {
            "description": "Photo processing or request limit reached; do not duplicate uncertain mutations"
          },
          "503": {
            "description": "Operator workspace requires explicit dedicated setup; no fallback"
          }
        },
        "description": " Named cookie sessions recheck current grants. Cookie mutations also require same-origin Origin and X-DDN-CSRF; bearer clients retain their separate existing authentication."
      },
      "delete": {
        "tags": [
          "Operator yacht photos"
        ],
        "security": [
          {
            "partnerBearer": []
          },
          {
            "accountSession": []
          },
          {
            "accountSession": []
          },
          {
            "accountSession": []
          },
          {
            "accountSession": []
          },
          {
            "accountSession": []
          }
        ],
        "operationId": "removeOperatorYachtPhoto",
        "parameters": [
          {
            "name": "yachtId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "operatorId",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "Optional reviewer target; server-owned scope remains authoritative."
          },
          {
            "name": "photoId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "expectedRevision",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "minimum": 0
            }
          }
        ],
        "description": "Explicit owned removal; requires empty body, current revision/grants. Does not delete another yacht or reset inventory. Named cookie sessions recheck current grants. Cookie mutations also require same-origin Origin and X-DDN-CSRF; bearer clients retain their separate existing authentication.",
        "responses": {
          "200": {
            "description": "TEST-only authenticated result; no distribution rights/reservation granted.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "apiVersion",
                    "requestId",
                    "mode",
                    "data"
                  ],
                  "properties": {
                    "apiVersion": {
                      "const": "v1"
                    },
                    "requestId": {
                      "type": "string"
                    },
                    "mode": {
                      "const": "TEST"
                    },
                    "data": {
                      "$ref": "#/components/schemas/OperatorPortalState"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid photo/query/MIME/rights"
          },
          "401": {
            "description": "Invalid/revoked bearer"
          },
          "403": {
            "description": "Operator/reviewer/current country grant not permitted"
          },
          "404": {
            "description": "Record outside current owner/country scope"
          },
          "409": {
            "description": "Revision, workflow or overlapping calendar conflict; reload, never retry blindly"
          },
          "413": {
            "description": "File exceeds8MB,16MP or normalized output bound"
          },
          "415": {
            "description": "Compressed request bodies unsupported"
          },
          "422": {
            "description": "Unknown/contradictory required facts block submission/review"
          },
          "429": {
            "description": "Photo processing or request limit reached; do not duplicate uncertain mutations"
          },
          "503": {
            "description": "Operator workspace requires explicit dedicated setup; no fallback"
          }
        }
      }
    },
    "/api/v1/operator-portal/yachts/{yachtId}/photos/{photoId}/cover": {
      "post": {
        "tags": [
          "Operator yacht photos"
        ],
        "security": [
          {
            "partnerBearer": []
          },
          {
            "accountSession": []
          },
          {
            "accountSession": []
          },
          {
            "accountSession": []
          },
          {
            "accountSession": []
          },
          {
            "accountSession": []
          }
        ],
        "operationId": "setOperatorYachtCover",
        "parameters": [
          {
            "name": "yachtId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "operatorId",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "Optional reviewer target; server-owned scope remains authoritative."
          },
          {
            "name": "photoId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "expectedRevision",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "minimum": 0
            }
          }
        ],
        "description": "Explicit current-owner main-image choice with empty body and current revision. Eligible operator uploads or already-public, source-identity-valid imported gallery pictures only. Private/unknown/revoked imported choices are rejected. Imported files/manifests/rights remain unchanged. Relevant source review is invalidated; no offer or gallery is automatically published. Named cookie sessions recheck current grants. Cookie mutations also require same-origin Origin and X-DDN-CSRF; bearer clients retain their separate existing authentication.",
        "responses": {
          "200": {
            "description": "TEST-only authenticated result; no distribution rights/reservation granted.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "apiVersion",
                    "requestId",
                    "mode",
                    "data"
                  ],
                  "properties": {
                    "apiVersion": {
                      "const": "v1"
                    },
                    "requestId": {
                      "type": "string"
                    },
                    "mode": {
                      "const": "TEST"
                    },
                    "data": {
                      "$ref": "#/components/schemas/OperatorPortalState"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid photo/query/MIME/rights"
          },
          "401": {
            "description": "Invalid/revoked bearer"
          },
          "403": {
            "description": "Operator/reviewer/current country grant not permitted"
          },
          "404": {
            "description": "Record outside current owner/country scope"
          },
          "409": {
            "description": "Revision, workflow or overlapping calendar conflict; reload, never retry blindly"
          },
          "413": {
            "description": "File exceeds8MB,16MP or normalized output bound"
          },
          "415": {
            "description": "Compressed request bodies unsupported"
          },
          "422": {
            "description": "Unknown/contradictory required facts block submission/review"
          },
          "429": {
            "description": "Photo processing or request limit reached; do not duplicate uncertain mutations"
          },
          "503": {
            "description": "Operator workspace requires explicit dedicated setup; no fallback"
          }
        }
      }
    },
    "/media/yachts/{yachtId}/{photoId}.webp": {
      "get": {
        "operationId": "publishedTestYachtCover",
        "tags": [
          "Operator yacht photos"
        ],
        "parameters": [
          {
            "name": "yachtId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "photoId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "size",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "const": "thumbnail"
            },
            "description": "Omit for full image; thumbnail selects the owned reduced variant."
          }
        ],
        "description": "Anonymous owned image read. Explicit publication authorization permits exact imported-gallery members; existing direct-cover eligibility remains unchanged for other images. No supplier feed or booking permission. Revocable no-store response.",
        "responses": {
          "200": {
            "description": "Current publicly eligible TEST cover; no-store.",
            "content": {
              "image/webp": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "404": {
            "description": "No current public cover permission"
          },
          "503": {
            "description": "Photo storage unavailable"
          }
        },
        "security": []
      }
    },
    "/api/v3/offers/{selectionId}/itinerary-map.png": {
      "get": {
        "operationId": "directItineraryMapPNG",
        "tags": [
          "Direct operator offers TEST"
        ],
        "security": [
          {
            "partnerBearer": []
          },
          {
            "accountSession": []
          },
          {
            "accountSession": []
          },
          {
            "accountSession": []
          }
        ],
        "description": "Server-to-server static suggested-map download for the exact immutable selection. Requires offers:read, current named-operator/country grants, unexpired selection and coherent current source. Revalidates after rasterization/cache access. No credential in URL, anonymous draft publication, quote replacement, booking or payment. OTA backend may proxy/host its downloaded map, preserving the visible indicative/not-navigation disclaimer. No query fields. Incomplete locations return 422.",
        "parameters": [
          {
            "in": "path",
            "name": "selectionId",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "1600×900 static image, private no-store, with permanent indicative route disclaimer.",
            "content": {
              "image/png": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "400": {
            "description": "Safe code/message error; changed or expired offer requires a new search. No replacement price is silently accepted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DirectError"
                }
              }
            }
          },
          "401": {
            "description": "Safe code/message error; changed or expired offer requires a new search. No replacement price is silently accepted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DirectError"
                }
              }
            }
          },
          "403": {
            "description": "Safe code/message error; changed or expired offer requires a new search. No replacement price is silently accepted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DirectError"
                }
              }
            }
          },
          "404": {
            "description": "Safe code/message error; changed or expired offer requires a new search. No replacement price is silently accepted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DirectError"
                }
              }
            }
          },
          "409": {
            "description": "Safe code/message error; changed or expired offer requires a new search. No replacement price is silently accepted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DirectError"
                }
              }
            }
          },
          "410": {
            "description": "Safe code/message error; changed or expired offer requires a new search. No replacement price is silently accepted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DirectError"
                }
              }
            }
          },
          "422": {
            "description": "Map is absent/incomplete, including unknown or ambiguous stop locations; do not manufacture geography.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DirectError"
                }
              }
            }
          },
          "503": {
            "description": "Safe code/message error; changed or expired offer requires a new search. No replacement price is silently accepted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DirectError"
                }
              }
            }
          }
        }
      }
    },
    "/api/v3/offers/{selectionId}/itinerary-map.svg": {
      "get": {
        "operationId": "directItineraryMapSVG",
        "tags": [
          "Direct operator offers TEST"
        ],
        "security": [
          {
            "partnerBearer": []
          },
          {
            "accountSession": []
          },
          {
            "accountSession": []
          },
          {
            "accountSession": []
          }
        ],
        "description": "Server-to-server static suggested-map download for the exact immutable selection. Requires offers:read, current named-operator/country grants, unexpired selection and coherent current source. Revalidates after rasterization/cache access. No credential in URL, anonymous draft publication, quote replacement, booking or payment. OTA backend may proxy/host its downloaded map, preserving the visible indicative/not-navigation disclaimer. No query fields. Incomplete locations return 422.",
        "parameters": [
          {
            "in": "path",
            "name": "selectionId",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "1600×900 static image, private no-store, with permanent indicative route disclaimer.",
            "content": {
              "image/svg+xml": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "400": {
            "description": "Safe code/message error; changed or expired offer requires a new search. No replacement price is silently accepted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DirectError"
                }
              }
            }
          },
          "401": {
            "description": "Safe code/message error; changed or expired offer requires a new search. No replacement price is silently accepted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DirectError"
                }
              }
            }
          },
          "403": {
            "description": "Safe code/message error; changed or expired offer requires a new search. No replacement price is silently accepted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DirectError"
                }
              }
            }
          },
          "404": {
            "description": "Safe code/message error; changed or expired offer requires a new search. No replacement price is silently accepted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DirectError"
                }
              }
            }
          },
          "409": {
            "description": "Safe code/message error; changed or expired offer requires a new search. No replacement price is silently accepted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DirectError"
                }
              }
            }
          },
          "410": {
            "description": "Safe code/message error; changed or expired offer requires a new search. No replacement price is silently accepted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DirectError"
                }
              }
            }
          },
          "422": {
            "description": "Map is absent/incomplete, including unknown or ambiguous stop locations; do not manufacture geography.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DirectError"
                }
              }
            }
          },
          "503": {
            "description": "Safe code/message error; changed or expired offer requires a new search. No replacement price is silently accepted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DirectError"
                }
              }
            }
          }
        }
      }
    },
    "/api/v3/capabilities": {
      "get": {
        "operationId": "directOfferCapabilities",
        "tags": [
          "Direct operator offers TEST"
        ],
        "security": [
          {
            "partnerBearer": []
          },
          {
            "accountSession": []
          },
          {
            "accountSession": []
          },
          {
            "accountSession": []
          }
        ],
        "description": "Requires offers:read. Legacy provider grants do not confer direct access.",
        "responses": {
          "200": {
            "description": "TEST whole-yacht ON_REQUEST result. No hold, confirmation, payment or legal distribution grant.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "apiVersion",
                    "requestId",
                    "mode",
                    "source",
                    "unitType",
                    "bookingMode",
                    "reservation",
                    "instantBookable",
                    "payment",
                    "legalDistributionApproved",
                    "data"
                  ],
                  "properties": {
                    "apiVersion": {
                      "const": "v3"
                    },
                    "requestId": {
                      "type": "string"
                    },
                    "mode": {
                      "const": "TEST"
                    },
                    "source": {
                      "const": "direct_operator"
                    },
                    "unitType": {
                      "const": "whole_yacht"
                    },
                    "bookingMode": {
                      "const": "ON_REQUEST"
                    },
                    "reservation": {
                      "const": false
                    },
                    "instantBookable": {
                      "const": false
                    },
                    "payment": {
                      "const": "NOT_REQUESTED"
                    },
                    "legalDistributionApproved": {
                      "const": false
                    },
                    "data": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "inventoryTypes",
                        "directOperatorIds",
                        "search",
                        "detail",
                        "recheck",
                        "reservations",
                        "payments",
                        "pricePresentation",
                        "extrasSelection",
                        "publicPriceBreakdown",
                        "notice"
                      ],
                      "properties": {
                        "inventoryTypes": {
                          "type": "array",
                          "items": {
                            "const": "whole_yacht"
                          }
                        },
                        "directOperatorIds": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "search": {
                          "const": true
                        },
                        "detail": {
                          "const": true
                        },
                        "recheck": {
                          "const": true
                        },
                        "reservations": {
                          "const": false
                        },
                        "payments": {
                          "const": false
                        },
                        "pricePresentation": {
                          "const": "single_total"
                        },
                        "extrasSelection": {
                          "const": true
                        },
                        "publicPriceBreakdown": {
                          "const": false
                        },
                        "notice": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Safe code/message error; changed or expired offer requires a new search. No replacement price is silently accepted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DirectError"
                }
              }
            }
          },
          "401": {
            "description": "Safe code/message error; changed or expired offer requires a new search. No replacement price is silently accepted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DirectError"
                }
              }
            }
          },
          "403": {
            "description": "Safe code/message error; changed or expired offer requires a new search. No replacement price is silently accepted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DirectError"
                }
              }
            }
          },
          "404": {
            "description": "Safe code/message error; changed or expired offer requires a new search. No replacement price is silently accepted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DirectError"
                }
              }
            }
          },
          "409": {
            "description": "Safe code/message error; changed or expired offer requires a new search. No replacement price is silently accepted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DirectError"
                }
              }
            }
          },
          "410": {
            "description": "Safe code/message error; changed or expired offer requires a new search. No replacement price is silently accepted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DirectError"
                }
              }
            }
          },
          "503": {
            "description": "Safe code/message error; changed or expired offer requires a new search. No replacement price is silently accepted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DirectError"
                }
              }
            }
          }
        }
      }
    },
    "/api/v3/offers/search": {
      "post": {
        "operationId": "searchDirectWholeYachtOffers",
        "tags": [
          "Direct operator offers TEST"
        ],
        "security": [
          {
            "partnerBearer": []
          },
          {
            "accountSession": []
          },
          {
            "accountSession": []
          },
          {
            "accountSession": []
          }
        ],
        "description": "Requires offers:search and named current operator/country grants plus reviewer TEST sharing. English source content is required; German is optional and only returned when complete and current to the English source. Missing/outdated German never blocks English offers; requested German without a current translation is excluded with DIRECT_TRANSLATION_UNAVAILABLE, never relabelled English. Future ordered canonical dates of 1–730 nights on any weekday; seven nights is the entry default, not a search restriction. Match only exact reviewed priced departures: never prorate a weekly price or invent inventory. Whole yacht quantity one; guests filter capacity, never divide price. Only complete reviewed published TEST direct data, not MMK/NauSYS. Operator-reported booked, option, owner use, service, maintenance, delivery and generic blocked periods exclude supply. Default calendar planning availability is not fresh availability evidence or an instant booking. Failed/incomplete source coverage is not successful empty availability. Deleted/withdrawn yachts never qualify; retained physical claims and calendar blocks do not imply newly available inventory. Legacy inclusive profiles require explicit five-service evidence; missing/contradictory legacy facts yield DIRECT_REQUIRED_INCLUSIONS_UNCONFIRMED. Current version2 yacht pricing instead uses the operator service choices below, with DIRECT_PRICING_UNCONFIRMED for missing current pricing; no cheap source fallback. Current version2 yacht pricing uses fully covered weekly yacht rates and yacht-level service terms with exact guest/charging basis; unknown money/basis fails closed. Separate skipper and every separately priced mandatory/optional service are included exactly once automatically. Selling formula is yacht + all extras increased20%, followed by configurable DEDALUS markup on that subtotal; yacht itself receives no20%uplift. Current price/profile/rates and formula version bind immutable selections; changed relevant facts invalidate old offers.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DirectOfferSearch"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "TEST whole-yacht ON_REQUEST result. No hold, confirmation, payment or legal distribution grant.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "apiVersion",
                    "requestId",
                    "mode",
                    "source",
                    "unitType",
                    "bookingMode",
                    "reservation",
                    "instantBookable",
                    "payment",
                    "legalDistributionApproved",
                    "data",
                    "request",
                    "coverage"
                  ],
                  "properties": {
                    "apiVersion": {
                      "const": "v3"
                    },
                    "requestId": {
                      "type": "string"
                    },
                    "mode": {
                      "const": "TEST"
                    },
                    "source": {
                      "const": "direct_operator"
                    },
                    "unitType": {
                      "const": "whole_yacht"
                    },
                    "bookingMode": {
                      "const": "ON_REQUEST"
                    },
                    "reservation": {
                      "const": false
                    },
                    "instantBookable": {
                      "const": false
                    },
                    "payment": {
                      "const": "NOT_REQUESTED"
                    },
                    "legalDistributionApproved": {
                      "const": false
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/DirectOffer"
                      }
                    },
                    "request": {
                      "$ref": "#/components/schemas/DirectOfferSearch"
                    },
                    "coverage": {
                      "$ref": "#/components/schemas/DirectCoverage"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Safe code/message error; changed or expired offer requires a new search. No replacement price is silently accepted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DirectError"
                }
              }
            }
          },
          "401": {
            "description": "Safe code/message error; changed or expired offer requires a new search. No replacement price is silently accepted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DirectError"
                }
              }
            }
          },
          "403": {
            "description": "Safe code/message error; changed or expired offer requires a new search. No replacement price is silently accepted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DirectError"
                }
              }
            }
          },
          "404": {
            "description": "Safe code/message error; changed or expired offer requires a new search. No replacement price is silently accepted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DirectError"
                }
              }
            }
          },
          "409": {
            "description": "Safe code/message error; changed or expired offer requires a new search. No replacement price is silently accepted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DirectError"
                }
              }
            }
          },
          "410": {
            "description": "Safe code/message error; changed or expired offer requires a new search. No replacement price is silently accepted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DirectError"
                }
              }
            }
          },
          "503": {
            "description": "Safe code/message error; changed or expired offer requires a new search. No replacement price is silently accepted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DirectError"
                }
              }
            }
          }
        }
      }
    },
    "/api/v3/offers/{selectionId}": {
      "get": {
        "operationId": "getDirectWholeYachtOffer",
        "tags": [
          "Direct operator offers TEST"
        ],
        "security": [
          {
            "partnerBearer": []
          },
          {
            "accountSession": []
          },
          {
            "accountSession": []
          },
          {
            "accountSession": []
          }
        ],
        "parameters": [
          {
            "name": "selectionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "description": "Requires offers:read. Tenant-bound private expiring snapshot with current grants/source checks; not a supplier-live availability confirmation. Yacht withdrawal invalidates earlier snapshots at current and final source guards; returns OFFER_UNAVAILABLE, never stale success.",
        "responses": {
          "200": {
            "description": "TEST whole-yacht ON_REQUEST result. No hold, confirmation, payment or legal distribution grant.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "apiVersion",
                    "requestId",
                    "mode",
                    "source",
                    "unitType",
                    "bookingMode",
                    "reservation",
                    "instantBookable",
                    "payment",
                    "legalDistributionApproved",
                    "data",
                    "snapshotOnly",
                    "operatorConfirmationRequired"
                  ],
                  "properties": {
                    "apiVersion": {
                      "const": "v3"
                    },
                    "requestId": {
                      "type": "string"
                    },
                    "mode": {
                      "const": "TEST"
                    },
                    "source": {
                      "const": "direct_operator"
                    },
                    "unitType": {
                      "const": "whole_yacht"
                    },
                    "bookingMode": {
                      "const": "ON_REQUEST"
                    },
                    "reservation": {
                      "const": false
                    },
                    "instantBookable": {
                      "const": false
                    },
                    "payment": {
                      "const": "NOT_REQUESTED"
                    },
                    "legalDistributionApproved": {
                      "const": false
                    },
                    "data": {
                      "$ref": "#/components/schemas/DirectOffer"
                    },
                    "snapshotOnly": {
                      "const": true
                    },
                    "operatorConfirmationRequired": {
                      "const": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Safe code/message error; changed or expired offer requires a new search. No replacement price is silently accepted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DirectError"
                }
              }
            }
          },
          "401": {
            "description": "Safe code/message error; changed or expired offer requires a new search. No replacement price is silently accepted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DirectError"
                }
              }
            }
          },
          "403": {
            "description": "Safe code/message error; changed or expired offer requires a new search. No replacement price is silently accepted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DirectError"
                }
              }
            }
          },
          "404": {
            "description": "Safe code/message error; changed or expired offer requires a new search. No replacement price is silently accepted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DirectError"
                }
              }
            }
          },
          "409": {
            "description": "Safe code/message error; changed or expired offer requires a new search. No replacement price is silently accepted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DirectError"
                }
              }
            }
          },
          "410": {
            "description": "Safe code/message error; changed or expired offer requires a new search. No replacement price is silently accepted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DirectError"
                }
              }
            }
          },
          "503": {
            "description": "Safe code/message error; changed or expired offer requires a new search. No replacement price is silently accepted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DirectError"
                }
              }
            }
          }
        }
      }
    },
    "/api/v3/offers/{selectionId}/recheck": {
      "post": {
        "operationId": "recheckDirectWholeYachtOffer",
        "tags": [
          "Direct operator offers TEST"
        ],
        "security": [
          {
            "partnerBearer": []
          },
          {
            "accountSession": []
          },
          {
            "accountSession": []
          },
          {
            "accountSession": []
          }
        ],
        "parameters": [
          {
            "name": "selectionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "description": "Requires offers:recheck. Exact immutable request and source binding, no cheapest alternative. Unchanged recheck creates a new <=10-minute selection without extending availability evidence; changed/blocked/revoked/expired is an error. Direct selections cannot use legacy handoffs. All current separately priced extras remain bundled. Effective markup, current fees or extras-uplift formula changes invalidate old selections. References created under earlier pricing semantics require a new search; historical stored financial evidence is not rewritten. Yacht withdrawal invalidates earlier snapshots at current and final source guards; returns OFFER_UNAVAILABLE, never stale success.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "required": [],
                "properties": {}
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "TEST whole-yacht ON_REQUEST result. No hold, confirmation, payment or legal distribution grant.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "apiVersion",
                    "requestId",
                    "mode",
                    "source",
                    "unitType",
                    "bookingMode",
                    "reservation",
                    "instantBookable",
                    "payment",
                    "legalDistributionApproved",
                    "data",
                    "previousSelectionId",
                    "rechecked",
                    "operatorConfirmationRequired",
                    "supplierLiveRecheck"
                  ],
                  "properties": {
                    "apiVersion": {
                      "const": "v3"
                    },
                    "requestId": {
                      "type": "string"
                    },
                    "mode": {
                      "const": "TEST"
                    },
                    "source": {
                      "const": "direct_operator"
                    },
                    "unitType": {
                      "const": "whole_yacht"
                    },
                    "bookingMode": {
                      "const": "ON_REQUEST"
                    },
                    "reservation": {
                      "const": false
                    },
                    "instantBookable": {
                      "const": false
                    },
                    "payment": {
                      "const": "NOT_REQUESTED"
                    },
                    "legalDistributionApproved": {
                      "const": false
                    },
                    "data": {
                      "$ref": "#/components/schemas/DirectOffer"
                    },
                    "previousSelectionId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "rechecked": {
                      "const": true
                    },
                    "operatorConfirmationRequired": {
                      "const": true
                    },
                    "supplierLiveRecheck": {
                      "const": false
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Safe code/message error; changed or expired offer requires a new search. No replacement price is silently accepted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DirectError"
                }
              }
            }
          },
          "401": {
            "description": "Safe code/message error; changed or expired offer requires a new search. No replacement price is silently accepted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DirectError"
                }
              }
            }
          },
          "403": {
            "description": "Safe code/message error; changed or expired offer requires a new search. No replacement price is silently accepted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DirectError"
                }
              }
            }
          },
          "404": {
            "description": "Safe code/message error; changed or expired offer requires a new search. No replacement price is silently accepted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DirectError"
                }
              }
            }
          },
          "409": {
            "description": "Safe code/message error; changed or expired offer requires a new search. No replacement price is silently accepted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DirectError"
                }
              }
            }
          },
          "410": {
            "description": "Safe code/message error; changed or expired offer requires a new search. No replacement price is silently accepted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DirectError"
                }
              }
            }
          },
          "503": {
            "description": "Safe code/message error; changed or expired offer requires a new search. No replacement price is silently accepted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DirectError"
                }
              }
            }
          }
        }
      }
    },
    "/api/v3/offers/{selectionId}/extras": {
      "post": {
        "operationId": "selectDirectOfferExtras",
        "tags": [
          "Direct operator offers TEST"
        ],
        "security": [
          {
            "partnerBearer": []
          },
          {
            "accountSession": []
          },
          {
            "accountSession": []
          },
          {
            "accountSession": []
          }
        ],
        "parameters": [
          {
            "name": "selectionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "description": "Requires offers:recheck. Explicitly select current opaque optional IDs; empty clears customer selections, never package-included extras. Replaces the exact quote with one recalculated total including DEDALUS markup. Prices, dates, guests and markup are never accepted. Changed/expired/revoked original facts fail, not silently accepted. No booking/payment. Yacht withdrawal invalidates earlier snapshots at current and final source guards; returns OFFER_UNAVAILABLE, never stale success.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "optionalExtraIds"
                ],
                "properties": {
                  "optionalExtraIds": {
                    "type": "array",
                    "maxItems": 50,
                    "uniqueItems": true,
                    "items": {
                      "type": "string",
                      "pattern": "^extra-[a-f0-9]{24}$"
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "TEST whole-yacht ON_REQUEST result. No hold, confirmation, payment or legal distribution grant.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "apiVersion",
                    "requestId",
                    "mode",
                    "source",
                    "unitType",
                    "bookingMode",
                    "reservation",
                    "instantBookable",
                    "payment",
                    "legalDistributionApproved",
                    "data",
                    "previousSelectionId",
                    "rechecked",
                    "operatorConfirmationRequired",
                    "supplierLiveRecheck"
                  ],
                  "properties": {
                    "apiVersion": {
                      "const": "v3"
                    },
                    "requestId": {
                      "type": "string"
                    },
                    "mode": {
                      "const": "TEST"
                    },
                    "source": {
                      "const": "direct_operator"
                    },
                    "unitType": {
                      "const": "whole_yacht"
                    },
                    "bookingMode": {
                      "const": "ON_REQUEST"
                    },
                    "reservation": {
                      "const": false
                    },
                    "instantBookable": {
                      "const": false
                    },
                    "payment": {
                      "const": "NOT_REQUESTED"
                    },
                    "legalDistributionApproved": {
                      "const": false
                    },
                    "data": {
                      "$ref": "#/components/schemas/DirectOffer"
                    },
                    "previousSelectionId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "rechecked": {
                      "const": true
                    },
                    "operatorConfirmationRequired": {
                      "const": true
                    },
                    "supplierLiveRecheck": {
                      "const": false
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Safe code/message error; changed or expired offer requires a new search. No replacement price is silently accepted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DirectError"
                }
              }
            }
          },
          "401": {
            "description": "Safe code/message error; changed or expired offer requires a new search. No replacement price is silently accepted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DirectError"
                }
              }
            }
          },
          "403": {
            "description": "Safe code/message error; changed or expired offer requires a new search. No replacement price is silently accepted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DirectError"
                }
              }
            }
          },
          "404": {
            "description": "Safe code/message error; changed or expired offer requires a new search. No replacement price is silently accepted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DirectError"
                }
              }
            }
          },
          "409": {
            "description": "Safe code/message error; changed or expired offer requires a new search. No replacement price is silently accepted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DirectError"
                }
              }
            }
          },
          "410": {
            "description": "Safe code/message error; changed or expired offer requires a new search. No replacement price is silently accepted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DirectError"
                }
              }
            }
          },
          "503": {
            "description": "Safe code/message error; changed or expired offer requires a new search. No replacement price is silently accepted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DirectError"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/operator-portal/yachts/{yachtId}": {
      "delete": {
        "operationId": "deleteOwnedOperatorYacht",
        "security": [
          {
            "partnerBearer": []
          },
          {
            "accountSession": []
          }
        ],
        "tags": [
          "Operator portal TEST"
        ],
        "parameters": [
          {
            "name": "yachtId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 160,
              "pattern": "^[A-Za-z0-9_-]+$"
            }
          }
        ],
        "description": "Actual owning company-scoped operator only, never reviewer/Admin/partner or operator preview. Explicit confirmation, current owner/country/access guard and workspace revision required; no query parameters. Durable logical fleet withdrawal removes the yacht from everyday supply views, public photo/gallery reads and current/old v3 offers. Retains yacht identity, photos, prices, calendar/physical safety claims, editorial records, source references and wizard history privately; no cascade, supplier cancellation, booking, payment or restore. Exact same-owner operation replay can recover the original receipt without a new mutation; mismatched or stale requests require reload. This endpoint does not confer distribution rights. Named cookie sessions recheck current grants. Cookie mutations also require same-origin Origin and X-DDN-CSRF; bearer clients retain their separate existing authentication.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/YachtDeletionRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "TEST whole-yacht ON_REQUEST result. No hold, confirmation, payment or legal distribution grant.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "apiVersion",
                    "requestId",
                    "mode",
                    "data"
                  ],
                  "properties": {
                    "apiVersion": {
                      "const": "v1"
                    },
                    "requestId": {
                      "type": "string"
                    },
                    "mode": {
                      "const": "TEST"
                    },
                    "data": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "state",
                        "receipt"
                      ],
                      "properties": {
                        "state": {
                          "$ref": "#/components/schemas/OperatorPortalState"
                        },
                        "receipt": {
                          "$ref": "#/components/schemas/YachtDeletionReceipt"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid strict action fields"
          },
          "401": {
            "description": "Revoked/invalid bearer"
          },
          "403": {
            "description": "Current operator/reviewer country or TEST sharing not granted"
          },
          "404": {
            "description": "Unknown or outside current company/country grant; no identity disclosure."
          },
          "409": {
            "description": "Revision/identity/overlapping departure conflict"
          },
          "415": {
            "description": "Use uncompressed JSON."
          },
          "422": {
            "description": "Incomplete or contradictory content/money/capacity/conditions"
          },
          "503": {
            "description": "Explicit canonical model upgrade required"
          }
        }
      }
    },
    "/api/v1/operator-portal/model": {
      "get": {
        "operationId": "getWholeYachtOperatorModel",
        "security": [
          {
            "partnerBearer": []
          },
          {
            "accountSession": []
          },
          {
            "accountSession": []
          },
          {
            "accountSession": []
          }
        ],
        "tags": [
          "Operator portal TEST"
        ],
        "responses": {
          "200": {
            "description": "TEST whole-yacht ON_REQUEST result. No hold, confirmation, payment or legal distribution grant.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "apiVersion",
                    "requestId",
                    "mode",
                    "data"
                  ],
                  "properties": {
                    "apiVersion": {
                      "const": "v1"
                    },
                    "requestId": {
                      "type": "string"
                    },
                    "mode": {
                      "const": "TEST"
                    },
                    "data": {
                      "$ref": "#/components/schemas/WholeYachtModelView"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid strict action fields"
          },
          "401": {
            "description": "Revoked/invalid bearer"
          },
          "403": {
            "description": "Current operator/reviewer country or TEST sharing not granted"
          },
          "409": {
            "description": "Revision/identity/overlapping departure conflict"
          },
          "422": {
            "description": "Incomplete or contradictory content/money/capacity/conditions"
          },
          "503": {
            "description": "Explicit canonical model upgrade required"
          }
        },
        "description": "Named cookie sessions recheck current grants. Cookie mutations also require same-origin Origin and X-DDN-CSRF; bearer clients retain their separate existing authentication. Only optional operatorId and reviewer-only guests queries are accepted. Model GET without a query remains a reviewer grant-scoped full view; operator accounts default to their own company. Action response scoping is authorized before mutation and never replaces action ownership, revision, current-grant or overlap guards.",
        "parameters": [
          {
            "name": "operatorId",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 160
            },
            "description": "Optional authorized company for a bounded model response. The actual principal remains unchanged. Operators may select only their own company; reviewers retain current country-grant checks. Query does not authorize an action or grant distribution rights."
          },
          {
            "name": "guests",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 24
            },
            "description": "Reviewer-only explicit canonical integer for private selling-price preview. Actual yacht guest capacity is checked. GET computes current prices; POST accepts this context only for selling-price rule/markup actions and echoes it without storing it. Missing per-person quantities remain incomplete; no default guests or booking submission."
          }
        ]
      }
    },
    "/api/v1/operator-portal/model/actions": {
      "post": {
        "operationId": "changeWholeYachtOperatorModel",
        "security": [
          {
            "partnerBearer": []
          },
          {
            "accountSession": []
          },
          {
            "accountSession": []
          },
          {
            "accountSession": []
          }
        ],
        "tags": [
          "Operator portal TEST"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WholeYachtModelAction"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "TEST whole-yacht ON_REQUEST result. No hold, confirmation, payment or legal distribution grant.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "apiVersion",
                    "requestId",
                    "mode",
                    "data"
                  ],
                  "properties": {
                    "apiVersion": {
                      "const": "v1"
                    },
                    "requestId": {
                      "type": "string"
                    },
                    "mode": {
                      "const": "TEST"
                    },
                    "data": {
                      "$ref": "#/components/schemas/WholeYachtModelView"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid strict action fields"
          },
          "401": {
            "description": "Revoked/invalid bearer"
          },
          "403": {
            "description": "OPERATOR_SUPPLY_WRITE_REQUIRED for ordinary reviewer supply edits; otherwise current role, owner or country grant denied."
          },
          "409": {
            "description": "Revision/identity/overlapping departure conflict"
          },
          "422": {
            "description": "Incomplete or contradictory content/money/capacity/conditions"
          },
          "503": {
            "description": "Explicit canonical model upgrade required"
          }
        },
        "description": "Named cookie sessions recheck current grants. Cookie mutations also require same-origin Origin and X-DDN-CSRF; bearer clients retain their separate existing authentication. Only optional operatorId and reviewer-only guests queries are accepted. Model GET without a query remains a reviewer grant-scoped full view; operator accounts default to their own company. Action response scoping is authorized before mutation and never replaces action ownership, revision, current-grant or overlap guards. Ordinary yacht facts, prices and availability are maintained by the owning operator only. Reviewers inspect the same supply read-only; panel URLs do not grant editing rights. DEDALUS editorial, review/approval, identity, sharing and explicit maintenance actions remain separately authorized. Reviewer departure updates assign existing DEDALUS products without changing supply facts; reviewer holiday updates change editorial content only. Operator legacy holiday supply entry reuses existing DEDALUS content rather than authoring descriptions/itineraries. Existing reviewer-only prepare_price_season accepts no authored fields and derives unassigned draft departures from already validated operator seasonal snapshots; it is not a price/calendar editing permission or publication grant.",
        "parameters": [
          {
            "name": "operatorId",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 160
            },
            "description": "Optional authorized company for a bounded model response. The actual principal remains unchanged. Operators may select only their own company; reviewers retain current country-grant checks. Query does not authorize an action or grant distribution rights."
          },
          {
            "name": "guests",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 24
            },
            "description": "Reviewer-only explicit canonical integer for private selling-price preview. Actual yacht guest capacity is checked. GET computes current prices; POST accepts this context only for selling-price rule/markup actions and echoes it without storing it. Missing per-person quantities remain incomplete; no default guests or booking submission."
          }
        ]
      }
    },
    "/api/v1/operator-portal/direct-access": {
      "post": {
        "operationId": "issueDirectOtaTestAccess",
        "security": [
          {
            "partnerBearer": []
          },
          {
            "accountSession": []
          },
          {
            "accountSession": []
          },
          {
            "accountSession": []
          }
        ],
        "tags": [
          "Operator portal TEST"
        ],
        "description": "Reviewer only; exact current country/operator TEST-sharing checks. Fresh opaque TEST bearer shown privately once; hash stored, no legal sublicence or legacy handoff scopes. Named cookie sessions recheck current grants. Cookie mutations also require same-origin Origin and X-DDN-CSRF; bearer clients retain their separate existing authentication.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "operatorIds"
                ],
                "properties": {
                  "operatorIds": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 160
                    },
                    "minItems": 1,
                    "maxItems": 20,
                    "uniqueItems": true
                  }
                }
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "TEST whole-yacht ON_REQUEST result. No hold, confirmation, payment or legal distribution grant.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "apiVersion",
                    "requestId",
                    "mode",
                    "data"
                  ],
                  "properties": {
                    "apiVersion": {
                      "const": "v1"
                    },
                    "requestId": {
                      "type": "string"
                    },
                    "mode": {
                      "const": "TEST"
                    },
                    "data": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "accessCode",
                        "operatorIds",
                        "mode",
                        "shownOnce",
                        "source",
                        "bookingMode",
                        "reservation",
                        "legalDistributionApproved"
                      ],
                      "properties": {
                        "accessCode": {
                          "type": "string"
                        },
                        "operatorIds": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "mode": {
                          "const": "TEST"
                        },
                        "shownOnce": {
                          "const": true
                        },
                        "source": {
                          "const": "direct_operator"
                        },
                        "bookingMode": {
                          "const": "ON_REQUEST"
                        },
                        "reservation": {
                          "const": false
                        },
                        "legalDistributionApproved": {
                          "const": false
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid strict action fields"
          },
          "401": {
            "description": "Revoked/invalid bearer"
          },
          "403": {
            "description": "Current operator/reviewer country or TEST sharing not granted"
          },
          "409": {
            "description": "Revision/identity/overlapping departure conflict"
          },
          "422": {
            "description": "Incomplete or contradictory content/money/capacity/conditions"
          },
          "503": {
            "description": "Explicit canonical model upgrade required"
          }
        }
      }
    },
    "/auth/account/config": {
      "get": {
        "operationId": "accountConfiguration",
        "security": [],
        "tags": [
          "Named accounts"
        ],
        "responses": {
          "200": {
            "description": "Actual configured readiness, provider=manus, and fixed same-origin register/sign-in start paths."
          }
        }
      }
    },
    "/auth/account/me": {
      "get": {
        "operationId": "currentAccount",
        "security": [],
        "tags": [
          "Named accounts"
        ],
        "responses": {
          "200": {
            "description": "Current account state; no raw keys/provider tokens/private identity subjects.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountStatus"
                }
              }
            }
          },
          "401": {
            "description": "Expired, revoked or invalid session."
          },
          "403": {
            "description": "CSRF/origin/current workspace access denied."
          },
          "409": {
            "description": "Already linked, duplicate registration or workspace conflict; refresh, do not blindly retry."
          },
          "503": {
            "description": "Account configuration unavailable; private access remains separate."
          }
        }
      }
    },
    "/auth/account/start": {
      "get": {
        "operationId": "beginAccountSignIn",
        "security": [],
        "tags": [
          "Named accounts"
        ],
        "parameters": [
          {
            "name": "intent",
            "in": "query",
            "schema": {
              "enum": [
                "login",
                "register"
              ],
              "default": "login"
            }
          }
        ],
        "description": "Creates a browser-bound five-minute single-use nonce and redirects to supplied Manus OAuth. No company or reviewer grant created.",
        "responses": {
          "302": {
            "description": "Provider authorization redirect with exact configured callback/state."
          },
          "503": {
            "description": "Missing account configuration."
          }
        }
      }
    },
    "/auth/account/callback": {
      "get": {
        "operationId": "accountOAuthCallback",
        "security": [],
        "tags": [
          "Named accounts"
        ],
        "description": "Requires current nonce cookie and matching single-use state. Provider code exchange/identity lookup run server-side. Accounts bind by project+provider subject, never email. Redirect fixed /operators/.",
        "parameters": [
          {
            "name": "code",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "state",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "302": {
            "description": "Verified identity session, then fixed portal redirect."
          },
          "400": {
            "description": "Invalid/expired/replayed OAuth state."
          },
          "502": {
            "description": "Provider exchange/identity validation unavailable."
          }
        }
      }
    },
    "/auth/account/register": {
      "post": {
        "operationId": "accountRegister",
        "tags": [
          "Named accounts"
        ],
        "security": [
          {
            "accountSession": []
          }
        ],
        "parameters": [
          {
            "name": "X-DDN-CSRF",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Use current /auth/account/me csrfToken and browser Origin exactly the configured public origin."
          }
        ],
        "description": "Explicit verified-user registration of a new isolated TEST operator company. No reviewer/OTA/sharing rights. Already-linked accounts cannot register again.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AccountRegister"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Current account state; no raw keys/provider tokens/private identity subjects.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountStatus"
                }
              }
            }
          },
          "401": {
            "description": "Expired, revoked or invalid session."
          },
          "403": {
            "description": "CSRF/origin/current workspace access denied."
          },
          "409": {
            "description": "Already linked, duplicate registration or workspace conflict; refresh, do not blindly retry."
          },
          "503": {
            "description": "Account configuration unavailable; private access remains separate."
          }
        }
      }
    },
    "/auth/account/link": {
      "post": {
        "operationId": "accountLink",
        "tags": [
          "Named accounts"
        ],
        "security": [
          {
            "accountSession": []
          }
        ],
        "parameters": [
          {
            "name": "X-DDN-CSRF",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Use current /auth/account/me csrfToken and browser Origin exactly the configured public origin."
          }
        ],
        "description": "Explicit existing-company linkage using its currently valid private access. Reviewer rights only via an actual current reviewer code; posted roles/grants are never accepted.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AccountLink"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Current account state; no raw keys/provider tokens/private identity subjects.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountStatus"
                }
              }
            }
          },
          "401": {
            "description": "Expired, revoked or invalid session."
          },
          "403": {
            "description": "CSRF/origin/current workspace access denied."
          },
          "409": {
            "description": "Already linked, duplicate registration or workspace conflict; refresh, do not blindly retry."
          },
          "503": {
            "description": "Account configuration unavailable; private access remains separate."
          }
        }
      }
    },
    "/auth/account/logout": {
      "post": {
        "operationId": "accountLogout",
        "tags": [
          "Named accounts"
        ],
        "security": [
          {
            "accountSession": []
          }
        ],
        "parameters": [
          {
            "name": "X-DDN-CSRF",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Use current /auth/account/me csrfToken and browser Origin exactly the configured public origin."
          }
        ],
        "description": "Explicit session revocation and cookie clearing. GET logout is not allowed.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "properties": {},
                "required": []
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Current account state; no raw keys/provider tokens/private identity subjects.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountStatus"
                }
              }
            }
          },
          "401": {
            "description": "Expired, revoked or invalid session."
          },
          "403": {
            "description": "CSRF/origin/current workspace access denied."
          },
          "409": {
            "description": "Already linked, duplicate registration or workspace conflict; refresh, do not blindly retry."
          },
          "503": {
            "description": "Account configuration unavailable; private access remains separate."
          }
        }
      }
    },
    "/api/v1/operator-portal/imports/preview": {
      "post": {
        "tags": [
          "Operator portal"
        ],
        "summary": "Preview one-time operator/yacht import",
        "description": "Reviewer/current-country-grant only. No supplier requests run in this endpoint. Apply archives normalized source and business-only before-snapshot in durable own-app storage before a current-revision-guarded transaction. Exact batch/source IDs are idempotent; existing operator edits/records are never overwritten. After an explicit operator-manual rate reset, new source-price rows are skipped with manual_price_entry_required; original batch identities and availability/block ingestion remain unchanged. Imports retain supplier_import origin and cannot qualify public direct offers. No accounts, keys, publishing or rights are granted.",
        "security": [
          {
            "partnerBearer": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "batch"
                ],
                "properties": {
                  "batch": {
                    "$ref": "#/components/schemas/SourceImportBatch"
                  },
                  "expectedRevision": {
                    "type": "integer",
                    "minimum": 0
                  }
                },
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Private scoped report. No raw snapshots or business backup returned."
          },
          "400": {
            "description": "Invalid source facts."
          },
          "401": {
            "description": "Valid private access required."
          },
          "403": {
            "description": "Reviewer/current grants required."
          },
          "409": {
            "description": "Revision/batch conflict; no overwrite."
          },
          "413": {
            "description": "Above 32MiB; use smaller batches."
          },
          "503": {
            "description": "Private archive/workspace unavailable; no import applied."
          }
        }
      }
    },
    "/api/v1/operator-portal/imports/apply": {
      "post": {
        "tags": [
          "Operator portal"
        ],
        "summary": "Apply a private one-time supplier import",
        "description": "Reviewer/current-country-grant only. No supplier requests run in this endpoint. Apply archives normalized source and business-only before-snapshot in durable own-app storage before a current-revision-guarded transaction. Exact batch/source IDs are idempotent; existing operator edits/records are never overwritten. After an explicit operator-manual rate reset, new source-price rows are skipped with manual_price_entry_required; original batch identities and availability/block ingestion remain unchanged. Imports retain supplier_import origin and cannot qualify public direct offers. No accounts, keys, publishing or rights are granted.",
        "security": [
          {
            "partnerBearer": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "batch",
                  "expectedRevision"
                ],
                "properties": {
                  "batch": {
                    "$ref": "#/components/schemas/SourceImportBatch"
                  },
                  "expectedRevision": {
                    "type": "integer",
                    "minimum": 0
                  }
                },
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Private scoped report. No raw snapshots or business backup returned."
          },
          "400": {
            "description": "Invalid source facts."
          },
          "401": {
            "description": "Valid private access required."
          },
          "403": {
            "description": "Reviewer/current grants required."
          },
          "409": {
            "description": "Revision/batch conflict; no overwrite."
          },
          "413": {
            "description": "Above 32MiB; use smaller batches."
          },
          "503": {
            "description": "Private archive/workspace unavailable; no import applied."
          }
        }
      }
    },
    "/api/v1/operator-portal/imports/supplement/preview": {
      "post": {
        "tags": [
          "Operator portal"
        ],
        "operationId": "previewOnboardingSupplement",
        "description": "Reviewer/current country and source owner only. Apply archives verified current and incoming gallery manifests and business state before the versioned transaction. All image-volume verification occurs before workspace locking. Identical IDs/fingerprints are idempotent; conflicting/replacement galleries are denied. Existing core photos/covers/calendar/manual facts are preserved. Imported photos remain unconfirmed/private, never public covers or OTA media.",
        "security": [
          {
            "partnerBearer": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "batch"
                ],
                "properties": {
                  "batch": {
                    "$ref": "#/components/schemas/OnboardingSupplement"
                  },
                  "expectedRevision": {
                    "type": "integer",
                    "minimum": 0
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Acknowledged private counts and revision, with archive identity on apply; no source photo URLs, raw snapshots or backups returned."
          },
          "400": {
            "description": "Invalid exact update."
          },
          "401": {
            "description": "Valid private access required."
          },
          "403": {
            "description": "Reviewer/current grants required."
          },
          "409": {
            "description": "Revision/source identity/gallery conflict; no overwrite."
          },
          "503": {
            "description": "Private immutable gallery/archive unavailable; no references installed."
          }
        }
      }
    },
    "/api/v1/operator-portal/imports/supplement/apply": {
      "post": {
        "tags": [
          "Operator portal"
        ],
        "operationId": "applyOnboardingSupplement",
        "description": "Reviewer/current country and source owner only. Apply archives verified current and incoming gallery manifests and business state before the versioned transaction. All image-volume verification occurs before workspace locking. Identical IDs/fingerprints are idempotent; conflicting/replacement galleries are denied. Existing core photos/covers/calendar/manual facts are preserved. Imported photos remain unconfirmed/private, never public covers or OTA media.",
        "security": [
          {
            "partnerBearer": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "batch",
                  "expectedRevision"
                ],
                "properties": {
                  "batch": {
                    "$ref": "#/components/schemas/OnboardingSupplement"
                  },
                  "expectedRevision": {
                    "type": "integer",
                    "minimum": 0
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Acknowledged private counts and revision, with archive identity on apply; no source photo URLs, raw snapshots or backups returned."
          },
          "400": {
            "description": "Invalid exact update."
          },
          "401": {
            "description": "Valid private access required."
          },
          "403": {
            "description": "Reviewer/current grants required."
          },
          "409": {
            "description": "Revision/source identity/gallery conflict; no overwrite."
          },
          "503": {
            "description": "Private immutable gallery/archive unavailable; no references installed."
          }
        }
      }
    },
    "/media/yachts/{yachtId}/gallery.json": {
      "get": {
        "tags": [
          "Yacht photos"
        ],
        "operationId": "publicYachtGallery",
        "security": [],
        "description": "Anonymous photo-only gallery for an exact current immutable gallery with explicit reviewer publication permission. No supplier URLs/provenance/source identifiers, prices, operator contacts or commercial offer eligibility are exposed. Permission and owner are rechecked after file reads.",
        "parameters": [
          {
            "name": "yachtId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[A-Za-z0-9_-]{1,160}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Public image list only; no login required. Revocable, no-store.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicYachtGallery"
                }
              }
            }
          },
          "404": {
            "description": "Unknown, unconfirmed, revoked or replaced gallery."
          },
          "503": {
            "description": "Owned verified gallery unavailable."
          }
        }
      }
    },
    "/api/v1/operator-portal/photos/publication": {
      "post": {
        "tags": [
          "Operator portal"
        ],
        "operationId": "publishImportedYachtPictures",
        "security": [
          {
            "partnerBearer": []
          }
        ],
        "description": "Reviewer-only explicit image-publication rights confirmation bound to exact current immutable manifests, source owners and both yacht/company country grants. Archives normalized business-only core before a current-revision/idempotent publication write. Historical import evidence stays immutable; no commercial sharing, source feed, offer, booking or payment is enabled.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PhotoPublicationInput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Small revision, confirmed gallery/picture counts, unchanged flag and durable archive receipt."
          },
          "400": {
            "description": "Invalid or missing explicit permission."
          },
          "401": {
            "description": "Current reviewer access required."
          },
          "403": {
            "description": "Reviewer/country/current access not granted."
          },
          "409": {
            "description": "Revision, source/pointer or idempotency conflict; no write replay."
          },
          "503": {
            "description": "Archive or immutable gallery unavailable; no publication."
          }
        }
      }
    },
    "/api/v1/operator-portal/calendar/bulk": {
      "post": {
        "tags": [
          "Operator portal"
        ],
        "summary": "Atomically edit selected fleet departure weeks",
        "description": "Operator-only supply editing: current owner/country/access/revision and exact operation identity required. Reviewers inspect the same Calendar but cannot mutate supply or replay a former writer receipt. Sets operator weekly rates, adjusts existing operator rates, copies numerical operator rates or updates the DEDALUS calendar. Does not edit imported price references, publish offers, create supplier reservations, take payment or cancel supplier bookings. Preserve unselected dates and commercial terms; invalidate affected direct departures for fresh review. Refresh the scoped model after acknowledgement; never blindly replay an uncertain write.",
        "security": [
          {
            "partnerBearer": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CalendarBulkAction"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "One committed atomic change or unchanged exact idempotent receipt",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CalendarBulkResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid selection, dates or unsupported change"
          },
          "401": {
            "description": "Access required"
          },
          "403": {
            "description": "OPERATOR_SUPPLY_WRITE_REQUIRED for reviewer supply edits; owner, country or current grant denied"
          },
          "409": {
            "description": "Revision, operation identity, calendar overlap or ambiguous existing price conflict"
          },
          "413": {
            "description": "Body exceeds the bounded 1 MiB limit"
          },
          "422": {
            "description": "Unknown or invalid operator rate/policy cannot be changed safely"
          }
        }
      }
    },
    "/api/v1/operator-portal/yacht-wizard/catalog": {
      "get": {
        "security": [
          {
            "partnerBearer": []
          },
          {
            "accountSession": []
          }
        ],
        "tags": [
          "Operator yacht wizard"
        ],
        "summary": "Read authorized curated yacht choices; no automatic itinerary matching",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Current authenticated TEST response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/YachtWizardCatalogResponse"
                }
              }
            }
          },
          "400": {
            "description": "Strict body/query or field validation rejected; nothing is published",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Authentication required",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Current owner/country grant required",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Scoped draft/yacht/photo not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Revision, current yacht or idempotency conflict; reload before retrying",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "Draft JSON exceeds 32 KiB or image exceeds 8 MiB",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "Durable draft/photo storage not configured",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/operator-portal/yacht-wizard/drafts": {
      "get": {
        "security": [
          {
            "partnerBearer": []
          },
          {
            "accountSession": []
          }
        ],
        "tags": [
          "Operator yacht wizard"
        ],
        "summary": "List at most 100 active, current-grant operator drafts",
        "parameters": [
          {
            "name": "operatorId",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Current authenticated TEST response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/YachtWizardListResponse"
                }
              }
            }
          },
          "400": {
            "description": "Strict body/query or field validation rejected; nothing is published",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Authentication required",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Current owner/country grant required",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Scoped draft/yacht/photo not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Revision, current yacht or idempotency conflict; reload before retrying",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "Draft JSON exceeds 32 KiB or image exceeds 8 MiB",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "Durable draft/photo storage not configured",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      },
      "post": {
        "security": [
          {
            "partnerBearer": []
          },
          {
            "accountSession": []
          }
        ],
        "tags": [
          "Operator yacht wizard"
        ],
        "summary": "Create an idempotent durable yacht draft, not an offer",
        "parameters": [],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/YachtWizardCreateBody"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Current authenticated TEST response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/YachtWizardDraftResponse"
                }
              }
            }
          },
          "400": {
            "description": "Strict body/query or field validation rejected; nothing is published",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Authentication required",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Current owner/country grant required",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Scoped draft/yacht/photo not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Revision, current yacht or idempotency conflict; reload before retrying",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "Draft JSON exceeds 32 KiB or image exceeds 8 MiB",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "Durable draft/photo storage not configured",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/operator-portal/yacht-wizard/drafts/{id}": {
      "get": {
        "security": [
          {
            "partnerBearer": []
          },
          {
            "accountSession": []
          }
        ],
        "tags": [
          "Operator yacht wizard"
        ],
        "summary": "Resume a scoped editing draft or recover its committed receipt",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[A-Za-z0-9_-]{1,160}$"
            }
          },
          {
            "name": "operatorId",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Current authenticated TEST response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/YachtWizardDraftResponse"
                }
              }
            }
          },
          "400": {
            "description": "Strict body/query or field validation rejected; nothing is published",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Authentication required",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Current owner/country grant required",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Scoped draft/yacht/photo not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Revision, current yacht or idempotency conflict; reload before retrying",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "Draft JSON exceeds 32 KiB or image exceeds 8 MiB",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "Durable draft/photo storage not configured",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      },
      "put": {
        "security": [
          {
            "partnerBearer": []
          },
          {
            "accountSession": []
          }
        ],
        "tags": [
          "Operator yacht wizard"
        ],
        "summary": "Save draft fields and progress by draft revision; no workspace/source-price rewrite",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[A-Za-z0-9_-]{1,160}$"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/YachtWizardUpdateBody"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Current authenticated TEST response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/YachtWizardDraftResponse"
                }
              }
            }
          },
          "400": {
            "description": "Strict body/query or field validation rejected; nothing is published",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Authentication required",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Current owner/country grant required",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Scoped draft/yacht/photo not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Revision, current yacht or idempotency conflict; reload before retrying",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "Draft JSON exceeds 32 KiB or image exceeds 8 MiB",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "Durable draft/photo storage not configured",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/operator-portal/yacht-wizard/drafts/{id}/commit": {
      "post": {
        "security": [
          {
            "partnerBearer": []
          },
          {
            "accountSession": []
          }
        ],
        "tags": [
          "Operator yacht wizard"
        ],
        "summary": "Save one yacht, or explicitly publish complete owner-confirmed yacht details with publish:true; no DEDALUS approval or automatic holiday/booking publication",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[A-Za-z0-9_-]{1,160}$"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/YachtWizardCommitBody"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Current authenticated TEST response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/YachtWizardCommitResponse"
                }
              }
            }
          },
          "400": {
            "description": "Strict body/query or field validation rejected; nothing is published",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Authentication required",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Current owner/country grant required",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Scoped draft/yacht/photo not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Revision, current yacht or idempotency conflict; reload before retrying",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "Draft JSON exceeds 32 KiB or image exceeds 8 MiB",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "Durable draft/photo storage not configured",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/operator-portal/yacht-wizard/drafts/{id}/photos": {
      "get": {
        "security": [
          {
            "partnerBearer": []
          },
          {
            "accountSession": []
          }
        ],
        "tags": [
          "Operator yacht wizard"
        ],
        "summary": "Read the scoped draft photo list",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[A-Za-z0-9_-]{1,160}$"
            }
          },
          {
            "name": "operatorId",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Current authenticated TEST response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/YachtWizardDraftResponse"
                }
              }
            }
          },
          "400": {
            "description": "Strict body/query or field validation rejected; nothing is published",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Authentication required",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Current owner/country grant required",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Scoped draft/yacht/photo not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Revision, current yacht or idempotency conflict; reload before retrying",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "Draft JSON exceeds 32 KiB or image exceeds 8 MiB",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "Durable draft/photo storage not configured",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      },
      "post": {
        "security": [
          {
            "partnerBearer": []
          },
          {
            "accountSession": []
          }
        ],
        "tags": [
          "Operator yacht wizard"
        ],
        "summary": "Upload private normalized JPEG, PNG or WebP draft photo, at most 8 MiB",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[A-Za-z0-9_-]{1,160}$"
            }
          },
          {
            "name": "expectedDraftRevision",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "minimum": 0
            }
          },
          {
            "name": "operationId",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[A-Za-z0-9_-]{8,160}$"
            }
          },
          {
            "name": "operatorId",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "mediaRightsAttested",
            "in": "query",
            "required": false,
            "schema": {
              "const": "true"
            },
            "deprecated": true,
            "description": "Legacy explicit media-use instruction. New UI uses uploadIntent instead; never a copyright-verification result."
          },
          {
            "name": "uploadIntent",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "const": "operator_upload"
            },
            "description": "Explicit authenticated owner instruction to upload/use this file. Supply this or the legacy true flag. No repeated rights checkbox, automatic public permission or legal verification."
          }
        ],
        "responses": {
          "201": {
            "description": "Current authenticated TEST response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/YachtWizardDraftResponse"
                }
              }
            }
          },
          "400": {
            "description": "Strict body/query or field validation rejected; nothing is published",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Authentication required",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Current owner/country grant required",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Scoped draft/yacht/photo not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Revision, current yacht or idempotency conflict; reload before retrying",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "Draft JSON exceeds 32 KiB or image exceeds 8 MiB",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "Durable draft/photo storage not configured",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "image/jpeg": {
              "schema": {
                "type": "string",
                "format": "binary"
              }
            },
            "image/png": {
              "schema": {
                "type": "string",
                "format": "binary"
              }
            },
            "image/webp": {
              "schema": {
                "type": "string",
                "format": "binary"
              }
            }
          }
        },
        "description": "Upload private normalized JPEG, PNG or WebP draft photo, at most 8 MiB The server requires an explicit operator_upload intent or the supported legacy true flag. Existing private/unknown imported rights remain unchanged; upload does not grant public distribution rights."
      }
    },
    "/api/v1/operator-portal/yacht-wizard/drafts/{id}/photos/order": {
      "put": {
        "security": [
          {
            "partnerBearer": []
          },
          {
            "accountSession": []
          }
        ],
        "tags": [
          "Operator yacht wizard"
        ],
        "summary": "Reorder new operator-attested draft uploads",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[A-Za-z0-9_-]{1,160}$"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/YachtWizardPhotoOrderBody"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Current authenticated TEST response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/YachtWizardDraftResponse"
                }
              }
            }
          },
          "400": {
            "description": "Strict body/query or field validation rejected; nothing is published",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Authentication required",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Current owner/country grant required",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Scoped draft/yacht/photo not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Revision, current yacht or idempotency conflict; reload before retrying",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "Draft JSON exceeds 32 KiB or image exceeds 8 MiB",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "Durable draft/photo storage not configured",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/operator-portal/yacht-wizard/drafts/{id}/photos/{photoId}": {
      "get": {
        "security": [
          {
            "partnerBearer": []
          },
          {
            "accountSession": []
          }
        ],
        "tags": [
          "Operator yacht wizard"
        ],
        "summary": "Read one scoped private draft image",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[A-Za-z0-9_-]{1,160}$"
            }
          },
          {
            "name": "photoId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[A-Za-z0-9_-]{1,160}$"
            }
          },
          {
            "name": "operatorId",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "size",
            "in": "query",
            "required": false,
            "schema": {
              "const": "thumbnail"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Private no-store normalized WebP bytes; no source URLs or public draft media",
            "content": {
              "image/webp": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "400": {
            "description": "Strict body/query or field validation rejected; nothing is published",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Authentication required",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Current owner/country grant required",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Scoped draft/yacht/photo not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Revision, current yacht or idempotency conflict; reload before retrying",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "Draft JSON exceeds 32 KiB or image exceeds 8 MiB",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "Durable draft/photo storage not configured",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      },
      "delete": {
        "security": [
          {
            "partnerBearer": []
          },
          {
            "accountSession": []
          }
        ],
        "tags": [
          "Operator yacht wizard"
        ],
        "summary": "Remove only a new draft upload, empty body",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[A-Za-z0-9_-]{1,160}$"
            }
          },
          {
            "name": "photoId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[A-Za-z0-9_-]{1,160}$"
            }
          },
          {
            "name": "expectedDraftRevision",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "minimum": 0
            }
          },
          {
            "name": "operationId",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[A-Za-z0-9_-]{8,160}$"
            }
          },
          {
            "name": "operatorId",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Current authenticated TEST response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/YachtWizardDraftResponse"
                }
              }
            }
          },
          "400": {
            "description": "Strict body/query or field validation rejected; nothing is published",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Authentication required",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Current owner/country grant required",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Scoped draft/yacht/photo not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Revision, current yacht or idempotency conflict; reload before retrying",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "Draft JSON exceeds 32 KiB or image exceeds 8 MiB",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "Durable draft/photo storage not configured",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/operator-portal/yacht-wizard/drafts/{id}/photos/{photoId}/cover": {
      "post": {
        "security": [
          {
            "partnerBearer": []
          },
          {
            "accountSession": []
          }
        ],
        "tags": [
          "Operator yacht wizard"
        ],
        "summary": "Select an attested new upload as draft cover, empty body",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[A-Za-z0-9_-]{1,160}$"
            }
          },
          {
            "name": "photoId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[A-Za-z0-9_-]{1,160}$"
            }
          },
          {
            "name": "expectedDraftRevision",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "minimum": 0
            }
          },
          {
            "name": "operationId",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[A-Za-z0-9_-]{8,160}$"
            }
          },
          {
            "name": "operatorId",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Current authenticated TEST response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/YachtWizardDraftResponse"
                }
              }
            }
          },
          "400": {
            "description": "Strict body/query or field validation rejected; nothing is published",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Authentication required",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Current owner/country grant required",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Scoped draft/yacht/photo not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Revision, current yacht or idempotency conflict; reload before retrying",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "Draft JSON exceeds 32 KiB or image exceeds 8 MiB",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "Durable draft/photo storage not configured",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/operator-portal/admin/state": {
      "get": {
        "operationId": "adminFirstSectionsState",
        "tags": [
          "DEDALUS Admin TEST"
        ],
        "security": [
          {
            "partnerBearer": []
          },
          {
            "accountSession": []
          }
        ],
        "description": "Private Overview, Operators and read-only Yachts/Catalogue review. All records scoped to current authenticated reviewer/countries, contracts and notes never in operator/OTA DTOs.",
        "responses": {
          "200": {
            "description": "Private TEST Admin state, no-store; no new legal rights or source publication granted.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "apiVersion",
                    "requestId",
                    "mode",
                    "data"
                  ],
                  "properties": {
                    "apiVersion": {
                      "const": "v1"
                    },
                    "requestId": {
                      "type": "string"
                    },
                    "mode": {
                      "const": "TEST"
                    },
                    "data": {
                      "$ref": "#/components/schemas/AdminState"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Current access invalid or revoked"
          },
          "403": {
            "description": "Current reviewer/country or CSRF grant denied"
          },
          "404": {
            "description": "Record not uniquely within selected company/country scope"
          },
          "409": {
            "description": "Revision, exact identity or source decision changed; explicitly reload, never automatically retry"
          },
          "422": {
            "description": "Missing current signed/effective manual company evidence or invalid supplied facts"
          },
          "503": {
            "description": "Dedicated canonical persistence unavailable; no fallback"
          }
        }
      }
    },
    "/api/v1/operator-portal/admin/actions": {
      "post": {
        "operationId": "adminFirstSectionsAction",
        "tags": [
          "DEDALUS Admin TEST"
        ],
        "security": [
          {
            "partnerBearer": []
          },
          {
            "accountSession": []
          }
        ],
        "description": "Explicit guarded manual company, contract, issue, duplicate or equipment decision with expectedRevision. Pause is distribution-only, not credential revocation. Approving a company/catalogue item does not publish a yacht/holiday/photo or change pricing/grants.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AdminAction"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Private TEST Admin state, no-store; no new legal rights or source publication granted.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "apiVersion",
                    "requestId",
                    "mode",
                    "data"
                  ],
                  "properties": {
                    "apiVersion": {
                      "const": "v1"
                    },
                    "requestId": {
                      "type": "string"
                    },
                    "mode": {
                      "const": "TEST"
                    },
                    "data": {
                      "$ref": "#/components/schemas/AdminState"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Unknown, missing or malformed strict action fields"
          },
          "401": {
            "description": "Current access invalid or revoked"
          },
          "403": {
            "description": "Current reviewer/country or CSRF grant denied"
          },
          "404": {
            "description": "Record not uniquely within selected company/country scope"
          },
          "409": {
            "description": "Revision, exact identity or source decision changed; explicitly reload, never automatically retry"
          },
          "422": {
            "description": "Missing current signed/effective manual company evidence or invalid supplied facts"
          },
          "503": {
            "description": "Dedicated canonical persistence unavailable; no fallback"
          }
        }
      }
    },
    "/api/v1/operator-portal/admin/access": {
      "get": {
        "operationId": "adminCompanyTestAccessList",
        "tags": [
          "DEDALUS Admin TEST"
        ],
        "security": [
          {
            "partnerBearer": []
          },
          {
            "accountSession": []
          }
        ],
        "description": "Current reviewer lists eligible actual TEST operator grants for one current company. Mixed Admin/OTA/LIVE/other-country grants excluded; no credentials returned.",
        "parameters": [
          {
            "in": "query",
            "name": "operatorId",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[A-Za-z0-9_-]{1,160}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Verified private current scoped TEST grant list; no-store.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "apiVersion",
                    "requestId",
                    "mode",
                    "data"
                  ],
                  "properties": {
                    "apiVersion": {
                      "const": "v1"
                    },
                    "requestId": {
                      "type": "string"
                    },
                    "mode": {
                      "const": "TEST"
                    },
                    "data": {
                      "$ref": "#/components/schemas/AdminAccessList"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Unknown/missing/malformed strict selector or confirmation"
          },
          "401": {
            "description": "Current access invalid or revoked"
          },
          "403": {
            "description": "Current reviewer/country or CSRF grant denied"
          },
          "404": {
            "description": "Record not uniquely within selected company/country scope"
          },
          "409": {
            "description": "Stale/consumed/expired identity version, changed actor/company/target/revision or uncertain postcommit result; explicit reload, no automatic destructive retry"
          },
          "503": {
            "description": "Store unavailable or confirmation capacity reached; no fallback"
          }
        }
      }
    },
    "/api/v1/operator-portal/admin/access/{accessId}/revoke": {
      "post": {
        "operationId": "adminCompanyTestAccessRevoke",
        "tags": [
          "DEDALUS Admin TEST"
        ],
        "security": [
          {
            "partnerBearer": []
          },
          {
            "accountSession": []
          }
        ],
        "description": "Deliberate exact selected TEST operator credential revocation, separate from distribution pause. Durable active=false transaction with existing audit; no creation/rotation/reactivation or supply edit. Workspace revision remains unchanged. Opaque confirmation versions are process-local, expire after five minutes and require reload after restart/another worker. Return exact acknowledgement and freshly verified revoked row before success.",
        "parameters": [
          {
            "in": "path",
            "name": "accessId",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[A-Za-z0-9_-]{1,160}$"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AdminAccessRevoke"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Verified private current scoped TEST grant list; no-store.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "apiVersion",
                    "requestId",
                    "mode",
                    "data"
                  ],
                  "properties": {
                    "apiVersion": {
                      "const": "v1"
                    },
                    "requestId": {
                      "type": "string"
                    },
                    "mode": {
                      "const": "TEST"
                    },
                    "data": {
                      "$ref": "#/components/schemas/AdminAccessRevocationResult"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Unknown/missing/malformed strict selector or confirmation"
          },
          "401": {
            "description": "Current access invalid or revoked"
          },
          "403": {
            "description": "Current reviewer/country or CSRF grant denied"
          },
          "404": {
            "description": "Record not uniquely within selected company/country scope"
          },
          "409": {
            "description": "Stale/consumed/expired identity version, changed actor/company/target/revision or uncertain postcommit result; explicit reload, no automatic destructive retry"
          },
          "415": {
            "description": "JSON content type required; compressed bodies not accepted"
          },
          "503": {
            "description": "Store unavailable or confirmation capacity reached; no fallback"
          }
        }
      }
    },
    "/api/v1/operator-portal/admin/operations/state": {
      "get": {
        "operationId": "adminLeanSectionState",
        "tags": [
          "DEDALUS Admin TEST"
        ],
        "security": [
          {
            "partnerBearer": []
          },
          {
            "accountSession": []
          }
        ],
        "parameters": [
          {
            "in": "query",
            "name": "section",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "itineraries",
                "inventory",
                "bookings",
                "distribution",
                "finance",
                "settings"
              ]
            }
          }
        ],
        "description": "Read Itineraries, Inventory & Pricing, TEST Bookings CRM, Distribution partner records, private TEST Finance or secondary Settings. English-only editing, no migrations or simulated operational results.",
        "responses": {
          "200": {
            "description": "Private no-store current scoped Admin section.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "apiVersion",
                    "requestId",
                    "mode",
                    "data"
                  ],
                  "properties": {
                    "apiVersion": {
                      "const": "v1"
                    },
                    "requestId": {
                      "type": "string"
                    },
                    "mode": {
                      "const": "TEST"
                    },
                    "data": {
                      "$ref": "#/components/schemas/AdminOperationsState"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Strict query/action fields invalid or section read-only"
          },
          "401": {
            "description": "Current access invalid or revoked"
          },
          "403": {
            "description": "Current TEST reviewer/country/CSRF scope denied"
          },
          "404": {
            "description": "Current unique company/yacht/record closure unavailable"
          },
          "409": {
            "description": "Revision/source identity changed or save superseded; explicit reload, never automatically replay"
          },
          "413": {
            "description": "Action exceeds 64 KiB"
          },
          "422": {
            "description": "Stored or supplied facts require correction; no automatic reset"
          },
          "503": {
            "description": "Dedicated canonical persistence or strict private store unavailable"
          }
        }
      }
    },
    "/api/v1/operator-portal/admin/itineraries/generate": {
      "post": {
        "operationId": "adminGenerateItinerary",
        "tags": [
          "DEDALUS Admin TEST"
        ],
        "security": [
          {
            "partnerBearer": []
          },
          {
            "accountSession": []
          }
        ],
        "parameters": [
          {
            "in": "query",
            "name": "section",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "itineraries",
                "inventory",
                "bookings",
                "distribution",
                "finance",
                "settings"
              ]
            }
          }
        ],
        "description": "Explicit reviewer request to draft one English 7- or 14-day itinerary for a typed destination with AI, plus its destinations (summary, things to do, fun facts) and holiday profile. The departure harbour is chosen from the approved list in the same country, or supplied explicitly. Output is sanitised and saved once with expectedRevision; it is an editable draft, not navigation-validated. 503 AI_NOT_CONFIGURED when no AI key is set on the server.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "expectedRevision",
                  "destination",
                  "durationDays"
                ],
                "properties": {
                  "type": {
                    "const": "generate_itinerary"
                  },
                  "expectedRevision": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740990
                  },
                  "destination": {
                    "type": "string",
                    "minLength": 2,
                    "maxLength": 120
                  },
                  "durationDays": {
                    "enum": [
                      7,
                      14
                    ]
                  },
                  "harbourId": {
                    "type": "string",
                    "pattern": "^[A-Za-z0-9_-]{1,160}$"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Private no-store current scoped Admin section.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "apiVersion",
                    "requestId",
                    "mode",
                    "data"
                  ],
                  "properties": {
                    "apiVersion": {
                      "const": "v1"
                    },
                    "requestId": {
                      "type": "string"
                    },
                    "mode": {
                      "const": "TEST"
                    },
                    "data": {
                      "$ref": "#/components/schemas/AdminOperationsState"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Strict query/action fields invalid or section read-only"
          },
          "401": {
            "description": "Current access invalid or revoked"
          },
          "403": {
            "description": "Current TEST reviewer/country/CSRF scope denied"
          },
          "404": {
            "description": "Current unique company/yacht/record closure unavailable"
          },
          "409": {
            "description": "Revision/source identity changed or save superseded; explicit reload, never automatically replay"
          },
          "413": {
            "description": "Action exceeds 64 KiB"
          },
          "415": {
            "description": "Uncompressed JSON required"
          },
          "422": {
            "description": "Stored or supplied facts require correction; no automatic reset"
          },
          "502": {
            "description": "AI_UPSTREAM_FAILED or AI_ITINERARY_INVALID"
          },
          "503": {
            "description": "AI_NOT_CONFIGURED"
          },
          "504": {
            "description": "AI_TIMEOUT"
          }
        }
      }
    },
    "/api/v1/operator-portal/admin/itineraries/{itineraryId}/map.png": {
      "get": {
        "operationId": "adminItineraryMapPNG",
        "tags": [
          "DEDALUS Admin TEST"
        ],
        "security": [
          {
            "partnerBearer": []
          },
          {
            "accountSession": []
          }
        ],
        "description": "Explicit read-only private suggested-map export, without publishing drafts. Current TEST reviewer/country/source/revision checks are repeated after rendering. Uses current explicit DEDALUS stops or still-matching original stored coordinates. No geocoding, guessed locations, price/booking changes, navigation guarantee or save action. Complete locations and at least two distinct positions required; permanent visible indicative/not-navigation disclaimer.",
        "parameters": [
          {
            "in": "path",
            "name": "itineraryId",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[A-Za-z0-9_-]{1,160}$"
            }
          },
          {
            "in": "query",
            "name": "expectedRevision",
            "required": true,
            "schema": {
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991
            }
          }
        ],
        "responses": {
          "200": {
            "description": "1600×900 private no-store static map",
            "content": {
              "image/png": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "400": {
            "description": "Strict query/action fields invalid or section read-only"
          },
          "401": {
            "description": "Current access invalid or revoked"
          },
          "403": {
            "description": "Current TEST reviewer/country/CSRF scope denied"
          },
          "404": {
            "description": "Current unique company/yacht/record closure unavailable"
          },
          "409": {
            "description": "Revision/source identity changed or save superseded; explicit reload, never automatically replay"
          },
          "413": {
            "description": "Action exceeds 64 KiB"
          },
          "422": {
            "description": "Stored or supplied facts require correction; no automatic reset"
          },
          "503": {
            "description": "Dedicated canonical persistence or strict private store unavailable"
          }
        }
      }
    },
    "/api/v1/operator-portal/admin/itineraries/{itineraryId}/map.svg": {
      "get": {
        "operationId": "adminItineraryMapSVG",
        "tags": [
          "DEDALUS Admin TEST"
        ],
        "security": [
          {
            "partnerBearer": []
          },
          {
            "accountSession": []
          }
        ],
        "description": "Explicit read-only private suggested-map export, without publishing drafts. Current TEST reviewer/country/source/revision checks are repeated after rendering. Uses current explicit DEDALUS stops or still-matching original stored coordinates. No geocoding, guessed locations, price/booking changes, navigation guarantee or save action. Complete locations and at least two distinct positions required; permanent visible indicative/not-navigation disclaimer.",
        "parameters": [
          {
            "in": "path",
            "name": "itineraryId",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[A-Za-z0-9_-]{1,160}$"
            }
          },
          {
            "in": "query",
            "name": "expectedRevision",
            "required": true,
            "schema": {
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991
            }
          }
        ],
        "responses": {
          "200": {
            "description": "1600×900 private no-store static map",
            "content": {
              "image/svg+xml": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "400": {
            "description": "Strict query/action fields invalid or section read-only"
          },
          "401": {
            "description": "Current access invalid or revoked"
          },
          "403": {
            "description": "Current TEST reviewer/country/CSRF scope denied"
          },
          "404": {
            "description": "Current unique company/yacht/record closure unavailable"
          },
          "409": {
            "description": "Revision/source identity changed or save superseded; explicit reload, never automatically replay"
          },
          "413": {
            "description": "Action exceeds 64 KiB"
          },
          "422": {
            "description": "Stored or supplied facts require correction; no automatic reset"
          },
          "503": {
            "description": "Dedicated canonical persistence or strict private store unavailable"
          }
        }
      }
    },
    "/api/v1/operator-portal/admin/operations/actions": {
      "post": {
        "operationId": "adminLeanSectionAction",
        "tags": [
          "DEDALUS Admin TEST"
        ],
        "security": [
          {
            "partnerBearer": []
          },
          {
            "accountSession": []
          }
        ],
        "parameters": [
          {
            "in": "query",
            "name": "section",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "itineraries",
                "inventory",
                "bookings",
                "distribution",
                "finance",
                "settings"
              ]
            }
          }
        ],
        "description": "Explicit expectedRevision save for central English harbour itineraries (7 or 14 days), TEST Bookings, partner records or Finance. Cosmos source overrides retain the original source; reads do not seed records. Settings is read-only; existing model actions own commercial products/markups. Partner status is not access state. Confirmation and money remain TEST. Itineraries also owns optional English holiday profiles and reusable destinations. Yacht and dated holiday content match automatically by current canonical starting marina, country and exact 7/14-day duration; Alimos has explicit Athens geographic membership. No per-yacht links, default assignment or departure overrides. Retired assignment writes return AUTOMATIC_ITINERARY_MATCHING_ONLY. Missing or equally specific ambiguous complete content is unavailable, never guessed. Photo metadata/URLs are never accepted in JSON. Relevant current content and matching changes invalidate older v3 selections; legacy stored assignments are preserved but ignored. Lifestyle caption/category/country updates and explicit removal use current owned identities. set_itinerary_photos curates up to twelve compatible registered images in saved order with one selected cover or null. Illustrative lifestyle is not actual yacht, equipment, inclusion or safety evidence. No automatic source import or extra approval chain.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AdminOperationsAction"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Private no-store current scoped Admin section.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "apiVersion",
                    "requestId",
                    "mode",
                    "data"
                  ],
                  "properties": {
                    "apiVersion": {
                      "const": "v1"
                    },
                    "requestId": {
                      "type": "string"
                    },
                    "mode": {
                      "const": "TEST"
                    },
                    "data": {
                      "$ref": "#/components/schemas/AdminOperationsState"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Strict query/action fields invalid or section read-only"
          },
          "401": {
            "description": "Current access invalid or revoked"
          },
          "403": {
            "description": "Current TEST reviewer/country/CSRF scope denied"
          },
          "404": {
            "description": "Current unique company/yacht/record closure unavailable"
          },
          "409": {
            "description": "Revision/source identity changed or save superseded; explicit reload, never automatically replay"
          },
          "413": {
            "description": "Action exceeds 64 KiB"
          },
          "415": {
            "description": "Uncompressed JSON required"
          },
          "422": {
            "description": "Stored or supplied facts require correction; no automatic reset"
          },
          "503": {
            "description": "Dedicated canonical persistence or strict private store unavailable"
          }
        }
      }
    },
    "/api/v1/operator-portal/admin/lifestyle/photos": {
      "post": {
        "operationId": "uploadAdminLifestylePhoto",
        "tags": [
          "DEDALUS Admin TEST"
        ],
        "security": [
          {
            "partnerBearer": []
          },
          {
            "accountSession": []
          }
        ],
        "description": "Atomic explicit upload of one owned still JPEG/PNG/WebP plus English caption, category and country. country=all means generic illustrative content and requires reviewer grants for every supported destination country. Fresh authorization precedes bounded body parsing and is repeated through processing/CAS/final receipt. Metadata and image commit together. No rights checkbox, arbitrary URL, actual yacht-photo substitution, supplier fetching or automatic uncertain retry. Stored upload instruction is not independent licence verification.",
        "parameters": [
          {
            "in": "query",
            "name": "expectedRevision",
            "required": true,
            "schema": {
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740990
            }
          },
          {
            "in": "query",
            "name": "captionEn",
            "required": true,
            "schema": {
              "type": "string",
              "maxLength": 200
            }
          },
          {
            "in": "query",
            "name": "category",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "sailing",
                "onboard_dining",
                "relaxation",
                "swimming",
                "family",
                "friends",
                "adventure"
              ]
            }
          },
          {
            "in": "query",
            "name": "country",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^(?:[A-Z]{2}|all)$"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "image/jpeg": {
              "schema": {
                "type": "string",
                "format": "binary"
              }
            },
            "image/png": {
              "schema": {
                "type": "string",
                "format": "binary"
              }
            },
            "image/webp": {
              "schema": {
                "type": "string",
                "format": "binary"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Private no-store current scoped Admin section.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "apiVersion",
                    "requestId",
                    "mode",
                    "data"
                  ],
                  "properties": {
                    "apiVersion": {
                      "const": "v1"
                    },
                    "requestId": {
                      "type": "string"
                    },
                    "mode": {
                      "const": "TEST"
                    },
                    "data": {
                      "$ref": "#/components/schemas/AdminOperationsState"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Strict query/action fields invalid or section read-only"
          },
          "401": {
            "description": "Current access invalid or revoked"
          },
          "403": {
            "description": "Current TEST reviewer/country/CSRF scope denied"
          },
          "404": {
            "description": "Current unique company/yacht/record closure unavailable"
          },
          "409": {
            "description": "Revision/source identity changed or save superseded; explicit reload, never automatically replay"
          },
          "413": {
            "description": "Image exceeds 8 MiB"
          },
          "415": {
            "description": "Uncompressed still JPEG, PNG or WebP required"
          },
          "422": {
            "description": "Stored or supplied facts require correction; no automatic reset"
          },
          "503": {
            "description": "Dedicated canonical persistence or strict private store unavailable"
          }
        }
      }
    },
    "/api/v1/operator-portal/admin/destinations/{destinationId}/photos": {
      "post": {
        "operationId": "uploadAdminDestinationPhoto",
        "tags": [
          "DEDALUS Admin TEST"
        ],
        "security": [
          {
            "partnerBearer": []
          },
          {
            "accountSession": []
          }
        ],
        "description": "Explicit public-display upload of one owned still JPEG/PNG/WebP, after current TEST reviewer/country/destination/revision authorization. Existing bounded image processing strips metadata and generates full/thumbnail WebP in persistent storage. No rights checkbox, source URL, remote fetch, supplier/private gallery reuse or automatic retry. 8 MiB/16 MP limit. Committed or uncertain outcomes require Reload and checking the destination; do not blindly resend. No price, supply or publication change.",
        "parameters": [
          {
            "in": "path",
            "name": "destinationId",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^destination_[a-f0-9-]{36}$"
            }
          },
          {
            "in": "query",
            "name": "expectedRevision",
            "required": true,
            "schema": {
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "image/jpeg": {
              "schema": {
                "type": "string",
                "format": "binary"
              }
            },
            "image/png": {
              "schema": {
                "type": "string",
                "format": "binary"
              }
            },
            "image/webp": {
              "schema": {
                "type": "string",
                "format": "binary"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Private no-store current scoped Admin section.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "apiVersion",
                    "requestId",
                    "mode",
                    "data"
                  ],
                  "properties": {
                    "apiVersion": {
                      "const": "v1"
                    },
                    "requestId": {
                      "type": "string"
                    },
                    "mode": {
                      "const": "TEST"
                    },
                    "data": {
                      "$ref": "#/components/schemas/AdminOperationsState"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Strict query/action fields invalid or section read-only"
          },
          "401": {
            "description": "Current access invalid or revoked"
          },
          "403": {
            "description": "Current TEST reviewer/country/CSRF scope denied"
          },
          "404": {
            "description": "Current unique company/yacht/record closure unavailable"
          },
          "409": {
            "description": "Revision/source identity changed or save superseded; explicit reload, never automatically replay"
          },
          "413": {
            "description": "Image exceeds 8 MiB"
          },
          "415": {
            "description": "Uncompressed JPEG, PNG or WebP required"
          },
          "422": {
            "description": "Stored or supplied facts require correction; no automatic reset"
          },
          "503": {
            "description": "Dedicated canonical persistence or strict private store unavailable"
          }
        }
      }
    },
    "/media/editorial/{photoFile}": {
      "get": {
        "operationId": "getOwnedDestinationPhoto",
        "tags": [
          "Public destination media"
        ],
        "security": [],
        "description": "Only a unique current owned destination or illustrative lifestyle registry asset, never a yacht or supplier gallery by guessed UUID. Rechecks current owner/association after file read; logical removal denies further reads. Public no-store WebP, not an immutable permission. Resolve profile image references against the API origin.",
        "parameters": [
          {
            "in": "path",
            "name": "photoFile",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-f0-9-]{36}\\.webp$"
            }
          },
          {
            "in": "query",
            "name": "size",
            "schema": {
              "const": "thumbnail"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Current owned WebP image",
            "content": {
              "image/webp": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "400": {
            "description": "Invalid size/query"
          },
          "404": {
            "description": "Current unique destination asset unavailable"
          },
          "503": {
            "description": "Persistent image storage unavailable"
          }
        }
      }
    },
    "/api/v1/operator-portal/admin/sample-photos": {
      "get": {
        "operationId": "getPrivateTestSamplePhotos",
        "tags": [
          "DEDALUS Admin TEST"
        ],
        "security": [
          {
            "partnerBearer": []
          },
          {
            "accountSession": []
          }
        ],
        "description": "Read-only credited temporary sample previews. No selector lists all 27 supplied samples; one optional current destination or itinerary selector restricts by explicit stored GR destination references. Original precise scene titles remain visible. Unmatched locations stay library-only. No database writes, normal gallery selection, publication, commercial licence or OTA distribution. All responses are private/no-store.",
        "parameters": [
          {
            "in": "query",
            "name": "itineraryId",
            "schema": {
              "type": "string",
              "pattern": "^[A-Za-z0-9_-]{1,160}$"
            }
          },
          {
            "in": "query",
            "name": "destinationId",
            "schema": {
              "type": "string",
              "pattern": "^[A-Za-z0-9_-]{1,160}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Private current sample metadata; URLs require authenticated image reads.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "properties": {
                    "apiVersion": {
                      "const": "v1"
                    },
                    "requestId": {
                      "type": "string"
                    },
                    "mode": {
                      "const": "TEST"
                    },
                    "data": {
                      "type": "object",
                      "additionalProperties": false,
                      "properties": {
                        "mode": {
                          "const": "TEST"
                        },
                        "usage": {
                          "const": "private_preview_only"
                        },
                        "revision": {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        "photos": {
                          "type": "array",
                          "maxItems": 27,
                          "items": {
                            "type": "object",
                            "additionalProperties": false,
                            "properties": {
                              "id": {
                                "type": "string",
                                "pattern": "^gnto-sample-[a-f0-9]{16}$"
                              },
                              "title": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 200
                              },
                              "credit": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 200
                              },
                              "region": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 200
                              },
                              "country": {
                                "const": "GR"
                              },
                              "url": {
                                "type": "string",
                                "format": "uri-reference"
                              },
                              "thumbnailUrl": {
                                "type": "string",
                                "format": "uri-reference"
                              },
                              "width": {
                                "type": "integer",
                                "minimum": 1,
                                "maximum": 1600
                              },
                              "height": {
                                "type": "integer",
                                "minimum": 1,
                                "maximum": 1600
                              },
                              "thumbnailWidth": {
                                "type": "integer",
                                "minimum": 1,
                                "maximum": 400
                              },
                              "thumbnailHeight": {
                                "type": "integer",
                                "minimum": 1,
                                "maximum": 400
                              }
                            },
                            "required": [
                              "id",
                              "title",
                              "credit",
                              "region",
                              "country",
                              "url",
                              "thumbnailUrl",
                              "width",
                              "height",
                              "thumbnailWidth",
                              "thumbnailHeight"
                            ]
                          }
                        }
                      },
                      "required": [
                        "mode",
                        "usage",
                        "photos"
                      ]
                    }
                  },
                  "required": [
                    "apiVersion",
                    "requestId",
                    "mode",
                    "data"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Strict selector or size query invalid; itineraryId and destinationId are mutually exclusive."
          },
          "401": {
            "description": "Current authenticated access absent, invalid or revoked."
          },
          "403": {
            "description": "Current TEST reviewer and explicit GR country grants required; no operator, OTA or LIVE access."
          },
          "404": {
            "description": "Current unique destination, itinerary or sample identifier unavailable."
          },
          "503": {
            "description": "Private validated asset or current scoped projection unavailable."
          }
        }
      }
    },
    "/api/v1/operator-portal/admin/sample-photos/{photoFile}": {
      "get": {
        "operationId": "getPrivateTestSamplePhotoBytes",
        "tags": [
          "DEDALUS Admin TEST"
        ],
        "security": [
          {
            "partnerBearer": []
          },
          {
            "accountSession": []
          }
        ],
        "description": "Authenticated bounded WebP preview, never a public/static/CDN asset. Rechecks current TEST reviewer/GR grants after asynchronous validated private file reads. Supplied GNTO/photographer credits are retained in metadata and display. The supplied notice forbids commercial use; samples do not establish offered yacht, included meals or navigation facts. All responses are private/no-store; strict filename and thumbnail-only query.",
        "parameters": [
          {
            "in": "path",
            "name": "photoFile",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^gnto-sample-[a-f0-9]{16}\\.webp$"
            }
          },
          {
            "in": "query",
            "name": "size",
            "schema": {
              "const": "thumbnail"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Private credited sample full image or thumbnail, at most 2 MiB.",
            "content": {
              "image/webp": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "400": {
            "description": "Strict selector or size query invalid; itineraryId and destinationId are mutually exclusive."
          },
          "401": {
            "description": "Current authenticated access absent, invalid or revoked."
          },
          "403": {
            "description": "Current TEST reviewer and explicit GR country grants required; no operator, OTA or LIVE access."
          },
          "404": {
            "description": "Current unique destination, itinerary or sample identifier unavailable."
          },
          "503": {
            "description": "Private validated asset or current scoped projection unavailable."
          }
        }
      }
    },
    "/api/v1/operator-portal/yachts/{yachtId}/holiday-preview": {
      "get": {
        "operationId": "operatorHolidayPreview",
        "summary": "Inspect actual yacht, matched DEDALUS holiday content and optional dated total (private TEST)",
        "security": [
          {
            "partnerBearer": []
          },
          {
            "accountSession": []
          },
          {
            "accountSession": []
          },
          {
            "accountSession": []
          }
        ],
        "parameters": [
          {
            "name": "yachtId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[A-Za-z0-9_-]{1,160}$"
            }
          },
          {
            "name": "operatorId",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "pattern": "^[A-Za-z0-9_-]{1,160}$"
            }
          },
          {
            "name": "dateFrom",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "date",
              "minLength": 10,
              "maxLength": 10
            },
            "description": "Real ISO Saturday date, today or future. Requires dateTo. Both absent preserves undated behavior."
          },
          {
            "name": "dateTo",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "date",
              "minLength": 10,
              "maxLength": 10
            },
            "description": "Real ISO Saturday exclusive return, exactly 7 or 14 days after dateFrom. Requires dateFrom."
          },
          {
            "name": "guests",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "pattern": "^(?:[1-9]|1[0-9]|2[0-4])$"
            },
            "description": "Optional integer 1–24, only with both dates. Required for per-person services; no capacity assumption."
          },
          {
            "name": "selectedOptionalFeeIds",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 774,
              "pattern": "^extra-[a-f0-9]{24}(?:,extra-[a-f0-9]{24}){0,24}$"
            },
            "description": "Compatibility-only, with both dates. URL-encoded stable comma-separated list of at most25unique existing opaque optional_fee IDs, not service IDs or amounts. All current separately priced extras already bundle automatically whether omitted or supplied; requests cannot remove or doublecharge them. Unknown IDs are rejected."
          }
        ],
        "description": "GET only, private no-store. Only these scalar fields are accepted; unknown, repeated and array fields fail closed. Dates must be paired real ISO Saturdays with exactly 7 or 14 days and an exclusive Until. Guests/options without dates are refused. No writes, supplier calls, quote creation, reservation, booking or payment.",
        "responses": {
          "200": {
            "description": "Private,no-store coherent authorized source and selection projection. Read does not publish a yacht, grant sharing, fabricate a price or reserve inventory.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HolidayPreviewResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid, unknown, array, duplicate or unpaired query fields, unsupported period, guests or optional service selection"
          },
          "401": {
            "description": "Current access absent or revoked"
          },
          "403": {
            "description": "Current TEST operator/reviewer, owner, account or country scope denied; OTA credentials cannot read this portal"
          },
          "404": {
            "description": "Current unique active yacht/owner/media source unavailable"
          },
          "409": {
            "description": "Workspace/source revision changed; refresh"
          },
          "429": {
            "description": "Existing tenant request limit exceeded"
          },
          "503": {
            "description": "Canonical persistence or private media unavailable"
          }
        }
      }
    },
    "/api/v1/operator-portal/yachts/{yachtId}/holiday-preview/photos/{photoId}": {
      "get": {
        "operationId": "operatorHolidayPreviewPhoto",
        "summary": "Read existing authorized yacht photo under the preview revision",
        "security": [
          {
            "partnerBearer": []
          },
          {
            "accountSession": []
          },
          {
            "accountSession": []
          },
          {
            "accountSession": []
          }
        ],
        "parameters": [
          {
            "name": "yachtId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[A-Za-z0-9_-]{1,160}$"
            }
          },
          {
            "name": "operatorId",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "pattern": "^[A-Za-z0-9_-]{1,160}$"
            }
          },
          {
            "name": "photoId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "expectedRevision",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^(?:0|[1-9][0-9]*)$"
            }
          },
          {
            "name": "size",
            "in": "query",
            "required": false,
            "schema": {
              "const": "thumbnail"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Private,no-store immutable image bytes using existing media authorization. No public/OTA right is granted.",
            "content": {
              "image/webp": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "400": {
            "description": "Invalid, unknown, array, duplicate or unpaired query fields, unsupported period, guests or optional service selection"
          },
          "401": {
            "description": "Current access absent or revoked"
          },
          "403": {
            "description": "Current TEST operator/reviewer, owner, account or country scope denied; OTA credentials cannot read this portal"
          },
          "404": {
            "description": "Current unique active yacht/owner/media source unavailable"
          },
          "409": {
            "description": "Workspace/source revision changed; refresh"
          },
          "429": {
            "description": "Existing tenant request limit exceeded"
          },
          "503": {
            "description": "Canonical persistence or private media unavailable"
          }
        }
      }
    },
    "/api/v1/operator-portal/supplier-yachts": {
      "get": {
        "tags": [
          "Operator portal"
        ],
        "operationId": "listOwnSupplierYachts",
        "summary": "List archived yacht observations for the signed-in owning company",
        "description": "TEST supplier observations only, not live MMK/NauSYS access, pricing, availability or complete fleet coverage. Requires the owning operator role and its trusted server-owned exact provider/company link. Only the provider query is accepted; no owner/company/yacht selectors or URLs. An unlinked provider returns linked=false and an empty list. Opaque candidate references bind archived observations; upstream source IDs, source URLs, photo proofs and company links are private. Existing own fleet yacht IDs are DEDALUS IDs for opening an existing yacht without importing again. Current access and country grants are checked after asynchronous reads.",
        "security": [
          {
            "partnerBearer": []
          },
          {
            "accountSession": []
          }
        ],
        "parameters": [
          {
            "name": "provider",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "mmk",
                "nausys"
              ]
            }
          }
        ],
        "x-strict-query": true,
        "responses": {
          "200": {
            "description": "Current authenticated own-company TEST response; private, no-store.",
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "private, no-store"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "properties": {
                    "apiVersion": {
                      "type": "string",
                      "const": "v1"
                    },
                    "requestId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "mode": {
                      "type": "string",
                      "const": "TEST"
                    },
                    "data": {
                      "type": "object",
                      "additionalProperties": false,
                      "properties": {
                        "revision": {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740990
                        },
                        "provider": {
                          "type": "string",
                          "enum": [
                            "mmk",
                            "nausys"
                          ]
                        },
                        "source": {
                          "type": "string",
                          "const": "archived"
                        },
                        "linked": {
                          "type": "boolean"
                        },
                        "observedAt": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "format": "date-time"
                        },
                        "candidates": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "additionalProperties": false,
                            "properties": {
                              "reference": {
                                "type": "string",
                                "pattern": "^[a-f0-9]{64}$"
                              },
                              "name": {
                                "type": "string"
                              },
                              "model": {
                                "type": "string"
                              },
                              "year": {
                                "type": [
                                  "integer",
                                  "null"
                                ]
                              },
                              "homeBaseLabel": {
                                "type": "string"
                              },
                              "alreadyInFleet": {
                                "type": "boolean"
                              },
                              "yachtId": {
                                "type": "string",
                                "pattern": "^[A-Za-z0-9_-]{1,160}$"
                              }
                            },
                            "required": [
                              "reference",
                              "name",
                              "model",
                              "year",
                              "homeBaseLabel",
                              "alreadyInFleet"
                            ]
                          }
                        },
                        "photosFrom": {
                          "type": "string",
                          "const": "cosmos"
                        }
                      },
                      "required": [
                        "revision",
                        "provider",
                        "source",
                        "linked",
                        "observedAt",
                        "candidates",
                        "photosFrom"
                      ]
                    }
                  },
                  "required": [
                    "apiVersion",
                    "requestId",
                    "mode",
                    "data"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Only one exact provider=mmk or provider=nausys query is accepted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Authentication revoked or missing.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Owning operator role and current company/country grants required; reviewers cannot select an owner.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "Trusted private archived catalogue unavailable; no native supplier fallback.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/operator-portal/supplier-yachts/import": {
      "post": {
        "tags": [
          "Operator portal"
        ],
        "operationId": "importOwnSupplierYacht",
        "summary": "Import own archived yacht facts and copy exact Cosmos photos into DEDALUS storage",
        "description": "TEST only. Requires the signed-in owning operator and a unique trusted server-owned provider/company link; reviewers and arbitrary company/yacht/URL selectors cannot import. Accepts only the exact four JSON fields, no query, application/json with optional charset=utf-8, and no Content-Encoding except identity. Maximum raw and serialized JSON body is 16 KiB. Rechecks current identity, grants, ownership and optimistic workspace revision across the read/copy/commit sequence and after returning a result. The opaque candidate binds an exact archived own-company observation. No native MMK/NauSYS client, supplier original photos, supplier booking/option call, prices or calendar import exists. Exact-source Cosmos optimized photos must be copied and verified on DEDALUS-owned storage before saving; no hotlinks. Missing/ambiguous source mapping or photo copying fails closed. Import creates an unpublished editable yacht with unknown guest/crew facts retained honestly. Publication requires valid positive owned current/future prices saved separately through the existing Prices workflow (separatePrices), not this endpoint. An explicit import instruction permits anonymous display of the copied gallery only; it is not copyright verification, an OTA distribution licence or a TEST sharing grant. Existing malformed reviewer photo grants remain fail-closed without an owner-instruction fallback. The same operation/body recovers its receipt without another copy or duplicate; altered operations and physical identities conflict. Already-in-fleet candidates should open the existing DEDALUS yacht from GET without a POST.",
        "security": [
          {
            "partnerBearer": []
          },
          {
            "accountSession": []
          }
        ],
        "parameters": [],
        "x-strict-query": true,
        "x-max-body-bytes": 16384,
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "provider": {
                    "type": "string",
                    "enum": [
                      "mmk",
                      "nausys"
                    ]
                  },
                  "candidateRef": {
                    "type": "string",
                    "pattern": "^[a-f0-9]{64}$"
                  },
                  "expectedRevision": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740990
                  },
                  "operationId": {
                    "type": "string",
                    "pattern": "^[A-Za-z0-9_-]{8,160}$"
                  }
                },
                "required": [
                  "provider",
                  "candidateRef",
                  "expectedRevision",
                  "operationId"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Current authenticated own-company TEST response; private, no-store.",
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "private, no-store"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "properties": {
                    "apiVersion": {
                      "type": "string",
                      "const": "v1"
                    },
                    "requestId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "mode": {
                      "type": "string",
                      "const": "TEST"
                    },
                    "data": {
                      "type": "object",
                      "additionalProperties": false,
                      "properties": {
                        "state": {
                          "allOf": [
                            {
                              "$ref": "#/components/schemas/OperatorPortalState"
                            },
                            {
                              "type": "object",
                              "properties": {
                                "operators": {
                                  "type": "array",
                                  "items": {
                                    "not": {
                                      "required": [
                                        "sourceImport"
                                      ]
                                    }
                                  }
                                },
                                "yachts": {
                                  "type": "array",
                                  "items": {
                                    "not": {
                                      "anyOf": [
                                        {
                                          "required": [
                                            "ownerPhotoImport"
                                          ]
                                        },
                                        {
                                          "required": [
                                            "sourceImport"
                                          ]
                                        },
                                        {
                                          "required": [
                                            "sourcePhotoUrls"
                                          ]
                                        },
                                        {
                                          "required": [
                                            "importedGallery"
                                          ]
                                        },
                                        {
                                          "required": [
                                            "importedPhotoPublication"
                                          ]
                                        }
                                      ]
                                    }
                                  }
                                }
                              }
                            }
                          ],
                          "description": "Existing scoped PortalStateView with upstream source references/URLs and owner photo proofs removed. No private import receipt ledger, copied manifests or source/company IDs are returned."
                        },
                        "result": {
                          "type": "object",
                          "additionalProperties": false,
                          "properties": {
                            "status": {
                              "type": "string",
                              "enum": [
                                "imported",
                                "already_in_fleet"
                              ]
                            },
                            "yachtId": {
                              "type": "string",
                              "pattern": "^[A-Za-z0-9_-]{1,160}$"
                            },
                            "revision": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 9007199254740990
                            },
                            "photoCount": {
                              "type": "integer",
                              "minimum": 1,
                              "maximum": 256
                            },
                            "operationId": {
                              "type": "string",
                              "pattern": "^[A-Za-z0-9_-]{8,160}$"
                            }
                          },
                          "required": [
                            "status",
                            "yachtId",
                            "revision",
                            "photoCount",
                            "operationId"
                          ]
                        }
                      },
                      "required": [
                        "state",
                        "result"
                      ]
                    }
                  },
                  "required": [
                    "apiVersion",
                    "requestId",
                    "mode",
                    "data"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Invalid exact JSON input, provider, opaque candidate, revision or operation ID.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Authentication missing/revoked, including after copy or result.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Only the owning operator may import; trusted company/provider/current country grants required.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Exact own-company archived candidate unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Revision, source/physical ownership, Cosmos mapping or operation conflict; no duplicate saved.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "Request body exceeds 16 KiB.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "415": {
            "description": "Only UTF-8 JSON and identity HTTP encoding accepted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "Private archived catalogue or copied/verified Cosmos gallery unavailable; no live supplier fallback.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/operator-portal/calendar/availability": {
      "post": {
        "tags": [
          "Operator portal"
        ],
        "operationId": "setOwnYachtAvailability",
        "summary": "Set Available or Not available for an owned yacht date range",
        "description": "Calendar maintenance only, not a confirmed booking or fresh supplier availability declaration. Unblocked dates are Available in the operator calendar; OTA confirmation/recheck requirements remain unchanged. Dates form a half-open [dateFrom,dateTo) range; checkout is not an occupied day. No manual UTC expiry is accepted. Existing physical-yacht blocks are split only where the explicit range changes, retaining unaffected dates and durable history. Imported blocked dates require durable before-image evidence before release; absent evidence fails closed. No rates, contractual bookings or financial records are changed. Exact operation receipts recover an uncertain acknowledgement without duplicate maintenance.",
        "security": [
          {
            "partnerBearer": []
          },
          {
            "accountSession": []
          }
        ],
        "parameters": [],
        "x-strict-query": true,
        "x-max-body-bytes": 16384,
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "expectedRevision": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740990
                  },
                  "operationId": {
                    "type": "string",
                    "pattern": "^[A-Za-z0-9_-]{8,160}$"
                  },
                  "yachtId": {
                    "type": "string",
                    "pattern": "^[A-Za-z0-9_-]{1,160}$"
                  },
                  "dateFrom": {
                    "type": "string",
                    "format": "date"
                  },
                  "dateTo": {
                    "type": "string",
                    "format": "date"
                  },
                  "status": {
                    "type": "string",
                    "enum": [
                      "available",
                      "unavailable"
                    ]
                  },
                  "note": {
                    "type": "string",
                    "maxLength": 4000
                  }
                },
                "required": [
                  "expectedRevision",
                  "operationId",
                  "yachtId",
                  "dateFrom",
                  "dateTo",
                  "status"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Authenticated scoped TEST response; private, no-store.",
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "private, no-store"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "properties": {
                    "apiVersion": {
                      "type": "string",
                      "const": "v1"
                    },
                    "requestId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "mode": {
                      "type": "string",
                      "const": "TEST"
                    },
                    "data": {
                      "type": "object",
                      "additionalProperties": false,
                      "properties": {
                        "state": {
                          "$ref": "#/components/schemas/OperatorPortalState"
                        },
                        "result": {
                          "type": "object",
                          "additionalProperties": false,
                          "properties": {
                            "status": {
                              "type": "string",
                              "const": "saved"
                            },
                            "revision": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 9007199254740990
                            },
                            "operationId": {
                              "type": "string",
                              "pattern": "^[A-Za-z0-9_-]{8,160}$"
                            }
                          },
                          "required": [
                            "status",
                            "revision",
                            "operationId"
                          ]
                        }
                      },
                      "required": [
                        "state",
                        "result"
                      ]
                    }
                  },
                  "required": [
                    "apiVersion",
                    "requestId",
                    "mode",
                    "data"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Invalid exact JSON request or unsupported query.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Authentication missing or revoked.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Current owning-company/country access required.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Owned yacht not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Workspace revision, ownership or operation conflict.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "Request body exceeds 16 KiB.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "415": {
            "description": "Only UTF-8 JSON with identity HTTP encoding accepted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "Required private catalogue or durable operation evidence unavailable; no supplier fallback.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/operator-portal/supplier-yachts/connection/verify": {
      "post": {
        "tags": [
          "Operator portal"
        ],
        "operationId": "verifyOwnSupplierCompany",
        "summary": "Verify an exact archived supplier company against the current owning identity",
        "description": "Read-only verification; does not connect or import. A public company ID/name, editable Company contact details or a reviewer role does not establish ownership. Requires current authenticated company identity or an exact existing trusted source binding. Unverified/foreign companies return canConnect=false with a useful generic blocker and no company details. A permitted preview returns a short-lived opaque verificationRef bound to the current principal, company, catalogue evidence and workspace revision. No supplier password or live MMK/NauSYS call is used. Verification does not grant source redistribution, photo rights or booking/payment authority.",
        "security": [
          {
            "partnerBearer": []
          },
          {
            "accountSession": []
          }
        ],
        "parameters": [],
        "x-strict-query": true,
        "x-max-body-bytes": 16384,
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "provider": {
                    "type": "string",
                    "enum": [
                      "mmk",
                      "nausys"
                    ]
                  },
                  "companyId": {
                    "type": "string",
                    "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,159}$"
                  },
                  "expectedRevision": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740990
                  }
                },
                "required": [
                  "provider",
                  "companyId",
                  "expectedRevision"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Authenticated scoped TEST response; private, no-store.",
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "private, no-store"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "properties": {
                    "apiVersion": {
                      "type": "string",
                      "const": "v1"
                    },
                    "requestId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "mode": {
                      "type": "string",
                      "const": "TEST"
                    },
                    "data": {
                      "type": "object",
                      "additionalProperties": false,
                      "properties": {
                        "provider": {
                          "type": "string",
                          "enum": [
                            "mmk",
                            "nausys"
                          ]
                        },
                        "expectedRevision": {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740990
                        },
                        "canConnect": {
                          "type": "boolean"
                        },
                        "verificationRef": {
                          "type": "string",
                          "pattern": "^[a-f0-9]{64}$"
                        },
                        "company": {
                          "type": "object",
                          "additionalProperties": false,
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "country": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "yachtCount": {
                              "type": "integer",
                              "minimum": 0
                            }
                          },
                          "required": [
                            "name",
                            "country",
                            "yachtCount"
                          ]
                        },
                        "blocker": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "provider",
                        "expectedRevision",
                        "canConnect"
                      ]
                    }
                  },
                  "required": [
                    "apiVersion",
                    "requestId",
                    "mode",
                    "data"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Invalid exact JSON request or unsupported query.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Authentication missing or revoked.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Current owning-company/country access required.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Workspace revision, ownership or operation conflict.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "Request body exceeds 16 KiB.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "415": {
            "description": "Only UTF-8 JSON with identity HTTP encoding accepted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "Required private catalogue or durable operation evidence unavailable; no supplier fallback.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/operator-portal/supplier-yachts/connection/connect": {
      "post": {
        "tags": [
          "Operator portal"
        ],
        "operationId": "connectOwnSupplierCompany",
        "summary": "Explicitly save a verified owning-company supplier connection",
        "description": "Requires the current owning operator, a valid verificationRef for this provider and unchanged workspace/identity/catalogue evidence. The locked atomic operation stores a private exact supplier-company binding and an idempotent receipt. It never overwrites the original operator source provenance, takes over another company workspace, merges fleets or imports any yacht, photo, price or blocked date. Duplicate/foreign aliases and stale/revoked/changed proofs fail closed. A same-body operation receipt supports uncertain acknowledgement recovery without a second connection, including after token memory is lost. Returned scoped state contains no private connection/proof/operation ledger or supplier company/source metadata.",
        "security": [
          {
            "partnerBearer": []
          },
          {
            "accountSession": []
          }
        ],
        "parameters": [],
        "x-strict-query": true,
        "x-max-body-bytes": 16384,
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "provider": {
                    "type": "string",
                    "enum": [
                      "mmk",
                      "nausys"
                    ]
                  },
                  "verificationRef": {
                    "type": "string",
                    "pattern": "^[a-f0-9]{64}$"
                  },
                  "expectedRevision": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740990
                  },
                  "operationId": {
                    "type": "string",
                    "pattern": "^[A-Za-z0-9_-]{8,160}$"
                  }
                },
                "required": [
                  "provider",
                  "verificationRef",
                  "expectedRevision",
                  "operationId"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Authenticated scoped TEST response; private, no-store.",
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "private, no-store"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "properties": {
                    "apiVersion": {
                      "type": "string",
                      "const": "v1"
                    },
                    "requestId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "mode": {
                      "type": "string",
                      "const": "TEST"
                    },
                    "data": {
                      "type": "object",
                      "additionalProperties": false,
                      "properties": {
                        "state": {
                          "$ref": "#/components/schemas/OperatorPortalState"
                        },
                        "result": {
                          "type": "object",
                          "additionalProperties": false,
                          "properties": {
                            "status": {
                              "type": "string",
                              "const": "connected"
                            },
                            "provider": {
                              "type": "string",
                              "enum": [
                                "mmk",
                                "nausys"
                              ]
                            },
                            "revision": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 9007199254740990
                            },
                            "operationId": {
                              "type": "string",
                              "pattern": "^[A-Za-z0-9_-]{8,160}$"
                            }
                          },
                          "required": [
                            "status",
                            "provider",
                            "revision",
                            "operationId"
                          ]
                        }
                      },
                      "required": [
                        "state",
                        "result"
                      ]
                    }
                  },
                  "required": [
                    "apiVersion",
                    "requestId",
                    "mode",
                    "data"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Invalid exact JSON request or unsupported query.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Authentication missing or revoked.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Current owning-company/country access required.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Workspace revision, ownership or operation conflict.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "Request body exceeds 16 KiB.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "415": {
            "description": "Only UTF-8 JSON with identity HTTP encoding accepted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "Required private catalogue or durable operation evidence unavailable; no supplier fallback.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/operator-portal/selling-price-preview": {
      "get": {
        "tags": [
          "Operator portal"
        ],
        "summary": "Calculate an explicit nonbinding Admin holiday total",
        "description": "Reviewer-only, read-only and private no-store. Select an owned yacht and exact future/current Saturday From/Until for seven or fourteen days; Until is exclusive return. Optional actual guests is canonical1–24 and additionally checked against current yacht capacity. Dates and guests are ephemeral, never rates, departures or booking data. Unknown services/guest quantities/rates/capacity and recorded blocks remain unavailable. No inferred dates/guests, legacy money fallback, reservation, booking or payment. Original policy and existing exact-or-detached context are qualified by the same holiday preview engine. Formula is yacht + ALL separately priced extras ×1.20, then configurable markup; refundable deposit separate. Unknown query fields and duplicate/noncanonical values rejected. This operation saves nothing; existing Rules and exact stored-departure markup save independently of quote completeness without changing their scope.",
        "security": [
          {
            "partnerBearer": []
          }
        ],
        "parameters": [
          {
            "in": "query",
            "name": "operatorId",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 160
            }
          },
          {
            "in": "query",
            "name": "yachtId",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 160
            }
          },
          {
            "in": "query",
            "name": "dateFrom",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "in": "query",
            "name": "dateTo",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "in": "query",
            "name": "guests",
            "required": false,
            "schema": {
              "type": "string",
              "pattern": "^(?:[1-9]|1[0-9]|2[0-4])$",
              "description": "Canonical integer1–24; no leading zeros, decimals, whitespace or duplicate parameter."
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Current echoed calculation context, not a stored quote or publication guarantee.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "apiVersion",
                    "mode",
                    "data"
                  ],
                  "properties": {
                    "apiVersion": {
                      "const": "v1"
                    },
                    "mode": {
                      "const": "TEST"
                    },
                    "requestId": {
                      "type": "string"
                    },
                    "data": {
                      "$ref": "#/components/schemas/AdminSellingPreview"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid dates, selection or strict query."
          },
          "401": {
            "description": "Authentication required or revoked."
          },
          "403": {
            "description": "Reviewer or owned country/company scope required."
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "partnerBearer": {
        "type": "http",
        "scheme": "bearer",
        "description": "Provisioned opaque partner credential. Stored hashed server-side; normal partner scopes content:read/packages:search/packages:read/packages:recheck/handoffs:test. Separate admin scopes catalogue:read/catalogue:write. Country/provider grants and TEST/LIVE mode held by tenant."
      },
      "accountSession": {
        "type": "apiKey",
        "in": "cookie",
        "name": "ddn_account_session",
        "description": "30-minute signed HttpOnly account cookie, Secure/SameSite=None on HTTPS. Only operator-portal APIs; never accepted as OTA/partner API authorization."
      }
    },
    "schemas": {
      "Error": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "apiVersion": {
            "enum": [
              "v1",
              "v2"
            ]
          },
          "requestId": {
            "type": "string",
            "format": "uuid"
          },
          "error": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "code": {
                "type": "string"
              },
              "message": {
                "type": "string"
              }
            },
            "required": [
              "code",
              "message"
            ]
          }
        },
        "required": [
          "apiVersion",
          "requestId",
          "error"
        ]
      },
      "Search": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "routeSlug": {
            "type": "string",
            "default": "all"
          },
          "country": {
            "type": "string",
            "enum": [
              "GR",
              "HR",
              "TR",
              "IT",
              "ES"
            ]
          },
          "dateFrom": {
            "type": "string",
            "format": "date"
          },
          "dateTo": {
            "type": "string",
            "format": "date"
          },
          "guests": {
            "type": "integer",
            "minimum": 2,
            "maximum": 12
          },
          "service": {
            "type": "string",
            "enum": [
              "any",
              "skippered",
              "crewed",
              "all_inclusive"
            ],
            "default": "any"
          },
          "vessel": {
            "type": "string",
            "enum": [
              "any",
              "sailing_yacht",
              "catamaran",
              "power_catamaran",
              "motor_yacht"
            ],
            "default": "any"
          },
          "language": {
            "type": "string",
            "enum": [
              "en",
              "de"
            ],
            "default": "en"
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 60,
            "default": 60
          }
        },
        "required": [
          "dateFrom",
          "dateTo",
          "guests"
        ]
      },
      "Coordinates": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "lat": {
            "type": "number",
            "minimum": -90,
            "maximum": 90
          },
          "lng": {
            "type": "number",
            "minimum": -180,
            "maximum": 180
          }
        },
        "required": [
          "lat",
          "lng"
        ]
      },
      "Stop": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "day": {
            "type": "integer",
            "minimum": 1,
            "maximum": 7
          },
          "place": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "coordinates": {
            "$ref": "#/components/schemas/Coordinates"
          }
        },
        "required": [
          "day",
          "place",
          "description",
          "coordinates"
        ]
      },
      "Route": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "slug": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "region": {
            "type": "string"
          },
          "country": {
            "type": "string"
          },
          "countryCode": {
            "type": "string",
            "enum": [
              "GR",
              "HR",
              "TR",
              "IT",
              "ES"
            ]
          },
          "gateway": {
            "type": "string"
          },
          "defaultDurationNights": {
            "const": 7
          },
          "story": {
            "type": "string"
          },
          "summary": {
            "type": "string"
          },
          "tagline": {
            "type": "string"
          },
          "seasonGuidance": {
            "type": "string"
          },
          "bestFor": {
            "type": "string"
          },
          "seaCharacter": {
            "type": "string"
          },
          "highlights": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "experiences": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "icon": {
                  "type": "string"
                },
                "title": {
                  "type": "string"
                },
                "description": {
                  "type": "string"
                }
              },
              "required": [
                "icon",
                "title",
                "description"
              ]
            }
          },
          "places": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "name": {
                  "type": "string"
                },
                "label": {
                  "type": "string"
                },
                "description": {
                  "type": "string"
                }
              },
              "required": [
                "name",
                "label",
                "description"
              ]
            }
          },
          "itinerary": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "kind": {
                "const": "suggested_sample"
              },
              "sampleDurationNights": {
                "const": 7
              },
              "stops": {
                "type": "array",
                "minItems": 7,
                "maxItems": 7,
                "items": {
                  "$ref": "#/components/schemas/Stop"
                }
              }
            },
            "required": [
              "kind",
              "sampleDurationNights",
              "stops"
            ]
          },
          "media": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "imageUrl": {
                "type": "string",
                "format": "uri-reference"
              },
              "heroIllustrationUrl": {
                "type": "string",
                "format": "uri-reference"
              },
              "rights": {
                "const": "host_must_verify"
              },
              "status": {
                "const": "unverified_source_references"
              }
            },
            "required": [
              "imageUrl",
              "heroIllustrationUrl",
              "rights",
              "status"
            ]
          }
        },
        "required": [
          "slug",
          "name",
          "region",
          "country",
          "countryCode",
          "gateway",
          "defaultDurationNights",
          "story",
          "summary",
          "tagline",
          "seasonGuidance",
          "bestFor",
          "seaCharacter",
          "highlights",
          "experiences",
          "places",
          "itinerary",
          "media"
        ]
      },
      "Coverage": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "mode": {
            "enum": [
              "TEST",
              "LIVE"
            ]
          },
          "status": {
            "enum": [
              "success",
              "incomplete",
              "failed",
              "blocked"
            ]
          },
          "source": {
            "enum": [
              "synthetic_test",
              "mmk",
              "nausys",
              "mixed",
              "unavailable"
            ]
          },
          "catalogueComplete": {
            "type": "boolean"
          },
          "fetchedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "reasonCodes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "supportedProviders": {
            "type": "array",
            "items": {
              "enum": [
                "mmk",
                "nausys"
              ]
            }
          },
          "unsupportedProviders": {
            "type": "array",
            "items": {
              "enum": [
                "mmk",
                "nausys"
              ]
            }
          },
          "excludedEvidenceCount": {
            "type": "integer",
            "minimum": 0
          },
          "qualifiedCount": {
            "type": "integer",
            "minimum": 0
          },
          "truncated": {
            "type": "boolean"
          },
          "projectionStatus": {
            "enum": [
              "complete",
              "incomplete",
              "unavailable",
              "invalid_request"
            ]
          },
          "supplierCoverage": {
            "enum": [
              "complete",
              "incomplete",
              "unknown"
            ]
          },
          "catalogueFreshness": {
            "$ref": "#/components/schemas/CatalogueFreshness"
          }
        },
        "required": [
          "mode",
          "status",
          "source",
          "catalogueComplete",
          "fetchedAt",
          "reasonCodes",
          "supportedProviders",
          "unsupportedProviders",
          "excludedEvidenceCount",
          "qualifiedCount",
          "truncated",
          "projectionStatus",
          "supplierCoverage"
        ]
      },
      "Money": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "currency": {
            "const": "EUR"
          },
          "yachtCents": {
            "type": "integer",
            "minimum": 0
          },
          "providerMandatoryCents": {
            "type": "integer",
            "minimum": 0
          },
          "additionalSkipperCents": {
            "type": "integer",
            "minimum": 0
          },
          "totalCents": {
            "type": "integer",
            "minimum": 0
          }
        },
        "required": [
          "currency",
          "yachtCents",
          "providerMandatoryCents",
          "additionalSkipperCents",
          "totalCents"
        ]
      },
      "Specs": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "shipyard": {
            "type": [
              "string",
              "null"
            ]
          },
          "cabins": {
            "type": [
              "integer",
              "null"
            ]
          },
          "berths": {
            "type": [
              "integer",
              "null"
            ]
          },
          "bathrooms": {
            "type": [
              "integer",
              "null"
            ]
          },
          "lengthM": {
            "type": [
              "number",
              "null"
            ]
          },
          "beamM": {
            "type": [
              "number",
              "null"
            ]
          },
          "draughtM": {
            "type": [
              "number",
              "null"
            ]
          },
          "engine": {
            "type": [
              "string",
              "null"
            ]
          },
          "waterCapacityL": {
            "type": [
              "number",
              "null"
            ]
          },
          "fuelCapacityL": {
            "type": [
              "number",
              "null"
            ]
          },
          "comfortFeatures": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": []
      },
      "Package": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string"
          },
          "selectionId": {
            "type": "string",
            "format": "uuid"
          },
          "expiresAt": {
            "type": "string",
            "format": "date-time"
          },
          "recheckRequired": {
            "const": true
          },
          "mode": {
            "enum": [
              "TEST",
              "LIVE"
            ]
          },
          "availability": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "status": {
                "enum": [
                  "TEST_AVAILABLE",
                  "AVAILABLE"
                ]
              },
              "observedAt": {
                "type": "string",
                "format": "date-time"
              },
              "reservation": {
                "const": false
              }
            },
            "required": [
              "status",
              "observedAt",
              "reservation"
            ]
          },
          "routeSlug": {
            "type": "string"
          },
          "dates": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "dateFrom": {
                "type": "string",
                "format": "date"
              },
              "dateTo": {
                "type": "string",
                "format": "date"
              },
              "nights": {
                "enum": [
                  7,
                  14,
                  21
                ]
              }
            },
            "required": [
              "dateFrom",
              "dateTo",
              "nights"
            ]
          },
          "guests": {
            "type": "integer",
            "minimum": 2,
            "maximum": 12
          },
          "service": {
            "enum": [
              "any",
              "skippered",
              "crewed",
              "all_inclusive"
            ]
          },
          "yacht": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "name": {
                "type": "string"
              },
              "model": {
                "type": "string"
              },
              "type": {
                "type": "string"
              },
              "year": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "capacity": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "guests": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "totalPeopleOnBoard": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "skipperBerthsReserved": {
                    "const": 1
                  }
                },
                "required": [
                  "guests",
                  "totalPeopleOnBoard",
                  "skipperBerthsReserved"
                ]
              },
              "specs": {
                "$ref": "#/components/schemas/Specs"
              },
              "images": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "properties": {
                    "url": {
                      "type": "string",
                      "format": "uri-reference"
                    },
                    "description": {
                      "type": "string"
                    },
                    "kind": {
                      "enum": [
                        "unavailable",
                        "destination_fallback",
                        "yacht_photo"
                      ]
                    },
                    "rights": {
                      "const": "host_must_verify"
                    },
                    "status": {
                      "const": "unverified_source_reference"
                    }
                  },
                  "required": [
                    "url",
                    "description",
                    "kind",
                    "rights",
                    "status"
                  ]
                }
              }
            },
            "required": [
              "name",
              "model",
              "type",
              "year",
              "capacity",
              "specs",
              "images"
            ]
          },
          "bases": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "start": {
                "type": "string"
              },
              "end": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "source": {
                "const": "provider_live"
              },
              "endKnown": {
                "type": "boolean"
              }
            },
            "required": [
              "start",
              "end",
              "source",
              "endKnown"
            ]
          },
          "price": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "currency": {
                "const": "EUR"
              },
              "yachtCents": {
                "type": "integer",
                "minimum": 0
              },
              "providerMandatoryCents": {
                "type": "integer",
                "minimum": 0
              },
              "additionalSkipperCents": {
                "type": "integer",
                "minimum": 0
              },
              "totalCents": {
                "type": "integer",
                "minimum": 0
              },
              "completeness": {
                "const": "complete"
              },
              "authority": {
                "enum": [
                  "synthetic_test",
                  "host_commercial_policy"
                ]
              },
              "display": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "yachtPriceEUR": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "mandatoryExtrasEUR": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "mandatoryTotalEUR": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "guestDailyEUR": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "rounding": {
                    "const": "whole_EUR_not_billing"
                  }
                },
                "required": [
                  "yachtPriceEUR",
                  "mandatoryExtrasEUR",
                  "mandatoryTotalEUR",
                  "guestDailyEUR",
                  "rounding"
                ]
              },
              "skipper": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "status": {
                    "enum": [
                      "included",
                      "mandatory_extra"
                    ]
                  },
                  "feeEUR": {
                    "type": "number"
                  },
                  "rateEUR": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "unit": {
                    "enum": [
                      "per_day",
                      "per_night",
                      "per_week",
                      "per_booking",
                      null
                    ]
                  },
                  "quantity": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "includedInMandatoryTotal": {
                    "const": true
                  }
                },
                "required": [
                  "status",
                  "feeEUR",
                  "rateEUR",
                  "unit",
                  "quantity",
                  "includedInMandatoryTotal"
                ]
              },
              "components": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "rateEUR": {
                      "type": "number"
                    },
                    "currency": {
                      "type": "string"
                    },
                    "unit": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "obligatory": {
                      "type": "boolean"
                    },
                    "amountScope": {
                      "enum": [
                        "full_period",
                        "rate",
                        null
                      ]
                    }
                  },
                  "required": [
                    "name",
                    "rateEUR",
                    "currency",
                    "unit",
                    "obligatory",
                    "amountScope"
                  ]
                }
              },
              "componentsNote": {
                "type": "string"
              }
            },
            "required": [
              "currency",
              "yachtCents",
              "providerMandatoryCents",
              "additionalSkipperCents",
              "totalCents",
              "completeness",
              "authority",
              "display",
              "skipper",
              "components",
              "componentsNote"
            ]
          },
          "inclusions": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exclusions": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "id",
          "selectionId",
          "expiresAt",
          "recheckRequired",
          "mode",
          "availability",
          "routeSlug",
          "dates",
          "guests",
          "service",
          "yacht",
          "bases",
          "price",
          "inclusions",
          "exclusions"
        ]
      },
      "Handoff": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "tenantId": {
            "type": "string"
          },
          "selectionId": {
            "type": "string",
            "format": "uuid"
          },
          "mode": {
            "const": "TEST"
          },
          "status": {
            "const": "TEST_HANDOFF_CREATED"
          },
          "supplierConfirmation": {
            "const": "NOT_REQUESTED"
          },
          "payment": {
            "const": "NOT_REQUESTED"
          },
          "reservation": {
            "const": false
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "id",
          "tenantId",
          "selectionId",
          "mode",
          "status",
          "supplierConfirmation",
          "payment",
          "reservation",
          "createdAt"
        ]
      },
      "RoutesResponse": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "apiVersion": {
            "const": "v1"
          },
          "requestId": {
            "type": "string",
            "format": "uuid"
          },
          "mode": {
            "enum": [
              "TEST",
              "LIVE"
            ]
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Route"
            }
          },
          "language": {
            "enum": [
              "en",
              "de"
            ]
          },
          "contentSource": {
            "const": "cosmos_extracted_editorial"
          },
          "availabilityEvidence": {
            "const": false
          }
        },
        "required": [
          "apiVersion",
          "requestId",
          "mode",
          "data",
          "language",
          "contentSource",
          "availabilityEvidence"
        ]
      },
      "RouteResponse": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "apiVersion": {
            "const": "v1"
          },
          "requestId": {
            "type": "string",
            "format": "uuid"
          },
          "mode": {
            "enum": [
              "TEST",
              "LIVE"
            ]
          },
          "data": {
            "$ref": "#/components/schemas/Route"
          },
          "language": {
            "enum": [
              "en",
              "de"
            ]
          },
          "availabilityEvidence": {
            "const": false
          }
        },
        "required": [
          "apiVersion",
          "requestId",
          "mode",
          "data",
          "language",
          "availabilityEvidence"
        ]
      },
      "SearchResponse": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "apiVersion": {
            "const": "v1"
          },
          "requestId": {
            "type": "string",
            "format": "uuid"
          },
          "mode": {
            "enum": [
              "TEST",
              "LIVE"
            ]
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Package"
            }
          },
          "request": {
            "$ref": "#/components/schemas/Search"
          },
          "coverage": {
            "$ref": "#/components/schemas/Coverage"
          },
          "notice": {
            "type": "string"
          }
        },
        "required": [
          "apiVersion",
          "requestId",
          "mode",
          "data",
          "request",
          "coverage",
          "notice"
        ]
      },
      "DetailResponse": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "apiVersion": {
            "const": "v1"
          },
          "requestId": {
            "type": "string",
            "format": "uuid"
          },
          "mode": {
            "enum": [
              "TEST",
              "LIVE"
            ]
          },
          "data": {
            "$ref": "#/components/schemas/Package"
          },
          "route": {
            "$ref": "#/components/schemas/Route"
          },
          "snapshotOnly": {
            "const": true
          }
        },
        "required": [
          "apiVersion",
          "requestId",
          "mode",
          "data",
          "route",
          "snapshotOnly"
        ]
      },
      "RecheckResponse": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "apiVersion": {
            "const": "v1"
          },
          "requestId": {
            "type": "string",
            "format": "uuid"
          },
          "mode": {
            "enum": [
              "TEST",
              "LIVE"
            ]
          },
          "data": {
            "$ref": "#/components/schemas/Package"
          },
          "previousSelectionId": {
            "type": "string",
            "format": "uuid"
          },
          "rechecked": {
            "const": true
          },
          "reservation": {
            "const": false
          }
        },
        "required": [
          "apiVersion",
          "requestId",
          "mode",
          "data",
          "previousSelectionId",
          "rechecked",
          "reservation"
        ]
      },
      "HandoffResponse": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "apiVersion": {
            "const": "v1"
          },
          "requestId": {
            "type": "string",
            "format": "uuid"
          },
          "mode": {
            "enum": [
              "TEST",
              "LIVE"
            ]
          },
          "data": {
            "$ref": "#/components/schemas/Handoff"
          },
          "idempotentReplay": {
            "type": "boolean"
          }
        },
        "required": [
          "apiVersion",
          "requestId",
          "mode",
          "data"
        ]
      },
      "CatalogueVersions": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "snapshotVersion": {
            "type": "integer",
            "minimum": 0
          },
          "mappingVersion": {
            "type": "integer",
            "minimum": 0
          },
          "commercialVersion": {
            "type": "string"
          },
          "moduleVersion": {
            "type": "string"
          },
          "controlVersion": {
            "type": "integer",
            "minimum": 0
          }
        },
        "required": [
          "snapshotVersion",
          "mappingVersion",
          "commercialVersion",
          "moduleVersion",
          "controlVersion"
        ]
      },
      "ControlImport": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "formatVersion": {
            "const": 1
          },
          "expectedVersions": {
            "$ref": "#/components/schemas/CatalogueVersions"
          },
          "changes": {
            "type": "array",
            "minItems": 1,
            "maxItems": 5000,
            "items": {
              "oneOf": [
                {
                  "type": "object",
                  "additionalProperties": false,
                  "properties": {
                    "targetType": {
                      "const": "yacht"
                    },
                    "targetId": {
                      "type": "string"
                    },
                    "patch": {
                      "type": "object",
                      "additionalProperties": false,
                      "properties": {
                        "displayName": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "maxLength": 512
                        },
                        "blocked": {
                          "type": "boolean"
                        },
                        "note": {
                          "type": "string",
                          "maxLength": 2000
                        },
                        "managingOperatorId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "primaryMappingId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "decisionReference": {
                          "type": "string"
                        }
                      },
                      "required": []
                    }
                  },
                  "required": [
                    "targetType",
                    "targetId",
                    "patch"
                  ]
                },
                {
                  "type": "object",
                  "additionalProperties": false,
                  "properties": {
                    "targetType": {
                      "const": "operator"
                    },
                    "targetId": {
                      "type": "string"
                    },
                    "patch": {
                      "type": "object",
                      "additionalProperties": false,
                      "properties": {
                        "displayName": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "maxLength": 512
                        },
                        "blocked": {
                          "type": "boolean"
                        },
                        "note": {
                          "type": "string",
                          "maxLength": 2000
                        },
                        "visible": {
                          "type": "boolean"
                        }
                      },
                      "required": []
                    }
                  },
                  "required": [
                    "targetType",
                    "targetId",
                    "patch"
                  ]
                },
                {
                  "type": "object",
                  "additionalProperties": false,
                  "properties": {
                    "targetType": {
                      "const": "base"
                    },
                    "targetId": {
                      "type": "string"
                    },
                    "patch": {
                      "type": "object",
                      "additionalProperties": false,
                      "properties": {
                        "displayName": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "maxLength": 512
                        },
                        "blocked": {
                          "type": "boolean"
                        },
                        "note": {
                          "type": "string",
                          "maxLength": 2000
                        }
                      },
                      "required": []
                    }
                  },
                  "required": [
                    "targetType",
                    "targetId",
                    "patch"
                  ]
                }
              ]
            }
          }
        },
        "required": [
          "formatVersion",
          "expectedVersions",
          "changes"
        ]
      },
      "CatalogueSummary": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "mode": {
            "enum": [
              "TEST",
              "LIVE"
            ]
          },
          "status": {
            "enum": [
              "complete",
              "incomplete",
              "unavailable"
            ]
          },
          "synthetic": {
            "type": "boolean"
          },
          "versions": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CatalogueVersions"
              },
              {
                "type": "null"
              }
            ]
          },
          "lastSuccessfulAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "stale": {
            "type": "boolean"
          },
          "lastRefresh": {
            "anyOf": [
              {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "status": {
                    "enum": [
                      "success",
                      "failed",
                      "incomplete",
                      "blocked"
                    ]
                  },
                  "completedAt": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "reasonCodes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "required": [
                  "status",
                  "completedAt",
                  "reasonCodes"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "supplierWritesEnabled": {
            "const": false
          },
          "scheduleEnabled": {
            "const": false
          },
          "yachts": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "id": {
                  "type": "string"
                },
                "name": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "model": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "operator": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "operatorId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "primaryMappingId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "provider": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "state": {
                  "type": "string"
                },
                "blocked": {
                  "type": "boolean"
                },
                "choices": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": false,
                    "properties": {
                      "mappingId": {
                        "type": "string"
                      },
                      "operatorId": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "operator": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "provider": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "mappingId",
                      "operatorId",
                      "operator",
                      "provider"
                    ]
                  }
                }
              },
              "required": [
                "id",
                "name",
                "model",
                "operator",
                "operatorId",
                "primaryMappingId",
                "provider",
                "state",
                "blocked",
                "choices"
              ]
            }
          },
          "reviewCount": {
            "type": "integer",
            "minimum": 0
          },
          "catalogueFreshness": {
            "$ref": "#/components/schemas/CatalogueFreshness"
          },
          "reasonCodes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "mode",
          "status",
          "synthetic",
          "versions",
          "lastSuccessfulAt",
          "stale",
          "lastRefresh",
          "supplierWritesEnabled",
          "scheduleEnabled",
          "yachts",
          "reviewCount",
          "catalogueFreshness",
          "reasonCodes"
        ]
      },
      "CataloguePreview": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "mode": {
            "enum": [
              "TEST",
              "LIVE"
            ]
          },
          "expiresAt": {
            "type": "string",
            "format": "date-time"
          },
          "previewToken": {
            "type": "string"
          },
          "changes": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "targetType": {
                  "enum": [
                    "yacht",
                    "operator",
                    "base"
                  ]
                },
                "targetId": {
                  "type": "string"
                },
                "fields": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              },
              "required": [
                "targetType",
                "targetId",
                "fields"
              ]
            }
          },
          "supplierWritesEnabled": {
            "const": false
          }
        },
        "required": [
          "mode",
          "expiresAt",
          "previewToken",
          "changes",
          "supplierWritesEnabled"
        ]
      },
      "CatalogueSummaryResponse": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "apiVersion": {
            "const": "v1"
          },
          "requestId": {
            "type": "string",
            "format": "uuid"
          },
          "mode": {
            "enum": [
              "TEST",
              "LIVE"
            ]
          },
          "data": {
            "$ref": "#/components/schemas/CatalogueSummary"
          }
        },
        "required": [
          "apiVersion",
          "requestId",
          "mode",
          "data"
        ]
      },
      "CataloguePreviewResponse": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "apiVersion": {
            "const": "v1"
          },
          "requestId": {
            "type": "string",
            "format": "uuid"
          },
          "mode": {
            "enum": [
              "TEST",
              "LIVE"
            ]
          },
          "data": {
            "$ref": "#/components/schemas/CataloguePreview"
          }
        },
        "required": [
          "apiVersion",
          "requestId",
          "mode",
          "data"
        ]
      },
      "PackageV2": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string"
          },
          "selectionId": {
            "type": "string",
            "format": "uuid"
          },
          "expiresAt": {
            "type": "string",
            "format": "date-time"
          },
          "recheckRequired": {
            "const": true
          },
          "mode": {
            "enum": [
              "TEST",
              "LIVE"
            ]
          },
          "availability": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "status": {
                "enum": [
                  "TEST_AVAILABLE",
                  "AVAILABLE"
                ]
              },
              "observedAt": {
                "type": "string",
                "format": "date-time"
              },
              "reservation": {
                "const": false
              }
            },
            "required": [
              "status",
              "observedAt",
              "reservation"
            ]
          },
          "routeSlug": {
            "type": "string"
          },
          "dates": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "dateFrom": {
                "type": "string",
                "format": "date"
              },
              "dateTo": {
                "type": "string",
                "format": "date"
              },
              "nights": {
                "enum": [
                  7,
                  14,
                  21
                ]
              }
            },
            "required": [
              "dateFrom",
              "dateTo",
              "nights"
            ]
          },
          "guests": {
            "type": "integer",
            "minimum": 2,
            "maximum": 12
          },
          "service": {
            "enum": [
              "any",
              "skippered",
              "crewed",
              "all_inclusive"
            ]
          },
          "yacht": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "name": {
                "type": "string"
              },
              "model": {
                "type": "string"
              },
              "type": {
                "type": "string"
              },
              "year": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "capacity": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "guests": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "totalPeopleOnBoard": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "skipperBerthsReserved": {
                    "const": 1
                  }
                },
                "required": [
                  "guests",
                  "totalPeopleOnBoard",
                  "skipperBerthsReserved"
                ]
              },
              "specs": {
                "$ref": "#/components/schemas/Specs"
              },
              "images": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "properties": {
                    "url": {
                      "type": "string",
                      "format": "uri-reference"
                    },
                    "description": {
                      "type": "string"
                    },
                    "kind": {
                      "enum": [
                        "unavailable",
                        "destination_fallback",
                        "yacht_photo"
                      ]
                    },
                    "rights": {
                      "const": "host_must_verify"
                    },
                    "status": {
                      "const": "unverified_source_reference"
                    }
                  },
                  "required": [
                    "url",
                    "description",
                    "kind",
                    "rights",
                    "status"
                  ]
                }
              }
            },
            "required": [
              "name",
              "model",
              "type",
              "year",
              "capacity",
              "specs",
              "images"
            ]
          },
          "bases": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "start": {
                "type": "string"
              },
              "end": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "source": {
                "const": "provider_live"
              },
              "endKnown": {
                "type": "boolean"
              }
            },
            "required": [
              "start",
              "end",
              "source",
              "endKnown"
            ]
          },
          "price": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "currency": {
                "const": "EUR"
              },
              "yachtCents": {
                "type": "integer",
                "minimum": 0
              },
              "providerMandatoryCents": {
                "type": "integer",
                "minimum": 0
              },
              "additionalSkipperCents": {
                "type": "integer",
                "minimum": 0
              },
              "totalCents": {
                "type": "integer",
                "minimum": 0
              },
              "completeness": {
                "const": "complete"
              },
              "authority": {
                "enum": [
                  "synthetic_test",
                  "host_commercial_policy"
                ]
              },
              "display": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "yachtPriceEUR": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "mandatoryExtrasEUR": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "mandatoryTotalEUR": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "guestDailyEUR": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "rounding": {
                    "const": "whole_EUR_not_billing"
                  }
                },
                "required": [
                  "yachtPriceEUR",
                  "mandatoryExtrasEUR",
                  "mandatoryTotalEUR",
                  "guestDailyEUR",
                  "rounding"
                ]
              },
              "skipper": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "status": {
                    "enum": [
                      "included",
                      "mandatory_extra"
                    ]
                  },
                  "feeEUR": {
                    "type": "number"
                  },
                  "rateEUR": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "unit": {
                    "enum": [
                      "per_day",
                      "per_night",
                      "per_week",
                      "per_booking",
                      null
                    ]
                  },
                  "quantity": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "includedInMandatoryTotal": {
                    "const": true
                  }
                },
                "required": [
                  "status",
                  "feeEUR",
                  "rateEUR",
                  "unit",
                  "quantity",
                  "includedInMandatoryTotal"
                ]
              },
              "components": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "rateEUR": {
                      "type": "number"
                    },
                    "currency": {
                      "type": "string"
                    },
                    "unit": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "obligatory": {
                      "type": "boolean"
                    },
                    "amountScope": {
                      "enum": [
                        "full_period",
                        "rate",
                        null
                      ]
                    }
                  },
                  "required": [
                    "name",
                    "rateEUR",
                    "currency",
                    "unit",
                    "obligatory",
                    "amountScope"
                  ]
                }
              },
              "componentsNote": {
                "type": "string"
              }
            },
            "required": [
              "currency",
              "yachtCents",
              "providerMandatoryCents",
              "additionalSkipperCents",
              "totalCents",
              "completeness",
              "authority",
              "display",
              "skipper",
              "components",
              "componentsNote"
            ]
          },
          "inclusions": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exclusions": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "provider": {
            "enum": [
              "mmk",
              "nausys"
            ]
          },
          "catalogue": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "yachtId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "operatorId": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "required": [
              "yachtId",
              "operatorId"
            ]
          }
        },
        "required": [
          "id",
          "selectionId",
          "expiresAt",
          "recheckRequired",
          "mode",
          "availability",
          "routeSlug",
          "dates",
          "guests",
          "service",
          "yacht",
          "bases",
          "price",
          "inclusions",
          "exclusions",
          "provider",
          "catalogue"
        ]
      },
      "ProviderCoverage": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "provider": {
            "enum": [
              "mmk",
              "nausys"
            ]
          },
          "coverage": {
            "$ref": "#/components/schemas/Coverage"
          }
        },
        "required": [
          "provider",
          "coverage"
        ]
      },
      "RoutesResponseV2": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "apiVersion": {
            "const": "v2"
          },
          "requestId": {
            "type": "string",
            "format": "uuid"
          },
          "mode": {
            "enum": [
              "TEST",
              "LIVE"
            ]
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Route"
            }
          },
          "language": {
            "enum": [
              "en",
              "de"
            ]
          },
          "contentSource": {
            "const": "cosmos_extracted_editorial"
          },
          "availabilityEvidence": {
            "const": false
          }
        },
        "required": [
          "apiVersion",
          "requestId",
          "mode",
          "data",
          "language",
          "contentSource",
          "availabilityEvidence"
        ]
      },
      "RouteResponseV2": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "apiVersion": {
            "const": "v2"
          },
          "requestId": {
            "type": "string",
            "format": "uuid"
          },
          "mode": {
            "enum": [
              "TEST",
              "LIVE"
            ]
          },
          "data": {
            "$ref": "#/components/schemas/Route"
          },
          "language": {
            "enum": [
              "en",
              "de"
            ]
          },
          "availabilityEvidence": {
            "const": false
          }
        },
        "required": [
          "apiVersion",
          "requestId",
          "mode",
          "data",
          "language",
          "availabilityEvidence"
        ]
      },
      "SearchResponseV2": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "apiVersion": {
            "const": "v2"
          },
          "requestId": {
            "type": "string",
            "format": "uuid"
          },
          "mode": {
            "enum": [
              "TEST",
              "LIVE"
            ]
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PackageV2"
            }
          },
          "request": {
            "$ref": "#/components/schemas/Search"
          },
          "coverage": {
            "$ref": "#/components/schemas/Coverage"
          },
          "notice": {
            "type": "string"
          },
          "providerCoverage": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProviderCoverage"
            }
          }
        },
        "required": [
          "apiVersion",
          "requestId",
          "mode",
          "data",
          "request",
          "coverage",
          "notice",
          "providerCoverage"
        ]
      },
      "DetailResponseV2": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "apiVersion": {
            "const": "v2"
          },
          "requestId": {
            "type": "string",
            "format": "uuid"
          },
          "mode": {
            "enum": [
              "TEST",
              "LIVE"
            ]
          },
          "data": {
            "$ref": "#/components/schemas/PackageV2"
          },
          "route": {
            "$ref": "#/components/schemas/Route"
          },
          "snapshotOnly": {
            "const": true
          }
        },
        "required": [
          "apiVersion",
          "requestId",
          "mode",
          "data",
          "route",
          "snapshotOnly"
        ]
      },
      "RecheckResponseV2": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "apiVersion": {
            "const": "v2"
          },
          "requestId": {
            "type": "string",
            "format": "uuid"
          },
          "mode": {
            "enum": [
              "TEST",
              "LIVE"
            ]
          },
          "data": {
            "$ref": "#/components/schemas/PackageV2"
          },
          "previousSelectionId": {
            "type": "string",
            "format": "uuid"
          },
          "rechecked": {
            "const": true
          },
          "reservation": {
            "const": false
          }
        },
        "required": [
          "apiVersion",
          "requestId",
          "mode",
          "data",
          "previousSelectionId",
          "rechecked",
          "reservation"
        ]
      },
      "ProvidersResponse": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "apiVersion": {
            "const": "v2"
          },
          "requestId": {
            "type": "string",
            "format": "uuid"
          },
          "mode": {
            "enum": [
              "TEST",
              "LIVE"
            ]
          },
          "data": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "provider": {
                  "enum": [
                    "mmk",
                    "nausys"
                  ]
                },
                "name": {
                  "type": "string"
                },
                "nativeStatus": {
                  "type": "string"
                },
                "reasonCode": {
                  "type": "string"
                },
                "testSupported": {
                  "type": "boolean"
                }
              },
              "required": [
                "provider",
                "name",
                "nativeStatus",
                "reasonCode",
                "testSupported"
              ]
            }
          }
        },
        "required": [
          "apiVersion",
          "requestId",
          "mode",
          "data"
        ]
      },
      "ReviewChange": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "entityType": {
            "enum": [
              "yacht",
              "operator",
              "base"
            ]
          },
          "sourceId": {
            "type": "string"
          },
          "targetId": {
            "type": "string"
          },
          "decisionReference": {
            "type": "string",
            "minLength": 1,
            "maxLength": 512
          }
        },
        "required": [
          "entityType",
          "sourceId",
          "targetId",
          "decisionReference"
        ]
      },
      "ReviewImport": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "formatVersion": {
            "const": 1
          },
          "expectedVersions": {
            "$ref": "#/components/schemas/CatalogueVersions"
          },
          "changes": {
            "type": "array",
            "minItems": 1,
            "maxItems": 5000,
            "items": {
              "$ref": "#/components/schemas/ReviewChange"
            }
          }
        },
        "required": [
          "formatVersion",
          "expectedVersions",
          "changes"
        ]
      },
      "ReviewSummary": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "mode": {
            "enum": [
              "TEST",
              "LIVE"
            ]
          },
          "synthetic": {
            "type": "boolean"
          },
          "versions": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CatalogueVersions"
              },
              {
                "type": "null"
              }
            ]
          },
          "status": {
            "enum": [
              "unavailable",
              "incomplete",
              "review_required",
              "complete"
            ]
          },
          "groups": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "id": {
                  "type": "string"
                },
                "entityType": {
                  "enum": [
                    "yacht",
                    "operator",
                    "base"
                  ]
                },
                "state": {
                  "enum": [
                    "verified_conflict",
                    "review_required"
                  ]
                },
                "reason": {
                  "type": "string"
                },
                "records": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": false,
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "name": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "provider": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "operator": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "country": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "required": [
                      "id",
                      "name",
                      "provider",
                      "operator",
                      "country"
                    ]
                  }
                },
                "canResolve": {
                  "type": "boolean"
                }
              },
              "required": [
                "id",
                "entityType",
                "state",
                "reason",
                "records",
                "canResolve"
              ]
            }
          },
          "supplierWritesEnabled": {
            "const": false
          },
          "catalogueFreshness": {
            "$ref": "#/components/schemas/CatalogueFreshness"
          },
          "reasonCodes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "mode",
          "synthetic",
          "versions",
          "status",
          "groups",
          "supplierWritesEnabled",
          "catalogueFreshness",
          "reasonCodes"
        ]
      },
      "ReviewPreview": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "mode": {
            "enum": [
              "TEST",
              "LIVE"
            ]
          },
          "expiresAt": {
            "type": "string",
            "format": "date-time"
          },
          "previewToken": {
            "type": "string"
          },
          "expectedVersions": {
            "$ref": "#/components/schemas/CatalogueVersions"
          },
          "nextVersions": {
            "$ref": "#/components/schemas/CatalogueVersions"
          },
          "affectedYachts": {
            "type": "integer",
            "minimum": 0
          },
          "canApply": {
            "const": true
          },
          "supplierWritesEnabled": {
            "const": false
          },
          "changes": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "entityType": {
                  "enum": [
                    "yacht",
                    "operator",
                    "base"
                  ]
                },
                "sourceId": {
                  "type": "string"
                },
                "targetId": {
                  "type": "string"
                },
                "decisionReference": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 512
                },
                "action": {
                  "enum": [
                    "resolve_duplicate",
                    "link_operator",
                    "link_base"
                  ]
                },
                "sourceName": {
                  "type": "string"
                },
                "targetName": {
                  "type": "string"
                }
              },
              "required": [
                "entityType",
                "sourceId",
                "targetId",
                "decisionReference",
                "action",
                "sourceName",
                "targetName"
              ]
            }
          }
        },
        "required": [
          "mode",
          "expiresAt",
          "previewToken",
          "expectedVersions",
          "nextVersions",
          "affectedYachts",
          "canApply",
          "supplierWritesEnabled",
          "changes"
        ]
      },
      "ReviewSummaryResponse": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "apiVersion": {
            "const": "v1"
          },
          "requestId": {
            "type": "string",
            "format": "uuid"
          },
          "mode": {
            "enum": [
              "TEST",
              "LIVE"
            ]
          },
          "data": {
            "$ref": "#/components/schemas/ReviewSummary"
          }
        },
        "required": [
          "apiVersion",
          "requestId",
          "mode",
          "data"
        ]
      },
      "ReviewPreviewResponse": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "apiVersion": {
            "const": "v1"
          },
          "requestId": {
            "type": "string",
            "format": "uuid"
          },
          "mode": {
            "enum": [
              "TEST",
              "LIVE"
            ]
          },
          "data": {
            "$ref": "#/components/schemas/ReviewPreview"
          }
        },
        "required": [
          "apiVersion",
          "requestId",
          "mode",
          "data"
        ]
      },
      "CatalogueFreshness": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "fetchedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "staleAgeMs": {
            "type": [
              "integer",
              "null"
            ],
            "minimum": 0
          },
          "stale": {
            "type": "boolean"
          },
          "freshnessPolicy": {
            "enum": [
              "observed_24h",
              "trusted_synthetic_reuse_v1"
            ]
          },
          "reusableSynthetic": {
            "type": "boolean"
          },
          "freshnessEligible": {
            "type": "boolean"
          }
        },
        "required": [
          "fetchedAt",
          "staleAgeMs",
          "stale",
          "freshnessPolicy",
          "reusableSynthetic",
          "freshnessEligible"
        ],
        "description": "Original saved catalogue observation and age, never retimestamped. stale may stay true while an immutable, proven synthetic TEST fixture is reusable. freshnessEligible is eligibility under the stated policy, not fresh live supplier evidence. Ordinary TEST supplier and all LIVE catalogues retain observed_24h."
      },
      "WeeklyPriceSeason": {
        "type": "object",
        "required": [
          "id",
          "operatorId",
          "inventoryId",
          "dateFrom",
          "dateTo",
          "price",
          "origin",
          "updatedAt"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "operatorId": {
            "type": "string"
          },
          "inventoryId": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "dateFrom": {
            "type": "string",
            "format": "date"
          },
          "dateTo": {
            "type": "string",
            "format": "date"
          },
          "price": {
            "type": "object",
            "description": "Manual EUR full-week PortalPrice with explicit packagePriceCents, commissionBaseCents and commissionRateBps triplet; unknown secondary evidence remains unknown."
          },
          "origin": {
            "enum": [
              "operator_entered",
              "synthetic_fixture"
            ]
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "description": "Private seasonal weekly-rate rule, not availability or an OTA offer. Inclusive date bounds in one year select departure Saturdays; each candidate returns seven nights later, even across a season/year boundary. No proration. No silent repricing of prepared exact snapshots. Owner/country/physical-yacht overlap and approved-home safeguards enforced."
      },
      "OperatorBase": {
        "type": "object",
        "required": [
          "id",
          "name",
          "label",
          "country",
          "city",
          "referenceUrl"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "country": {
            "type": "string"
          },
          "city": {
            "type": "string"
          },
          "referenceUrl": {
            "type": "string",
            "format": "uri"
          }
        },
        "description": "Country-scoped DEDALUS-curated marina/port identity. Select an ID, not arbitrary free text. Legacy unique curated aliases may resolve without rewriting stored records; unknown/ambiguous bases need review. Home base is not dated embarkation evidence."
      },
      "OperatorCommercialTerms": {
        "type": "object",
        "description": "Private to owning operator and DEDALUS, never included in DirectOffer. Exact package price, explicit commission base and offered rate; no VAT/earned commission/payment assumption.",
        "properties": {
          "packagePriceCents": {
            "type": [
              "integer",
              "null"
            ],
            "minimum": 0,
            "maximum": 100000000
          },
          "commissionBaseCents": {
            "type": [
              "integer",
              "null"
            ],
            "minimum": 0,
            "maximum": 100000000
          },
          "commissionRateBps": {
            "type": [
              "integer",
              "null"
            ],
            "minimum": 0,
            "maximum": 10000
          },
          "commissionCents": {
            "type": [
              "integer",
              "null"
            ],
            "minimum": 0
          },
          "operatorNetCents": {
            "type": [
              "integer",
              "null"
            ],
            "minimum": 0
          },
          "status": {
            "enum": [
              "missing",
              "complete",
              "invalid"
            ]
          }
        }
      },
      "OperatorCalendarFields": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "yachtId",
          "dateFrom",
          "dateTo",
          "status",
          "validUntil",
          "note"
        ],
        "properties": {
          "yachtId": {
            "type": "string"
          },
          "dateFrom": {
            "type": "string",
            "format": "date",
            "description": "Canonical inclusive UTC calendar start; ongoing periods may begin in the past."
          },
          "dateTo": {
            "type": "string",
            "format": "date",
            "description": "Canonical exclusive UTC end, after start and in the future, range at most730days. Blocks and exact-priced departures may be shorter or longer than seven nights."
          },
          "status": {
            "enum": [
              "on_request",
              "operator_available",
              "blocked"
            ]
          },
          "blockReason": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "operator_booked",
              "option",
              "owner_use",
              "service",
              "maintenance",
              "delivery",
              null
            ],
            "description": "Optional/default null. Allowed only with blocked. Every reason closes actual physical-yacht dates. Booked and option are manual operator records, never a DEDALUS reservation or external hold."
          },
          "validUntil": {
            "type": [
              "string",
              "null"
            ],
            "description": "Only operator_available may have expiry; future UTC maximum24hours. All other statuses require null."
          },
          "note": {
            "type": "string",
            "maxLength": 4000
          }
        }
      },
      "OperatorPortalAction": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "expectedRevision",
          "type"
        ],
        "properties": {
          "expectedRevision": {
            "type": "integer",
            "minimum": 0
          },
          "type": {
            "type": "string",
            "enum": [
              "create_operator",
              "create_yacht",
              "update_yacht",
              "create_holiday",
              "update_holiday",
              "create_calendar",
              "update_calendar",
              "submit_holiday",
              "approve_holiday",
              "publish_holiday",
              "reject_holiday",
              "update_operator"
            ]
          },
          "operatorId": {
            "type": "string",
            "description": "Reviewer target for record creation; never an owner grant."
          },
          "id": {
            "type": "string"
          },
          "fields": {
            "type": "object",
            "additionalProperties": true,
            "description": "Exact fields are action-specific and strictly validated server-side; client identity, status, origin, role and derived totals are rejected. update_operator requires OperatorCompanyUpdate; company country/id/origin/rights and account grants remain server-owned.",
            "properties": {
              "price": {
                "$ref": "#/components/schemas/OperatorInclusivePriceInput"
              }
            }
          }
        }
      },
      "OperatorPortalState": {
        "type": "object",
        "required": [
          "revision",
          "principal",
          "operators",
          "yachts",
          "holidays",
          "calendar",
          "routes",
          "mode",
          "distributionEnabled",
          "reservationsEnabled",
          "currency"
        ],
        "properties": {
          "revision": {
            "type": "integer",
            "minimum": 0
          },
          "principal": {
            "type": "object",
            "required": [
              "tenantId",
              "role",
              "operatorId"
            ],
            "properties": {
              "tenantId": {
                "type": "string"
              },
              "role": {
                "enum": [
                  "operator",
                  "reviewer"
                ]
              },
              "operatorId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "countries": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "globalSellingPrices": {
                "const": true,
                "description": "Server-only capability for the configured primary pricing Admin. Existing country/operator rights stay unchanged; never accepted from request fields."
              }
            }
          },
          "operators": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "profile": {
                  "$ref": "#/components/schemas/OperatorCompanyProfile"
                }
              },
              "description": "Scoped operator record. Company profile is private; public OTA responses whitelist id/name only."
            }
          },
          "yachts": {
            "type": "array",
            "items": {
              "type": "object",
              "description": "Scoped yacht facts and optional baseResolution/resolvedHomeBaseId read-only metadata. The resolved ID is returned only for an approved unique catalogue identity, not written back into legacy records. New or commercially marked periods require approved yacht home base before review.",
              "properties": {
                "photos": {
                  "type": "array",
                  "readOnly": true,
                  "maxItems": 276,
                  "items": {
                    "$ref": "#/components/schemas/OperatorYachtPhoto"
                  }
                },
                "coverPhotoId": {
                  "type": "string",
                  "readOnly": true
                },
                "privateImportedPhotoCount": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 256,
                  "readOnly": true,
                  "description": "Count only. Full private imported photo metadata is available through the authorized selected-yacht gallery endpoint, never through ordinary core writes."
                },
                "priceDefaults": {
                  "$ref": "#/components/schemas/YachtPriceDefaults"
                },
                "pricing": {
                  "$ref": "#/components/schemas/SimpleYachtPricing"
                },
                "toilets": {
                  "type": [
                    "integer",
                    "null"
                  ],
                  "minimum": 0,
                  "maximum": 24,
                  "description": "Actual toilet count. Legacy/source absence remains unknown; never inferred from cabins/showers."
                },
                "sourceImport": {
                  "$ref": "#/components/schemas/SupplierImportReference"
                },
                "importedPhotosPublic": {
                  "type": "boolean",
                  "readOnly": true
                },
                "publicGalleryUrl": {
                  "type": "string",
                  "format": "uri",
                  "readOnly": true
                }
              }
            }
          },
          "holidays": {
            "type": "array",
            "items": {
              "type": "object",
              "description": "Includes exact full-period totalCents/guestCapacity or null, validationIssues, source origin, workflow status, confirmation-needed availability and bookable=false."
            }
          },
          "calendar": {
            "type": "array",
            "items": {
              "type": "object",
              "description": "Owner-scoped non-overlapping period, operator_available/on_request/blocked with Booked/Option/Owner use/Service/Maintenance/Delivery reason, declaration validity/as-of and separate origin."
            }
          },
          "routes": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "mode": {
            "const": "TEST"
          },
          "distributionEnabled": {
            "const": false
          },
          "reservationsEnabled": {
            "const": false
          },
          "currency": {
            "const": "EUR"
          },
          "bases": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OperatorBase"
            }
          },
          "accountUser": {
            "$ref": "#/components/schemas/AccountUser",
            "description": "Only for a current named cookie session; omitted for private bearer access."
          }
        }
      },
      "OperatorAccessRequest": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "operatorId"
        ],
        "properties": {
          "operatorId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 100
          }
        }
      },
      "OperatorAccessResult": {
        "type": "object",
        "required": [
          "operatorId",
          "accessCode",
          "mode",
          "shownOnce",
          "reservation",
          "distributionEnabled"
        ],
        "properties": {
          "operatorId": {
            "type": "string"
          },
          "accessCode": {
            "type": "string",
            "description": "Fresh private once-shown TEST operator bearer. Never log/store in browser or forward to partners."
          },
          "mode": {
            "const": "TEST"
          },
          "shownOnce": {
            "const": true
          },
          "reservation": {
            "const": false
          },
          "distributionEnabled": {
            "const": false
          }
        }
      },
      "WeeklyPriceSeasonView": {
        "oneOf": [
          {
            "allOf": [
              {
                "$ref": "#/components/schemas/WeeklyPriceSeason"
              },
              {
                "type": "object",
                "required": [
                  "validationIssues"
                ],
                "properties": {
                  "validationIssues": {
                    "type": "array",
                    "maxItems": 0,
                    "items": {
                      "type": "string"
                    }
                  }
                }
              }
            ]
          },
          {
            "type": "object",
            "required": [
              "validationIssues"
            ],
            "properties": {
              "validationIssues": {
                "type": "array",
                "minItems": 1,
                "items": {
                  "type": "string"
                }
              }
            },
            "description": "Malformed stored owner-scoped rate retained for repair with read-only issues; never interpreted as a known applicable rate or used to prepare drafts. Reads do not rewrite its source data."
          }
        ]
      },
      "OperatorYachtPhoto": {
        "type": "object",
        "required": [
          "id",
          "width",
          "height",
          "bytes",
          "thumbnailWidth",
          "thumbnailHeight",
          "thumbnailBytes",
          "createdAt",
          "mediaRightsAttested"
        ],
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "width": {
            "type": "integer",
            "minimum": 1
          },
          "height": {
            "type": "integer",
            "minimum": 1
          },
          "bytes": {
            "type": "integer",
            "minimum": 1
          },
          "thumbnailWidth": {
            "type": "integer",
            "minimum": 1
          },
          "thumbnailHeight": {
            "type": "integer",
            "minimum": 1
          },
          "thumbnailBytes": {
            "type": "integer",
            "minimum": 1
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "mediaRightsAttested": {
            "type": "boolean",
            "description": "Retained legacy media-use instruction flag; not independent copyright verification. False/unknown imported records remain unchanged."
          },
          "galleryOnly": {
            "type": "boolean",
            "readOnly": true,
            "description": "Immutable imported gallery picture. Never removable through operator controls. Only currently authorized PUBLIC imported entries can be explicitly selected as main by the owning operator."
          },
          "readOnly": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "description": "Owned immutable normalized WebP photo/thumbnail metadata; no client filename, filesystem path, original EXIF, raw bytes or credential. Uploading is not public distribution approval."
      },
      "OperatorYachtPhotoList": {
        "type": "object",
        "required": [
          "revision",
          "yachtId",
          "photos",
          "coverPhotoId",
          "operatorId",
          "privateImportedPhotoCount"
        ],
        "properties": {
          "revision": {
            "type": "integer",
            "minimum": 0
          },
          "yachtId": {
            "type": "string"
          },
          "photos": {
            "type": "array",
            "maxItems": 276,
            "items": {
              "$ref": "#/components/schemas/OperatorYachtPhoto"
            }
          },
          "coverPhotoId": {
            "type": [
              "string",
              "null"
            ]
          },
          "operatorId": {
            "type": "string"
          },
          "privateImportedPhotoCount": {
            "type": "integer",
            "minimum": 0,
            "maximum": 256
          }
        },
        "description": "Authorized selected-yacht gallery combining at most256 private imported pictures and20 operator-uploaded pictures, deduplicated against preserved core records. Metadata is loaded on demand; source URLs, hashes, storage pointers and provenance are not returned."
      },
      "HolidayDestinationPhoto": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "url",
          "thumbnailUrl",
          "alt",
          "kind"
        ],
        "properties": {
          "url": {
            "type": "string",
            "pattern": "^/media/editorial/[a-f0-9-]{36}\\.webp$",
            "description": "API-origin-relative owned image reference; resolve against this API origin, never the OTA origin."
          },
          "thumbnailUrl": {
            "type": "string",
            "pattern": "^/media/editorial/[a-f0-9-]{36}\\.webp\\?size=thumbnail$"
          },
          "alt": {
            "type": "string"
          },
          "kind": {
            "const": "destination"
          },
          "credit": {
            "type": "object",
            "description": "Optional photo credit. Show `text` near the photo when present.",
            "required": [
              "source",
              "sourceLabel",
              "photographer",
              "sourceUrl",
              "text"
            ],
            "properties": {
              "source": {
                "type": "string",
                "enum": [
                  "own",
                  "unsplash",
                  "visit_greece",
                  "licensed",
                  "other"
                ]
              },
              "sourceLabel": {
                "type": "string"
              },
              "photographer": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "sourceUrl": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "uri"
              },
              "text": {
                "type": "string",
                "example": "Photo: Jane Doe / Unsplash"
              }
            }
          }
        }
      },
      "HolidayLifestylePhoto": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "url",
          "thumbnailUrl",
          "alt",
          "caption",
          "kind",
          "illustrative"
        ],
        "properties": {
          "url": {
            "type": "string",
            "pattern": "^/media/editorial/[a-f0-9-]{36}\\.webp$",
            "description": "API-origin-relative owned image reference; resolve against this API origin, never the OTA origin."
          },
          "thumbnailUrl": {
            "type": "string",
            "pattern": "^/media/editorial/[a-f0-9-]{36}\\.webp\\?size=thumbnail$"
          },
          "alt": {
            "type": "string"
          },
          "caption": {
            "type": "string",
            "maxLength": 200
          },
          "kind": {
            "const": "lifestyle"
          },
          "illustrative": {
            "const": true
          },
          "credit": {
            "type": "object",
            "description": "Optional photo credit. Show `text` near the photo when present.",
            "required": [
              "source",
              "sourceLabel",
              "photographer",
              "sourceUrl",
              "text"
            ],
            "properties": {
              "source": {
                "type": "string",
                "enum": [
                  "own",
                  "unsplash",
                  "visit_greece",
                  "licensed",
                  "other"
                ]
              },
              "sourceLabel": {
                "type": "string"
              },
              "photographer": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "sourceUrl": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "uri"
              },
              "text": {
                "type": "string",
                "example": "Photo: Jane Doe / Unsplash"
              }
            }
          }
        },
        "description": "Explicitly illustrative experience imagery, not the offered yacht, its crew/equipment, included services or child-safety evidence. Caption is English. Owned registered API-relative assets only."
      },
      "HolidayEditorialPhoto": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/HolidayDestinationPhoto"
          },
          {
            "$ref": "#/components/schemas/HolidayLifestylePhoto"
          }
        ]
      },
      "HolidaySuggestedStop": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "day",
          "place",
          "description",
          "activities",
          "funFacts",
          "suggested",
          "includedInPrice",
          "photos"
        ],
        "properties": {
          "day": {
            "type": "integer",
            "minimum": 1,
            "maximum": 14
          },
          "place": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "activities": {
            "type": "array",
            "maxItems": 3,
            "items": {
              "type": "string"
            }
          },
          "funFacts": {
            "type": "array",
            "maxItems": 2,
            "items": {
              "type": "string"
            }
          },
          "suggested": {
            "const": true
          },
          "includedInPrice": {
            "const": false
          },
          "coordinates": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "latitude",
              "longitude"
            ],
            "properties": {
              "latitude": {
                "type": "number",
                "minimum": -90,
                "maximum": 90
              },
              "longitude": {
                "type": "number",
                "minimum": -180,
                "maximum": 180
              }
            }
          },
          "photos": {
            "type": "array",
            "maxItems": 20,
            "items": {
              "$ref": "#/components/schemas/HolidayDestinationPhoto"
            }
          }
        }
      },
      "HolidayIllustrativeMap": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "label",
          "navigationVerified",
          "points"
        ],
        "properties": {
          "label": {
            "const": "Illustrative route — not for navigation"
          },
          "navigationVerified": {
            "const": false
          },
          "points": {
            "type": "array",
            "maxItems": 28,
            "items": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "day",
                "label",
                "latitude",
                "longitude"
              ],
              "properties": {
                "day": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 14
                },
                "label": {
                  "type": "string"
                },
                "latitude": {
                  "type": "number",
                  "minimum": -90,
                  "maximum": 90
                },
                "longitude": {
                  "type": "number",
                  "minimum": -180,
                  "maximum": 180
                }
              }
            }
          },
          "status": {
            "enum": [
              "ready",
              "incomplete",
              "empty"
            ]
          },
          "missingCount": {
            "type": "integer",
            "minimum": 0,
            "maximum": 28
          },
          "styleVersion": {
            "enum": [
              "dedalus-itinerary-map-v1",
              "dedalus-itinerary-map-v2"
            ]
          },
          "subtitle": {
            "type": "string"
          },
          "stops": {
            "type": "array",
            "maxItems": 28,
            "items": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "day",
                "label",
                "latitude",
                "longitude"
              ],
              "properties": {
                "day": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 14
                },
                "label": {
                  "type": "string"
                },
                "latitude": {
                  "type": [
                    "number",
                    "null"
                  ],
                  "minimum": -90,
                  "maximum": 90
                },
                "longitude": {
                  "type": [
                    "number",
                    "null"
                  ],
                  "minimum": -180,
                  "maximum": 180
                }
              }
            }
          },
          "staticImage": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "pngUrl",
              "svgUrl",
              "requiresPartnerAuth",
              "width",
              "height"
            ],
            "properties": {
              "pngUrl": {
                "type": "string",
                "pattern": "^/api/v3/offers/[a-f0-9-]{36}/itinerary-map\\.png$"
              },
              "svgUrl": {
                "type": "string",
                "pattern": "^/api/v3/offers/[a-f0-9-]{36}/itinerary-map\\.svg$"
              },
              "requiresPartnerAuth": {
                "const": true
              },
              "width": {
                "const": 1600
              },
              "height": {
                "const": 900
              }
            }
          }
        },
        "description": "Real stored source/editorial coordinates only. Missing/ambiguous locations remain null, and unknown gaps are not bridged. Natural Earth outlines and dashed suggested stop-order connectors are an indicative overview, not navigable sailing tracks. Static export references are relative to the API and require the same partner authorization server-side; never put access keys in URLs or customer browsers."
      },
      "DirectHolidayProfile": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "language",
          "suggested",
          "navigationVerified",
          "title",
          "introduction",
          "itineraryText",
          "highlights",
          "goodFor",
          "interests",
          "pace",
          "sailingNotes",
          "seasonalNotes",
          "stops",
          "photos",
          "map"
        ],
        "properties": {
          "language": {
            "const": "en"
          },
          "suggested": {
            "const": true
          },
          "navigationVerified": {
            "const": false
          },
          "title": {
            "type": "string"
          },
          "introduction": {
            "type": "string"
          },
          "itineraryText": {
            "type": "string"
          },
          "highlights": {
            "type": "array",
            "maxItems": 6,
            "items": {
              "type": "string"
            }
          },
          "goodFor": {
            "type": "array",
            "uniqueItems": true,
            "maxItems": 3,
            "items": {
              "enum": [
                "families",
                "couples",
                "friends"
              ]
            }
          },
          "interests": {
            "type": "array",
            "uniqueItems": true,
            "maxItems": 5,
            "items": {
              "enum": [
                "relaxation",
                "adventure",
                "culture",
                "food",
                "swimming_snorkelling"
              ]
            }
          },
          "pace": {
            "enum": [
              "relaxed",
              "balanced",
              "active",
              null
            ]
          },
          "sailingNotes": {
            "type": "string"
          },
          "seasonalNotes": {
            "type": "string"
          },
          "stops": {
            "type": "array",
            "maxItems": 28,
            "items": {
              "$ref": "#/components/schemas/HolidaySuggestedStop"
            }
          },
          "photos": {
            "type": "array",
            "maxItems": 560,
            "items": {
              "$ref": "#/components/schemas/HolidayEditorialPhoto"
            },
            "description": "An explicit itinerary selection is an ordered curated gallery of at most twelve images; unselected legacy profiles retain destination galleries."
          },
          "coverPhoto": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/HolidayEditorialPhoto"
              },
              {
                "type": "null"
              }
            ],
            "description": "Explicit cover from the curated gallery, or null. Optional until an itinerary gallery is saved; no automatic substitution for unavailable covers. OTA controls layout."
          },
          "map": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/HolidayIllustrativeMap"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "description": "Optional suggested DEDALUS English holiday presentation, matched by explicit current exact controlled departure/end harbour pair and 7/14 duration. Tags are editorial suitability, not child-safety guarantees. Activities are suggestions, not bought or included extras; includedItems and the one price remain authoritative. Coordinates are explicit only and map is not navigation. No AI translation/generation, remote image fetching or implicit regional mapping. Omitted when unassigned/invalid; missing details stay empty/null. Existing language/content fields remain unchanged. Relevant content/mapping/media changes invalidate old selections."
      },
      "DirectOfferSearch": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "dateFrom",
          "dateTo",
          "guests"
        ],
        "properties": {
          "country": {
            "enum": [
              "GR",
              "HR",
              "TR",
              "IT",
              "ES"
            ]
          },
          "routeSlug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          },
          "dateFrom": {
            "type": "string",
            "format": "date"
          },
          "dateTo": {
            "type": "string",
            "format": "date"
          },
          "guests": {
            "type": "integer",
            "minimum": 1,
            "maximum": 12
          },
          "language": {
            "enum": [
              "en",
              "de"
            ],
            "default": "en"
          },
          "service": {
            "enum": [
              "any",
              "skippered",
              "crewed",
              "all_inclusive"
            ],
            "default": "any"
          },
          "vessel": {
            "enum": [
              "any",
              "sailing_yacht",
              "catamaran",
              "power_catamaran",
              "motor_yacht"
            ],
            "default": "any"
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 60,
            "default": 60
          },
          "inventoryType": {
            "const": "whole_yacht"
          }
        }
      },
      "DirectFullPeriodFee": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "name",
          "amountCents",
          "amountScope"
        ],
        "properties": {
          "name": {
            "type": "string"
          },
          "amountCents": {
            "type": "integer",
            "minimum": 0
          },
          "amountScope": {
            "const": "full_period"
          }
        }
      },
      "DirectOffer": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "selectionId",
          "source",
          "mode",
          "dataOrigin",
          "operator",
          "product",
          "departureId",
          "inventoryId",
          "unitType",
          "quantity",
          "yacht",
          "country",
          "routeSlug",
          "service",
          "language",
          "guests",
          "dates",
          "bases",
          "content",
          "price",
          "includedItems",
          "optionalExtras",
          "conditions",
          "availability",
          "bookingMode",
          "instantBookable",
          "reservation",
          "payment",
          "legalDistributionApproved",
          "observedAt",
          "capturedAt",
          "expiresAt"
        ],
        "properties": {
          "selectionId": {
            "type": "string",
            "format": "uuid"
          },
          "source": {
            "const": "direct_operator"
          },
          "mode": {
            "const": "TEST"
          },
          "dataOrigin": {
            "enum": [
              "synthetic_fixture",
              "operator_entered",
              "mixed_test"
            ]
          },
          "operator": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "id",
              "name"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              }
            }
          },
          "product": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "id",
              "title"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "title": {
                "type": "string"
              }
            }
          },
          "departureId": {
            "type": "string"
          },
          "inventoryId": {
            "type": "string"
          },
          "unitType": {
            "const": "whole_yacht"
          },
          "quantity": {
            "const": 1
          },
          "yacht": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "id",
              "name",
              "model",
              "year",
              "vessel",
              "guestCapacity"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "model": {
                "type": "string"
              },
              "year": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "vessel": {
                "enum": [
                  "sailing_yacht",
                  "catamaran",
                  "power_catamaran",
                  "motor_yacht"
                ]
              },
              "guestCapacity": {
                "type": "integer",
                "minimum": 1,
                "maximum": 12
              }
            }
          },
          "country": {
            "enum": [
              "GR",
              "HR",
              "TR",
              "IT",
              "ES"
            ]
          },
          "routeSlug": {
            "type": "string"
          },
          "service": {
            "enum": [
              "skippered",
              "crewed",
              "all_inclusive"
            ]
          },
          "language": {
            "enum": [
              "en",
              "de"
            ]
          },
          "guests": {
            "type": "integer",
            "minimum": 1,
            "maximum": 12
          },
          "dates": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "from",
              "to",
              "nights"
            ],
            "properties": {
              "from": {
                "type": "string",
                "format": "date"
              },
              "to": {
                "type": "string",
                "format": "date"
              },
              "nights": {
                "type": "integer",
                "minimum": 1,
                "maximum": 730
              }
            }
          },
          "bases": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "start",
              "end"
            ],
            "properties": {
              "start": {
                "type": "string"
              },
              "end": {
                "type": "string"
              }
            }
          },
          "content": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "inclusions",
              "exclusions",
              "itinerary",
              "cancellationTerms"
            ],
            "properties": {
              "inclusions": {
                "type": "string"
              },
              "exclusions": {
                "type": "string"
              },
              "itinerary": {
                "type": "string"
              },
              "cancellationTerms": {
                "type": "string"
              }
            }
          },
          "price": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "currency",
              "amountScope",
              "totalCents"
            ],
            "properties": {
              "currency": {
                "const": "EUR"
              },
              "amountScope": {
                "const": "full_period"
              },
              "totalCents": {
                "type": "integer",
                "minimum": 0
              }
            },
            "description": "The sole selling price for this whole yacht and exact stay: (yacht price + all separately priced operator extras ×1.20) ×(1+configurable DEDALUS percent markup). The20%uplift is on extras only; existing fixed-EUR markup is added once after the extras uplift. All mandatory/optional services and separately charged skipper are bundled exactly once using the actual stay/guests. Included items/deposit are not added again. No public cost breakdown."
          },
          "includedItems": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Current exact whole-yacht selling total covers the yacht rate, included skipper/crew and included services plus all separately priced mandatory/optional charges automatically bundled. Operator service classifications remain authoritative; included/not-applicable services are not charged again. Separately priced extras alone receive20%uplift, then configurable DEDALUS markup on the subtotal. No price components or commission fields public. Legacy evidence is not automatically converted."
          },
          "optionalExtras": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "id",
                "name",
                "selected",
                "includedInPackage"
              ],
              "properties": {
                "id": {
                  "type": "string",
                  "pattern": "^extra-[a-f0-9]{24}$"
                },
                "name": {
                  "type": "string"
                },
                "selected": {
                  "type": "boolean"
                },
                "includedInPackage": {
                  "type": "boolean"
                }
              }
            },
            "description": "Opaque IDs and labels of operator-classified optional services, no component prices. All separately priced services are automatically includedInPackage and selected; compatibility extras requests cannot remove the package bundle or charge it twice. Unknown IDs remain invalid."
          },
          "conditions": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "refundableDepositCents"
            ],
            "properties": {
              "refundableDepositCents": {
                "type": "integer",
                "minimum": 0
              }
            },
            "description": "Refundable security deposit is a separate condition, not added to the selling total."
          },
          "availability": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "status",
              "confirmationRequired",
              "evidenceStatus",
              "asOf",
              "validUntil"
            ],
            "properties": {
              "status": {
                "enum": [
                  "on_request",
                  "operator_declared",
                  "confirmation_needed"
                ]
              },
              "confirmationRequired": {
                "const": true
              },
              "evidenceStatus": {
                "enum": [
                  "on_request",
                  "operator_declared",
                  "expired"
                ]
              },
              "asOf": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "validUntil": {
                "type": [
                  "string",
                  "null"
                ]
              }
            }
          },
          "bookingMode": {
            "const": "ON_REQUEST"
          },
          "instantBookable": {
            "const": false
          },
          "reservation": {
            "const": false
          },
          "payment": {
            "const": "NOT_REQUESTED"
          },
          "legalDistributionApproved": {
            "const": false
          },
          "observedAt": {
            "type": [
              "string",
              "null"
            ]
          },
          "capturedAt": {
            "type": "string",
            "format": "date-time"
          },
          "expiresAt": {
            "type": "string",
            "format": "date-time"
          },
          "photoUrl": {
            "type": "string",
            "format": "uri"
          },
          "holidayProfile": {
            "$ref": "#/components/schemas/DirectHolidayProfile"
          }
        }
      },
      "DirectCoverage": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "source",
          "mode",
          "status",
          "sourceObservedAt",
          "reasonCodes",
          "qualifiedCount",
          "excludedCount",
          "truncated"
        ],
        "properties": {
          "source": {
            "const": "direct_operator"
          },
          "mode": {
            "const": "TEST"
          },
          "status": {
            "enum": [
              "success",
              "incomplete",
              "failed",
              "blocked"
            ]
          },
          "sourceObservedAt": {
            "type": [
              "string",
              "null"
            ]
          },
          "reasonCodes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "qualifiedCount": {
            "type": "integer",
            "minimum": 0
          },
          "excludedCount": {
            "type": "integer",
            "minimum": 0
          },
          "truncated": {
            "type": "boolean"
          }
        }
      },
      "DirectError": {
        "type": "object",
        "required": [
          "apiVersion",
          "requestId",
          "error"
        ],
        "properties": {
          "apiVersion": {
            "const": "v3"
          },
          "requestId": {
            "type": "string"
          },
          "error": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "code",
              "message"
            ],
            "properties": {
              "code": {
                "type": "string",
                "description": "Consumer action codes include INVALID_DIRECT_SEARCH, INVALID_DIRECT_DATES, INVALID_DIRECT_ROUTE, SCOPE_NOT_GRANTED, INSUFFICIENT_SCOPE, UNAUTHORIZED, DIRECT_OPERATOR_NOT_GRANTED, COUNTRY_NOT_GRANTED, DIRECT_SHARING_NOT_APPROVED, OFFER_NOT_FOUND, OFFER_EXPIRED, OFFER_CHANGED, OFFER_UNAVAILABLE, DIRECT_SOURCE_UNAVAILABLE, DIRECT_OFFERS_NOT_CONFIGURED. INVALID_OPTIONAL_EXTRAS and DIRECT_SELLING_PRICE_INCOMPLETE distinguish invalid selection and incomplete pricing."
              },
              "message": {
                "type": "string"
              }
            }
          }
        }
      },
      "WholeYachtModelAction": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "expectedRevision",
          "type"
        ],
        "properties": {
          "expectedRevision": {
            "type": "integer",
            "minimum": 0
          },
          "type": {
            "enum": [
              "create_product",
              "update_product",
              "create_departure",
              "update_departure",
              "create_yacht_period",
              "update_yacht_period",
              "submit_dedalus_departure",
              "submit_departure",
              "approve_departure",
              "publish_departure",
              "reject_departure",
              "review_inventory_identity",
              "review_test_sharing",
              "create_price_season",
              "update_price_season",
              "prepare_price_season",
              "create_selling_rule",
              "update_selling_rule",
              "set_departure_selling_price",
              "set_yacht_price_defaults",
              "set_yacht_pricing",
              "save_weekly_rate",
              "apply_yacht_pricing"
            ]
          },
          "id": {
            "type": "string"
          },
          "operatorId": {
            "type": "string"
          },
          "fields": {
            "type": "object",
            "description": "Action-specific fields strictly validated by canonical model. DEDALUS reviewer alone creates/edits product English source content/service/route/default durationNights (integer1–730, default7) and optional translations; operators cannot use legacy holiday writes to alter content. Operators create/update yacht periods with inventoryId, exact dates, approved startBaseId/endBaseId and price, without product selection. Unassigned periods retain no product and cannot qualify an offer until DEDALUS links content. New period price includes packagePriceCents, commissionBaseCents and commissionRateBps (integer0–10000): nullable in draft, required known for review, private to operator/DEDALUS. Package total reconciles with explicit full-period mandatory/skipper amounts; no proration or VAT inference. Existing wholly absent commission fields remain legacy, not assumed zero. Reviewer submit_dedalus_departure validates a complete assigned departure before normal review/publication. Optional confirmGermanTranslation=true explicitly confirms all complete German text was reviewed against current English; partial edits do not refresh stale translations. Owner/status/origin/derived totals and cabin/berth/quantity authority cannot be supplied. Seasonal create/update fields are inventoryId/dateFrom/dateTo/optional label/price. Inclusive same-year bounds select departure Saturdays only; exact candidate returns seven nights later. Weekly rates/commission are manual, never prorated. Reviewer-only prepare_price_season with id and empty fields explicitly creates unassigned future Draft weekly departures, skips existing/blocked physical-yacht periods, and never establishes availability, content, review/publication or bookings. Season editing does not silently reprice prepared exact departures. Seasonal rules are never exposed to public v3 clients. Reviewer-only selling-price actions keep operator supply unchanged: create/update_selling_rule fields label, operatorId, country, enabled, markup; exactly operator/country/global scope. Markup is percent rateBps (0..10000) or fixed amountCents. set_departure_selling_price uses id=departureId and includedOptionalFeeIds plus nullable markupOverride. Global changes require unrestricted reviewer; all scope/closure/revision checks remain. No publication or commission subtraction. Owner-only set_yacht_price_defaults uses id=yachtId, fields={settings,commissionRateBps}, strict per_week settings and current active company/country/CAS checks. New inclusive price settings privately derive commission base, reject inconsistent supplied bases and retain unknown drafts. Weekly seasons use per_week, exact prices full_period; seven-night preparation converts equivalently. Longer prices must be explicit whole-stay totals, not copied weekly totals. Once-per-stay commission allowance is adjusted only with known component facts; no automatic holidays or proration. Current single Prices workflow uses set_yacht_pricing(id=yachtId,fields={pricing}), save_weekly_rate(id optional rateId,fields={yachtId,dateFrom,dateTo,weeklyCents}) and apply_yacht_pricing(id=sourceYachtId,fields={targetYachtIds,copyServices,copyWeeklyRates,copySkipper}). Strict action shapes above; owner-only normal supply, revision/CAS and active country closure at commit. No actual reservations or publication grants.",
            "properties": {
              "price": {
                "$ref": "#/components/schemas/OperatorInclusivePriceInput"
              }
            }
          }
        }
      },
      "WholeYachtModelView": {
        "type": "object",
        "required": [
          "modelVersion",
          "revision",
          "products",
          "departures",
          "inventoryUnits",
          "testSharing",
          "departureViews",
          "mode",
          "reservationsEnabled"
        ],
        "properties": {
          "modelVersion": {
            "const": 2
          },
          "revision": {
            "type": "integer",
            "minimum": 0
          },
          "products": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "departures": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "inventoryUnits": {
            "type": "array",
            "items": {
              "type": "object",
              "description": "Whole-yacht quantity1; operator projections redact physical proof."
            }
          },
          "testSharing": {
            "type": "array",
            "items": {
              "type": "object",
              "description": "Separate TEST approval, no real legal rights; private reviewer fields redacted to operators."
            }
          },
          "departureViews": {
            "type": "array",
            "items": {
              "type": "object",
              "description": "Includes private commercialTerms and waiting-for-DEDALUS-content issues for unassigned yacht periods. Public DirectOffer never exposes commission terms."
            }
          },
          "mode": {
            "const": "TEST"
          },
          "reservationsEnabled": {
            "const": false
          },
          "bases": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OperatorBase"
            },
            "description": "DEDALUS-approved base choices under current country grants."
          },
          "weeklyPriceSeasons": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/WeeklyPriceSeasonView"
            },
            "description": "Current owner/country-scoped manual weekly rate seasons with read-only validationIssues. Invalid stored rows remain review-needed, not known rates; views never rewrite source. Private and not published offers. Empty on unchanged older workspaces."
          },
          "sellingPrices": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "rules",
              "departures"
            ],
            "properties": {
              "rules": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/DedalusSellingRule"
                }
              },
              "departures": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/DepartureSellingPrice"
                }
              }
            },
            "description": "DEDALUS reviewer-only, current scope; omitted for ordinary operators and partner offers."
          },
          "sellingPriceViews": {
            "type": "array",
            "items": {
              "type": "object"
            },
            "description": "Reviewer-only internal yachtSubtotalCents, extrasTotalCents, extrasUpliftCents (20% of extras only), packageSubtotalCents (yacht + extras + uplift), original costTotalCents, configurable markup and one OTA selling total. All separately priced extras bundle automatically; unknowns nullable. Never public components. Integer-cent half-up rounding at uplift and markup stages; no operator-price/commission mutation."
          },
          "principal": {
            "type": "object",
            "required": [
              "tenantId",
              "role",
              "operatorId"
            ],
            "properties": {
              "tenantId": {
                "type": "string"
              },
              "role": {
                "enum": [
                  "operator",
                  "reviewer"
                ]
              },
              "operatorId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "countries": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "globalSellingPrices": {
                "const": true,
                "description": "Server-only capability for the configured primary pricing Admin. Existing country/operator rights stay unchanged; never accepted from request fields."
              }
            }
          },
          "yachtWeeklyRates": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SimpleWeeklyRate"
            }
          },
          "sellingPreviewGuests": {
            "type": [
              "integer",
              "null"
            ],
            "minimum": 1,
            "maximum": 24,
            "description": "Reviewer-only ephemeral explicit guest query echoed for internal selling-price calculation and acknowledgement. Null when not supplied; never persisted as booking guests or inferred from capacity. Per-yacht capacity still applies."
          },
          "yachts": {
            "type": "array",
            "items": {
              "type": "object",
              "description": "Scoped yacht facts and optional baseResolution/resolvedHomeBaseId read-only metadata. The resolved ID is returned only for an approved unique catalogue identity, not written back into legacy records. New or commercially marked periods require approved yacht home base before review.",
              "properties": {
                "photos": {
                  "type": "array",
                  "readOnly": true,
                  "maxItems": 276,
                  "items": {
                    "$ref": "#/components/schemas/OperatorYachtPhoto"
                  }
                },
                "coverPhotoId": {
                  "type": "string",
                  "readOnly": true
                },
                "privateImportedPhotoCount": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 256,
                  "readOnly": true,
                  "description": "Count only. Full private imported photo metadata is available through the authorized selected-yacht gallery endpoint, never through ordinary core writes."
                },
                "priceDefaults": {
                  "$ref": "#/components/schemas/YachtPriceDefaults"
                },
                "pricing": {
                  "$ref": "#/components/schemas/SimpleYachtPricing"
                },
                "toilets": {
                  "type": [
                    "integer",
                    "null"
                  ],
                  "minimum": 0,
                  "maximum": 24,
                  "description": "Actual toilet count. Legacy/source absence remains unknown; never inferred from cabins/showers."
                },
                "sourceImport": {
                  "$ref": "#/components/schemas/SupplierImportReference"
                },
                "importedPhotosPublic": {
                  "type": "boolean",
                  "readOnly": true
                },
                "publicGalleryUrl": {
                  "type": "string",
                  "format": "uri",
                  "readOnly": true
                }
              }
            }
          },
          "accountUser": {
            "$ref": "#/components/schemas/AccountUser",
            "description": "Only for a current named cookie session; omitted for private bearer access."
          }
        }
      },
      "DedalusMarkup": {
        "oneOf": [
          {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "kind",
              "rateBps"
            ],
            "properties": {
              "kind": {
                "const": "percent"
              },
              "rateBps": {
                "type": "integer",
                "minimum": 0,
                "maximum": 10000
              }
            }
          },
          {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "kind",
              "amountCents"
            ],
            "properties": {
              "kind": {
                "const": "fixed"
              },
              "amountCents": {
                "type": "integer",
                "minimum": 0,
                "maximum": 100000000
              }
            }
          }
        ]
      },
      "DedalusSellingRule": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "id",
          "label",
          "operatorId",
          "country",
          "enabled",
          "markup",
          "updatedAt",
          "updatedBy"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "operatorId": {
            "type": [
              "string",
              "null"
            ]
          },
          "country": {
            "type": [
              "string",
              "null"
            ]
          },
          "enabled": {
            "type": "boolean"
          },
          "markup": {
            "$ref": "#/components/schemas/DedalusMarkup"
          },
          "updatedAt": {
            "type": "string"
          },
          "updatedBy": {
            "type": "string"
          }
        }
      },
      "DepartureSellingPrice": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "departureId",
          "includedOptionalFeeIds",
          "markupOverride",
          "updatedAt",
          "updatedBy"
        ],
        "properties": {
          "departureId": {
            "type": "string"
          },
          "includedOptionalFeeIds": {
            "type": "array",
            "uniqueItems": true,
            "items": {
              "type": "string"
            }
          },
          "markupOverride": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/DedalusMarkup"
              },
              {
                "type": "null"
              }
            ]
          },
          "updatedAt": {
            "type": "string"
          },
          "updatedBy": {
            "type": "string"
          }
        },
        "description": "Configuration for one real stored owned departure only; preserve its exact scope. Save does not require a complete quote or guest count. Current canonical service identities, explicit stale-bundle replacement, markup/schema/reviewer/country/ownership/revision/guard checks still apply. This does not establish an OTA total or confirm availability."
      },
      "YachtDeletionRequest": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "expectedRevision",
          "operatorId",
          "operationId",
          "confirmed"
        ],
        "properties": {
          "expectedRevision": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "operatorId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160,
            "pattern": "^[A-Za-z0-9_-]+$"
          },
          "operationId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160,
            "pattern": "^[A-Za-z0-9_-]+$"
          },
          "confirmed": {
            "const": true
          }
        }
      },
      "YachtDeletionReceipt": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "yachtId",
          "operatorId",
          "operationId",
          "revision",
          "deletedAt"
        ],
        "properties": {
          "yachtId": {
            "type": "string"
          },
          "operatorId": {
            "type": "string"
          },
          "operationId": {
            "type": "string"
          },
          "revision": {
            "type": "integer",
            "minimum": 0
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "IncludedServiceTerm": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "included",
          "basis",
          "amountCents",
          "nonCommissionable"
        ],
        "properties": {
          "included": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "basis": {
            "enum": [
              "per_week",
              "per_stay",
              null
            ]
          },
          "amountCents": {
            "type": [
              "integer",
              "null"
            ],
            "minimum": 0,
            "maximum": 100000000
          },
          "nonCommissionable": {
            "type": [
              "boolean",
              "null"
            ]
          }
        }
      },
      "InclusivePriceSettings": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "version",
          "amountScope",
          "nonCommissionableCents",
          "services"
        ],
        "properties": {
          "version": {
            "const": 1
          },
          "amountScope": {
            "enum": [
              "per_week",
              "full_period"
            ]
          },
          "nonCommissionableCents": {
            "type": [
              "integer",
              "null"
            ],
            "minimum": 0,
            "maximum": 100000000
          },
          "services": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "skipper",
              "final_cleaning",
              "outboard_engine",
              "towels",
              "bed_linen"
            ],
            "properties": {
              "skipper": {
                "$ref": "#/components/schemas/IncludedServiceTerm"
              },
              "final_cleaning": {
                "$ref": "#/components/schemas/IncludedServiceTerm"
              },
              "outboard_engine": {
                "$ref": "#/components/schemas/IncludedServiceTerm"
              },
              "towels": {
                "$ref": "#/components/schemas/IncludedServiceTerm"
              },
              "bed_linen": {
                "$ref": "#/components/schemas/IncludedServiceTerm"
              }
            }
          }
        },
        "description": "Legacy private evidence retained for compatibility/history, not the current operator Prices workflow. Private operator pricing evidence. The five essentials must be explicitly included for offers. Included costs are already inside package price, never added again. Commission base equals package total minus nonCommissionableCents. Unknowns remain null; no imported/legacy compliance backfill.",
        "deprecated": true
      },
      "OperatorInclusivePriceInput": {
        "type": "object",
        "additionalProperties": true,
        "properties": {
          "inclusiveSettings": {
            "$ref": "#/components/schemas/InclusivePriceSettings"
          }
        },
        "description": "Legacy private evidence retained for compatibility/history, not the current operator Prices workflow. Private PortalPrice input; existing core charge fields remain server-validated. Inclusive settings are an optional strict profile, never an OTA public price breakdown.",
        "deprecated": true
      },
      "YachtPriceDefaultsFields": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "settings",
          "commissionRateBps"
        ],
        "properties": {
          "settings": {
            "allOf": [
              {
                "$ref": "#/components/schemas/InclusivePriceSettings"
              },
              {
                "properties": {
                  "amountScope": {
                    "const": "per_week"
                  }
                }
              }
            ]
          },
          "commissionRateBps": {
            "type": [
              "integer",
              "null"
            ],
            "minimum": 0,
            "maximum": 10000
          }
        },
        "deprecated": true,
        "description": "Legacy private evidence retained for compatibility/history, not the current operator Prices workflow. "
      },
      "YachtPriceDefaults": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "settings",
          "commissionRateBps",
          "updatedAt",
          "updatedBy"
        ],
        "properties": {
          "settings": {
            "allOf": [
              {
                "$ref": "#/components/schemas/InclusivePriceSettings"
              },
              {
                "properties": {
                  "amountScope": {
                    "const": "per_week"
                  }
                }
              }
            ]
          },
          "commissionRateBps": {
            "type": [
              "integer",
              "null"
            ],
            "minimum": 0,
            "maximum": 10000
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedBy": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          }
        },
        "description": "Legacy private evidence retained for compatibility/history, not the current operator Prices workflow. Private per-week owner template; explicit save/apply only. Does not reprice existing periods or change yacht facts. Owner/country/active/CAS guards, no reviewer write.",
        "deprecated": true
      },
      "YachtServiceCharge": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "id",
          "name",
          "status",
          "amountCents",
          "basis"
        ],
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          },
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200
          },
          "status": {
            "enum": [
              "included",
              "mandatory",
              "optional",
              "not_applicable",
              null
            ]
          },
          "amountCents": {
            "type": [
              "integer",
              "null"
            ],
            "minimum": 0,
            "maximum": 100000000
          },
          "basis": {
            "enum": [
              "per_charter",
              "per_week",
              "per_person_per_charter",
              "per_person_per_week",
              null
            ]
          }
        }
      },
      "SimpleYachtPricing": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "version",
          "skipperIncluded",
          "skipperWeeklyCents",
          "services"
        ],
        "properties": {
          "version": {
            "const": 2
          },
          "commissionRateBps": {
            "type": [
              "integer",
              "null"
            ],
            "minimum": 0,
            "maximum": 10000,
            "deprecated": true,
            "description": "Obsolete TEST compatibility only; ignored for current pricing/readiness. New settings saves and service/skipper copies canonicalize it to null, never a 0% agreement."
          },
          "skipperIncluded": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "skipperWeeklyCents": {
            "type": [
              "integer",
              "null"
            ],
            "minimum": 0,
            "maximum": 100000000
          },
          "services": {
            "type": "array",
            "maxItems": 25,
            "items": {
              "$ref": "#/components/schemas/YachtServiceCharge"
            }
          }
        },
        "description": "Private yacht-level pricing. Only skipper inclusion is asked with yacht rates; crewed yachts always include crew. Operator chooses service classification and charging basis. Commission is not configured or required in this workflow. Unknown skipper/service money or basis remains unavailable; legacy package money is not substituted."
      },
      "SetYachtPricingFields": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "pricing"
        ],
        "properties": {
          "pricing": {
            "$ref": "#/components/schemas/SimpleYachtPricing"
          }
        }
      },
      "SaveWeeklyRateFields": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "yachtId",
          "dateFrom",
          "dateTo",
          "weeklyCents"
        ],
        "properties": {
          "yachtId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          },
          "dateFrom": {
            "type": "string",
            "format": "date"
          },
          "dateTo": {
            "type": "string",
            "format": "date"
          },
          "weeklyCents": {
            "type": "integer",
            "minimum": 0,
            "maximum": 100000000
          }
        },
        "description": "One weekly yacht-only rate, Saturday From to Saturday Until exclusive return. 8–22 May covers 8–15 and 15–22; adjacent next period starts22. Whole weeks across years, no overlaps or proration. Gaps Price missing, not zero."
      },
      "ApplyYachtPricingFields": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "targetYachtIds",
          "copyServices",
          "copyWeeklyRates",
          "copySkipper"
        ],
        "properties": {
          "targetYachtIds": {
            "type": "array",
            "minItems": 1,
            "maxItems": 100,
            "uniqueItems": true,
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 160
            }
          },
          "copyServices": {
            "type": "boolean"
          },
          "copyWeeklyRates": {
            "type": "boolean"
          },
          "copySkipper": {
            "type": "boolean"
          }
        },
        "description": "Explicit one-time atomic copy from id=sourceYachtId, same owning operator/company/country/active/revision scope. Services default frontend choice; rates/skipper explicit. No links, no copy of commission%, rights, markup, deposits, publication or unrelated facts. Crewed targets retain crew included. Named replacement preview and confirmation before request."
      },
      "SimpleWeeklyRate": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "id",
          "operatorId",
          "yachtId",
          "dateFrom",
          "dateTo",
          "weeklyCents",
          "updatedAt"
        ],
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          },
          "operatorId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          },
          "yachtId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          },
          "dateFrom": {
            "type": "string",
            "format": "date"
          },
          "dateTo": {
            "type": "string",
            "format": "date"
          },
          "weeklyCents": {
            "type": "integer",
            "minimum": 0,
            "maximum": 100000000
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "OperatorCompanyProfile": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "contactName": {
            "type": "string",
            "maxLength": 200
          },
          "email": {
            "type": "string",
            "maxLength": 320
          },
          "phone": {
            "type": "string",
            "maxLength": 80
          },
          "address": {
            "type": "string",
            "maxLength": 1000
          },
          "website": {
            "type": "string",
            "maxLength": 2000
          },
          "vatNumber": {
            "type": "string",
            "maxLength": 100
          },
          "registrationNumber": {
            "type": "string",
            "maxLength": 100
          }
        },
        "required": [],
        "description": "Private business contacts, not verified individual login identity or distribution permission. Empty strings clear supplied fields; omitted fields retain existing values. Never included in public DirectOffer."
      },
      "OperatorCompanyUpdate": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200
          },
          "profile": {
            "$ref": "#/components/schemas/OperatorCompanyProfile"
          }
        },
        "required": [
          "name",
          "profile"
        ]
      },
      "AccountUser": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 200
          },
          "email": {
            "type": "string",
            "maxLength": 320
          }
        },
        "required": [
          "name",
          "email"
        ]
      },
      "AccountStatus": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "signedIn": {
            "type": "boolean"
          },
          "user": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/AccountUser"
              },
              {
                "type": "null"
              }
            ]
          },
          "linked": {
            "type": "boolean"
          },
          "csrfToken": {
            "type": [
              "string",
              "null"
            ],
            "description": "Current session CSRF value for same-origin account/portal mutations; not an access code."
          }
        },
        "required": [
          "signedIn",
          "user",
          "linked",
          "csrfToken"
        ]
      },
      "AccountRegister": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "companyName": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200
          },
          "country": {
            "enum": [
              "GR",
              "HR",
              "IT",
              "TR",
              "ES"
            ]
          },
          "contactName": {
            "type": "string",
            "maxLength": 200
          },
          "email": {
            "type": "string",
            "maxLength": 320
          },
          "phone": {
            "type": "string",
            "maxLength": 80
          }
        },
        "required": [
          "companyName",
          "country"
        ]
      },
      "AccountLink": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "accessCode": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_-]{32,200}$",
            "writeOnly": true
          }
        },
        "required": [
          "accessCode"
        ]
      },
      "SupplierImportReference": {
        "type": "object",
        "required": [
          "provider",
          "sourceId",
          "importedAt",
          "sourceBatchId"
        ],
        "properties": {
          "provider": {
            "enum": [
              "mmk",
              "nausys"
            ]
          },
          "sourceId": {
            "type": "string"
          },
          "importedAt": {
            "type": "string",
            "format": "date-time"
          },
          "sourceBatchId": {
            "type": "string"
          }
        },
        "description": "Private immutable import provenance. Import is not operator confirmation, editorial content, distribution permission or fresh availability."
      },
      "SourceImportBatch": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,159}$"
          },
          "provider": {
            "type": "string",
            "enum": [
              "mmk",
              "nausys"
            ]
          },
          "observedAt": {
            "type": "string",
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
          },
          "coverage": {
            "type": "object",
            "properties": {
              "catalogue": {
                "type": "string",
                "enum": [
                  "complete",
                  "partial",
                  "unavailable"
                ]
              },
              "prices": {
                "type": "string",
                "enum": [
                  "complete",
                  "partial",
                  "unavailable"
                ]
              },
              "availability": {
                "type": "string",
                "enum": [
                  "complete",
                  "partial",
                  "unavailable"
                ]
              }
            },
            "required": [
              "catalogue",
              "prices",
              "availability"
            ],
            "additionalProperties": false
          },
          "operators": {
            "maxItems": 50000,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "sourceId": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,159}$"
                },
                "name": {
                  "type": "string",
                  "maxLength": 200
                },
                "country": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^[A-Z]{2}$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "profile": {
                  "type": "object",
                  "properties": {
                    "contactName": {
                      "type": "string",
                      "maxLength": 200
                    },
                    "email": {
                      "type": "string",
                      "maxLength": 320
                    },
                    "phone": {
                      "type": "string",
                      "maxLength": 80
                    },
                    "address": {
                      "type": "string",
                      "maxLength": 1000
                    },
                    "website": {
                      "type": "string",
                      "maxLength": 2000
                    },
                    "vatNumber": {
                      "type": "string",
                      "maxLength": 100
                    },
                    "registrationNumber": {
                      "type": "string",
                      "maxLength": 100
                    }
                  },
                  "additionalProperties": false
                }
              },
              "required": [
                "sourceId",
                "name"
              ],
              "additionalProperties": false
            }
          },
          "yachts": {
            "maxItems": 100000,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "sourceId": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,159}$"
                },
                "operatorSourceId": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,159}$"
                },
                "name": {
                  "type": "string",
                  "maxLength": 200
                },
                "model": {
                  "anyOf": [
                    {
                      "type": "string",
                      "maxLength": 200
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "vessel": {
                  "anyOf": [
                    {
                      "type": "string",
                      "enum": [
                        "sailing_yacht",
                        "catamaran",
                        "power_catamaran",
                        "motor_yacht"
                      ]
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "year": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "minimum": 1900,
                      "maximum": 2100
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "berths": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "minimum": 1,
                      "maximum": 24
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "legalCapacity": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "minimum": 1,
                      "maximum": 24
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "requiredCrew": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 24
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "toilets": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 24
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "homeBase": {
                  "anyOf": [
                    {
                      "type": "string",
                      "maxLength": 200
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "homeBaseSourceId": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,159}$"
                },
                "country": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^[A-Z]{2}$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "services": {
                  "maxItems": 2,
                  "type": "array",
                  "items": {
                    "type": "string",
                    "enum": [
                      "skippered",
                      "crewed"
                    ]
                  }
                },
                "sourcePhotoUrls": {
                  "maxItems": 20,
                  "type": "array",
                  "items": {
                    "type": "string",
                    "maxLength": 2000
                  }
                }
              },
              "required": [
                "sourceId",
                "operatorSourceId",
                "name",
                "services"
              ],
              "additionalProperties": false
            }
          },
          "prices": {
            "maxItems": 500000,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "sourceId": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,159}$"
                },
                "yachtSourceId": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,159}$"
                },
                "operatorSourceId": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,159}$"
                },
                "dateFrom": {
                  "type": "string",
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                },
                "dateTo": {
                  "type": "string",
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                },
                "dateBasis": {
                  "type": "string",
                  "enum": [
                    "departure_inclusive",
                    "trip_return_exclusive",
                    "source_unspecified"
                  ]
                },
                "service": {
                  "type": "string",
                  "enum": [
                    "skippered",
                    "crewed"
                  ]
                },
                "currency": {
                  "type": "string",
                  "pattern": "^[A-Z]{3}$"
                },
                "weeklyPriceCents": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 100000000
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "fullPeriodPriceCents": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 100000000
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "mandatoryFees": {
                  "type": "object",
                  "properties": {
                    "complete": {
                      "type": [
                        "boolean",
                        "null"
                      ]
                    },
                    "items": {
                      "maxItems": 50,
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 200
                          },
                          "amountCents": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 100000000
                          },
                          "currency": {
                            "type": "string",
                            "pattern": "^[A-Z]{3}$"
                          },
                          "amountScope": {
                            "type": "string",
                            "enum": [
                              "weekly",
                              "full_period",
                              "unknown"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "amountCents",
                          "currency",
                          "amountScope"
                        ],
                        "additionalProperties": false
                      }
                    }
                  },
                  "required": [
                    "items"
                  ],
                  "additionalProperties": false
                },
                "crewCoverage": {
                  "type": "string",
                  "enum": [
                    "included",
                    "additional",
                    "optional",
                    "unknown"
                  ]
                }
              },
              "required": [
                "sourceId",
                "yachtSourceId",
                "operatorSourceId",
                "dateFrom",
                "dateTo",
                "dateBasis",
                "service",
                "currency"
              ],
              "additionalProperties": false
            }
          },
          "availability": {
            "maxItems": 500000,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "sourceId": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,159}$"
                },
                "yachtSourceId": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,159}$"
                },
                "operatorSourceId": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,159}$"
                },
                "dateFrom": {
                  "type": "string",
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                },
                "dateTo": {
                  "type": "string",
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                },
                "status": {
                  "type": "string",
                  "enum": [
                    "booked",
                    "option",
                    "owner_use",
                    "service",
                    "delivery",
                    "available",
                    "unknown"
                  ]
                },
                "validUntil": {
                  "anyOf": [
                    {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "sourceId",
                "yachtSourceId",
                "operatorSourceId",
                "dateFrom",
                "dateTo",
                "status"
              ],
              "additionalProperties": false
            }
          },
          "diagnostics": {
            "maxItems": 1000,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "area": {
                  "type": "string",
                  "enum": [
                    "catalogue",
                    "operators",
                    "yachts",
                    "prices",
                    "availability",
                    "batch"
                  ]
                },
                "code": {
                  "type": "string",
                  "enum": [
                    "unavailable",
                    "partial",
                    "missing_country",
                    "missing_yacht_facts",
                    "unsupported_service",
                    "invalid_record",
                    "country_not_granted",
                    "operator_missing",
                    "yacht_missing",
                    "source_identity_conflict",
                    "source_operator_conflict",
                    "source_service_conflict",
                    "price_missing",
                    "price_overlap",
                    "calendar_overlap",
                    "availability_unknown",
                    "availability_not_blocked",
                    "expired",
                    "duplicate",
                    "base_review_needed",
                    "existing_record_retained",
                    "manual_price_entry_required"
                  ]
                },
                "count": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 1000000
                },
                "sourceId": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,159}$"
                }
              },
              "required": [
                "area",
                "code"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "id",
          "provider",
          "observedAt",
          "coverage",
          "operators",
          "yachts",
          "prices",
          "availability",
          "diagnostics"
        ],
        "additionalProperties": false,
        "description": "Bounded normalized one-time onboarding snapshot. Lossless string source IDs, explicit skippered/crewed service evidence, exact dates/price units and unknown values. Private business contact fields only; no customer/passport/credential or arbitrary raw payload. Available/missing calendars do not create freshly verified availability, and source prices are not automatic package offers."
      },
      "SourceImportReport": {
        "type": "object",
        "required": [
          "batchId",
          "provider",
          "createdOperators",
          "createdYachts",
          "createdPrices",
          "createdBlocks",
          "skipped",
          "conflicts",
          "unchanged",
          "operatorIds",
          "yachtIds"
        ],
        "properties": {
          "batchId": {
            "type": "string"
          },
          "provider": {
            "enum": [
              "mmk",
              "nausys"
            ]
          },
          "createdOperators": {
            "type": "integer",
            "minimum": 0
          },
          "createdYachts": {
            "type": "integer",
            "minimum": 0
          },
          "createdPrices": {
            "type": "integer",
            "minimum": 0
          },
          "createdBlocks": {
            "type": "integer",
            "minimum": 0
          },
          "skipped": {
            "type": "integer",
            "minimum": 0
          },
          "conflicts": {
            "type": "integer",
            "minimum": 0
          },
          "unchanged": {
            "type": "boolean"
          },
          "operatorIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "yachtIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "OnboardingSupplement": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,159}$"
          },
          "approveBases": {
            "default": [],
            "maxItems": 5000,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "yachtId": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,159}$"
                },
                "baseId": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,159}$"
                },
                "expectedHomeBase": {
                  "type": "string",
                  "maxLength": 4000
                },
                "expectedSourceHomeBaseId": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,159}$"
                },
                "expectedUpdatedAt": {
                  "type": "string",
                  "maxLength": 80
                }
              },
              "required": [
                "yachtId",
                "baseId",
                "expectedHomeBase",
                "expectedUpdatedAt"
              ],
              "additionalProperties": false
            }
          },
          "photos": {
            "default": [],
            "maxItems": 5000,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "yachtId": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,159}$"
                },
                "photos": {
                  "maxItems": 20,
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                      },
                      "width": {
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 1920
                      },
                      "height": {
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 1920
                      },
                      "bytes": {
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 8388608
                      },
                      "thumbnailWidth": {
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 400
                      },
                      "thumbnailHeight": {
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 400
                      },
                      "thumbnailBytes": {
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 8388608
                      },
                      "createdAt": {
                        "type": "string",
                        "format": "date-time",
                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                      },
                      "mediaRightsAttested": {
                        "type": "boolean",
                        "const": false
                      },
                      "importedProvenance": {
                        "type": "object",
                        "properties": {
                          "provider": {
                            "type": "string",
                            "enum": [
                              "mmk",
                              "nausys"
                            ]
                          },
                          "yachtSourceId": {
                            "type": "string",
                            "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,159}$"
                          },
                          "operatorSourceId": {
                            "type": "string",
                            "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,159}$"
                          },
                          "sourceUrlHash": {
                            "type": "string",
                            "pattern": "^[a-f0-9]{64}$"
                          },
                          "sourceContentSha256": {
                            "type": "string",
                            "pattern": "^[a-f0-9]{64}$"
                          },
                          "fullSha256": {
                            "type": "string",
                            "pattern": "^[a-f0-9]{64}$"
                          },
                          "importedAt": {
                            "type": "string",
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                          },
                          "idempotentKey": {
                            "type": "string",
                            "pattern": "^[a-f0-9]{64}$"
                          }
                        },
                        "required": [
                          "provider",
                          "yachtSourceId",
                          "operatorSourceId",
                          "sourceUrlHash",
                          "sourceContentSha256",
                          "fullSha256",
                          "importedAt",
                          "idempotentKey"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "required": [
                      "id",
                      "width",
                      "height",
                      "bytes",
                      "thumbnailWidth",
                      "thumbnailHeight",
                      "thumbnailBytes",
                      "createdAt",
                      "mediaRightsAttested",
                      "importedProvenance"
                    ],
                    "additionalProperties": false
                  }
                }
              },
              "required": [
                "yachtId",
                "photos"
              ],
              "additionalProperties": false
            }
          },
          "galleries": {
            "maxItems": 5000,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "yachtId": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,159}$"
                },
                "manifestSha256": {
                  "type": "string",
                  "pattern": "^[a-f0-9]{64}$"
                },
                "photoCount": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 256
                }
              },
              "required": [
                "yachtId",
                "manifestSha256",
                "photoCount"
              ],
              "additionalProperties": false
            }
          },
          "removeOptionIds": {
            "default": [],
            "maxItems": 10000,
            "type": "array",
            "items": {
              "type": "string",
              "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,159}$"
            }
          }
        },
        "required": [
          "id",
          "approveBases",
          "photos",
          "removeOptionIds"
        ],
        "additionalProperties": false,
        "description": "Reviewer-only exact one-time onboarding update. Private gallery pointers reference already staged, immutable, hash-verified owned files. Source and current owner/revision/backup/idempotency gates apply. No source calls, public rights, source yacht recreation or manual-price overwrite."
      },
      "PhotoPublicationInput": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "expectedRevision": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "operationId": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_-]{1,160}$"
          },
          "permissionConfirmed": {
            "type": "boolean",
            "const": true
          },
          "confirmationReference": {
            "type": "string",
            "minLength": 1,
            "maxLength": 1000
          },
          "galleries": {
            "minItems": 1,
            "maxItems": 3000,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "manifestSha256": {
                  "type": "string",
                  "pattern": "^[a-f0-9]{64}$"
                },
                "photoCount": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 256
                },
                "yachtId": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9_-]{1,160}$"
                }
              },
              "required": [
                "manifestSha256",
                "photoCount",
                "yachtId"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "expectedRevision",
          "operationId",
          "permissionConfirmed",
          "confirmationReference",
          "galleries"
        ],
        "additionalProperties": false
      },
      "PublicYachtGallery": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "photoCount",
          "photos"
        ],
        "properties": {
          "photoCount": {
            "type": "integer",
            "minimum": 1,
            "maximum": 256
          },
          "photos": {
            "type": "array",
            "minItems": 1,
            "maxItems": 256,
            "items": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "id",
                "width",
                "height",
                "thumbnailWidth",
                "thumbnailHeight",
                "url",
                "thumbnailUrl"
              ],
              "properties": {
                "id": {
                  "type": "string",
                  "format": "uuid"
                },
                "width": {
                  "type": "integer",
                  "minimum": 1
                },
                "height": {
                  "type": "integer",
                  "minimum": 1
                },
                "thumbnailWidth": {
                  "type": "integer",
                  "minimum": 1
                },
                "thumbnailHeight": {
                  "type": "integer",
                  "minimum": 1
                },
                "url": {
                  "type": "string",
                  "format": "uri"
                },
                "thumbnailUrl": {
                  "type": "string",
                  "format": "uri"
                }
              }
            }
          }
        }
      },
      "CalendarBulkAction": {
        "type": "object",
        "properties": {
          "expectedRevision": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "operationId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          },
          "operatorId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          },
          "cells": {
            "minItems": 1,
            "maxItems": 5200,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "yachtId": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 160
                },
                "weekFrom": {
                  "type": "string"
                }
              },
              "required": [
                "yachtId",
                "weekFrom"
              ],
              "additionalProperties": false
            }
          },
          "operation": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string",
                    "const": "set_price"
                  },
                  "priceCents": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 100000000
                  }
                },
                "required": [
                  "type",
                  "priceCents"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string",
                    "const": "adjust_prices"
                  },
                  "percentageBps": {
                    "type": "integer",
                    "minimum": -9999,
                    "maximum": 100000
                  }
                },
                "required": [
                  "type",
                  "percentageBps"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string",
                    "const": "copy_prices"
                  },
                  "sourceYachtId": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 160
                  }
                },
                "required": [
                  "type",
                  "sourceYachtId"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string",
                    "const": "set_availability"
                  },
                  "status": {
                    "type": "string",
                    "enum": [
                      "available",
                      "booked",
                      "blocked",
                      "request"
                    ]
                  },
                  "note": {
                    "type": "string",
                    "maxLength": 4000
                  }
                },
                "required": [
                  "type",
                  "status"
                ],
                "additionalProperties": false
              }
            ]
          }
        },
        "required": [
          "expectedRevision",
          "operationId",
          "cells",
          "operation"
        ],
        "additionalProperties": false
      },
      "CalendarBulkReceipt": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "revision",
          "operationId",
          "cellsUpdated",
          "yachtsUpdated",
          "unchanged"
        ],
        "properties": {
          "revision": {
            "type": "integer",
            "minimum": 0
          },
          "operationId": {
            "type": "string"
          },
          "cellsUpdated": {
            "type": "integer",
            "minimum": 0,
            "maximum": 5200
          },
          "yachtsUpdated": {
            "type": "integer",
            "minimum": 0,
            "maximum": 100
          },
          "unchanged": {
            "type": "boolean"
          }
        }
      },
      "CalendarBulkResponse": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "apiVersion",
          "requestId",
          "mode",
          "data"
        ],
        "properties": {
          "apiVersion": {
            "const": "v1"
          },
          "requestId": {
            "type": "string",
            "format": "uuid"
          },
          "mode": {
            "const": "TEST"
          },
          "data": {
            "$ref": "#/components/schemas/CalendarBulkReceipt"
          }
        }
      },
      "YachtWizardProfile": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "manufacturer": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 200
              },
              {
                "type": "null"
              }
            ]
          },
          "model": {
            "type": "string",
            "maxLength": 200
          },
          "name": {
            "type": "string",
            "maxLength": 200
          },
          "vessel": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "sailing_yacht",
                  "catamaran",
                  "power_catamaran",
                  "motor_yacht"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "year": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 1900,
                "maximum": 2028
              },
              {
                "type": "null"
              }
            ]
          },
          "guestCapacity": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 1,
                "maximum": 24
              },
              {
                "type": "null"
              }
            ]
          },
          "guestCabins": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0,
                "maximum": 24
              },
              {
                "type": "null"
              }
            ]
          },
          "guestBathrooms": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0,
                "maximum": 24
              },
              {
                "type": "null"
              }
            ]
          },
          "country": {
            "type": "string",
            "pattern": "^(?:[A-Z]{2})?$"
          },
          "homeBaseId": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 160
              },
              {
                "type": "null"
              }
            ]
          },
          "operatingRegion": {
            "type": "string",
            "maxLength": 200
          },
          "cruisingAreas": {
            "maxItems": 30,
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 160
            }
          },
          "crewMode": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "skippered",
                  "crewed"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "crewCount": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 1,
                "maximum": 24
              },
              {
                "type": "null"
              }
            ]
          },
          "crewRoles": {
            "maxItems": 8,
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "amenities": {
            "maxItems": 100,
            "type": "array",
            "items": {
              "oneOf": [
                {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "string"
                    },
                    "inclusion": {
                      "type": "string",
                      "const": "included"
                    },
                    "price": {
                      "type": "null"
                    }
                  },
                  "required": [
                    "code",
                    "inclusion"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "string"
                    },
                    "inclusion": {
                      "type": "string",
                      "const": "extra"
                    },
                    "price": {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {
                            "amountCents": {
                              "anyOf": [
                                {
                                  "type": "integer",
                                  "exclusiveMinimum": 0,
                                  "maximum": 9007199254740991
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "currency": {
                              "type": "string",
                              "pattern": "^[A-Z]{3}$"
                            },
                            "basis": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "enum": [
                                    "per_person",
                                    "per_day",
                                    "per_week",
                                    "per_holiday",
                                    "per_item",
                                    "per_person_per_day",
                                    "per_person_per_week",
                                    "per_person_per_holiday"
                                  ]
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            }
                          },
                          "required": [
                            "amountCents",
                            "currency",
                            "basis"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "code",
                    "inclusion"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "string"
                    },
                    "inclusion": {
                      "type": "string",
                      "const": "unknown"
                    },
                    "price": {
                      "type": "null"
                    }
                  },
                  "required": [
                    "code",
                    "inclusion"
                  ],
                  "additionalProperties": false
                }
              ]
            }
          },
          "customAmenities": {
            "maxItems": 20,
            "type": "array",
            "items": {
              "oneOf": [
                {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 200
                    },
                    "inclusion": {
                      "type": "string",
                      "const": "included"
                    },
                    "status": {
                      "type": "string",
                      "const": "pending"
                    },
                    "price": {
                      "type": "null"
                    }
                  },
                  "required": [
                    "name",
                    "inclusion",
                    "status"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 200
                    },
                    "inclusion": {
                      "type": "string",
                      "const": "extra"
                    },
                    "status": {
                      "type": "string",
                      "const": "pending"
                    },
                    "price": {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {
                            "amountCents": {
                              "anyOf": [
                                {
                                  "type": "integer",
                                  "exclusiveMinimum": 0,
                                  "maximum": 9007199254740991
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "currency": {
                              "type": "string",
                              "pattern": "^[A-Z]{3}$"
                            },
                            "basis": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "enum": [
                                    "per_person",
                                    "per_day",
                                    "per_week",
                                    "per_holiday",
                                    "per_item",
                                    "per_person_per_day",
                                    "per_person_per_week",
                                    "per_person_per_holiday"
                                  ]
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            }
                          },
                          "required": [
                            "amountCents",
                            "currency",
                            "basis"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "name",
                    "inclusion",
                    "status"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 200
                    },
                    "inclusion": {
                      "type": "string",
                      "const": "unknown"
                    },
                    "status": {
                      "type": "string",
                      "const": "pending"
                    },
                    "price": {
                      "type": "null"
                    }
                  },
                  "required": [
                    "name",
                    "inclusion",
                    "status"
                  ],
                  "additionalProperties": false
                }
              ]
            }
          },
          "legalCapacity": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 1,
                "maximum": 24
              },
              {
                "type": "null"
              }
            ]
          },
          "totalBerths": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 1,
                "maximum": 24
              },
              {
                "type": "null"
              }
            ]
          },
          "totalBathrooms": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0,
                "maximum": 24
              },
              {
                "type": "null"
              }
            ]
          },
          "requiredCrew": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 1,
                "maximum": 24
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "manufacturer",
          "model",
          "name",
          "vessel",
          "year",
          "guestCapacity",
          "guestCabins",
          "guestBathrooms",
          "country",
          "homeBaseId",
          "operatingRegion",
          "cruisingAreas",
          "crewMode",
          "crewCount",
          "crewRoles",
          "amenities",
          "customAmenities"
        ],
        "additionalProperties": false
      },
      "YachtWizardCreateBody": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "operatorId": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_-]{1,160}$"
          },
          "yachtId": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_-]{1,160}$"
          },
          "operationId": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_-]{8,160}$"
          }
        },
        "required": [
          "operatorId",
          "operationId"
        ],
        "additionalProperties": false
      },
      "YachtWizardUpdateBody": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "expectedDraftRevision": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740990
          },
          "operationId": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_-]{8,160}$"
          },
          "profile": {
            "type": "object",
            "properties": {
              "manufacturer": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 200
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "model": {
                "type": "string",
                "maxLength": 200
              },
              "name": {
                "type": "string",
                "maxLength": 200
              },
              "vessel": {
                "anyOf": [
                  {
                    "type": "string",
                    "enum": [
                      "sailing_yacht",
                      "catamaran",
                      "power_catamaran",
                      "motor_yacht"
                    ]
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "year": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 1900,
                    "maximum": 2028
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "guestCapacity": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 24
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "guestCabins": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 24
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "guestBathrooms": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 24
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "country": {
                "type": "string",
                "pattern": "^(?:[A-Z]{2})?$"
              },
              "homeBaseId": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 160
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "operatingRegion": {
                "type": "string",
                "maxLength": 200
              },
              "cruisingAreas": {
                "maxItems": 30,
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 160
                }
              },
              "crewMode": {
                "anyOf": [
                  {
                    "type": "string",
                    "enum": [
                      "skippered",
                      "crewed"
                    ]
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "crewCount": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 24
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "crewRoles": {
                "maxItems": 8,
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "amenities": {
                "maxItems": 100,
                "type": "array",
                "items": {
                  "oneOf": [
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "inclusion": {
                          "type": "string",
                          "const": "included"
                        },
                        "price": {
                          "type": "null"
                        }
                      },
                      "required": [
                        "code",
                        "inclusion"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "inclusion": {
                          "type": "string",
                          "const": "extra"
                        },
                        "price": {
                          "anyOf": [
                            {
                              "type": "object",
                              "properties": {
                                "amountCents": {
                                  "anyOf": [
                                    {
                                      "type": "integer",
                                      "exclusiveMinimum": 0,
                                      "maximum": 9007199254740991
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "currency": {
                                  "type": "string",
                                  "pattern": "^[A-Z]{3}$"
                                },
                                "basis": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "enum": [
                                        "per_person",
                                        "per_day",
                                        "per_week",
                                        "per_holiday",
                                        "per_item",
                                        "per_person_per_day",
                                        "per_person_per_week",
                                        "per_person_per_holiday"
                                      ]
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                }
                              },
                              "required": [
                                "amountCents",
                                "currency",
                                "basis"
                              ],
                              "additionalProperties": false
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "code",
                        "inclusion"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "inclusion": {
                          "type": "string",
                          "const": "unknown"
                        },
                        "price": {
                          "type": "null"
                        }
                      },
                      "required": [
                        "code",
                        "inclusion"
                      ],
                      "additionalProperties": false
                    }
                  ]
                }
              },
              "customAmenities": {
                "maxItems": 20,
                "type": "array",
                "items": {
                  "oneOf": [
                    {
                      "type": "object",
                      "properties": {
                        "name": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 200
                        },
                        "inclusion": {
                          "type": "string",
                          "const": "included"
                        },
                        "status": {
                          "type": "string",
                          "const": "pending"
                        },
                        "price": {
                          "type": "null"
                        }
                      },
                      "required": [
                        "name",
                        "inclusion",
                        "status"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "name": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 200
                        },
                        "inclusion": {
                          "type": "string",
                          "const": "extra"
                        },
                        "status": {
                          "type": "string",
                          "const": "pending"
                        },
                        "price": {
                          "anyOf": [
                            {
                              "type": "object",
                              "properties": {
                                "amountCents": {
                                  "anyOf": [
                                    {
                                      "type": "integer",
                                      "exclusiveMinimum": 0,
                                      "maximum": 9007199254740991
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "currency": {
                                  "type": "string",
                                  "pattern": "^[A-Z]{3}$"
                                },
                                "basis": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "enum": [
                                        "per_person",
                                        "per_day",
                                        "per_week",
                                        "per_holiday",
                                        "per_item",
                                        "per_person_per_day",
                                        "per_person_per_week",
                                        "per_person_per_holiday"
                                      ]
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                }
                              },
                              "required": [
                                "amountCents",
                                "currency",
                                "basis"
                              ],
                              "additionalProperties": false
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "name",
                        "inclusion",
                        "status"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "name": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 200
                        },
                        "inclusion": {
                          "type": "string",
                          "const": "unknown"
                        },
                        "status": {
                          "type": "string",
                          "const": "pending"
                        },
                        "price": {
                          "type": "null"
                        }
                      },
                      "required": [
                        "name",
                        "inclusion",
                        "status"
                      ],
                      "additionalProperties": false
                    }
                  ]
                }
              },
              "legalCapacity": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 24
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "totalBerths": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 24
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "totalBathrooms": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 24
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "requiredCrew": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 24
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "manufacturer",
              "model",
              "name",
              "vessel",
              "year",
              "guestCapacity",
              "guestCabins",
              "guestBathrooms",
              "country",
              "homeBaseId",
              "operatingRegion",
              "cruisingAreas",
              "crewMode",
              "crewCount",
              "crewRoles",
              "amenities",
              "customAmenities"
            ],
            "additionalProperties": false
          },
          "step": {
            "type": "integer",
            "minimum": 1,
            "maximum": 5
          }
        },
        "required": [
          "expectedDraftRevision",
          "operationId",
          "profile",
          "step"
        ],
        "additionalProperties": false
      },
      "YachtWizardCommitBody": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "expectedDraftRevision": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740990
          },
          "expectedRevision": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740990
          },
          "operationId": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_-]{8,160}$"
          },
          "publish": {
            "type": "boolean"
          }
        },
        "required": [
          "expectedDraftRevision",
          "expectedRevision",
          "operationId"
        ],
        "additionalProperties": false
      },
      "YachtWizardPhotoOrderBody": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "expectedDraftRevision": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740990
          },
          "operationId": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_-]{8,160}$"
          },
          "photoIds": {
            "maxItems": 20,
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            }
          }
        },
        "required": [
          "expectedDraftRevision",
          "operationId",
          "photoIds"
        ],
        "additionalProperties": false
      },
      "AmenityPrice": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "amountCents": {
            "anyOf": [
              {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              {
                "type": "null"
              }
            ]
          },
          "currency": {
            "type": "string",
            "pattern": "^[A-Z]{3}$"
          },
          "basis": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "per_person",
                  "per_day",
                  "per_week",
                  "per_holiday",
                  "per_item",
                  "per_person_per_day",
                  "per_person_per_week",
                  "per_person_per_holiday"
                ]
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "amountCents",
          "currency",
          "basis"
        ],
        "additionalProperties": false
      },
      "OperatorYachtPublication": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "status": {
            "type": "string",
            "const": "published"
          },
          "publishedAt": {
            "type": "string",
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
          },
          "publishedBy": {
            "type": "string",
            "const": "operator"
          },
          "operatorId": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_-]{1,160}$"
          }
        },
        "required": [
          "status",
          "publishedAt",
          "publishedBy",
          "operatorId"
        ],
        "additionalProperties": false
      },
      "YachtWizardReceipt": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "operationId": {
            "type": "string"
          },
          "yachtId": {
            "type": "string"
          },
          "revision": {
            "type": "integer",
            "minimum": 0
          },
          "draftRevision": {
            "type": "integer",
            "minimum": 0
          },
          "committedAt": {
            "type": "string",
            "format": "date-time"
          },
          "operatorPublication": {
            "$ref": "#/components/schemas/OperatorYachtPublication"
          }
        },
        "required": [
          "operationId",
          "yachtId",
          "revision",
          "draftRevision",
          "committedAt"
        ]
      },
      "YachtOnboarding": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "status": {
            "enum": [
              "needs_details",
              "ready_for_review"
            ]
          },
          "issues": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "field": {
                  "type": "string"
                },
                "step": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 5
                },
                "label": {
                  "type": "string"
                }
              },
              "required": [
                "field",
                "step",
                "label"
              ]
            }
          }
        },
        "required": [
          "status",
          "issues"
        ]
      },
      "YachtWizardPhoto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "public": {
            "const": false
          },
          "readOnly": {
            "const": false
          },
          "isCover": {
            "type": "boolean"
          }
        },
        "required": [
          "id",
          "public",
          "readOnly"
        ]
      },
      "YachtWizardDraft": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string"
          },
          "operatorId": {
            "type": "string"
          },
          "yachtId": {
            "type": [
              "string",
              "null"
            ]
          },
          "revision": {
            "type": "integer",
            "minimum": 0
          },
          "workspaceRevision": {
            "type": "integer",
            "minimum": 0
          },
          "step": {
            "type": "integer",
            "minimum": 1,
            "maximum": 5
          },
          "status": {
            "enum": [
              "editing",
              "committed"
            ]
          },
          "profile": {
            "$ref": "#/components/schemas/YachtWizardProfile"
          },
          "photos": {
            "type": "array",
            "maxItems": 20,
            "items": {
              "$ref": "#/components/schemas/YachtWizardPhoto"
            }
          },
          "coverPhotoId": {
            "type": [
              "string",
              "null"
            ]
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "onboarding": {
            "$ref": "#/components/schemas/YachtOnboarding"
          },
          "receipt": {
            "$ref": "#/components/schemas/YachtWizardReceipt"
          }
        },
        "required": [
          "id",
          "operatorId",
          "yachtId",
          "revision",
          "workspaceRevision",
          "step",
          "status",
          "profile",
          "photos",
          "coverPhotoId",
          "createdAt",
          "updatedAt",
          "onboarding"
        ]
      },
      "YachtWizardDraftResponse": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "apiVersion": {
            "const": "v1"
          },
          "mode": {
            "const": "TEST"
          },
          "requestId": {
            "type": "string"
          },
          "data": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "draft": {
                "$ref": "#/components/schemas/YachtWizardDraft"
              }
            },
            "required": [
              "draft"
            ]
          }
        },
        "required": [
          "apiVersion",
          "mode",
          "requestId",
          "data"
        ]
      },
      "YachtWizardListResponse": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "apiVersion": {
            "const": "v1"
          },
          "mode": {
            "const": "TEST"
          },
          "requestId": {
            "type": "string"
          },
          "data": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "drafts": {
                "type": "array",
                "maxItems": 100,
                "items": {
                  "$ref": "#/components/schemas/YachtWizardDraft"
                }
              }
            },
            "required": [
              "drafts"
            ]
          }
        },
        "required": [
          "apiVersion",
          "mode",
          "requestId",
          "data"
        ]
      },
      "YachtWizardCatalogResponse": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "apiVersion": {
            "const": "v1"
          },
          "mode": {
            "const": "TEST"
          },
          "requestId": {
            "type": "string"
          },
          "data": {
            "type": "object",
            "required": [
              "manufacturers",
              "categories",
              "countries",
              "bases",
              "operatingRegions",
              "cruisingAreas",
              "crewModes",
              "crewRoles",
              "amenities",
              "inclusions",
              "automaticItineraryMatching"
            ],
            "properties": {
              "automaticItineraryMatching": {
                "const": false
              }
            }
          }
        },
        "required": [
          "apiVersion",
          "mode",
          "requestId",
          "data"
        ]
      },
      "YachtWizardCommitResponse": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "apiVersion": {
            "const": "v1"
          },
          "mode": {
            "const": "TEST"
          },
          "requestId": {
            "type": "string"
          },
          "data": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "state": {
                "$ref": "#/components/schemas/OperatorPortalState"
              },
              "draft": {
                "$ref": "#/components/schemas/YachtWizardDraft"
              },
              "yachtId": {
                "type": "string"
              }
            },
            "required": [
              "state",
              "draft",
              "yachtId"
            ]
          }
        },
        "required": [
          "apiVersion",
          "mode",
          "requestId",
          "data"
        ]
      },
      "AdminAction": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "oneOf": [
          {
            "type": "object",
            "properties": {
              "expectedRevision": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740990
              },
              "operatorId": {
                "type": "string",
                "pattern": "^[A-Za-z0-9_-]{1,160}$"
              },
              "type": {
                "type": "string",
                "const": "start_operator_onboarding"
              },
              "fields": {
                "type": "object",
                "properties": {
                  "reason": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 4000
                  }
                },
                "required": [
                  "reason"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "expectedRevision",
              "operatorId",
              "type",
              "fields"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "expectedRevision": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740990
              },
              "operatorId": {
                "type": "string",
                "pattern": "^[A-Za-z0-9_-]{1,160}$"
              },
              "type": {
                "type": "string",
                "const": "set_operator_relationship_status"
              },
              "fields": {
                "type": "object",
                "properties": {
                  "status": {
                    "type": "string",
                    "enum": [
                      "draft",
                      "onboarding",
                      "active"
                    ]
                  }
                },
                "required": [
                  "status"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "expectedRevision",
              "operatorId",
              "type",
              "fields"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "expectedRevision": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740990
              },
              "operatorId": {
                "type": "string",
                "pattern": "^[A-Za-z0-9_-]{1,160}$"
              },
              "type": {
                "type": "string",
                "const": "update_operator_management"
              },
              "fields": {
                "type": "object",
                "properties": {
                  "responsiblePerson": {
                    "type": "string",
                    "maxLength": 200
                  },
                  "contactName": {
                    "type": "string",
                    "maxLength": 200
                  },
                  "contactEmail": {
                    "type": "string",
                    "maxLength": 320
                  },
                  "contactPhone": {
                    "type": "string",
                    "maxLength": 80
                  },
                  "relationshipNotes": {
                    "type": "string",
                    "maxLength": 4000
                  },
                  "verificationNotes": {
                    "type": "string",
                    "maxLength": 4000
                  },
                  "businessIssues": {
                    "maxItems": 100,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 4000
                    }
                  },
                  "checklist": {
                    "type": "object",
                    "properties": {
                      "companyVerified": {
                        "type": "boolean"
                      },
                      "contactVerified": {
                        "type": "boolean"
                      },
                      "businessIssuesResolved": {
                        "type": "boolean"
                      },
                      "evidence": {
                        "type": "string",
                        "maxLength": 4000
                      }
                    },
                    "required": [
                      "companyVerified",
                      "contactVerified",
                      "businessIssuesResolved",
                      "evidence"
                    ],
                    "additionalProperties": false
                  }
                },
                "additionalProperties": false
              }
            },
            "required": [
              "expectedRevision",
              "operatorId",
              "type",
              "fields"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "expectedRevision": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740990
              },
              "operatorId": {
                "type": "string",
                "pattern": "^[A-Za-z0-9_-]{1,160}$"
              },
              "id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9_-]{1,160}$"
              },
              "type": {
                "type": "string",
                "const": "save_operator_contract"
              },
              "fields": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 200
                  },
                  "version": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 200
                  },
                  "signatureStatus": {
                    "type": "string",
                    "enum": [
                      "draft",
                      "awaiting_signature",
                      "signed"
                    ]
                  },
                  "documentReference": {
                    "type": "string",
                    "maxLength": 1000
                  },
                  "signedAt": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "effectiveFrom": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "effectiveTo": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "noticeDue": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "name",
                  "version",
                  "signatureStatus",
                  "documentReference",
                  "signedAt",
                  "effectiveFrom",
                  "effectiveTo",
                  "noticeDue"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "expectedRevision",
              "operatorId",
              "type",
              "fields"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "expectedRevision": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740990
              },
              "operatorId": {
                "type": "string",
                "pattern": "^[A-Za-z0-9_-]{1,160}$"
              },
              "type": {
                "type": "string",
                "const": "approve_operator_relationship"
              },
              "fields": {
                "type": "object",
                "properties": {
                  "reason": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 4000
                  },
                  "confirmed": {
                    "type": "boolean",
                    "const": true
                  },
                  "contractId": {
                    "type": "string",
                    "pattern": "^[A-Za-z0-9_-]{1,160}$"
                  }
                },
                "required": [
                  "reason",
                  "confirmed",
                  "contractId"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "expectedRevision",
              "operatorId",
              "type",
              "fields"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "expectedRevision": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740990
              },
              "operatorId": {
                "type": "string",
                "pattern": "^[A-Za-z0-9_-]{1,160}$"
              },
              "type": {
                "type": "string",
                "const": "request_operator_changes"
              },
              "fields": {
                "type": "object",
                "properties": {
                  "reason": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 4000
                  }
                },
                "required": [
                  "reason"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "expectedRevision",
              "operatorId",
              "type",
              "fields"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "expectedRevision": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740990
              },
              "operatorId": {
                "type": "string",
                "pattern": "^[A-Za-z0-9_-]{1,160}$"
              },
              "type": {
                "type": "string",
                "const": "pause_operator_distribution"
              },
              "fields": {
                "type": "object",
                "properties": {
                  "reason": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 4000
                  },
                  "confirmed": {
                    "type": "boolean",
                    "const": true
                  }
                },
                "required": [
                  "reason",
                  "confirmed"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "expectedRevision",
              "operatorId",
              "type",
              "fields"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "expectedRevision": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740990
              },
              "operatorId": {
                "type": "string",
                "pattern": "^[A-Za-z0-9_-]{1,160}$"
              },
              "type": {
                "type": "string",
                "const": "resume_operator_distribution"
              },
              "fields": {
                "type": "object",
                "properties": {
                  "reason": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 4000
                  },
                  "confirmed": {
                    "type": "boolean",
                    "const": true
                  }
                },
                "required": [
                  "reason",
                  "confirmed"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "expectedRevision",
              "operatorId",
              "type",
              "fields"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "expectedRevision": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740990
              },
              "operatorId": {
                "type": "string",
                "pattern": "^[A-Za-z0-9_-]{1,160}$"
              },
              "id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9_-]{1,160}$"
              },
              "type": {
                "type": "string",
                "const": "create_yacht_issue"
              },
              "fields": {
                "type": "object",
                "properties": {
                  "category": {
                    "type": "string",
                    "enum": [
                      "missing_details",
                      "facts",
                      "base_country",
                      "capacity",
                      "identity",
                      "ownership",
                      "safety",
                      "duplicate"
                    ]
                  },
                  "severity": {
                    "type": "string",
                    "enum": [
                      "warning",
                      "critical"
                    ]
                  },
                  "title": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 200
                  },
                  "reason": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 4000
                  },
                  "evidence": {
                    "type": "string",
                    "maxLength": 4000
                  }
                },
                "required": [
                  "category",
                  "severity",
                  "title",
                  "reason",
                  "evidence"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "expectedRevision",
              "operatorId",
              "id",
              "type",
              "fields"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "expectedRevision": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740990
              },
              "operatorId": {
                "type": "string",
                "pattern": "^[A-Za-z0-9_-]{1,160}$"
              },
              "id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9_-]{1,160}$"
              },
              "type": {
                "type": "string",
                "const": "resolve_yacht_issue"
              },
              "fields": {
                "type": "object",
                "properties": {
                  "reason": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 4000
                  },
                  "evidence": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 4000
                  }
                },
                "required": [
                  "reason",
                  "evidence"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "expectedRevision",
              "operatorId",
              "id",
              "type",
              "fields"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "expectedRevision": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740990
              },
              "operatorId": {
                "type": "string",
                "pattern": "^[A-Za-z0-9_-]{1,160}$"
              },
              "id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9_-]{1,160}$"
              },
              "type": {
                "type": "string",
                "const": "resolve_yacht_duplicate"
              },
              "fields": {
                "type": "object",
                "properties": {
                  "reason": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 4000
                  },
                  "evidence": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 4000
                  },
                  "primaryYachtId": {
                    "type": "string",
                    "pattern": "^[A-Za-z0-9_-]{1,160}$"
                  },
                  "confirmed": {
                    "type": "boolean",
                    "const": true
                  }
                },
                "required": [
                  "reason",
                  "evidence",
                  "primaryYachtId",
                  "confirmed"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "expectedRevision",
              "operatorId",
              "id",
              "type",
              "fields"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "expectedRevision": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740990
              },
              "operatorId": {
                "type": "string",
                "pattern": "^[A-Za-z0-9_-]{1,160}$"
              },
              "id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9_-]{1,160}$"
              },
              "type": {
                "type": "string",
                "const": "reopen_yacht_duplicate"
              },
              "fields": {
                "type": "object",
                "properties": {
                  "reason": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 4000
                  },
                  "evidence": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 4000
                  },
                  "confirmed": {
                    "type": "boolean",
                    "const": true
                  }
                },
                "required": [
                  "reason",
                  "evidence",
                  "confirmed"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "expectedRevision",
              "operatorId",
              "id",
              "type",
              "fields"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "expectedRevision": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740990
              },
              "operatorId": {
                "type": "string",
                "pattern": "^[A-Za-z0-9_-]{1,160}$"
              },
              "id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9_-]{1,160}$"
              },
              "type": {
                "type": "string",
                "const": "review_catalogue_request"
              },
              "fields": {
                "type": "object",
                "properties": {
                  "decision": {
                    "type": "string",
                    "enum": [
                      "match_existing",
                      "approve_new",
                      "move_to_services",
                      "request_clarification",
                      "decline"
                    ]
                  },
                  "reason": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 4000
                  },
                  "standardizedName": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 100,
                    "pattern": "^[A-Za-z0-9][A-Za-z0-9 /&+().,'-]*$"
                  },
                  "category": {
                    "type": "string",
                    "enum": [
                      "comfort_onboard",
                      "water_sports_leisure",
                      "deck_outdoor"
                    ]
                  },
                  "existingCode": {
                    "type": "string",
                    "pattern": "^[a-z][a-z0-9_]{0,79}$"
                  }
                },
                "required": [
                  "decision",
                  "reason"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "expectedRevision",
              "operatorId",
              "id",
              "type",
              "fields"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "expectedRevision": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740990
              },
              "type": {
                "type": "string",
                "const": "delete_yachts"
              },
              "yachts": {
                "minItems": 1,
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "pattern": "^[A-Za-z0-9_-]{1,160}$"
                    },
                    "operatorId": {
                      "type": "string",
                      "pattern": "^[A-Za-z0-9_-]{1,160}$"
                    }
                  },
                  "required": [
                    "id",
                    "operatorId"
                  ],
                  "additionalProperties": false
                }
              },
              "fields": {
                "type": "object",
                "properties": {
                  "confirmed": {
                    "type": "boolean",
                    "const": true
                  }
                },
                "required": [
                  "confirmed"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "expectedRevision",
              "type",
              "yachts",
              "fields"
            ],
            "additionalProperties": false
          }
        ],
        "description": "Strict current reviewer/company/country/CAS TEST action. Simple manual company status/contact tracking, optional contract records and targeted catalogue/identity exceptions. No due-diligence checklist required for ordinary activation. No access grant, supply edit, real booking, payment or legal permission."
      },
      "AdminManagementStorage": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "version": {
            "type": "number",
            "const": 1
          },
          "operators": {
            "maxItems": 100000,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "operatorId": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9_-]{1,160}$"
                },
                "country": {
                  "type": "string"
                },
                "status": {
                  "type": "string",
                  "enum": [
                    "draft",
                    "onboarding",
                    "active",
                    "paused"
                  ]
                },
                "responsiblePerson": {
                  "type": "string",
                  "maxLength": 200
                },
                "contactName": {
                  "type": "string",
                  "maxLength": 200
                },
                "contactEmail": {
                  "type": "string",
                  "maxLength": 320
                },
                "contactPhone": {
                  "type": "string",
                  "maxLength": 80
                },
                "relationshipNotes": {
                  "type": "string",
                  "maxLength": 4000
                },
                "verificationNotes": {
                  "type": "string",
                  "maxLength": 4000
                },
                "businessIssues": {
                  "maxItems": 100,
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 4000
                  }
                },
                "checklist": {
                  "type": "object",
                  "properties": {
                    "companyVerified": {
                      "type": "boolean"
                    },
                    "contactVerified": {
                      "type": "boolean"
                    },
                    "businessIssuesResolved": {
                      "type": "boolean"
                    },
                    "evidence": {
                      "type": "string",
                      "maxLength": 4000
                    }
                  },
                  "required": [
                    "companyVerified",
                    "contactVerified",
                    "businessIssuesResolved",
                    "evidence"
                  ],
                  "additionalProperties": false
                },
                "distributionPaused": {
                  "type": "boolean"
                },
                "pausedPreviousStatus": {
                  "type": "string",
                  "enum": [
                    "draft",
                    "onboarding",
                    "active"
                  ]
                },
                "distributionDecision": {
                  "type": "object",
                  "properties": {
                    "paused": {
                      "type": "boolean"
                    },
                    "at": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                    }
                  },
                  "required": [
                    "paused",
                    "at"
                  ],
                  "additionalProperties": false
                },
                "approval": {
                  "type": "object",
                  "properties": {
                    "contractId": {
                      "type": "string",
                      "pattern": "^[A-Za-z0-9_-]{1,160}$"
                    },
                    "at": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                    },
                    "actor": {
                      "type": "string",
                      "pattern": "^[A-Za-z0-9_-]{1,160}$"
                    }
                  },
                  "required": [
                    "contractId",
                    "at",
                    "actor"
                  ],
                  "additionalProperties": false
                },
                "updatedAt": {
                  "type": "string",
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                },
                "activation": {
                  "type": "object",
                  "properties": {
                    "at": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                    },
                    "actor": {
                      "type": "string",
                      "pattern": "^[A-Za-z0-9_-]{1,160}$"
                    }
                  },
                  "required": [
                    "at",
                    "actor"
                  ],
                  "additionalProperties": false
                }
              },
              "required": [
                "operatorId",
                "country",
                "status",
                "responsiblePerson",
                "contactName",
                "contactEmail",
                "contactPhone",
                "relationshipNotes",
                "verificationNotes",
                "businessIssues",
                "checklist",
                "distributionPaused",
                "updatedAt"
              ],
              "additionalProperties": false
            }
          },
          "contracts": {
            "maxItems": 100000,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9_-]{1,160}$"
                },
                "operatorId": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9_-]{1,160}$"
                },
                "country": {
                  "type": "string"
                },
                "name": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 200
                },
                "version": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 200
                },
                "signatureStatus": {
                  "type": "string",
                  "enum": [
                    "draft",
                    "awaiting_signature",
                    "signed"
                  ]
                },
                "documentReference": {
                  "type": "string",
                  "maxLength": 1000
                },
                "signedAt": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "effectiveFrom": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "effectiveTo": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "noticeDue": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "updatedAt": {
                  "type": "string",
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                },
                "actor": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9_-]{1,160}$"
                }
              },
              "required": [
                "id",
                "operatorId",
                "country",
                "name",
                "version",
                "signatureStatus",
                "documentReference",
                "signedAt",
                "effectiveFrom",
                "effectiveTo",
                "noticeDue",
                "updatedAt",
                "actor"
              ],
              "additionalProperties": false
            }
          },
          "issues": {
            "maxItems": 200000,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9_-]{1,160}$"
                },
                "yachtId": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9_-]{1,160}$"
                },
                "operatorId": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9_-]{1,160}$"
                },
                "country": {
                  "type": "string"
                },
                "category": {
                  "type": "string",
                  "enum": [
                    "missing_details",
                    "facts",
                    "base_country",
                    "capacity",
                    "identity",
                    "ownership",
                    "safety",
                    "duplicate"
                  ]
                },
                "severity": {
                  "type": "string",
                  "enum": [
                    "warning",
                    "critical"
                  ]
                },
                "title": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 200
                },
                "reason": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 4000
                },
                "evidence": {
                  "type": "string",
                  "maxLength": 4000
                },
                "status": {
                  "type": "string",
                  "enum": [
                    "open",
                    "resolved"
                  ]
                },
                "identity": {
                  "type": "object",
                  "properties": {
                    "yachtId": {
                      "type": "string",
                      "pattern": "^[A-Za-z0-9_-]{1,160}$"
                    },
                    "operatorId": {
                      "type": "string",
                      "pattern": "^[A-Za-z0-9_-]{1,160}$"
                    },
                    "country": {
                      "type": "string"
                    },
                    "operatorCountry": {
                      "type": "string"
                    },
                    "yachtSource": {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {
                            "provider": {
                              "type": "string"
                            },
                            "sourceId": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "provider",
                            "sourceId"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "operatorSource": {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {
                            "provider": {
                              "type": "string"
                            },
                            "sourceId": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "provider",
                            "sourceId"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "yachtId",
                    "operatorId",
                    "country",
                    "operatorCountry",
                    "yachtSource",
                    "operatorSource"
                  ],
                  "additionalProperties": false
                },
                "createdAt": {
                  "type": "string",
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                },
                "actor": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9_-]{1,160}$"
                },
                "resolutionReason": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 4000
                },
                "resolutionEvidence": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 4000
                },
                "resolvedAt": {
                  "type": "string",
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                },
                "resolvedBy": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9_-]{1,160}$"
                },
                "automated": {
                  "type": "boolean"
                }
              },
              "required": [
                "id",
                "yachtId",
                "operatorId",
                "country",
                "category",
                "severity",
                "title",
                "reason",
                "evidence",
                "status",
                "identity",
                "createdAt",
                "actor",
                "automated"
              ],
              "additionalProperties": false
            }
          },
          "duplicates": {
            "maxItems": 100000,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9_-]{1,160}$"
                },
                "primary": {
                  "type": "object",
                  "properties": {
                    "yachtId": {
                      "type": "string",
                      "pattern": "^[A-Za-z0-9_-]{1,160}$"
                    },
                    "operatorId": {
                      "type": "string",
                      "pattern": "^[A-Za-z0-9_-]{1,160}$"
                    },
                    "country": {
                      "type": "string"
                    },
                    "operatorCountry": {
                      "type": "string"
                    },
                    "yachtSource": {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {
                            "provider": {
                              "type": "string"
                            },
                            "sourceId": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "provider",
                            "sourceId"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "operatorSource": {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {
                            "provider": {
                              "type": "string"
                            },
                            "sourceId": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "provider",
                            "sourceId"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "yachtId",
                    "operatorId",
                    "country",
                    "operatorCountry",
                    "yachtSource",
                    "operatorSource"
                  ],
                  "additionalProperties": false
                },
                "secondary": {
                  "type": "object",
                  "properties": {
                    "yachtId": {
                      "type": "string",
                      "pattern": "^[A-Za-z0-9_-]{1,160}$"
                    },
                    "operatorId": {
                      "type": "string",
                      "pattern": "^[A-Za-z0-9_-]{1,160}$"
                    },
                    "country": {
                      "type": "string"
                    },
                    "operatorCountry": {
                      "type": "string"
                    },
                    "yachtSource": {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {
                            "provider": {
                              "type": "string"
                            },
                            "sourceId": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "provider",
                            "sourceId"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "operatorSource": {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {
                            "provider": {
                              "type": "string"
                            },
                            "sourceId": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "provider",
                            "sourceId"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "yachtId",
                    "operatorId",
                    "country",
                    "operatorCountry",
                    "yachtSource",
                    "operatorSource"
                  ],
                  "additionalProperties": false
                },
                "status": {
                  "type": "string",
                  "enum": [
                    "resolved",
                    "reopened"
                  ]
                },
                "reason": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 4000
                },
                "evidence": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 4000
                },
                "at": {
                  "type": "string",
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                },
                "actor": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9_-]{1,160}$"
                },
                "reopenedAt": {
                  "type": "string",
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                },
                "reopenReason": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 4000
                },
                "reopenEvidence": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 4000
                }
              },
              "required": [
                "id",
                "primary",
                "secondary",
                "status",
                "reason",
                "evidence",
                "at",
                "actor"
              ],
              "additionalProperties": false
            }
          },
          "catalogueDecisions": {
            "maxItems": 200000,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9_-]{1,160}$"
                },
                "yachtId": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9_-]{1,160}$"
                },
                "operatorId": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9_-]{1,160}$"
                },
                "name": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 200
                },
                "identity": {
                  "type": "object",
                  "properties": {
                    "yachtId": {
                      "type": "string",
                      "pattern": "^[A-Za-z0-9_-]{1,160}$"
                    },
                    "operatorId": {
                      "type": "string",
                      "pattern": "^[A-Za-z0-9_-]{1,160}$"
                    },
                    "country": {
                      "type": "string"
                    },
                    "operatorCountry": {
                      "type": "string"
                    },
                    "yachtSource": {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {
                            "provider": {
                              "type": "string"
                            },
                            "sourceId": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "provider",
                            "sourceId"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "operatorSource": {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {
                            "provider": {
                              "type": "string"
                            },
                            "sourceId": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "provider",
                            "sourceId"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "yachtId",
                    "operatorId",
                    "country",
                    "operatorCountry",
                    "yachtSource",
                    "operatorSource"
                  ],
                  "additionalProperties": false
                },
                "history": {
                  "minItems": 1,
                  "maxItems": 1000,
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "decision": {
                        "type": "string",
                        "enum": [
                          "match_existing",
                          "approve_new",
                          "move_to_services",
                          "request_clarification",
                          "decline"
                        ]
                      },
                      "reason": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 4000
                      },
                      "standardizedName": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 100,
                        "pattern": "^[A-Za-z0-9][A-Za-z0-9 /&+().,'-]*$"
                      },
                      "category": {
                        "type": "string",
                        "enum": [
                          "comfort_onboard",
                          "water_sports_leisure",
                          "deck_outdoor"
                        ]
                      },
                      "existingCode": {
                        "type": "string",
                        "pattern": "^[a-z][a-z0-9_]{0,79}$"
                      },
                      "code": {
                        "type": "string",
                        "pattern": "^[a-z][a-z0-9_]{0,79}$"
                      },
                      "at": {
                        "type": "string",
                        "format": "date-time",
                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                      },
                      "actor": {
                        "type": "string",
                        "pattern": "^[A-Za-z0-9_-]{1,160}$"
                      }
                    },
                    "required": [
                      "decision",
                      "reason",
                      "at",
                      "actor"
                    ],
                    "additionalProperties": false
                  }
                }
              },
              "required": [
                "id",
                "yachtId",
                "operatorId",
                "name",
                "history"
              ],
              "additionalProperties": false
            }
          },
          "catalogueItems": {
            "maxItems": 100000,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "code": {
                  "type": "string",
                  "pattern": "^admin_[a-f0-9]{24}$"
                },
                "label": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 200
                },
                "category": {
                  "type": "string",
                  "enum": [
                    "comfort_onboard",
                    "water_sports_leisure",
                    "deck_outdoor"
                  ]
                },
                "requestId": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9_-]{1,160}$"
                },
                "createdAt": {
                  "type": "string",
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                }
              },
              "required": [
                "code",
                "label",
                "category",
                "requestId",
                "createdAt"
              ],
              "additionalProperties": false
            }
          },
          "activity": {
            "maxItems": 2000,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9_-]{1,160}$"
                },
                "at": {
                  "type": "string",
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                },
                "actor": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9_-]{1,160}$"
                },
                "event": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 200
                },
                "operatorId": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9_-]{1,160}$"
                },
                "target": {
                  "type": "object",
                  "properties": {
                    "section": {
                      "type": "string",
                      "enum": [
                        "operators",
                        "yachts",
                        "catalogue",
                        "legacy-content",
                        "legacy-access"
                      ]
                    },
                    "id": {
                      "type": "string",
                      "pattern": "^[A-Za-z0-9_-]{1,160}$"
                    },
                    "tab": {
                      "type": "string",
                      "maxLength": 40
                    }
                  },
                  "required": [
                    "section",
                    "id"
                  ],
                  "additionalProperties": false
                },
                "relatedOperatorIds": {
                  "maxItems": 2,
                  "type": "array",
                  "items": {
                    "type": "string",
                    "pattern": "^[A-Za-z0-9_-]{1,160}$"
                  }
                },
                "reason": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 4000
                }
              },
              "required": [
                "id",
                "at",
                "actor",
                "event",
                "operatorId",
                "target"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "version",
          "operators",
          "contracts",
          "issues",
          "duplicates",
          "catalogueDecisions",
          "catalogueItems",
          "activity"
        ],
        "additionalProperties": false,
        "description": "Private canonical metadata schema, not returned to operators or OTA partners."
      },
      "AdminTarget": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "section",
          "id"
        ],
        "properties": {
          "section": {
            "enum": [
              "operators",
              "yachts",
              "catalogue",
              "legacy-content",
              "legacy-access"
            ]
          },
          "id": {
            "type": "string"
          },
          "operatorId": {
            "type": "string"
          },
          "tab": {
            "type": "string"
          }
        }
      },
      "AdminContract": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "id",
          "operatorId",
          "operatorName",
          "country",
          "name",
          "version",
          "signatureStatus",
          "documentReference",
          "signedAt",
          "effectiveFrom",
          "effectiveTo",
          "noticeDue",
          "statusLabel",
          "updatedAt"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "operatorId": {
            "type": "string"
          },
          "operatorName": {
            "type": "string"
          },
          "country": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "version": {
            "type": "string"
          },
          "signatureStatus": {
            "enum": [
              "draft",
              "awaiting_signature",
              "signed"
            ]
          },
          "documentReference": {
            "type": "string"
          },
          "signedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date"
          },
          "effectiveFrom": {
            "type": [
              "string",
              "null"
            ],
            "format": "date"
          },
          "effectiveTo": {
            "type": [
              "string",
              "null"
            ],
            "format": "date"
          },
          "noticeDue": {
            "type": [
              "string",
              "null"
            ],
            "format": "date"
          },
          "statusLabel": {
            "type": "string"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "description": "Manually recorded private company agreement; never claims an electronic signature, legal verification or onward supplier rights."
      },
      "AdminState": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "revision",
          "principal",
          "mode",
          "companies",
          "contracts",
          "yachts",
          "issues",
          "catalogueRequests",
          "catalogueItems",
          "duplicateGroups",
          "activity",
          "overview"
        ],
        "properties": {
          "revision": {
            "type": "integer",
            "minimum": 0
          },
          "principal": {
            "type": "object",
            "required": [
              "tenantId",
              "role",
              "operatorId"
            ],
            "properties": {
              "tenantId": {
                "type": "string"
              },
              "role": {
                "enum": [
                  "operator",
                  "reviewer"
                ]
              },
              "operatorId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "countries": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "globalSellingPrices": {
                "const": true,
                "description": "Server-only capability for the configured primary pricing Admin. Existing country/operator rights stay unchanged; never accepted from request fields."
              }
            }
          },
          "mode": {
            "const": "TEST"
          },
          "accountUser": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "name",
              "email"
            ],
            "properties": {
              "name": {
                "type": "string"
              },
              "email": {
                "type": "string"
              }
            }
          },
          "companies": {
            "type": "array",
            "items": {
              "type": "object",
              "description": "Current scoped company, manual business lifecycle/checklist/contact metadata; missing imported relationships are Draft, not commercially approved."
            }
          },
          "contracts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AdminContract"
            }
          },
          "yachts": {
            "type": "array",
            "items": {
              "type": "object",
              "description": "Scoped active read-only fleet facts with owner publication and explicit issues; no blanket Admin verified status. Resolved secondary duplicate rows appear in scoped comparisons only."
            }
          },
          "issues": {
            "type": "array",
            "items": {
              "type": "object",
              "description": "Automated missing-fact candidates versus explicitly recorded warning/critical issues; only explicit identity/ownership/safety critical issues restrict distribution."
            }
          },
          "catalogueRequests": {
            "type": "array",
            "items": {
              "type": "object",
              "description": "Derived committed active custom equipment, current exact yacht/company/name decision trail; no draft or withdrawn source backfill."
            }
          },
          "catalogueItems": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "code",
                "label",
                "category"
              ],
              "properties": {
                "code": {
                  "type": "string"
                },
                "label": {
                  "type": "string"
                },
                "category": {
                  "enum": [
                    "comfort_onboard",
                    "water_sports_leisure",
                    "deck_outdoor"
                  ]
                }
              }
            }
          },
          "duplicateGroups": {
            "type": "array",
            "items": {
              "type": "object",
              "description": "Candidate versus explicit selected primary/secondary. Original rows/physical claims retained; primary does not bypass existing physical eligibility checks."
            }
          },
          "activity": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "at": {
                  "type": "string",
                  "format": "date-time"
                },
                "actor": {
                  "type": "string"
                },
                "event": {
                  "type": "string"
                },
                "target": {
                  "$ref": "#/components/schemas/AdminTarget"
                }
              }
            }
          },
          "overview": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "operators",
              "onboardingOperators",
              "yachts",
              "operatorPublishedYachts",
              "publishedTestHolidays",
              "needsAttention",
              "tasks"
            ],
            "properties": {
              "operators": {
                "type": "integer",
                "minimum": 0
              },
              "onboardingOperators": {
                "type": "integer",
                "minimum": 0
              },
              "yachts": {
                "type": "integer",
                "minimum": 0
              },
              "operatorPublishedYachts": {
                "type": "integer",
                "minimum": 0
              },
              "publishedTestHolidays": {
                "type": "integer",
                "minimum": 0
              },
              "needsAttention": {
                "type": "integer",
                "minimum": 0
              },
              "tasks": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "group",
                    "title",
                    "count",
                    "target"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "group": {
                      "type": "string"
                    },
                    "title": {
                      "type": "string"
                    },
                    "count": {
                      "type": "integer",
                      "minimum": 0
                    },
                    "target": {
                      "$ref": "#/components/schemas/AdminTarget"
                    }
                  }
                }
              }
            }
          }
        }
      },
      "AdminAccessQuery": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "operatorId": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_-]{1,160}$"
          }
        },
        "required": [
          "operatorId"
        ],
        "additionalProperties": false
      },
      "AdminAccessRevoke": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "operatorId": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_-]{1,160}$"
          },
          "expectedRevision": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "identityVersion": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "confirmed": {
            "type": "boolean",
            "const": true
          },
          "reason": {
            "type": "string",
            "minLength": 1,
            "maxLength": 2000
          }
        },
        "required": [
          "operatorId",
          "expectedRevision",
          "identityVersion",
          "confirmed",
          "reason"
        ],
        "additionalProperties": false
      },
      "AdminAccessGrant": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "accessId",
          "displayName",
          "mode",
          "role",
          "credentialKind",
          "status",
          "identityVersion"
        ],
        "properties": {
          "accessId": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_-]{1,160}$"
          },
          "displayName": {
            "type": "string"
          },
          "mode": {
            "const": "TEST"
          },
          "role": {
            "const": "operator"
          },
          "credentialKind": {
            "const": "private_code"
          },
          "status": {
            "enum": [
              "active",
              "revoked"
            ]
          },
          "identityVersion": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid"
          }
        },
        "description": "Safe grant label/status only. No key, hash, email identity, raw scope list or fabricated user/account timestamps."
      },
      "AdminAccessList": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "mode",
          "revision",
          "principal",
          "company",
          "grants"
        ],
        "properties": {
          "mode": {
            "const": "TEST"
          },
          "revision": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "principal": {
            "type": "object",
            "required": [
              "tenantId",
              "role",
              "operatorId"
            ],
            "properties": {
              "tenantId": {
                "type": "string"
              },
              "role": {
                "const": "reviewer"
              },
              "operatorId": {
                "type": "null"
              },
              "countries": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "globalSellingPrices": {
                "const": true,
                "description": "Server-only capability for the configured primary pricing Admin. Existing country/operator rights stay unchanged; never accepted from request fields."
              }
            }
          },
          "company": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "id",
              "name",
              "country"
            ],
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9_-]{1,160}$"
              },
              "name": {
                "type": "string"
              },
              "country": {
                "type": "string"
              }
            }
          },
          "grants": {
            "type": "array",
            "maxItems": 1000,
            "items": {
              "$ref": "#/components/schemas/AdminAccessGrant"
            }
          }
        }
      },
      "AdminAccessAcknowledgement": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "accessId",
          "operatorId",
          "identityVersion",
          "status",
          "confirmed",
          "reason"
        ],
        "properties": {
          "accessId": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_-]{1,160}$"
          },
          "operatorId": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_-]{1,160}$"
          },
          "identityVersion": {
            "type": "string",
            "format": "uuid"
          },
          "status": {
            "const": "revoked"
          },
          "confirmed": {
            "const": true
          },
          "reason": {
            "type": "string",
            "minLength": 1,
            "maxLength": 2000
          }
        }
      },
      "AdminAccessRevocationResult": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "mode",
          "revision",
          "principal",
          "company",
          "grants",
          "acknowledgement"
        ],
        "properties": {
          "mode": {
            "const": "TEST"
          },
          "revision": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "principal": {
            "type": "object",
            "required": [
              "tenantId",
              "role",
              "operatorId"
            ],
            "properties": {
              "tenantId": {
                "type": "string"
              },
              "role": {
                "const": "reviewer"
              },
              "operatorId": {
                "type": "null"
              },
              "countries": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "globalSellingPrices": {
                "const": true,
                "description": "Server-only capability for the configured primary pricing Admin. Existing country/operator rights stay unchanged; never accepted from request fields."
              }
            }
          },
          "company": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "id",
              "name",
              "country"
            ],
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9_-]{1,160}$"
              },
              "name": {
                "type": "string"
              },
              "country": {
                "type": "string"
              }
            }
          },
          "grants": {
            "type": "array",
            "maxItems": 1000,
            "items": {
              "$ref": "#/components/schemas/AdminAccessGrant"
            }
          },
          "acknowledgement": {
            "$ref": "#/components/schemas/AdminAccessAcknowledgement"
          }
        }
      },
      "AdminOperationsQuery": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "section": {
            "type": "string",
            "enum": [
              "itineraries",
              "inventory",
              "bookings",
              "distribution",
              "finance",
              "settings"
            ]
          }
        },
        "required": [
          "section"
        ],
        "additionalProperties": false
      },
      "AdminOperationsAction": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "expectedRevision": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740990
              },
              "type": {
                "type": "string",
                "const": "save_itinerary_editor"
              },
              "id": {
                "anyOf": [
                  {
                    "type": "string",
                    "pattern": "^itinerary_[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                  },
                  {
                    "type": "string",
                    "maxLength": 160,
                    "pattern": "^cosmos_itinerary_[a-z0-9]+(?:-[a-z0-9]+)*$"
                  }
                ]
              },
              "fields": {
                "type": "object",
                "properties": {
                  "itinerary": {
                    "type": "object",
                    "properties": {
                      "harbourId": {
                        "type": "string",
                        "pattern": "^[A-Za-z0-9_-]{1,160}$"
                      },
                      "durationDays": {
                        "anyOf": [
                          {
                            "type": "number",
                            "const": 7
                          },
                          {
                            "type": "number",
                            "const": 14
                          }
                        ]
                      },
                      "titleEn": {
                        "type": "string",
                        "maxLength": 200
                      },
                      "summaryEn": {
                        "type": "string",
                        "maxLength": 4000
                      },
                      "itineraryEn": {
                        "type": "string",
                        "maxLength": 16000
                      }
                    },
                    "required": [
                      "harbourId",
                      "durationDays",
                      "titleEn",
                      "summaryEn",
                      "itineraryEn"
                    ],
                    "additionalProperties": false
                  },
                  "profile": {
                    "type": "object",
                    "properties": {
                      "highlightsEn": {
                        "maxItems": 6,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 1000
                        }
                      },
                      "goodFor": {
                        "maxItems": 3,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "families",
                            "couples",
                            "friends"
                          ]
                        }
                      },
                      "interests": {
                        "maxItems": 5,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "relaxation",
                            "adventure",
                            "culture",
                            "food",
                            "swimming_snorkelling"
                          ]
                        }
                      },
                      "pace": {
                        "anyOf": [
                          {
                            "type": "string",
                            "enum": [
                              "relaxed",
                              "balanced",
                              "active"
                            ]
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "sailingNotesEn": {
                        "type": "string",
                        "maxLength": 1000
                      },
                      "seasonalNotesEn": {
                        "type": "string",
                        "maxLength": 1000
                      },
                      "stops": {
                        "maxItems": 28,
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "day": {
                              "type": "integer",
                              "minimum": 1,
                              "maximum": 14
                            },
                            "destinationId": {
                              "type": "string",
                              "pattern": "^destination_[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                            },
                            "noteEn": {
                              "type": "string",
                              "maxLength": 1000
                            }
                          },
                          "required": [
                            "day",
                            "destinationId",
                            "noteEn"
                          ],
                          "additionalProperties": false
                        }
                      }
                    },
                    "required": [
                      "highlightsEn",
                      "goodFor",
                      "interests",
                      "pace",
                      "sailingNotesEn",
                      "seasonalNotesEn",
                      "stops"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "itinerary",
                  "profile"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "expectedRevision",
              "type",
              "fields"
            ],
            "additionalProperties": false
          },
          {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string",
                    "const": "create_itinerary"
                  },
                  "expectedRevision": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740990
                  },
                  "fields": {
                    "type": "object",
                    "properties": {
                      "harbourId": {
                        "type": "string",
                        "pattern": "^[A-Za-z0-9_-]{1,160}$"
                      },
                      "durationDays": {
                        "anyOf": [
                          {
                            "type": "number",
                            "const": 7
                          },
                          {
                            "type": "number",
                            "const": 14
                          }
                        ]
                      },
                      "titleEn": {
                        "type": "string",
                        "maxLength": 200
                      },
                      "summaryEn": {
                        "type": "string",
                        "maxLength": 4000
                      },
                      "itineraryEn": {
                        "type": "string",
                        "maxLength": 16000
                      }
                    },
                    "required": [
                      "harbourId",
                      "durationDays",
                      "titleEn",
                      "summaryEn",
                      "itineraryEn"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "type",
                  "expectedRevision",
                  "fields"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string",
                    "const": "update_itinerary"
                  },
                  "expectedRevision": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740990
                  },
                  "id": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^itinerary_[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                      },
                      {
                        "type": "string",
                        "maxLength": 160,
                        "pattern": "^cosmos_itinerary_[a-z0-9]+(?:-[a-z0-9]+)*$"
                      }
                    ]
                  },
                  "fields": {
                    "type": "object",
                    "properties": {
                      "harbourId": {
                        "type": "string",
                        "pattern": "^[A-Za-z0-9_-]{1,160}$"
                      },
                      "durationDays": {
                        "anyOf": [
                          {
                            "type": "number",
                            "const": 7
                          },
                          {
                            "type": "number",
                            "const": 14
                          }
                        ]
                      },
                      "titleEn": {
                        "type": "string",
                        "maxLength": 200
                      },
                      "summaryEn": {
                        "type": "string",
                        "maxLength": 4000
                      },
                      "itineraryEn": {
                        "type": "string",
                        "maxLength": 16000
                      }
                    },
                    "required": [
                      "harbourId",
                      "durationDays",
                      "titleEn",
                      "summaryEn",
                      "itineraryEn"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "type",
                  "expectedRevision",
                  "id",
                  "fields"
                ],
                "additionalProperties": false
              }
            ]
          },
          {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string",
                    "const": "save_holiday_profile"
                  },
                  "expectedRevision": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740990
                  },
                  "id": {
                    "type": "string",
                    "maxLength": 160,
                    "pattern": "^(?:itinerary_[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|cosmos_itinerary_[a-z0-9]+(?:-[a-z0-9]+)*)$"
                  },
                  "fields": {
                    "type": "object",
                    "properties": {
                      "highlightsEn": {
                        "maxItems": 6,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 1000
                        }
                      },
                      "goodFor": {
                        "maxItems": 3,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "families",
                            "couples",
                            "friends"
                          ]
                        }
                      },
                      "interests": {
                        "maxItems": 5,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "relaxation",
                            "adventure",
                            "culture",
                            "food",
                            "swimming_snorkelling"
                          ]
                        }
                      },
                      "pace": {
                        "anyOf": [
                          {
                            "type": "string",
                            "enum": [
                              "relaxed",
                              "balanced",
                              "active"
                            ]
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "sailingNotesEn": {
                        "type": "string",
                        "maxLength": 1000
                      },
                      "seasonalNotesEn": {
                        "type": "string",
                        "maxLength": 1000
                      },
                      "stops": {
                        "maxItems": 28,
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "day": {
                              "type": "integer",
                              "minimum": 1,
                              "maximum": 14
                            },
                            "destinationId": {
                              "type": "string",
                              "pattern": "^destination_[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                            },
                            "noteEn": {
                              "type": "string",
                              "maxLength": 1000
                            }
                          },
                          "required": [
                            "day",
                            "destinationId",
                            "noteEn"
                          ],
                          "additionalProperties": false
                        }
                      }
                    },
                    "required": [
                      "highlightsEn",
                      "goodFor",
                      "interests",
                      "pace",
                      "sailingNotesEn",
                      "seasonalNotesEn",
                      "stops"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "type",
                  "expectedRevision",
                  "id",
                  "fields"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string",
                    "const": "save_destination"
                  },
                  "expectedRevision": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740990
                  },
                  "id": {
                    "type": "string",
                    "pattern": "^destination_[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                  },
                  "fields": {
                    "type": "object",
                    "properties": {
                      "country": {
                        "type": "string",
                        "pattern": "^[A-Z]{2}$"
                      },
                      "nameEn": {
                        "type": "string",
                        "maxLength": 200
                      },
                      "summaryEn": {
                        "type": "string",
                        "maxLength": 4000
                      },
                      "activitiesEn": {
                        "maxItems": 3,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 1000
                        }
                      },
                      "funFactsEn": {
                        "maxItems": 2,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 1000
                        }
                      },
                      "latitude": {
                        "anyOf": [
                          {
                            "type": "number",
                            "minimum": -90,
                            "maximum": 90
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "longitude": {
                        "anyOf": [
                          {
                            "type": "number",
                            "minimum": -180,
                            "maximum": 180
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "required": [
                      "country",
                      "nameEn",
                      "summaryEn",
                      "activitiesEn",
                      "funFactsEn",
                      "latitude",
                      "longitude"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "type",
                  "expectedRevision",
                  "fields"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string",
                    "const": "set_destination_photo_cover"
                  },
                  "expectedRevision": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740990
                  },
                  "id": {
                    "type": "string",
                    "pattern": "^destination_[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                  },
                  "fields": {
                    "type": "object",
                    "properties": {
                      "photoId": {
                        "type": "string",
                        "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                      }
                    },
                    "required": [
                      "photoId"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "type",
                  "expectedRevision",
                  "id",
                  "fields"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string",
                    "const": "remove_destination_photo"
                  },
                  "expectedRevision": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740990
                  },
                  "id": {
                    "type": "string",
                    "pattern": "^destination_[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                  },
                  "fields": {
                    "type": "object",
                    "properties": {
                      "photoId": {
                        "type": "string",
                        "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                      }
                    },
                    "required": [
                      "photoId"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "type",
                  "expectedRevision",
                  "id",
                  "fields"
                ],
                "additionalProperties": false
              }
            ]
          },
          {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string",
                    "const": "update_lifestyle_photo"
                  },
                  "expectedRevision": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740990
                  },
                  "id": {
                    "type": "string",
                    "pattern": "^lifestyle_[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                  },
                  "fields": {
                    "type": "object",
                    "properties": {
                      "country": {
                        "anyOf": [
                          {
                            "type": "string",
                            "pattern": "^[A-Z]{2}$"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "captionEn": {
                        "type": "string",
                        "maxLength": 200
                      },
                      "category": {
                        "type": "string",
                        "enum": [
                          "sailing",
                          "onboard_dining",
                          "relaxation",
                          "swimming",
                          "family",
                          "friends",
                          "adventure"
                        ]
                      }
                    },
                    "required": [
                      "country",
                      "captionEn",
                      "category"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "type",
                  "expectedRevision",
                  "id",
                  "fields"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string",
                    "const": "remove_lifestyle_photo"
                  },
                  "expectedRevision": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740990
                  },
                  "id": {
                    "type": "string",
                    "pattern": "^lifestyle_[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                  },
                  "fields": {
                    "type": "object",
                    "properties": {},
                    "additionalProperties": false
                  }
                },
                "required": [
                  "type",
                  "expectedRevision",
                  "id",
                  "fields"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string",
                    "const": "set_itinerary_photos"
                  },
                  "expectedRevision": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740990
                  },
                  "id": {
                    "type": "string",
                    "maxLength": 160,
                    "pattern": "^(?:itinerary_[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|cosmos_itinerary_[a-z0-9]+(?:-[a-z0-9]+)*)$"
                  },
                  "fields": {
                    "type": "object",
                    "properties": {
                      "photoIds": {
                        "maxItems": 12,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                        }
                      },
                      "coverPhotoId": {
                        "anyOf": [
                          {
                            "type": "string",
                            "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "required": [
                      "photoIds",
                      "coverPhotoId"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "type",
                  "expectedRevision",
                  "id",
                  "fields"
                ],
                "additionalProperties": false
              }
            ]
          },
          {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "expectedRevision": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740990
                  },
                  "operatorId": {
                    "type": "string",
                    "pattern": "^[A-Za-z0-9_-]{1,160}$"
                  },
                  "type": {
                    "type": "string",
                    "const": "create_admin_booking"
                  },
                  "fields": {
                    "type": "object",
                    "properties": {
                      "yachtId": {
                        "type": "string",
                        "pattern": "^[A-Za-z0-9_-]{1,160}$"
                      },
                      "dateFrom": {
                        "type": "string",
                        "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                      },
                      "dateTo": {
                        "type": "string",
                        "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                      },
                      "contactName": {
                        "type": "string",
                        "maxLength": 200
                      },
                      "contactEmail": {
                        "type": "string",
                        "maxLength": 320
                      },
                      "guests": {
                        "anyOf": [
                          {
                            "type": "integer",
                            "exclusiveMinimum": 0,
                            "maximum": 9007199254740991
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "requestReference": {
                        "type": "string",
                        "maxLength": 200
                      },
                      "notes": {
                        "type": "string",
                        "maxLength": 4000
                      },
                      "quotedTotalCents": {
                        "anyOf": [
                          {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "status": {
                        "type": "string",
                        "enum": [
                          "requested",
                          "confirmed_test",
                          "declined",
                          "lost",
                          "cancelled"
                        ]
                      }
                    },
                    "required": [
                      "yachtId",
                      "dateFrom",
                      "dateTo",
                      "guests",
                      "quotedTotalCents",
                      "status"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "expectedRevision",
                  "operatorId",
                  "type",
                  "fields"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "expectedRevision": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740990
                  },
                  "operatorId": {
                    "type": "string",
                    "pattern": "^[A-Za-z0-9_-]{1,160}$"
                  },
                  "type": {
                    "type": "string",
                    "const": "update_admin_booking"
                  },
                  "id": {
                    "type": "string",
                    "pattern": "^[A-Za-z0-9_-]{1,160}$"
                  },
                  "fields": {
                    "type": "object",
                    "properties": {
                      "dateFrom": {
                        "type": "string",
                        "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                      },
                      "dateTo": {
                        "type": "string",
                        "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                      },
                      "contactName": {
                        "type": "string",
                        "maxLength": 200
                      },
                      "contactEmail": {
                        "type": "string",
                        "maxLength": 320
                      },
                      "guests": {
                        "anyOf": [
                          {
                            "type": "integer",
                            "exclusiveMinimum": 0,
                            "maximum": 9007199254740991
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "requestReference": {
                        "type": "string",
                        "maxLength": 200
                      },
                      "notes": {
                        "type": "string",
                        "maxLength": 4000
                      },
                      "quotedTotalCents": {
                        "anyOf": [
                          {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "status": {
                        "type": "string",
                        "enum": [
                          "requested",
                          "confirmed_test",
                          "declined",
                          "lost",
                          "cancelled"
                        ]
                      }
                    },
                    "required": [
                      "dateFrom",
                      "dateTo",
                      "guests",
                      "quotedTotalCents",
                      "status"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "expectedRevision",
                  "operatorId",
                  "type",
                  "id",
                  "fields"
                ],
                "additionalProperties": false
              }
            ]
          },
          {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "expectedRevision": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740990
                  },
                  "type": {
                    "type": "string",
                    "const": "create_admin_partner"
                  },
                  "fields": {
                    "type": "object",
                    "properties": {
                      "name": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      },
                      "contactName": {
                        "default": "",
                        "type": "string",
                        "maxLength": 200
                      },
                      "email": {
                        "default": "",
                        "type": "string",
                        "maxLength": 320
                      },
                      "site": {
                        "default": "",
                        "type": "string",
                        "maxLength": 2000
                      },
                      "notes": {
                        "default": "",
                        "type": "string",
                        "maxLength": 4000
                      },
                      "status": {
                        "type": "string",
                        "enum": [
                          "active",
                          "paused"
                        ]
                      },
                      "operatorIds": {
                        "minItems": 1,
                        "maxItems": 1000,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "pattern": "^[A-Za-z0-9_-]{1,160}$"
                        }
                      }
                    },
                    "required": [
                      "name",
                      "contactName",
                      "email",
                      "site",
                      "notes",
                      "status",
                      "operatorIds"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "expectedRevision",
                  "type",
                  "fields"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "expectedRevision": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740990
                  },
                  "type": {
                    "type": "string",
                    "const": "update_admin_partner"
                  },
                  "id": {
                    "type": "string",
                    "pattern": "^[A-Za-z0-9_-]{1,160}$"
                  },
                  "fields": {
                    "type": "object",
                    "properties": {
                      "name": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      },
                      "contactName": {
                        "type": "string",
                        "maxLength": 200
                      },
                      "email": {
                        "type": "string",
                        "maxLength": 320
                      },
                      "site": {
                        "type": "string",
                        "maxLength": 2000
                      },
                      "notes": {
                        "type": "string",
                        "maxLength": 4000
                      },
                      "status": {
                        "type": "string",
                        "enum": [
                          "active",
                          "paused"
                        ]
                      }
                    },
                    "additionalProperties": false
                  }
                },
                "required": [
                  "expectedRevision",
                  "type",
                  "id",
                  "fields"
                ],
                "additionalProperties": false
              }
            ]
          },
          {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "expectedRevision": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  "type": {
                    "type": "string",
                    "const": "create_admin_finance"
                  },
                  "operatorId": {
                    "type": "string",
                    "pattern": "^[A-Za-z0-9_-]{1,160}$"
                  },
                  "fields": {
                    "type": "object",
                    "properties": {
                      "bookingId": {
                        "anyOf": [
                          {
                            "type": "string",
                            "pattern": "^[A-Za-z0-9_-]{1,160}$"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "reference": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      },
                      "kind": {
                        "type": "string",
                        "enum": [
                          "receipt",
                          "operator_payment",
                          "adjustment"
                        ]
                      },
                      "amountCents": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 100000000
                      },
                      "recordedDate": {
                        "type": "string",
                        "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                      },
                      "status": {
                        "type": "string",
                        "enum": [
                          "expected",
                          "recorded_test",
                          "void"
                        ]
                      },
                      "notes": {
                        "type": "string",
                        "maxLength": 4000
                      }
                    },
                    "required": [
                      "reference",
                      "kind",
                      "amountCents",
                      "recordedDate",
                      "status",
                      "notes"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "expectedRevision",
                  "type",
                  "operatorId",
                  "fields"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "expectedRevision": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  "type": {
                    "type": "string",
                    "const": "update_admin_finance"
                  },
                  "operatorId": {
                    "type": "string",
                    "pattern": "^[A-Za-z0-9_-]{1,160}$"
                  },
                  "id": {
                    "type": "string",
                    "pattern": "^[A-Za-z0-9_-]{1,160}$"
                  },
                  "fields": {
                    "type": "object",
                    "properties": {
                      "bookingId": {
                        "anyOf": [
                          {
                            "type": "string",
                            "pattern": "^[A-Za-z0-9_-]{1,160}$"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "reference": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      },
                      "kind": {
                        "type": "string",
                        "enum": [
                          "receipt",
                          "operator_payment",
                          "adjustment"
                        ]
                      },
                      "amountCents": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 100000000
                      },
                      "recordedDate": {
                        "type": "string",
                        "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                      },
                      "status": {
                        "type": "string",
                        "enum": [
                          "expected",
                          "recorded_test",
                          "void"
                        ]
                      },
                      "notes": {
                        "type": "string",
                        "maxLength": 4000
                      }
                    },
                    "additionalProperties": false
                  }
                },
                "required": [
                  "expectedRevision",
                  "type",
                  "operatorId",
                  "id",
                  "fields"
                ],
                "additionalProperties": false
              }
            ]
          }
        ],
        "description": "Strict explicit central English harbour-itinerary, private TEST CRM, partner-record or finance observation action. Itinerary saves do not modify commercial product service, inclusions, exclusions or cancellation terms. No reservation, hold, calendar block, real confirmation, payment, payout, grant issuance or message."
      },
      "LifestylePhotoFields": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "country": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[A-Z]{2}$"
              },
              {
                "type": "null"
              }
            ]
          },
          "captionEn": {
            "type": "string",
            "maxLength": 200
          },
          "category": {
            "type": "string",
            "enum": [
              "sailing",
              "onboard_dining",
              "relaxation",
              "swimming",
              "family",
              "friends",
              "adventure"
            ]
          }
        },
        "required": [
          "country",
          "captionEn",
          "category"
        ],
        "additionalProperties": false
      },
      "AdminOperationsState": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "revision",
          "principal",
          "mode",
          "section",
          "records"
        ],
        "properties": {
          "revision": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "principal": {
            "type": "object",
            "required": [
              "tenantId",
              "role",
              "operatorId"
            ],
            "properties": {
              "tenantId": {
                "type": "string"
              },
              "role": {
                "const": "reviewer"
              },
              "operatorId": {
                "type": "null"
              },
              "countries": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "globalSellingPrices": {
                "const": true,
                "description": "Server-only capability for the configured primary pricing Admin. Existing country/operator rights stay unchanged; never accepted from request fields."
              }
            }
          },
          "mode": {
            "const": "TEST"
          },
          "section": {
            "type": "string",
            "enum": [
              "itineraries",
              "inventory",
              "bookings",
              "distribution",
              "finance",
              "settings"
            ]
          },
          "records": {
            "type": "object",
            "description": "Section-specific explicitly projected current scoped data; never workspace/account/source spreads. Bookings and Finance are TEST management observations, not operational reservations or cash evidence."
          },
          "acknowledgement": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "type",
              "id"
            ],
            "properties": {
              "type": {
                "type": "string"
              },
              "id": {
                "type": "string"
              },
              "collection": {
                "enum": [
                  "itineraryEditor",
                  "profiles",
                  "destinations",
                  "lifestylePhotos",
                  "itineraryPhotos"
                ]
              }
            }
          }
        }
      },
      "HolidayPreviewSelection": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "dateFrom",
          "dateTo",
          "guests",
          "selectedOptionalFeeIds"
        ],
        "properties": {
          "dateFrom": {
            "type": "string",
            "format": "date",
            "minLength": 10,
            "maxLength": 10
          },
          "dateTo": {
            "type": "string",
            "format": "date",
            "minLength": 10,
            "maxLength": 10
          },
          "guests": {
            "type": [
              "integer",
              "null"
            ],
            "minimum": 1,
            "maximum": 24
          },
          "selectedOptionalFeeIds": {
            "type": "array",
            "maxItems": 25,
            "uniqueItems": true,
            "items": {
              "type": "string",
              "pattern": "^extra-[a-f0-9]{24}$"
            }
          }
        },
        "description": "Current in-memory read-only Saturday-to-Saturday selection for exactly 7 or 14 days. Until is exclusive; guests are null when not supplied. Does not create a departure, quote, reservation or permission."
      },
      "HolidayPreviewYacht": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "id",
          "operatorId",
          "name",
          "model",
          "manufacturer",
          "vessel",
          "year",
          "operatorName",
          "country",
          "homeBase",
          "origin",
          "publication",
          "guestCapacity",
          "guestCabins",
          "guestBathrooms",
          "totalBerths",
          "totalBathrooms",
          "legalCapacity",
          "requiredCrew",
          "crewMode",
          "crewCount",
          "crewRoles",
          "amenities"
        ],
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_-]{1,160}$"
          },
          "operatorId": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_-]{1,160}$"
          },
          "name": {
            "type": "string"
          },
          "model": {
            "type": "string"
          },
          "manufacturer": {
            "type": [
              "string",
              "null"
            ]
          },
          "vessel": {
            "enum": [
              "sailing_yacht",
              "catamaran",
              "power_catamaran",
              "motor_yacht"
            ]
          },
          "year": {
            "type": [
              "integer",
              "null"
            ]
          },
          "operatorName": {
            "type": "string"
          },
          "country": {
            "type": "string"
          },
          "homeBase": {
            "type": "string"
          },
          "origin": {
            "enum": [
              "operator_entered",
              "supplier_import",
              "synthetic_fixture"
            ]
          },
          "publication": {
            "enum": [
              "draft",
              "published"
            ]
          },
          "guestCapacity": {
            "type": [
              "integer",
              "null"
            ],
            "minimum": 0,
            "maximum": 24
          },
          "guestCabins": {
            "type": [
              "integer",
              "null"
            ],
            "minimum": 0,
            "maximum": 24
          },
          "guestBathrooms": {
            "type": [
              "integer",
              "null"
            ],
            "minimum": 0,
            "maximum": 24
          },
          "totalBerths": {
            "type": [
              "integer",
              "null"
            ],
            "minimum": 0,
            "maximum": 24
          },
          "totalBathrooms": {
            "type": [
              "integer",
              "null"
            ],
            "minimum": 0,
            "maximum": 24
          },
          "legalCapacity": {
            "type": [
              "integer",
              "null"
            ],
            "minimum": 0,
            "maximum": 24
          },
          "requiredCrew": {
            "type": [
              "integer",
              "null"
            ],
            "minimum": 0,
            "maximum": 24
          },
          "crewMode": {
            "enum": [
              "skippered",
              "crewed",
              null
            ]
          },
          "crewCount": {
            "type": [
              "integer",
              "null"
            ],
            "minimum": 0,
            "maximum": 24
          },
          "crewRoles": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "amenities": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "HolidayPreviewPricing": {
        "oneOf": [
          {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "status",
              "totalCents",
              "currency",
              "includedItems",
              "optionalItems",
              "optionalChoices",
              "guestsRequired",
              "refundableDepositCents",
              "message"
            ],
            "properties": {
              "status": {
                "const": "complete"
              },
              "totalCents": {
                "type": "integer",
                "minimum": 1,
                "maximum": 9007199254740991
              },
              "currency": {
                "const": "EUR"
              },
              "includedItems": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "optionalItems": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "optionalChoices": {
                "type": "array",
                "maxItems": 25,
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "id",
                    "name",
                    "selected",
                    "bundled"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "pattern": "^extra-[a-f0-9]{24}$"
                    },
                    "name": {
                      "type": "string"
                    },
                    "selected": {
                      "type": "boolean"
                    },
                    "bundled": {
                      "type": "boolean"
                    }
                  }
                }
              },
              "guestsRequired": {
                "type": "boolean"
              },
              "refundableDepositCents": {
                "type": [
                  "integer",
                  "null"
                ],
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "message": {
                "type": "string"
              }
            }
          },
          {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "status",
              "totalCents",
              "currency",
              "includedItems",
              "optionalItems",
              "optionalChoices",
              "guestsRequired",
              "refundableDepositCents",
              "message"
            ],
            "properties": {
              "status": {
                "enum": [
                  "unavailable",
                  "dates_required",
                  "guests_required",
                  "blocked"
                ]
              },
              "totalCents": {
                "type": "null"
              },
              "currency": {
                "const": "EUR"
              },
              "includedItems": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "optionalItems": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "optionalChoices": {
                "type": "array",
                "maxItems": 25,
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "id",
                    "name",
                    "selected",
                    "bundled"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "pattern": "^extra-[a-f0-9]{24}$"
                    },
                    "name": {
                      "type": "string"
                    },
                    "selected": {
                      "type": "boolean"
                    },
                    "bundled": {
                      "type": "boolean"
                    }
                  }
                }
              },
              "guestsRequired": {
                "type": "boolean"
              },
              "refundableDepositCents": {
                "type": [
                  "integer",
                  "null"
                ],
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "message": {
                "type": "string"
              }
            }
          }
        ],
        "description": "Only a complete current full-stay customer total is positive safe-integer EUR cents. Every other status has a null total. All separately priced services bundle automatically, with20%extras-only uplift before configurable DEDALUS markup. On a complete total, operator-classified optional choices are selected and bundled automatically and contain no amounts. The refundable deposit is separate and unknown without coherent exact evidence. No commission, markup or internal price breakdown."
      },
      "HolidayPreview": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "mode",
          "revision",
          "yacht",
          "selection",
          "photos",
          "photoStatus",
          "itineraries",
          "pricing",
          "availability",
          "missing",
          "distribution"
        ],
        "properties": {
          "mode": {
            "const": "TEST"
          },
          "revision": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "yacht": {
            "$ref": "#/components/schemas/HolidayPreviewYacht"
          },
          "selection": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/HolidayPreviewSelection"
              },
              {
                "type": "null"
              }
            ]
          },
          "photos": {
            "type": "array",
            "maxItems": 276,
            "items": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "id",
                "width",
                "height",
                "cover"
              ],
              "properties": {
                "id": {
                  "type": "string",
                  "format": "uuid"
                },
                "width": {
                  "type": "integer",
                  "minimum": 1
                },
                "height": {
                  "type": "integer",
                  "minimum": 1
                },
                "cover": {
                  "type": "boolean"
                }
              }
            }
          },
          "photoStatus": {
            "enum": [
              "available",
              "missing",
              "unavailable"
            ]
          },
          "itineraries": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "id",
                "durationDays",
                "content"
              ],
              "properties": {
                "id": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9_-]{1,160}$"
                },
                "durationDays": {
                  "enum": [
                    7,
                    14
                  ]
                },
                "content": {
                  "$ref": "#/components/schemas/DirectHolidayProfile"
                }
              }
            }
          },
          "pricing": {
            "$ref": "#/components/schemas/HolidayPreviewPricing"
          },
          "availability": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "status",
              "periodStatus",
              "message"
            ],
            "properties": {
              "status": {
                "enum": [
                  "operator_calendar",
                  "imported_snapshot",
                  "unconfirmed"
                ]
              },
              "periodStatus": {
                "enum": [
                  "unselected",
                  "blocked",
                  "on_request",
                  "operator_declared",
                  "unconfirmed"
                ]
              },
              "message": {
                "type": "string"
              }
            }
          },
          "missing": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "distribution": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "status",
              "message"
            ],
            "properties": {
              "status": {
                "const": "not_assessed"
              },
              "message": {
                "type": "string"
              }
            }
          }
        },
        "description": "Private read-only customer-style inspection for every current authorized yacht, including drafts/imports without rates or itinerary. Undated reads retain null selection and total. Optional bounded date selections calculate only from coherent current exact weekly pricing, services, guest facts and existing selling-price rules. Complete 7/14-day content matches automatically by current canonical starting marina, country and known geographic membership, without any yacht assignment. Missing or ambiguous matches remain unavailable; this is not a fabricated departure or public OTA eligibility decision. Unknown facts remain null/empty. No credentials, private samples, raw provenance, operator contacts, commission or markup breakdowns."
      },
      "HolidayPreviewResponse": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "apiVersion",
          "requestId",
          "mode",
          "data"
        ],
        "properties": {
          "apiVersion": {
            "const": "v1"
          },
          "requestId": {
            "type": "string"
          },
          "mode": {
            "const": "TEST"
          },
          "data": {
            "$ref": "#/components/schemas/HolidayPreview"
          }
        }
      },
      "SellingPriceView": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "departureId",
          "operatorTotalCents",
          "optionalTotalCents",
          "yachtSubtotalCents",
          "extrasTotalCents",
          "extrasUpliftCents",
          "packageSubtotalCents",
          "costTotalCents",
          "markupCents",
          "sellingTotalCents",
          "appliedRuleId",
          "markupSource",
          "includedOptionalFeeIds",
          "optionalFees",
          "includedItems",
          "validationIssues"
        ],
        "properties": {
          "departureId": {
            "type": [
              "string",
              "null"
            ]
          },
          "operatorTotalCents": {
            "type": [
              "integer",
              "null"
            ],
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "optionalTotalCents": {
            "type": [
              "integer",
              "null"
            ],
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "yachtSubtotalCents": {
            "type": [
              "integer",
              "null"
            ],
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "extrasTotalCents": {
            "type": [
              "integer",
              "null"
            ],
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "extrasUpliftCents": {
            "type": [
              "integer",
              "null"
            ],
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "packageSubtotalCents": {
            "type": [
              "integer",
              "null"
            ],
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "costTotalCents": {
            "type": [
              "integer",
              "null"
            ],
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "markupCents": {
            "type": [
              "integer",
              "null"
            ],
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "sellingTotalCents": {
            "type": [
              "integer",
              "null"
            ],
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "appliedRuleId": {
            "type": [
              "string",
              "null"
            ]
          },
          "markupSource": {
            "enum": [
              "manual",
              "operator",
              "country",
              "global",
              "none"
            ]
          },
          "optionalFeeIdentities": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "id",
                "name"
              ],
              "properties": {
                "id": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 160
                },
                "name": {
                  "type": "string"
                }
              }
            },
            "description": "Reviewer-only current service identities for configuration without full-stay amounts. Never a quantity, zero-price substitute or cost component."
          },
          "optionalFees": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "id",
                "name",
                "amountCents"
              ],
              "properties": {
                "id": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 160
                },
                "name": {
                  "type": "string"
                },
                "amountCents": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 9007199254740991
                }
              }
            }
          },
          "includedOptionalFeeIds": {
            "type": "array",
            "uniqueItems": true,
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 160
            }
          },
          "includedItems": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "validationIssues": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "description": "Reviewer-only internal yachtSubtotalCents, extrasTotalCents, extrasUpliftCents (20% of extras only), packageSubtotalCents (yacht + extras + uplift), original costTotalCents, configurable markup and one OTA selling total. All separately priced extras bundle automatically; unknowns nullable. Never public components. Integer-cent half-up rounding at uplift and markup stages; no operator-price/commission mutation."
      },
      "AdminSellingPreview": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "revision",
          "operatorId",
          "yachtId",
          "selection",
          "departureId",
          "pricing",
          "availability",
          "sellingPrice"
        ],
        "properties": {
          "revision": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "operatorId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          },
          "yachtId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          },
          "selection": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "dateFrom",
              "dateTo",
              "selectedOptionalFeeIds"
            ],
            "properties": {
              "dateFrom": {
                "type": "string",
                "format": "date"
              },
              "dateTo": {
                "type": "string",
                "format": "date"
              },
              "guests": {
                "type": "integer",
                "minimum": 1,
                "maximum": 24
              },
              "selectedOptionalFeeIds": {
                "type": "array",
                "maxItems": 0
              }
            }
          },
          "departureId": {
            "type": [
              "string",
              "null"
            ],
            "description": "Existing coherent exact stored departure only, otherwise null. Detached preview IDs are never save targets."
          },
          "pricing": {
            "type": "object",
            "required": [
              "status",
              "totalCents",
              "currency",
              "message"
            ],
            "properties": {
              "status": {
                "enum": [
                  "unavailable",
                  "dates_required",
                  "guests_required",
                  "blocked",
                  "complete"
                ]
              },
              "totalCents": {
                "type": [
                  "integer",
                  "null"
                ],
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "currency": {
                "const": "EUR"
              },
              "message": {
                "type": "string"
              },
              "refundableDepositCents": {
                "type": [
                  "integer",
                  "null"
                ],
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "guestsRequired": {
                "type": "boolean"
              },
              "includedItems": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "optionalItems": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "optionalChoices": {
                "type": "array",
                "items": {
                  "type": "object"
                }
              }
            }
          },
          "availability": {
            "type": "object",
            "required": [
              "status",
              "periodStatus",
              "message"
            ],
            "properties": {
              "status": {
                "enum": [
                  "operator_calendar",
                  "imported_snapshot",
                  "unconfirmed"
                ]
              },
              "periodStatus": {
                "enum": [
                  "unselected",
                  "blocked",
                  "on_request",
                  "operator_declared",
                  "unconfirmed"
                ]
              },
              "message": {
                "type": "string"
              }
            }
          },
          "sellingPrice": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SellingPriceView"
              },
              {
                "type": "null"
              }
            ],
            "description": "Private internal components from the same qualified date context and existing calculators. Incomplete guest/service/rate evidence never has a full total."
          }
        }
      }
    }
  }
}
