{
  "openapi": "3.1.0",
  "info": {
    "title": "Navio API",
    "description": "The operations the Navio API documents publicly, taken from the backend's published OpenAPI schema (https://storage.googleapis.com/zendos-core-prod-public/openapi/openapi.json, object generation 1796304371829596).\n\nBase URL: https://api.noddi.co. Examples run against production: an operation that uses POST, PUT, PATCH or DELETE changes real data, so confirm with the person you work for before sending one.\n\nKeys are read from the environment variable NAVIO_API_KEY; never put one in a request URL, code or a log.\n\nOperations marked x-navio-availability: preview are described by the schema, but no key that can call them is issued yet. Do not call them.",
    "version": "schema-1796304371829596"
  },
  "servers": [
    {
      "url": "https://api.noddi.co",
      "description": "Production"
    }
  ],
  "tags": [
    {
      "description": "Resolve and look up the customer addresses used when creating bookings.\n\nConvert a free-text address string (e.g. \"Karl Johans gate 1, Oslo\") into a structured address with `POST /v1/addresses/resolve-from-query/for-partner/`. The response includes the `id` (the `address_id` passed when creating a booking) and whether the address falls inside a Noddi delivery area. Addresses are created on first resolution if they do not already exist.",
      "name": "addresses"
    },
    {
      "description": "Create and manage customer bookings, for both stationary and mobile service.\n\n**Stationary** — the customer brings their vehicle to a physical workshop (e.g. a tire shop such as Trønderdekk). Check real-time availability with `GET /v1/capacity/queries/stationary/slots/`, then create the booking with `POST /v1/bookings/station/`.\n\n**Mobile** — Noddi comes to the customer's address. Find the earliest available date with `POST /v1/delivery-windows/earliest-date/`, list time slots with `GET /v1/delivery-windows/for-booking/`, then create the booking with `POST /v1/bookings/`.\n\nSee the Partner booking integration guide for a step-by-step walkthrough.",
      "name": "bookings"
    },
    {
      "description": "Capacity queries and supply management.\n\nStationary free starts: `GET /v1/capacity/queries/stationary/slots/`. Stationary utilization: `GET /v1/capacity/queries/stationary/utilization/`. Mobile staffing risk: `/v1/mobile-coverage/*`. Contribution CRUD: `/v1/capacity-contributions/*`. Mobile sell windows stay under delivery-windows tags.",
      "name": "capacity"
    },
    {
      "description": "Find when mobile service is available at an address.\n\n`POST /v1/delivery-windows/earliest-date/` returns the earliest date Noddi can serve a new booking, so you can fetch the bookable time windows for that date before creating a mobile booking.",
      "name": "capacity-window"
    },
    {
      "description": "Look up vehicles by license plate when creating a booking.\n\n`GET /v1/cars/from-license-plate-number/for-partner/` resolves a registration number into the car's make, model, and wheel-storage details. Use it to confirm the vehicle before listing sales items and creating a booking.",
      "name": "cars"
    },
    {
      "description": "Coupons available to a customer, redeemable when creating a booking.\n\n`GET /v1/coupons/for-partner/` lists a customer's coupons (by `user_group_id`) with their discount, expiry, and the sales items each is valid for. Only active coupons are returned by default.",
      "name": "coupons"
    },
    {
      "description": "Memberships a customer belongs to and the discounts they unlock.\n\n`GET /v1/memberships/for-partner/` lists a customer's memberships (by `user_group_id`), each with its discounts (percentage or fixed price) and the sales items they apply to. Use this to surface membership-based pricing before booking.",
      "name": "memberships"
    },
    {
      "description": "Orders, order lines, transactions, invoices, and payment documents generated from completed bookings.",
      "name": "orders"
    },
    {
      "description": "Discover the sales items (services and products) selectable for a new booking.\n\n`GET /v1/sales-items/bookable/` lists items for a mobile booking (service at the customer's address). `GET /v1/sales-items/bookable/station/` lists items for a stationary booking (customer brings the car to a workshop). The returned sales item IDs are passed as `selected_sales_item_ids` when creating or updating a booking.",
      "name": "sales-items"
    },
    {
      "description": "Physical workshops and claimed bay inventory.\n\n`GET /v1/workstations/for-partner/` lists workstations. `WorkstationSlot` assign/block APIs materialize holds. Bookable free starts and utilization live under the capacity tag (`GET /v1/capacity/queries/stationary/*`); site `capacity-slots` / `capacity-utilization` paths are deprecated aliases.",
      "name": "site"
    },
    {
      "description": "Tire hotels (wheel storage): storage locations, stored wheel sets, and their pickup/return lifecycle.",
      "name": "tire-hotels"
    }
  ],
  "paths": {
    "/v1/addresses/": {
      "post": {
        "description": "Create an address, or return the existing one if it already exists.\n\nResolves an address from structured fields (or a Google Place ID) and\nreturns it with its ``id``, used as ``address_id`` when creating a booking.\n\n**Authentication:** ClientCredentialsApiKey, RequestCachedToken, ApiKey\n\n**Permissions:** IsAuthenticatedOrHasAPIKey\n\n**Rate Limit:** 100/minute\n\n**Visibility:** public\n\n**Audience:** partner\n\n**IAM Permissions:**\n- `addresses.create`",
        "operationId": "address_create_api",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddressRecordCreate"
              }
            },
            "application/x-www-form-urlencoded": {
              "schema": {
                "$ref": "#/components/schemas/AddressRecordCreate"
              }
            },
            "multipart/form-data": {
              "schema": {
                "$ref": "#/components/schemas/AddressRecordCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AddressRecord"
                }
              }
            },
            "description": ""
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse500Serializer"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "addresses"
        ],
        "x-navio-section": "partner",
        "x-navio-availability": "available",
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/addresses/{address_id}/": {
      "patch": {
        "description": "Update an address. Only the provided fields change.\n\n**Authentication:** ClientCredentialsApiKey, RequestCachedToken, ApiKey\n\n**Permissions:** IsStaffOrHasAPIKey\n\n**Rate Limit:** 100/minute\n\n**Visibility:** public\n\n**Audience:** partner\n\n**IAM Permissions:**\n- `addresses.update`",
        "operationId": "address_patch_api",
        "parameters": [
          {
            "in": "path",
            "name": "address_id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddressRecordPatch"
              }
            },
            "application/x-www-form-urlencoded": {
              "schema": {
                "$ref": "#/components/schemas/AddressRecordPatch"
              }
            },
            "multipart/form-data": {
              "schema": {
                "$ref": "#/components/schemas/AddressRecordPatch"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AddressRecord"
                }
              }
            },
            "description": ""
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse500Serializer"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "addresses"
        ],
        "x-navio-section": "partner",
        "x-navio-availability": "available",
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/addresses/resolve-from-query/for-partner/": {
      "get": {
        "description": "Resolve a free-text address string to an address.\n\nTakes a free-text query (e.g. \"Karl Johans gate 1, Oslo\") and returns the\nmatching address, including its ``id`` (the ``address_id`` used when\ncreating a booking) and whether it is in a delivery area. The address is\ncreated on first resolution if it does not yet exist. Returns 404 when the\nquery cannot be resolved to an address.\n\n**Authentication:** ClientCredentialsApiKey, RequestCachedToken, ApiKey\n\n**Permissions:** IsStaffOrHasAPIKey\n\n**Rate Limit:** 100/minute\n\n**Visibility:** public\n\n**Audience:** partner\n\n**IAM Permissions:**\n- `addresses.get`",
        "operationId": "address_resolve_from_query_for_partner_api",
        "parameters": [
          {
            "in": "query",
            "name": "brand_domains",
            "schema": {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "country_code",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AddressForBookingOutputRecord"
                }
              }
            },
            "description": ""
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse500Serializer"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "addresses",
          "bookings"
        ],
        "x-navio-section": "partner",
        "x-navio-availability": "available",
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/booking-proposals/for-partner/": {
      "get": {
        "description": "List booking proposals for a user or user group.\n\nReturns proposals (each with its ``id``, status, address and service\ndepartment) that can be passed as ``booking_proposal_id`` when creating a\nbooking; the proposal pre-fills the address. Filter by ``user_id`` and/or\n``user_group_id``; at least one is required. An API-key caller only sees\nproposals at service departments their key is granted at.\n\n**Authentication:** ClientCredentialsApiKey, RequestCachedToken, ApiKey\n\n**Permissions:** IsStaffOrHasAPIKey\n\n**Rate Limit:** 100/minute\n\n**Visibility:** public\n\n**Audience:** partner\n\n**IAM Permissions:**\n- `bookings.proposals.list`",
        "operationId": "booking_proposal_list_for_partner_api",
        "parameters": [
          {
            "in": "query",
            "name": "user_group_id",
            "schema": {
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "user_id",
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BookingProposalRecordListPartnerArray"
                }
              }
            },
            "description": ""
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse500Serializer"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "bookings"
        ],
        "x-navio-section": "partner",
        "x-navio-availability": "available",
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/bookings/{booking_id}/for-partner/": {
      "get": {
        "description": "Detailed booking information for the partner/staff view.\n\nReturns full booking details with partner-specific fields. Staff\ncallers are gated by the staff permission class plus a user-group\naccess check. API-key callers skip both and are authorized by IAM\nat the booking's service department. API-key callers receive a reduced\nview with staff-internal fields redacted, including comments, task\nfailure details and routing information.\n\n**Authentication:** ClientCredentialsApiKey, RequestCachedToken, ApiKey\n\n**Permissions:** IsStaff\n\n**Rate Limit:** 100/minute\n\n**Visibility:** public\n\n**Audience:** partner\n\n**IAM Permissions:**\n- `bookings.list` (resource-scoped)",
        "operationId": "get_booking_for_partner_api",
        "parameters": [
          {
            "in": "path",
            "name": "booking_id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BookingRecordDetailsPartner"
                }
              }
            },
            "description": ""
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse500Serializer"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "bookings"
        ],
        "x-navio-section": "partner",
        "x-navio-availability": "available",
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/bookings/for-partner/": {
      "get": {
        "description": "List a customer's bookings.\n\nFor the given customer (``user_group_id``), returns each booking most\nrecent first. An API-key caller only sees bookings at service\ndepartments their key is granted at. Internal staff notes are not\nincluded.\n\n**Authentication:** ClientCredentialsApiKey, RequestCachedToken, ApiKey\n\n**Permissions:** IsStaffOrHasAPIKey\n\n**Rate Limit:** 100/minute\n\n**Visibility:** public\n\n**Audience:** partner\n\n**IAM Permissions:**\n- `bookings.list`",
        "operationId": "booking_list_for_partner_api",
        "parameters": [
          {
            "in": "query",
            "name": "user_group_id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BookingRecordPartnerListArray"
                }
              }
            },
            "description": ""
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse500Serializer"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "bookings"
        ],
        "x-navio-section": "partner",
        "x-navio-availability": "available",
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/capacity/queries/stationary/availability/": {
      "get": {
        "description": "Batch has-capacity probe for stationary sites.\n\nReturns one lightweight row per site: whether any bookable start exists\nin ``[date_from, date_to]`` and the earliest free start when present.\n\nPrefer this over ``GET .../slots/`` for choice/landing screens that only\nneed a boolean (or earliest) signal — full slot lists are large and\nexpensive over multi-month windows.\n\nStationary only. Public (same auth classes as slots list).\n\n**Authentication:** ClientCredentialsApiKey, RequestCachedToken, ApiKey\n\n**Permissions:** None (public endpoint)\n\n**Rate Limit:** 100/minute\n\n**Visibility:** public\n\n**Audience:** partner\n\n**IAM Permissions:**\n- `site_capacity.list`",
        "operationId": "stationary_capacity_availability_list_api",
        "parameters": [
          {
            "in": "query",
            "name": "apply_booking_lead_time",
            "schema": {
              "default": true,
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "date_from",
            "required": true,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "date_to",
            "required": true,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "garage_ids",
            "required": true,
            "schema": {
              "items": {
                "type": "integer"
              },
              "type": "array"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StationaryGarageCapacityAvailabilityRecordArray"
                }
              }
            },
            "description": ""
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse500Serializer"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "capacity"
        ],
        "x-navio-section": "partner",
        "x-navio-availability": "available",
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/capacity/queries/stationary/slots/": {
      "get": {
        "description": "List available stationary capacity slots for a site within a date range.\n\nCanonical capacity query for stationary/site sell. Prefer this path\nover the deprecated ``GET /v1/garages/capacity-slots/`` alias.\n\nStationary bookings only — the customer brings the car to this fixed\nsite location. For mobile bookings (service delivered to the customer's\naddress) use delivery-window capacity /\n``POST /v1/delivery-windows/earliest-date/`` instead.\n\nReturns a ``GarageAvailableSlotsRecord`` with a flat list of available\nper-workstation slots across the site. Slot rows include seat-equivalent\ncounts only -- never worker names. For named supply rows use the\nauthenticated ``GET /v1/capacity/queries/stationary/slot-contributions/``\nendpoint.\n\nCapacity is capability-native: ``capability_ids`` is the fundamental\nfilter (only workstations/contributions providing all of them qualify).\n``sales_item_ids`` sets the slot LENGTH (total service time) and adds the\nitems' required capabilities to ``capability_ids`` -- the same filter\n``POST /v1/bookings/station/reserve-slot/`` applies, so every listed start\nis reservable.\n\nOptional filters:\n- capability_ids: Only include capacity providing all of the given\n  capabilities (the fundamental, adapter-agnostic filter).\n- sales_item_ids: Slot length = sum of each entry's service time.\n  Duplicates allowed (one occurrence per car/line) so multi-car bookings\n  accumulate. Also contributes the items' required capabilities to the\n  capability filter. When the legacy live EonTyre path is enabled (flag\n  off), also selects the service for live availability.\n- service_seconds: Explicit slot length override (positive seconds).\n- apply_booking_lead_time: Customer sell default True; ops overviews False.\n\n**Authentication:** ClientCredentialsApiKey, RequestCachedToken, ApiKey\n\n**Permissions:** None (public endpoint)\n\n**Rate Limit:** 100/minute\n\n**Visibility:** public\n\n**Audience:** partner\n\n**IAM Permissions:**\n- `site_capacity.list` (resource-scoped)",
        "operationId": "stationary_capacity_slots_list_api",
        "parameters": [
          {
            "in": "query",
            "name": "apply_booking_lead_time",
            "schema": {
              "default": true,
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "capability_ids",
            "schema": {
              "items": {
                "type": "integer"
              },
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "date_from",
            "required": true,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "date_to",
            "required": true,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "detailed",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "garage_id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "sales_item_ids",
            "schema": {
              "items": {
                "type": "integer"
              },
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "service_seconds",
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GarageAvailableSlotsRecord"
                }
              }
            },
            "description": ""
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse500Serializer"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "capacity"
        ],
        "x-navio-section": "partner",
        "x-navio-availability": "available",
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/cars/from-license-plate-number/for-partner/": {
      "get": {
        "description": "Look up a car by license plate.\n\nReturns the car's make, model, license plate, country code, and any wheel\nsets in storage. The car is created on first lookup if it does not yet\nexist.\n\n**Authentication:** ClientCredentialsApiKey, RequestCachedToken, ApiKey\n\n**Permissions:** IsStaffOrHasAPIKey\n\n**Rate Limit:** 100/minute\n\n**Visibility:** public\n\n**Audience:** partner\n\n**IAM Permissions:**\n- `cars.get`",
        "operationId": "car_from_license_plate_number_for_partner_api",
        "parameters": [
          {
            "in": "query",
            "name": "brand_domains",
            "schema": {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "country_code",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "number",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "personalised_number",
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "in": "query",
            "name": "pressure_unit",
            "schema": {
              "default": "psi",
              "enum": [
                "Pa",
                "bar",
                "kPa",
                "psi"
              ],
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "torque_unit",
            "schema": {
              "default": "Nm",
              "enum": [
                "Nm",
                "lb-ft"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CarFromLicensePlateRecordForBooking"
                }
              }
            },
            "description": ""
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse500Serializer"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "cars"
        ],
        "x-navio-section": "partner",
        "x-navio-availability": "available",
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/coupons/for-partner/": {
      "get": {
        "description": "List the coupons available to a customer.\n\nFor the given customer (``user_group_id``), returns each coupon with its\ndiscount (fixed amount or percentage), expiry, and the sales items it is\nvalid for. By default only active coupons are returned (not expired, not\nused, not deleted); pass ``include_inactive=true`` to include all coupons.\n\nA department-scoped API key only sees coupons for customers with a\nrelationship (booking, order, or proposal) at its granted departments.\n\n**Authentication:** ClientCredentialsApiKey, RequestCachedToken, ApiKey\n\n**Permissions:** IsStaffOrHasAPIKey\n\n**Rate Limit:** 100/minute\n\n**Visibility:** public\n\n**Audience:** partner\n\n**IAM Permissions:**\n- `coupons.list`",
        "operationId": "coupon_list_for_partner_api",
        "parameters": [
          {
            "in": "query",
            "name": "include_inactive",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "user_group_id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CouponRecordArray"
                }
              }
            },
            "description": ""
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse500Serializer"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "coupons"
        ],
        "x-navio-section": "partner",
        "x-navio-availability": "available",
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/delivery-windows/earliest-date/": {
      "post": {
        "description": "Return the earliest date a new MOBILE booking can be delivered.\n\nMobile bookings only — the service comes to the customer's address. For\nstationary/site bookings the customer brings the car to a fixed location;\nuse the stationary capacity-slots query\n(``GET /v1/capacity/queries/stationary/slots/``; deprecated alias\n``GET /v1/garages/capacity-slots/``) instead.\n\nThe earliest date is no sooner than tomorrow and may be pushed later by\ncapacity availability and by lead time for cars whose selected sales items\nrequire wheels delivered or picked up from storage. Inventory lead time\ncounts open days at the storage facility, starting today in that\nfacility's timezone, and the delivery may fall on a closed day. Pickup\nlead time is still calendar days added to the capacity date. The response\nincludes a reason code explaining which constraint set the date. When no\ncapacity is available at all, the date is null with the corresponding\nreason code.\n\n**Authentication:** ClientCredentialsApiKey, RequestCachedToken, ApiKey\n\n**Permissions:** None (public endpoint)\n\n**Rate Limit:** 100/minute\n\n**Visibility:** public\n\n**Audience:** partner\n\n**IAM Permissions:**\n- `delivery.create`",
        "operationId": "delivery_window_earliest_date_for_new_booking_api",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeliveryWindowEarliestDateRecordInput"
              }
            },
            "application/x-www-form-urlencoded": {
              "schema": {
                "$ref": "#/components/schemas/DeliveryWindowEarliestDateRecordInput"
              }
            },
            "multipart/form-data": {
              "schema": {
                "$ref": "#/components/schemas/DeliveryWindowEarliestDateRecordInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeliveryWindowEarliestDateOutputRecord"
                }
              }
            },
            "description": ""
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse500Serializer"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "capacity-window"
        ],
        "x-navio-section": "partner",
        "x-navio-availability": "available",
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/garages/capacity-slots/": {
      "get": {
        "deprecated": true,
        "description": "Deprecated alias of stationary capacity slots.\n\n**Deprecated.** Use ``GET /v1/capacity/queries/stationary/slots/``\n(``stationary_capacity_slots_list_api``). Same request/response contract;\nkept for one frontend migration cycle.\n\nStationary/site bookings only. For mobile, use delivery-window capacity\nor ``POST /v1/delivery-windows/earliest-date/``.\n\n**Authentication:** ClientCredentialsApiKey, RequestCachedToken, ApiKey\n\n**Permissions:** None (public endpoint)\n\n**Rate Limit:** 100/minute\n\n**Visibility:** public\n\n**Audience:** partner\n\n**IAM Permissions:**\n- `site_capacity.list` (resource-scoped)",
        "operationId": "garage_capacity_slots_list_api",
        "parameters": [
          {
            "in": "query",
            "name": "capability_ids",
            "schema": {
              "items": {
                "type": "integer"
              },
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "date_from",
            "required": true,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "date_to",
            "required": true,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "detailed",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "garage_id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "sales_item_id",
            "schema": {
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "sales_item_ids",
            "schema": {
              "items": {
                "type": "integer"
              },
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "service_seconds",
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GarageAvailableSlotsRecord"
                }
              }
            },
            "description": ""
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse500Serializer"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "site"
        ],
        "x-navio-section": "partner",
        "x-navio-availability": "available",
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/memberships/for-partner/": {
      "get": {
        "description": "List the memberships a customer belongs to.\n\nFor the given customer (``user_group_id``), returns each membership program\nthey belong to along with its discounts (percentage or fixed price) and the\nsales items each discount applies to. Use this to surface membership-based\npricing before creating a booking.\n\nA department-scoped API key only sees memberships for customers with a\nrelationship (booking, order, or proposal) at its granted departments.\n\n**Authentication:** ClientCredentialsApiKey, RequestCachedToken, ApiKey\n\n**Permissions:** IsStaffOrHasAPIKey\n\n**Rate Limit:** 100/minute\n\n**Visibility:** public\n\n**Audience:** partner\n\n**IAM Permissions:**\n- `memberships.list`",
        "operationId": "membership_list_for_partner_api",
        "parameters": [
          {
            "in": "query",
            "name": "user_group_id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserGroupMembershipOutputArray"
                }
              }
            },
            "description": ""
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse500Serializer"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "memberships"
        ],
        "x-navio-section": "partner",
        "x-navio-availability": "available",
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/orders/{order_id}/for-partner/": {
      "get": {
        "description": "Get a single order by ID.\n\nReturns the customer-facing order view: line items, payment status,\ncars, bookings, receipts, and credit memos.\n\n**Authentication:** ClientCredentialsApiKey, RequestCachedToken, ApiKey\n\n**Permissions:** IsStaffOrHasAPIKey\n\n**Rate Limit:** 100/minute\n\n**Visibility:** public\n\n**Audience:** partner\n\n**IAM Permissions:**\n- `orders.get` (resource-scoped)",
        "operationId": "order_get_for_partner_api",
        "parameters": [
          {
            "in": "path",
            "name": "order_id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrderRecordCustomer"
                }
              }
            },
            "description": ""
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse500Serializer"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "orders"
        ],
        "x-navio-section": "partner",
        "x-navio-availability": "available",
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/orders/{order_id}/payment-status/": {
      "get": {
        "description": "Return compact payment status + pay link for an order.\n\nA customer pays for an order, so this is order-centric: amounts, paid\nstate, and -- for a draft pay-before booking -- the page where the order is\npaid. Used by the pay-before flow (including the MCP booking agent) to hand\nthe customer a payment link and poll until the order is paid and the\nbooking auto-confirms.\n\nSame access rule as creating a payment session: staff/workers/managers and\nAPI-key callers may read any order; a customer only orders of a user\ngroup they are a member of.\n\n**Authentication:** ClientCredentialsApiKey, RequestCachedToken, ApiKey\n\n**Permissions:** IsAuthenticatedOrHasAPIKey\n\n**Rate Limit:** 100/minute\n\n**Visibility:** public\n\n**Audience:** partner\n\n**IAM Permissions:**\n- `orders.get` (resource-scoped)",
        "operationId": "order_payment_status_api",
        "parameters": [
          {
            "in": "path",
            "name": "order_id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrderPaymentStatusRecord"
                }
              }
            },
            "description": ""
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse500Serializer"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "orders"
        ],
        "x-navio-section": "partner",
        "x-navio-availability": "available",
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/orders/for-partner/": {
      "get": {
        "description": "List a customer's orders, most recent first.\n\nFor the given customer (``user_group_id``), returns each order with its\nline items, payment status, cars, bookings, receipts, and credit memos.\nAn API-key caller only sees orders at service departments their key\nis granted at.\n\n**Authentication:** ClientCredentialsApiKey, RequestCachedToken, ApiKey\n\n**Permissions:** IsStaffOrHasAPIKey\n\n**Rate Limit:** 100/minute\n\n**Visibility:** public\n\n**Audience:** partner\n\n**IAM Permissions:**\n- `orders.list`",
        "operationId": "order_list_for_partner_api",
        "parameters": [
          {
            "in": "query",
            "name": "user_group_id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrderRecordCustomerArray"
                }
              }
            },
            "description": ""
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse500Serializer"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "orders"
        ],
        "x-navio-section": "partner",
        "x-navio-availability": "available",
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/sales-items/bookable/": {
      "get": {
        "description": "List bookable sales items for a mobile booking.\n\nThe customer is served at an address. For each license plate, returns\nthe car and the sales items that can be selected there, with prices\nand quantity/addon constraints. Pass the returned IDs as\n``selected_sales_item_ids`` when creating the booking.\n\n``license_plate_numbers`` accepts repeated params or one\ncomma-separated value. ``country_code`` applies to every plate and\ndefaults to the address country.\n\nUnauthenticated callers (customer app) see every item available at the\naddress for the brand. An API key only sees items offered at departments\nit is granted at.\n\nStaff may pass ``service_department_ids``: each item then lists which of\nthem offer it in ``offered_at_service_department_ids``. Nothing is\nfiltered by it, unknown or deleted ids offer nothing, and everyone else\ngets the same response as without it.\n\n**Authentication:** ClientCredentialsApiKey, RequestCachedToken, ApiKey\n\n**Permissions:** None (public endpoint)\n\n**Rate Limit:** 100/minute\n\n**Visibility:** public\n\n**Audience:** partner\n\n**IAM Permissions:**\n- `sales_items.list`",
        "operationId": "sales_item_bookable_list_api",
        "parameters": [
          {
            "in": "query",
            "name": "address_id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "brand_domain",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "country_code",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "language",
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "da",
                    "de",
                    "en-us",
                    "fr",
                    "nb",
                    "nl",
                    "sv"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "in": "query",
            "name": "license_plate_numbers",
            "required": true,
            "schema": {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "service_department_ids",
            "schema": {
              "anyOf": [
                {
                  "items": {
                    "type": "integer"
                  },
                  "type": "array"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "in": "query",
            "name": "user_group_id",
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CarsWithSalesItemsForBookingResponseRecord"
                }
              }
            },
            "description": ""
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse500Serializer"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "sales-items"
        ],
        "x-navio-section": "partner",
        "x-navio-availability": "available",
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/sales-items/bookable/station/": {
      "get": {
        "description": "List bookable sales items for a stationary booking.\n\nThe customer brings the car to a workshop. Returns the services\noffered at ``service_department_id``, with prices. Pass the returned\nIDs as ``selected_sales_item_ids`` when creating the station booking.\n\nAdapter-backed departments (for example EonTyre) only list services\nmapped to that location, so one shop does not expose another's\ncatalog. ``license_plate_number`` is required for those departments\n(per-customer prices and public/hotel filtering); optional otherwise.\n\n**Authentication:** ClientCredentialsApiKey, RequestCachedToken, ApiKey\n\n**Permissions:** None (public endpoint)\n\n**Rate Limit:** 100/minute\n\n**Visibility:** public\n\n**Audience:** partner\n\n**IAM Permissions:**\n- `sales_items.list` (resource-scoped)",
        "operationId": "sales_item_bookable_station_list_api",
        "parameters": [
          {
            "in": "query",
            "name": "license_plate_number",
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "in": "query",
            "name": "service_department_id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "user_group_id",
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BookableServicesContextRecord"
                }
              }
            },
            "description": ""
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse500Serializer"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "sales-items"
        ],
        "x-navio-section": "partner",
        "x-navio-availability": "available",
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/service-departments/from-brand-domain/for-partner/": {
      "get": {
        "description": "List the service departments for a brand, identified by its domain.\n\nReturns each service department connected to the brand, including the\nresolved brand and the ``service_department_id`` values needed to create a\nbooking. An API-key caller only sees departments their key is granted at.\n\n**Authentication:** ClientCredentialsApiKey, RequestCachedToken, ApiKey\n\n**Permissions:** IsStaffOrHasAPIKey\n\n**Rate Limit:** 100/minute\n\n**Visibility:** public\n\n**Audience:** partner\n\n**IAM Permissions:**\n- `departments.list`",
        "operationId": "service_department_list_from_brand_domain_for_partner_api",
        "parameters": [
          {
            "in": "query",
            "name": "brand_domain",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ServiceDepartmentRecordListArray"
                }
              }
            },
            "description": ""
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse500Serializer"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "bookings"
        ],
        "x-navio-section": "partner",
        "x-navio-availability": "available",
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/storage-custody-contracts/for-partner/": {
      "get": {
        "description": "List storage custody cycles for a customer, most recent first.\n\nEach item is physical possession of a wheel set (open while in storage),\nnot a commercial tire hotel contract.\n\nA department-scoped API key only sees contracts for customers with a\nrelationship (booking, order, or proposal) at its granted departments.\n\n**Authentication:** ClientCredentialsApiKey, RequestCachedToken, ApiKey\n\n**Permissions:** IsStaffOrHasAPIKey\n\n**Rate Limit:** 100/minute\n\n**Visibility:** public\n\n**Audience:** partner\n\n**IAM Permissions:**\n- `tire_hotels.list`",
        "operationId": "storage_custody_contract_list_for_partner_api",
        "parameters": [
          {
            "in": "query",
            "name": "active_only",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "user_group_id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StorageCustodyContractRecordPartnerArray"
                }
              }
            },
            "description": ""
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse500Serializer"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "tire-hotels"
        ],
        "x-navio-section": "partner",
        "x-navio-availability": "available",
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/tire-hotel-contracts/for-partner/": {
      "get": {
        "description": "Deprecated alias for storage custody cycles (physical possession).\n\nPrefer ``storage-custody-contracts/for-partner/`` for physical possession.\nCommercial tire hotel contracts: ``tire-hotels/for-partner/``.\n\nRemoval milestone: frontend noddi-async resource migration off\n``tire-hotel-contracts/for-partner/`` (track ticket in noddi-frontend).\nDo not extend this alias.\n\nA department-scoped API key only sees contracts for customers with a\nrelationship (booking, order, or proposal) at its granted departments.\n\n**Authentication:** ClientCredentialsApiKey, RequestCachedToken, ApiKey\n\n**Permissions:** IsStaffOrHasAPIKey\n\n**Rate Limit:** 100/minute\n\n**Visibility:** public\n\n**Audience:** partner\n\n**IAM Permissions:**\n- `tire_hotels.list`",
        "operationId": "tire_hotel_contract_list_for_partner_api",
        "parameters": [
          {
            "in": "query",
            "name": "active_only",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "user_group_id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StorageCustodyContractRecordPartnerArray"
                }
              }
            },
            "description": ""
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse500Serializer"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "tire-hotels"
        ],
        "x-navio-section": "partner",
        "x-navio-availability": "available",
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/tire-hotel-locations/for-partner/": {
      "get": {
        "description": "List tire hotel locations available for wheel pickup.\n\nReturns each location's ``id`` and name. Pass the ``id`` as\n``tire_hotel_location_id`` inside a car's ``wheel_pickup`` when the booking\ninvolves picking wheels up from tire storage.\n\n**Authentication:** ClientCredentialsApiKey, RequestCachedToken, ApiKey\n\n**Permissions:** IsStaffOrHasAPIKey\n\n**Rate Limit:** 100/minute\n\n**Visibility:** public\n\n**Audience:** partner\n\n**IAM Permissions:**\n- `tire_hotels.list`",
        "operationId": "tire_hotel_location_list_for_partner_api",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TireHotelLocationRecordMinimalListArray"
                }
              }
            },
            "description": ""
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse500Serializer"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "tire-hotels"
        ],
        "x-navio-section": "partner",
        "x-navio-availability": "available",
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/tire-hotels/for-partner/": {
      "get": {
        "description": "List commercial tire hotel contracts for a customer.\n\nNot storage custody cycles -- use ``storage-custody-contracts/for-partner/``\nfor physical possession.\n\nA department-scoped API key only sees tire hotel contracts for customers with a\nrelationship (booking, order, or proposal) at its granted departments.\n\n**Authentication:** ClientCredentialsApiKey, RequestCachedToken, ApiKey\n\n**Permissions:** IsStaffOrHasAPIKey\n\n**Rate Limit:** 100/minute\n\n**Visibility:** public\n\n**Audience:** partner\n\n**IAM Permissions:**\n- `tire_hotels.list`",
        "operationId": "tire_hotel_list_for_partner_api",
        "parameters": [
          {
            "in": "query",
            "name": "active_only",
            "schema": {
              "default": true,
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "user_group_id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TireHotelRecordPartnerArray"
                }
              }
            },
            "description": ""
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse500Serializer"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "tire-hotels"
        ],
        "x-navio-section": "partner",
        "x-navio-availability": "available",
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/user-group-members/for-partner/": {
      "get": {
        "description": "List the members of a user group.\n\nReturns each membership's ``id`` and user. Pass membership ``id`` values as\n``car_manager_ids`` on a car to nominate the booking's notification\nrecipients.\n\nA department-scoped API key only sees members for customers with a\nrelationship (booking, order, or proposal) at its granted departments,\nor for a brand-new customer with no relationship anywhere.\n\n**Authentication:** ClientCredentialsApiKey, RequestCachedToken, ApiKey\n\n**Permissions:** IsStaffOrHasAPIKey\n\n**Rate Limit:** 100/minute\n\n**Visibility:** public\n\n**Audience:** partner\n\n**IAM Permissions:**\n- `user_groups.list`",
        "operationId": "user_group_member_list_for_partner_api",
        "parameters": [
          {
            "in": "query",
            "name": "user_group_id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserGroupMemberRecordListPartnerArray"
                }
              }
            },
            "description": ""
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse500Serializer"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "bookings"
        ],
        "x-navio-section": "partner",
        "x-navio-availability": "available",
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/workstations/for-partner/": {
      "get": {
        "description": "List bookable workstations for a service department.\n\nReturns the active workstations (each with its ``id``, name and status)\nthat can be passed as ``workstation_id`` when creating a station booking\nvia ``POST /v1/bookings/station/``.\n\n**Authentication:** ClientCredentialsApiKey, RequestCachedToken, ApiKey\n\n**Permissions:** IsStaffOrHasAPIKey\n\n**Rate Limit:** 100/minute\n\n**Visibility:** public\n\n**Audience:** partner\n\n**IAM Permissions:**\n- `workstations.list` (resource-scoped)",
        "operationId": "workstation_list_for_partner_api",
        "parameters": [
          {
            "in": "query",
            "name": "service_department_id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkstationRecordListArray"
                }
              }
            },
            "description": ""
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse500Serializer"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "site"
        ],
        "x-navio-section": "partner",
        "x-navio-availability": "available",
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "AdapterIOStepSummaryRecord": {
        "description": "One outbound adapter push step for a booking (review surface).",
        "properties": {
          "attempts": {
            "default": 0,
            "description": "Number of push attempts so far.",
            "title": "Attempts",
            "type": "integer"
          },
          "external_id": {
            "default": "",
            "description": "External id produced on success.",
            "title": "External Id",
            "type": "string"
          },
          "failure_detail": {
            "default": "",
            "description": "Error detail when the step failed or was blocked.",
            "title": "Failure Detail",
            "type": "string"
          },
          "id": {
            "description": "AdapterIOResult row id.",
            "title": "Id",
            "type": "integer"
          },
          "status": {
            "description": "Push step status (success, failed, skipped, ...).",
            "title": "Status",
            "type": "string"
          },
          "step": {
            "description": "Push step key (customer, car, booking, ...).",
            "title": "Step",
            "type": "string"
          }
        },
        "required": [
          "id",
          "step",
          "status"
        ],
        "title": "AdapterIOStepSummaryRecord",
        "type": "object"
      },
      "AddressForBookingOutputRecord": {
        "description": "An address with delivery-area availability and service announcements.",
        "properties": {
          "city": {
            "description": "City/postal place.",
            "title": "City",
            "type": "string"
          },
          "country": {
            "$ref": "#/components/schemas/CountryRecord",
            "description": "Country of the address."
          },
          "country_code": {
            "description": "ISO 3166-1 alpha-2 country code.",
            "pattern": "/^[A-Z]{2}$/",
            "title": "Country Code",
            "type": "string"
          },
          "country_name": {
            "description": "Display name of the country.",
            "title": "Country Name",
            "type": "string"
          },
          "created_at": {
            "description": "The date and time the database model was created",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Created At",
            "type": "string"
          },
          "google_maps_url": {
            "description": "Google Maps URL to open the address.",
            "readOnly": true,
            "title": "Google Maps Url",
            "type": "string"
          },
          "google_place_id": {
            "default": "",
            "description": "Google Places resource identifier when known.",
            "title": "Google Place Id",
            "type": "string"
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "is_in_delivery_area": {
            "description": "Whether services are available at this address.",
            "title": "Is In Delivery Area",
            "type": "boolean"
          },
          "latitude": {
            "anyOf": [
              {
                "maximum": 90,
                "minimum": -90,
                "type": "number"
              },
              {
                "format": "double",
                "type": "number"
              }
            ],
            "description": "Latitude coordinate.",
            "title": "Latitude"
          },
          "longitude": {
            "anyOf": [
              {
                "maximum": 180,
                "minimum": -180,
                "type": "number"
              },
              {
                "format": "double",
                "type": "number"
              }
            ],
            "description": "Longitude coordinate.",
            "title": "Longitude"
          },
          "public_announcement": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Announcement for the service area of the address, if any.",
            "title": "Public Announcement"
          },
          "street_name": {
            "description": "Street name.",
            "title": "Street Name",
            "type": "string"
          },
          "street_number": {
            "description": "Street number.",
            "title": "Street Number",
            "type": "string"
          },
          "timezone": {
            "$ref": "#/components/schemas/ChoiceRecord_TimeZone_",
            "description": "Timezone of the address."
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The date and time the database model was last updated",
            "title": "Updated At"
          },
          "zip_code": {
            "description": "Postal/ZIP code.",
            "title": "Zip Code",
            "type": "string"
          }
        },
        "required": [
          "id",
          "created_at",
          "street_name",
          "street_number",
          "zip_code",
          "city",
          "country",
          "country_code",
          "latitude",
          "longitude",
          "timezone",
          "country_name",
          "is_in_delivery_area",
          "google_maps_url"
        ],
        "title": "AddressForBookingOutputRecord",
        "type": "object"
      },
      "AddressLabel": {
        "description": "Predefined labels for user group addresses.\n\nProvides common presets (home, work, cabin) so clients can show\nlocalized names and icons, while 'custom' lets the user supply\na free-text label via the custom_label field.",
        "enum": [
          "cabin",
          "custom",
          "home",
          "invoice",
          "office",
          "parents",
          "parking",
          "partner",
          "work"
        ],
        "title": "AddressLabel",
        "type": "string",
        "x-enum-descriptions": [
          "Home",
          "Work",
          "Cabin",
          "Office",
          "Partner",
          "Parents",
          "Parking",
          "Custom",
          "Invoice"
        ],
        "x-enum-member-descriptions": [
          "Preset for a home address. This is the default on a new user-group address.",
          "Preset for a workplace address.",
          "Preset for a cabin address.",
          "Preset for an office address, distinct from the workplace preset.",
          "Preset for a partner's address.",
          "Preset for a parent's address.",
          "Preset for a parking location rather than a street address name.",
          "No preset name. The visible text comes from custom_label.",
          "Preset for the address used on invoices."
        ]
      },
      "AddressRecord": {
        "description": "A complete address with identifier, location, and timezone.",
        "properties": {
          "city": {
            "description": "City/postal place.",
            "title": "City",
            "type": "string"
          },
          "country": {
            "$ref": "#/components/schemas/CountryRecord",
            "description": "Country of the address."
          },
          "country_code": {
            "description": "ISO 3166-1 alpha-2 country code.",
            "pattern": "/^[A-Z]{2}$/",
            "title": "Country Code",
            "type": "string"
          },
          "country_name": {
            "description": "Display name of the country.",
            "title": "Country Name",
            "type": "string"
          },
          "created_at": {
            "description": "The date and time the database model was created",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Created At",
            "type": "string"
          },
          "google_maps_url": {
            "description": "Google Maps URL to open the address.",
            "readOnly": true,
            "title": "Google Maps Url",
            "type": "string"
          },
          "google_place_id": {
            "default": "",
            "description": "Google Places resource identifier when known.",
            "title": "Google Place Id",
            "type": "string"
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "latitude": {
            "anyOf": [
              {
                "maximum": 90,
                "minimum": -90,
                "type": "number"
              },
              {
                "format": "double",
                "type": "number"
              }
            ],
            "description": "Latitude coordinate.",
            "title": "Latitude"
          },
          "longitude": {
            "anyOf": [
              {
                "maximum": 180,
                "minimum": -180,
                "type": "number"
              },
              {
                "format": "double",
                "type": "number"
              }
            ],
            "description": "Longitude coordinate.",
            "title": "Longitude"
          },
          "street_name": {
            "description": "Street name.",
            "title": "Street Name",
            "type": "string"
          },
          "street_number": {
            "description": "Street number.",
            "title": "Street Number",
            "type": "string"
          },
          "timezone": {
            "$ref": "#/components/schemas/ChoiceRecord_TimeZone_",
            "description": "Timezone of the address."
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The date and time the database model was last updated",
            "title": "Updated At"
          },
          "zip_code": {
            "description": "Postal/ZIP code.",
            "title": "Zip Code",
            "type": "string"
          }
        },
        "required": [
          "id",
          "created_at",
          "street_name",
          "street_number",
          "zip_code",
          "city",
          "country",
          "country_code",
          "latitude",
          "longitude",
          "timezone",
          "country_name",
          "google_maps_url"
        ],
        "title": "AddressRecord",
        "type": "object"
      },
      "AddressRecordCreate": {
        "description": "Input record for creating an address.",
        "properties": {
          "city": {
            "description": "City or postal place.",
            "minLength": 1,
            "title": "City",
            "type": "string"
          },
          "country_code": {
            "anyOf": [
              {
                "pattern": "/^\\w{2}$/",
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/Country"
              }
            ],
            "description": "Country code (ISO alpha-2 or Country).",
            "title": "Country Code"
          },
          "google_place_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Google Places resource identifier when this address was resolved from Places.",
            "title": "Google Place Id"
          },
          "latitude": {
            "anyOf": [
              {
                "maximum": 90,
                "minimum": -90,
                "type": "number"
              },
              {
                "format": "double",
                "type": "number"
              }
            ],
            "description": "Latitude coordinate.",
            "title": "Latitude"
          },
          "longitude": {
            "anyOf": [
              {
                "maximum": 180,
                "minimum": -180,
                "type": "number"
              },
              {
                "format": "double",
                "type": "number"
              }
            ],
            "description": "Longitude coordinate.",
            "title": "Longitude"
          },
          "place_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The name of the place from Google Maps API.",
            "title": "Place Name"
          },
          "street_name": {
            "description": "Street name.",
            "minLength": 1,
            "title": "Street Name",
            "type": "string"
          },
          "street_number": {
            "description": "Street number.",
            "minLength": 1,
            "title": "Street Number",
            "type": "string"
          },
          "zip_code": {
            "description": "Postal/ZIP code.",
            "minLength": 1,
            "title": "Zip Code",
            "type": "string"
          }
        },
        "required": [
          "street_name",
          "street_number",
          "zip_code",
          "city",
          "country_code",
          "latitude",
          "longitude"
        ],
        "title": "AddressRecordCreate",
        "type": "object"
      },
      "AddressRecordPatch": {
        "description": "Input record for patching an address.",
        "properties": {
          "city": {
            "anyOf": [
              {
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "City or postal place.",
            "title": "City"
          },
          "country_code": {
            "anyOf": [
              {
                "pattern": "/^\\w{2}$/",
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/Country"
              },
              {
                "type": "null"
              }
            ],
            "description": "Country code (ISO alpha-2 or Country).",
            "title": "Country Code"
          },
          "latitude": {
            "anyOf": [
              {
                "maximum": 90,
                "minimum": -90,
                "type": "number"
              },
              {
                "format": "double",
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "description": "Latitude coordinate.",
            "title": "Latitude"
          },
          "longitude": {
            "anyOf": [
              {
                "maximum": 180,
                "minimum": -180,
                "type": "number"
              },
              {
                "format": "double",
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "description": "Longitude coordinate.",
            "title": "Longitude"
          },
          "place_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The name of the place from Google Maps API.",
            "title": "Place Name"
          },
          "street_name": {
            "anyOf": [
              {
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Street name.",
            "title": "Street Name"
          },
          "street_number": {
            "anyOf": [
              {
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Street number.",
            "title": "Street Number"
          },
          "zip_code": {
            "anyOf": [
              {
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Postal/ZIP code.",
            "title": "Zip Code"
          }
        },
        "title": "AddressRecordPatch",
        "type": "object"
      },
      "BookableServiceRecord": {
        "description": "One bookable service/sales item for a stationary booking.",
        "properties": {
          "addon_of_sales_item_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "If set, this is an addon for that primary sales item; None for a primary service.",
            "title": "Addon Of Sales Item Id"
          },
          "booking_category_type": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/SalesItemBookingCategoryType"
              }
            ],
            "default": null,
            "description": "Booking category of the sales item, when the listing knows it. Used to tell a wheel-change or tire-hotel service from other work."
          },
          "discount_percent": {
            "anyOf": [
              {
                "ge": 0,
                "le": 100,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Percent off original_gross_price. Present only when original_gross_price is set.",
            "title": "Discount Percent"
          },
          "gross_price": {
            "$ref": "#/components/schemas/MoneyRecord",
            "description": "Customer-facing gross price (incl. VAT)."
          },
          "is_customer_editable": {
            "default": true,
            "description": "Whether the customer may freely select or deselect this service. False when the sales item is catalog-locked (SalesItem.is_customer_editable=False) or when this listing locks it (e.g. open-order match). Non-editable items should be shown as fixed inclusions, not as selectable choices.",
            "title": "Is Customer Editable",
            "type": "boolean"
          },
          "is_incoming_tire_season_required": {
            "default": false,
            "description": "Whether booking this service asks which wheel set goes into storage (a new tire hotel signup).",
            "title": "Is Incoming Tire Season Required",
            "type": "boolean"
          },
          "is_wheel_pickup_required": {
            "default": false,
            "description": "Whether the service requires wheel pickup/storage.",
            "title": "Is Wheel Pickup Required",
            "type": "boolean"
          },
          "name": {
            "description": "Display name of the service.",
            "title": "Name",
            "type": "string"
          },
          "original_gross_price": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/MoneyRecord"
              }
            ],
            "default": null,
            "description": "Catalog list gross price before a customer context discount. Present only when it is higher than gross_price."
          },
          "price_list_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "EonTyre Price Manager list used for this price (e.g. Ansattavtale). None when list price applies.",
            "title": "Price List Name"
          },
          "sales_item_id": {
            "description": "Navio sales item id.",
            "title": "Sales Item Id",
            "type": "integer"
          }
        },
        "required": [
          "sales_item_id",
          "name",
          "gross_price"
        ],
        "title": "BookableServiceRecord",
        "type": "object"
      },
      "BookableServicesContextRecord": {
        "description": "Bookable services for a stationary department, adapter-agnostic.",
        "properties": {
          "addon_services": {
            "description": "Addon services; each links to its primary via addon_of_sales_item_id.",
            "items": {
              "$ref": "#/components/schemas/BookableServiceRecord"
            },
            "title": "Addon Services",
            "type": "array"
          },
          "discount_percent": {
            "anyOf": [
              {
                "ge": 0,
                "le": 100,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Shared percent off when every discounted service has the same reduction. None when there is no discount or percents differ by service.",
            "title": "Discount Percent"
          },
          "locked_sales_item_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Pre-selected/locked service (e.g. EonTyre open-order match); None for core departments.",
            "title": "Locked Sales Item Id"
          },
          "open_order": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OpenOrderRecord"
              }
            ],
            "default": null,
            "description": "Customer's pre-existing open order at the external system (e.g. EonTyre prepaid storage); None for core departments."
          },
          "price_list_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "EonTyre Price Manager list for this customer/car (e.g. Ansattavtale). None when no list applies.",
            "title": "Price List Name"
          },
          "services": {
            "description": "Primary bookable services for the department.",
            "items": {
              "$ref": "#/components/schemas/BookableServiceRecord"
            },
            "title": "Services",
            "type": "array"
          },
          "tire_hotel_at_other_department": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/ServiceDepartmentRef"
              }
            ],
            "default": null,
            "description": "Service department that holds this car's tyre hotel when it is not the department being listed. None when the hotel is here, there is no hotel, or the department is not adapter-backed."
          }
        },
        "required": [
          "services",
          "addon_services"
        ],
        "title": "BookableServicesContextRecord",
        "type": "object"
      },
      "BookingAppNoteRecord": {
        "description": "Customer/worker note content and files without internal audit data.",
        "properties": {
          "attachments": {
            "description": "Files shared with the note.",
            "items": {
              "$ref": "#/components/schemas/NoteAttachmentPublicRecord"
            },
            "title": "Attachments",
            "type": "array"
          },
          "booking_id": {
            "description": "Booking this note belongs to.",
            "title": "Booking Id",
            "type": "integer"
          },
          "content": {
            "description": "Note body.",
            "title": "Content",
            "type": "string"
          },
          "created_at": {
            "description": "The date and time the database model was created",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Created At",
            "type": "string"
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "note_type": {
            "$ref": "#/components/schemas/BookingNoteType",
            "description": "Origin of the note."
          },
          "pinned": {
            "description": "Pin rank.",
            "title": "Pinned",
            "type": "integer"
          },
          "sort_index": {
            "description": "Display order.",
            "title": "Sort Index",
            "type": "integer"
          },
          "status": {
            "$ref": "#/components/schemas/NoteStatus",
            "description": "Note lifecycle."
          },
          "title": {
            "description": "Note title.",
            "title": "Title",
            "type": "string"
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The date and time the database model was last updated",
            "title": "Updated At"
          },
          "visible_to": {
            "description": "Audiences allowed to read an admin note.",
            "items": {
              "$ref": "#/components/schemas/NoteVisibility"
            },
            "title": "Visible To",
            "type": "array"
          }
        },
        "required": [
          "id",
          "created_at",
          "booking_id",
          "note_type",
          "title",
          "content",
          "sort_index",
          "pinned",
          "status",
          "visible_to",
          "attachments"
        ],
        "title": "BookingAppNoteRecord",
        "type": "object"
      },
      "BookingCancelBlockReason": {
        "description": "Why staff cannot cancel or uncancel a booking on its own.",
        "enum": [
          "cancelled_with_the_booking",
          "wheel_pickup_belongs_to_booking",
          "wheel_pickup_is_the_only_car",
          "wheel_pickups_completed"
        ],
        "title": "BookingCancelBlockReason",
        "type": "string",
        "x-enum-descriptions": [
          "Remove the car from its booking instead",
          "Cancel its booking instead",
          "Some wheel pickups are done",
          "Uncancel its booking instead"
        ],
        "x-enum-member-descriptions": [
          "This wheel pickup cannot be canceled on its own. Remove the car from the booking instead.",
          "This wheel pickup is the booking's only car, so the booking itself has to be canceled.",
          "Cancel is blocked because some wheel pickups on the booking are already done.",
          "This pickup was canceled together with its booking, so the booking has to be uncanceled."
        ]
      },
      "BookingCancelBlockRecord": {
        "description": "Why staff cannot cancel or uncancel a booking on its own.",
        "properties": {
          "booking": {
            "$ref": "#/components/schemas/BookingMinimalRecord",
            "description": "Booking to change instead."
          },
          "reason": {
            "$ref": "#/components/schemas/BookingCancelBlockReason",
            "description": "Why the change is refused."
          }
        },
        "required": [
          "reason",
          "booking"
        ],
        "title": "BookingCancelBlockRecord",
        "type": "object"
      },
      "BookingCancellationReason": {
        "description": "Why a booking was cancelled.\n\nSet on every cancellation and cleared on uncancel. Add a member when a\nnew cancellation path lands and map it in\n``BOOKING_CANCELLATION_SOURCE_BY_REASON`` -- an unmapped reason raises\nrather than defaulting to a source.",
        "enum": [
          "auto_booking_failed",
          "customer_request",
          "external_sync",
          "fleet_car_swapped",
          "fleet_schedule_change",
          "parent_booking_cancelled",
          "parent_booking_changed",
          "partner_request",
          "staff_request",
          "system_unspecified",
          "tire_hotel_rehome",
          "unconfirmed_expired",
          "unpaid_expired",
          "wheel_pickup_unsigned"
        ],
        "title": "BookingCancellationReason",
        "type": "string",
        "x-enum-descriptions": [
          "Canceled by customer",
          "Canceled by staff",
          "Canceled by partner",
          "Not paid within the time limit",
          "Not confirmed within the time limit",
          "Power of attorney for wheel pickup not signed",
          "Canceled in an external system",
          "Fleet schedule changed",
          "Car swapped to another fleet schedule",
          "Tire hotel rehome canceled",
          "Automatic booking could not be confirmed",
          "Parent booking canceled",
          "Removed when the parent booking changed",
          "Canceled by the system (reason not recorded)"
        ],
        "x-enum-member-descriptions": [
          "The customer asked for this booking to be canceled.",
          "Staff canceled the booking. The customer and partners did not.",
          "A partner canceled the booking. Staff and the customer did not.",
          "Canceled because payment did not arrive before the time limit.",
          "Canceled because the customer did not confirm before the time limit.",
          "Canceled because the power of attorney for a third-party wheel pickup was never signed.",
          "The booking was canceled outside Navio, and that cancel was copied in by sync.",
          "Canceled because the fleet schedule that owned the visit changed.",
          "Canceled because the car was moved onto another fleet schedule.",
          "Canceled because a tire-hotel rehome undid this booking.",
          "An automatic booking was started but could not be confirmed, so it was canceled.",
          "Canceled because the parent booking it belongs to was canceled.",
          "Removed because the parent booking changed, while that parent itself stayed in place.",
          "The system canceled it and no more specific reason was stored."
        ]
      },
      "BookingCancellationSource": {
        "description": "Who or what ended the booking.\n\nDerived from ``BookingCancellationReason`` via\n``BOOKING_CANCELLATION_SOURCE_BY_REASON`` and never stored, so\nrecategorizing a reason reclassifies history without a backfill.",
        "enum": [
          "adapter",
          "customer",
          "partner",
          "staff",
          "system"
        ],
        "title": "BookingCancellationSource",
        "type": "string",
        "x-enum-descriptions": [
          "Customer",
          "Staff",
          "Partner",
          "Adapter",
          "System"
        ],
        "x-enum-member-descriptions": [
          "The customer ended the booking. Taken from the stored reason, and never stored itself.",
          "Ended by a staff user. Taken from the stored reason, and never stored itself.",
          "A partner ended the booking. Taken from the stored reason, and never stored itself.",
          "An inbound adapter ended the booking after an external cancel. Taken from the reason, and never stored itself.",
          "An automatic rule ended the booking. Taken from the reason, and never stored itself."
        ]
      },
      "BookingCarForPartner": {
        "description": "Booking item with a nested minimal car record for partner detail views.\n\nReplaces the flat car_id / make / model / license_plate fields of\n``BookingCarForCustomer`` with a nested :class:`CarRecordMinimalWithImage`,\nso the partner UI can pass the whole car around instead of\nreconstructing it from booking-item fields.",
        "properties": {
          "booking_item_id": {
            "description": "ID of the booking item this car belongs to.",
            "title": "Booking Item Id",
            "type": "integer"
          },
          "car": {
            "$ref": "#/components/schemas/CarRecordMinimalWithImage",
            "description": "Minimal car record with its picture for this booking item."
          },
          "car_id": {
            "description": "Car ID. Kept alongside ``car`` for backwards compatibility with the previous flat shape; equivalent to ``car.id``.",
            "title": "Car Id",
            "type": "integer"
          },
          "id": {
            "description": "ID of the BookingItem row.",
            "title": "Id",
            "type": "integer"
          },
          "incoming_tire_season": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/TireSeason"
              }
            ],
            "default": null,
            "description": "The wheel set that goes into storage, as chosen when the car was booked for its first tire hotel season. Null when not asked."
          },
          "insurance_info": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/BookingInsuranceRecord"
              }
            ],
            "default": null,
            "description": "Insurance details for this car if provided."
          },
          "insurance_info_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "ID of the booking insurance details, if any.",
            "title": "Insurance Info Id"
          },
          "leaseholder_user_group": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/UserGroupRecordListMinimal"
              }
            ],
            "default": null,
            "description": "Personal customer currently leasing this car, with its contact user. Null when the car has no leaseholder."
          },
          "order_lines": {
            "description": "Order lines (services/products) for this car.",
            "items": {
              "$ref": "#/components/schemas/OrderLineRecordCustomer"
            },
            "title": "Order Lines",
            "type": "array"
          },
          "task_group_id": {
            "description": "Task group ID for this booking item.",
            "title": "Task Group Id",
            "type": "integer"
          }
        },
        "required": [
          "id",
          "booking_item_id",
          "car_id",
          "car",
          "task_group_id"
        ],
        "title": "BookingCarForPartner",
        "type": "object"
      },
      "BookingInsuranceRecord": {
        "description": "Insurance details for a car in a booking response.",
        "properties": {
          "date_of_damage": {
            "description": "Date when the damage occurred (for insurance claims).",
            "format": "date",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}$/",
            "title": "Date Of Damage",
            "type": "string"
          },
          "insurance_company_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Name of the insurance company. Optional.",
            "title": "Insurance Company Name"
          },
          "is_glass_damage_covered": {
            "description": "Whether the policy covers glass damage.",
            "title": "Is Glass Damage Covered",
            "type": "boolean"
          }
        },
        "required": [
          "date_of_damage",
          "is_glass_damage_covered"
        ],
        "title": "BookingInsuranceRecord",
        "type": "object"
      },
      "BookingLocationType": {
        "description": "Describes where a booking's service is performed.\n\nMOBILE: The worker drives to the customer's address\n(booking has a customer_location).\nSTATIONARY: The customer brings the vehicle to a service department\nstation (booking has a workstation).",
        "enum": [
          "MOBILE",
          "STATIONARY"
        ],
        "title": "BookingLocationType",
        "type": "string",
        "x-enum-descriptions": [
          "Mobile",
          "Stationary"
        ],
        "x-enum-member-descriptions": [
          "The worker drives to the customer. The booking has a customer location, not a workstation.",
          "The customer brings the vehicle to a station. The booking has a workstation, not a customer location."
        ]
      },
      "BookingMinimalRecord": {
        "description": "The booking reference plus its timestamps, for list or nested contexts.",
        "properties": {
          "created_at": {
            "description": "When the booking was created.",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Created At",
            "type": "string"
          },
          "delivery_window_ends_at": {
            "description": "End of the delivery/service time window.",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Delivery Window Ends At",
            "type": "string"
          },
          "delivery_window_starts_at": {
            "description": "Start of the delivery/service time window.",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Delivery Window Starts At",
            "type": "string"
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "service_department_id": {
            "description": "Service department that serves the booking.",
            "title": "Service Department Id",
            "type": "integer"
          },
          "slug": {
            "description": "Unique human-readable identifier for the booking.",
            "title": "Slug",
            "type": "string"
          },
          "time_zone": {
            "$ref": "#/components/schemas/TimeZoneRecord",
            "description": "Time zone of the booking's service department. Show the booking's clock times and date in this zone."
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "When the booking was last updated.",
            "title": "Updated At"
          },
          "user_group_id": {
            "description": "Customer user group.",
            "title": "User Group Id",
            "type": "integer"
          }
        },
        "required": [
          "id",
          "slug",
          "user_group_id",
          "service_department_id",
          "created_at",
          "delivery_window_starts_at",
          "delivery_window_ends_at",
          "time_zone"
        ],
        "title": "BookingMinimalRecord",
        "type": "object"
      },
      "BookingNoteType": {
        "description": "Audience / role classification for a booking note.\n\nEach booking can have multiple notes of each type. Legacy single-string\ncomment fields on the Booking API map to exactly one note of the matching\ntype (upsert semantics). Staff may mutate admin notes only; notes from\ncustomer and notes from worker are read-only on the partner/admin app.",
        "enum": [
          "admin",
          "customer",
          "worker"
        ],
        "title": "BookingNoteType",
        "type": "string",
        "x-enum-descriptions": [
          "Notes from admin",
          "Notes from customer",
          "Notes from worker"
        ],
        "x-enum-member-descriptions": [
          "Written by staff. On the partner and admin apps this is the only note type staff may change.",
          "Written by the customer. Staff can read it on the partner and admin apps, but cannot change it.",
          "Written by the worker. Staff can read it on the partner and admin apps, but cannot change it."
        ]
      },
      "BookingNotificationRecord": {
        "description": "Per-user notification override for a booking.\n\nOverrides the default notification preference for one recipient (e.g. enable\nor disable SMS) without changing the user group default.",
        "properties": {
          "sms_booking_notifications": {
            "description": "Whether this user receives SMS notifications for this booking.",
            "title": "Sms Booking Notifications",
            "type": "boolean"
          },
          "user_id": {
            "description": "User whose notification preference is overridden.",
            "title": "User Id",
            "type": "integer"
          }
        },
        "required": [
          "user_id",
          "sms_booking_notifications"
        ],
        "title": "BookingNotificationRecord",
        "type": "object"
      },
      "BookingParkingRecordPartner": {
        "description": "Partner booking detail: the customer record plus the location row id.",
        "properties": {
          "id": {
            "description": "Booking customer location this parking context belongs to.",
            "title": "Id",
            "type": "integer"
          },
          "parking_place": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/ParkingPlaceRecordMinimalList"
              }
            ],
            "default": null,
            "description": "Parking place the visit happens inside, when set."
          },
          "parking_place_entrance": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/ParkingPlaceEntranceRecord"
              }
            ],
            "default": null,
            "description": "Entrance details: pin, clearance limits, instructions, image."
          },
          "parking_place_entrance_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Entrance the worker drives through to reach the parking place; its pin is the navigation target.",
            "title": "Parking Place Entrance Id"
          },
          "parking_place_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Parking place the visit happens inside.",
            "title": "Parking Place Id"
          },
          "parking_zone": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/ParkingZoneRecord"
              }
            ],
            "default": null,
            "description": "Zone details: pin, kind, instructions."
          },
          "parking_zone_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Washing/maintenance zone inside the parking place where the service is performed.",
            "title": "Parking Zone Id"
          }
        },
        "required": [
          "id"
        ],
        "title": "BookingParkingRecordPartner",
        "type": "object"
      },
      "BookingProgressStatus": {
        "description": "How far the service work on a booking got.\n\nDerived by ``for_booking`` and never stored. Unlike\n``BookingStatus`` it reflects tasks the worker marked unable to complete.",
        "enum": [
          "cancelled",
          "completed",
          "in_progress",
          "not_started",
          "partially_unable_to_complete",
          "unable_to_complete"
        ],
        "title": "BookingProgressStatus",
        "type": "string",
        "x-enum-descriptions": [
          "Not started",
          "In progress",
          "Completed",
          "Partially unable to complete",
          "Unable to complete",
          "Cancelled"
        ],
        "x-enum-member-descriptions": [
          "No work has started: upcoming, or still waiting on the customer.",
          "A worker has started the booking and not completed it.",
          "Completed with no service task marked unable to complete.",
          "Some, not all, service tasks were marked unable to complete.",
          "Every service task was marked unable to complete.",
          "The booking was cancelled."
        ]
      },
      "BookingProposalRecordListPartner": {
        "description": "Minimal booking proposal for partner discovery before booking.",
        "properties": {
          "address_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Visit address of the proposal, if set.",
            "title": "Address Id"
          },
          "brand_domain": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Brand domain override for the proposal, if set.",
            "title": "Brand Domain"
          },
          "created_at": {
            "description": "The date and time the database model was created",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Created At",
            "type": "string"
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "service_department_id": {
            "description": "Service department the proposal belongs to.",
            "title": "Service Department Id",
            "type": "integer"
          },
          "slug": {
            "description": "Booking proposal slug.",
            "title": "Slug",
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/BookingProposalStatus",
            "description": "Current status of the booking proposal."
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The date and time the database model was last updated",
            "title": "Updated At"
          }
        },
        "required": [
          "id",
          "created_at",
          "slug",
          "status",
          "service_department_id"
        ],
        "title": "BookingProposalRecordListPartner",
        "type": "object"
      },
      "BookingProposalRecordListPartnerArray": {
        "items": {
          "$ref": "#/components/schemas/BookingProposalRecordListPartner"
        },
        "properties": {},
        "type": "array"
      },
      "BookingProposalRecordMinimalPartner": {
        "description": "Minimal booking proposal record for the partner booking detail view.",
        "properties": {
          "eontyre_detail": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/EontyreDetailRecord"
              }
            ],
            "default": null,
            "description": "EonTyre booking details, if the proposal was published via EonTyre."
          },
          "id": {
            "description": "Booking proposal ID.",
            "title": "Id",
            "type": "integer"
          },
          "slug": {
            "description": "Unique slug identifier for the proposal.",
            "title": "Slug",
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/ChoiceRecord_BookingProposalStatus_",
            "description": "Current status of the booking proposal."
          },
          "type": {
            "$ref": "#/components/schemas/ChoiceRecord_BookingProposalType_",
            "description": "Type of the booking proposal."
          }
        },
        "required": [
          "id",
          "slug",
          "status",
          "type"
        ],
        "title": "BookingProposalRecordMinimalPartner",
        "type": "object"
      },
      "BookingProposalStatus": {
        "description": "Tracks the lifecycle state of a booking proposal.\n\nA booking proposal starts as DRAFT (internal only), transitions to\nPENDING when sent to the customer, and terminates when the customer\nacts on it (books or rejects) or the system/staff closes it.",
        "enum": [
          "closed_booked_outside_of_recall",
          "closed_booking_created",
          "closed_by_staff",
          "closed_by_system_expired",
          "draft",
          "opted_out",
          "pending",
          "rejected_by_customer",
          "snoozed"
        ],
        "title": "BookingProposalStatus",
        "type": "string",
        "x-enum-descriptions": [
          "Draft",
          "Pending",
          "Closed booking created",
          "Closed booked outside of recall",
          "Closed by system expired",
          "Rejected by customer",
          "Closed by staff",
          "Opted out",
          "Snoozed"
        ],
        "x-enum-member-descriptions": [
          "Internal only. The customer has not been sent this proposal.",
          "Sent to the customer, who has not booked it or turned it down yet.",
          "Inactive because a booking was created from this proposal.",
          "Closed because the customer was already booked or serviced outside this recall, so it is not counted as a conversion of the proposal.",
          "The system closed it after inactivity. Staff did not close it, and the customer did not answer.",
          "The customer refused the proposal, so it will not be booked from here.",
          "Staff closed it. The customer did not book it, refuse it, or opt out.",
          "The customer or car opted out of this recall season. That is a refusal, not silence while it is still waiting, and not a staff close.",
          "SMS stays held until it is reactivated, for example after a later-contact request. This is not a refusal."
        ]
      },
      "BookingRecordDetailsPartner": {
        "description": "Detailed record for the Booking model to be used in partner-facing\nAPIs.\n\nContains all fields which are needed for a detailed view of a booking,\nincluding related models.",
        "properties": {
          "address": {
            "$ref": "#/components/schemas/AddressRecord",
            "description": "Service address for the booking."
          },
          "admin_notes": {
            "description": "Read-only notes from admin with customer in visible_to, including attachments. Other admin notes are omitted.",
            "items": {
              "$ref": "#/components/schemas/BookingAppNoteRecord"
            },
            "title": "Admin Notes",
            "type": "array"
          },
          "booked_by_non_member": {
            "description": "Whether the booking was placed by a non-member of its organization.",
            "title": "Booked By Non Member",
            "type": "boolean"
          },
          "booking_items_car": {
            "description": "Booking items with a car (vehicle/wheel set) and order lines. Uses a nested minimal car record so the partner UI can pass the whole car around instead of reconstructing it from flat booking-item fields.",
            "items": {
              "$ref": "#/components/schemas/BookingCarForPartner"
            },
            "title": "Booking Items Car",
            "type": "array"
          },
          "booking_proposal": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/BookingProposalRecordMinimalPartner"
              }
            ],
            "default": null,
            "description": "Booking proposal that resulted in this booking, if any. Includes EonTyre details when the proposal originated from the EonTyre integration."
          },
          "booking_type": {
            "$ref": "#/components/schemas/BookingType",
            "description": "Customer booking, or a Hente dekk that belongs to one."
          },
          "calendar_event": {
            "$ref": "#/components/schemas/CalendarEventRecordCustomer",
            "description": "Calendar event for the booking."
          },
          "can_reschedule_to_other_date": {
            "description": "Whether this unfinished booking may move to another date, including a reopened visit.",
            "title": "Can Reschedule To Other Date",
            "type": "boolean"
          },
          "cancel_allowed_until": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Last moment the customer can cancel this booking. None when there is no time-based cutoff (e.g. non-stationary bookings).",
            "title": "Cancel Allowed Until"
          },
          "cancel_block": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/BookingCancelBlockRecord"
              }
            ],
            "description": "Why staff cannot cancel this booking on its own."
          },
          "cancellation_comment": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Free-text note recorded with the latest cancellation. Empty when none was given; null when not cancelled or for API-key callers.",
            "title": "Cancellation Comment"
          },
          "cancellation_reason": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/BookingCancellationReason"
              }
            ],
            "default": null,
            "description": "Why the booking was cancelled. Null if not cancelled."
          },
          "cancellation_source": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/BookingCancellationSource"
              }
            ],
            "default": null,
            "description": "Who or what ended the booking. Read this rather than grouping reasons client-side, so a new reason classifies correctly without a client change."
          },
          "cancelled_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "When the booking was cancelled, if applicable.",
            "title": "Cancelled At"
          },
          "cancelled_by": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/UserRecordMinimal"
              }
            ],
            "default": null,
            "description": "User who cancelled the booking. Null when not cancelled, when an integration (API key) cancelled it, or for API-key callers."
          },
          "cancelled_via": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "App or integration the latest cancellation came from (X-Navio-Source). Known values are BookingEventSource; other header values (e.g. a partner integration) are returned as sent. Null when not cancelled, not recorded (system jobs, older rows), or for API-key callers.",
            "title": "Cancelled Via"
          },
          "comments_admin": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Legacy first notes-from-admin body text. Null for API-key callers, which are not staff.",
            "title": "Comments Admin"
          },
          "comments_unable_to_complete_internal": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Internal notes when the booking could not be completed. Null for API-key callers, which are not staff.",
            "title": "Comments Unable To Complete Internal"
          },
          "comments_unable_to_complete_public": {
            "description": "Customer-facing notes when the booking could not be completed.",
            "title": "Comments Unable To Complete Public",
            "type": "string"
          },
          "comments_user": {
            "description": "Legacy first notes-from-customer body text.",
            "title": "Comments User",
            "type": "string"
          },
          "comments_worker": {
            "description": "Legacy first notes-from-worker body text.",
            "title": "Comments Worker",
            "type": "string"
          },
          "communicated_arrival_end": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "End of the communicated arrival window to the customer.",
            "title": "Communicated Arrival End"
          },
          "communicated_arrival_start": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Start of the communicated arrival window to the customer.",
            "title": "Communicated Arrival Start"
          },
          "completed_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "When the booking was marked completed.",
            "title": "Completed At"
          },
          "connected_wheel_pickups": {
            "description": "All pickup attempts, with the scan each visit holds.",
            "items": {
              "$ref": "#/components/schemas/ConnectedWheelPickupRecordPartner"
            },
            "title": "Connected Wheel Pickups",
            "type": "array"
          },
          "created_at": {
            "description": "The date and time the database model was created",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Created At",
            "type": "string"
          },
          "created_by": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/UserRecordMinimal"
              }
            ],
            "default": null,
            "description": "The user who created the booking, if any."
          },
          "customer_brand": {
            "$ref": "#/components/schemas/BrandRecord",
            "description": "Brand the customer is interacting with."
          },
          "customer_department_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Department represented when this booking was made, if recorded.",
            "title": "Customer Department Id"
          },
          "customer_department_name": {
            "description": "Department name at booking time, empty for older bookings.",
            "title": "Customer Department Name",
            "type": "string"
          },
          "customer_details_missing": {
            "description": "True when the booking's customer has no name yet, e.g. a customer staff created from a phone number. The customer signs in and fills in their details before confirming or paying.",
            "title": "Customer Details Missing",
            "type": "boolean"
          },
          "customer_organization_name": {
            "description": "Organization name at booking time, empty for older bookings.",
            "title": "Customer Organization Name",
            "type": "string"
          },
          "customer_response_due_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Deadline for the customer to pay for or confirm the booking while it awaits them. The slot is released and the booking cancelled if it passes. Null when nothing is outstanding. Count down from this rather than from payment_due_in_seconds, which is only accurate at the moment the response was built.",
            "title": "Customer Response Due At"
          },
          "date": {
            "description": "Scheduled date of the booking.",
            "format": "date",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}$/",
            "title": "Date",
            "type": "string"
          },
          "delivery_window_ends_at": {
            "description": "End of the delivery/service time window.",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Delivery Window Ends At",
            "type": "string"
          },
          "delivery_window_fee": {
            "$ref": "#/components/schemas/MoneyRecord",
            "description": "Fee for the chosen delivery window."
          },
          "delivery_window_fee_is_manual": {
            "description": "Staff set the delivery fee by hand; a new delivery window keeps it.",
            "title": "Delivery Window Fee Is Manual",
            "type": "boolean"
          },
          "delivery_window_starts_at": {
            "description": "Start of the delivery/service time window.",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Delivery Window Starts At",
            "type": "string"
          },
          "eontyre_detail": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/EontyreDetailRecord"
              }
            ],
            "default": null,
            "description": "EonTyre booking details, if the booking originated from an EonTyre proposal."
          },
          "estimated_departure": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Estimated time the worker will leave.",
            "title": "Estimated Departure"
          },
          "estimated_service_start": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Estimated time the service will start.",
            "title": "Estimated Service Start"
          },
          "garage_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "ID of the site where the service is performed. Set only for stationary bookings.",
            "title": "Garage Id"
          },
          "has_customer_visit": {
            "description": "False when nothing happens at the customer: wheel storage only, picked up at a different address by the linked Hente dekk booking. The delivery window is then that pickup's day, not a time to be home.",
            "title": "Has Customer Visit",
            "type": "boolean"
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "invoice_reference": {
            "description": "Invoice reference supplied at booking creation.",
            "title": "Invoice Reference",
            "type": "string"
          },
          "is_cancel_allowed": {
            "description": "Whether the customer is allowed to cancel this booking.",
            "title": "Is Cancel Allowed",
            "type": "boolean"
          },
          "is_cancelled": {
            "description": "Whether the booking has been cancelled.",
            "title": "Is Cancelled",
            "type": "boolean"
          },
          "is_cancelled_by_system": {
            "default": false,
            "description": "True when the cancellation source is system. An adapter cancel is a separate source.",
            "title": "Is Cancelled By System",
            "type": "boolean"
          },
          "is_drop_in": {
            "description": "Walk-in visit recorded at the shop. It sits outside capacity and the shop collects payment.",
            "title": "Is Drop In",
            "type": "boolean"
          },
          "is_fully_unable_to_complete": {
            "description": "True if every order line was marked unable to complete.",
            "title": "Is Fully Unable To Complete",
            "type": "boolean"
          },
          "is_partially_unable_to_complete": {
            "description": "True if some but not all order lines were marked unable to complete.",
            "title": "Is Partially Unable To Complete",
            "type": "boolean"
          },
          "is_same_day": {
            "default": false,
            "description": "Booked by the customer for the same day.",
            "title": "Is Same Day",
            "type": "boolean"
          },
          "location_type": {
            "$ref": "#/components/schemas/BookingLocationType",
            "description": "Whether the service is mobile (at customer) or stationary (at station)."
          },
          "notifications": {
            "description": "Users to be notified about this booking.",
            "items": {
              "$ref": "#/components/schemas/BookingNotificationRecord"
            },
            "title": "Notifications",
            "type": "array"
          },
          "order": {
            "$ref": "#/components/schemas/OrderRecordCustomer",
            "description": "Order linked to this booking (lines, payments, receipts)."
          },
          "page_url": {
            "description": "URL to the customer-facing booking info page.",
            "title": "Page Url",
            "type": "string"
          },
          "parking": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/BookingParkingRecordPartner"
              }
            ],
            "default": null,
            "description": "Parking context for a visit inside a parking facility, including the location row id. None when the visit address is not a parking facility."
          },
          "payment_due_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "deprecated": true,
            "description": "Deprecated: use ``customer_response_due_at``. Same value, kept while clients move to the new name.",
            "title": "Payment Due At"
          },
          "payment_due_in_seconds": {
            "readOnly": true,
            "type": "integer"
          },
          "progress_status": {
            "$ref": "#/components/schemas/BookingProgressStatus",
            "description": "How far the service work got, counting tasks marked unable to complete: use this rather than deriving it from status and flags."
          },
          "referral_code": {
            "description": "Customer referral code for this user group.",
            "title": "Referral Code",
            "type": "string"
          },
          "retorque_guide": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/BookingRetorqueGuideRecord"
              }
            ],
            "default": null,
            "description": "Wheel-bolt re-tightening guide. Set only when the booking is completed and a wheel change on it was done."
          },
          "route": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/RouteRecordPartner"
              }
            ],
            "default": null,
            "description": "Route this booking is assigned to, if any."
          },
          "route_item": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/RouteItemRecordPartner"
              }
            ],
            "default": null,
            "description": "This booking's stop on the route."
          },
          "service_categories": {
            "description": "Service categories covered by this booking's items.",
            "items": {
              "$ref": "#/components/schemas/ServiceCategoryRecord"
            },
            "title": "Service Categories",
            "type": "array"
          },
          "service_department": {
            "$ref": "#/components/schemas/ServiceDepartmentRef",
            "description": "Service department handling this booking."
          },
          "service_department_brand": {
            "$ref": "#/components/schemas/BrandRecord",
            "description": "Brand of the service department handling the booking."
          },
          "service_department_id": {
            "description": "Department handling this booking.",
            "title": "Service Department Id",
            "type": "integer"
          },
          "service_feedback": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/ServiceFeedbackCustomerRecord"
              }
            ],
            "default": null,
            "description": "Customer feedback for this booking if submitted."
          },
          "service_organization_id": {
            "description": "ID of the service organization handling this booking.",
            "title": "Service Organization Id",
            "type": "integer"
          },
          "slug": {
            "description": "Unique human-readable identifier for the booking.",
            "title": "Slug",
            "type": "string"
          },
          "started_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "When the worker started the service.",
            "title": "Started At"
          },
          "station": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/WorkstationRecordList"
              }
            ],
            "default": null,
            "description": "Station where the service is performed. None for mobile bookings."
          },
          "status": {
            "$ref": "#/components/schemas/ChoiceRecord_BookingStatus_",
            "description": "Current status of the booking (e.g. draft, confirmed, completed)."
          },
          "support_email": {
            "description": "Customer service email of the department handling the booking.",
            "title": "Support Email",
            "type": "string"
          },
          "support_phone": {
            "description": "Customer service phone of the department handling the booking.",
            "title": "Support Phone",
            "type": "string"
          },
          "task_group_id": {
            "description": "ID of the task group this booking belongs to.",
            "title": "Task Group Id",
            "type": "integer"
          },
          "time_zone": {
            "$ref": "#/components/schemas/TimeZoneRecord",
            "description": "Time zone of the booking's service department. Show the booking's clock times and date in this zone."
          },
          "unable_to_complete_tasks": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/UnableToCompleteMarkingRecord"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Active task reasons and comments on staff booking detail GET. Null for API-key callers and other booking responses.",
            "title": "Unable To Complete Tasks"
          },
          "uncancel_block": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/BookingCancelBlockRecord"
              }
            ],
            "description": "Why staff cannot uncancel this booking on its own."
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The date and time the database model was last updated",
            "title": "Updated At"
          },
          "user": {
            "$ref": "#/components/schemas/UserRecord",
            "description": "Primary user (customer) for the booking."
          },
          "user_group": {
            "$ref": "#/components/schemas/UserGroupPartnerRecord",
            "description": "User group (household) for the booking."
          },
          "user_group_address": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/UserGroupAddressRecord"
              }
            ],
            "default": null,
            "description": "Address record for the user group (None for at-station bookings)."
          },
          "user_group_payer": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/UserGroupPayerRecord"
              }
            ],
            "default": null,
            "description": "Invoice-to user group when different from the booking customer. Null when the customer pays."
          },
          "wheel_set_pickups": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/WheelSetPickupSigningOrderRecordPartner"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Wheel pickup signing orders with row IDs.",
            "title": "Wheel Set Pickups"
          },
          "worker_contact": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/BookingWorkerContactRecord"
              }
            ],
            "default": null,
            "description": "Technician the customer can contact. Set only while the route is started and the booking is not yet completed."
          },
          "workstation": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/WorkstationRecordMinimum"
              }
            ],
            "default": null,
            "description": "Workstation handling the service. Set only for stationary bookings."
          }
        },
        "required": [
          "id",
          "created_at",
          "invoice_reference",
          "booked_by_non_member",
          "comments_unable_to_complete_internal",
          "comments_unable_to_complete_public",
          "comments_user",
          "date",
          "delivery_window_ends_at",
          "delivery_window_fee",
          "delivery_window_starts_at",
          "is_cancelled",
          "location_type",
          "has_customer_visit",
          "slug",
          "status",
          "service_organization_id",
          "task_group_id",
          "time_zone",
          "admin_notes",
          "address",
          "booking_items_car",
          "calendar_event",
          "customer_brand",
          "is_cancel_allowed",
          "is_fully_unable_to_complete",
          "is_partially_unable_to_complete",
          "progress_status",
          "order",
          "page_url",
          "referral_code",
          "service_categories",
          "service_department_id",
          "service_department_brand",
          "support_email",
          "support_phone",
          "user",
          "user_group",
          "customer_details_missing",
          "customer_department_name",
          "customer_organization_name",
          "connected_wheel_pickups",
          "can_reschedule_to_other_date",
          "booking_type",
          "cancel_block",
          "uncancel_block",
          "comments_worker",
          "comments_admin",
          "notifications",
          "service_department",
          "delivery_window_fee_is_manual",
          "is_drop_in",
          "payment_due_in_seconds"
        ],
        "title": "BookingRecordDetailsPartner",
        "type": "object"
      },
      "BookingRecordPartnerList": {
        "description": "Partner-facing list record for bookings. Same shape as customer list\nexcept internal unable-to-complete notes are always omitted.",
        "properties": {
          "booked_by_non_member": {
            "description": "Whether the booking was placed by a non-member of its organization.",
            "title": "Booked By Non Member",
            "type": "boolean"
          },
          "cancellation_reason": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/BookingCancellationReason"
              }
            ],
            "default": null,
            "description": "Why the booking was cancelled. Null if not cancelled."
          },
          "cancellation_source": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/BookingCancellationSource"
              }
            ],
            "default": null,
            "description": "Who or what ended the booking. Read this rather than grouping reasons client-side, so a new reason classifies correctly without a client change."
          },
          "cancelled_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "When the booking was cancelled, if applicable.",
            "title": "Cancelled At"
          },
          "comments_unable_to_complete_internal": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Internal notes when the booking could not be completed. Always null on the partner list.",
            "title": "Comments Unable To Complete Internal"
          },
          "comments_unable_to_complete_public": {
            "description": "Customer-facing notes when the booking could not be completed.",
            "title": "Comments Unable To Complete Public",
            "type": "string"
          },
          "comments_user": {
            "description": "Legacy first notes-from-customer body text.",
            "title": "Comments User",
            "type": "string"
          },
          "communicated_arrival_end": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "End of the communicated arrival window to the customer.",
            "title": "Communicated Arrival End"
          },
          "communicated_arrival_start": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Start of the communicated arrival window to the customer.",
            "title": "Communicated Arrival Start"
          },
          "completed_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "When the booking was marked completed.",
            "title": "Completed At"
          },
          "created_at": {
            "description": "The date and time the database model was created",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Created At",
            "type": "string"
          },
          "customer_response_due_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Deadline for the customer to pay for or confirm the booking while it awaits them. The slot is released and the booking cancelled if it passes. Null when nothing is outstanding. Count down from this rather than from payment_due_in_seconds, which is only accurate at the moment the response was built.",
            "title": "Customer Response Due At"
          },
          "date": {
            "description": "Scheduled date of the booking.",
            "format": "date",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}$/",
            "title": "Date",
            "type": "string"
          },
          "delivery_window_ends_at": {
            "description": "End of the delivery/service time window.",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Delivery Window Ends At",
            "type": "string"
          },
          "delivery_window_fee": {
            "$ref": "#/components/schemas/MoneyRecord",
            "description": "Fee for the chosen delivery window."
          },
          "delivery_window_starts_at": {
            "description": "Start of the delivery/service time window.",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Delivery Window Starts At",
            "type": "string"
          },
          "has_customer_visit": {
            "description": "False when nothing happens at the customer: wheel storage only, picked up at a different address by the linked Hente dekk booking. The delivery window is then that pickup's day, not a time to be home.",
            "title": "Has Customer Visit",
            "type": "boolean"
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "invoice_reference": {
            "description": "Invoice reference supplied at booking creation.",
            "title": "Invoice Reference",
            "type": "string"
          },
          "is_cancelled": {
            "description": "Whether the booking has been cancelled.",
            "title": "Is Cancelled",
            "type": "boolean"
          },
          "is_cancelled_by_system": {
            "default": false,
            "description": "True when the cancellation source is system. An adapter cancel is a separate source.",
            "title": "Is Cancelled By System",
            "type": "boolean"
          },
          "is_fully_unable_to_complete": {
            "description": "True if every order line in the booking was marked unable to complete.",
            "title": "Is Fully Unable To Complete",
            "type": "boolean"
          },
          "is_partially_unable_to_complete": {
            "description": "True if at least one but not all order lines were marked unable to complete.",
            "title": "Is Partially Unable To Complete",
            "type": "boolean"
          },
          "location_type": {
            "$ref": "#/components/schemas/BookingLocationType",
            "description": "Whether the service is mobile (at customer) or stationary (at station)."
          },
          "payment_due_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "deprecated": true,
            "description": "Deprecated: use ``customer_response_due_at``. Same value, kept while clients move to the new name.",
            "title": "Payment Due At"
          },
          "payment_due_in_seconds": {
            "readOnly": true,
            "type": "integer"
          },
          "progress_status": {
            "$ref": "#/components/schemas/BookingProgressStatus",
            "description": "How far the service work got, counting tasks marked unable to complete: use this rather than deriving it from status and flags."
          },
          "service_organization_id": {
            "description": "ID of the service organization handling this booking.",
            "title": "Service Organization Id",
            "type": "integer"
          },
          "slug": {
            "description": "Unique human-readable identifier for the booking.",
            "title": "Slug",
            "type": "string"
          },
          "started_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "When the worker started the service.",
            "title": "Started At"
          },
          "status": {
            "$ref": "#/components/schemas/ChoiceRecord_BookingStatus_",
            "description": "Current status of the booking (e.g. draft, confirmed, completed)."
          },
          "task_group_id": {
            "description": "ID of the task group this booking belongs to.",
            "title": "Task Group Id",
            "type": "integer"
          },
          "time_zone": {
            "$ref": "#/components/schemas/TimeZoneRecord",
            "description": "Time zone of the booking's service department. Show the booking's clock times and date in this zone."
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The date and time the database model was last updated",
            "title": "Updated At"
          }
        },
        "required": [
          "id",
          "created_at",
          "invoice_reference",
          "booked_by_non_member",
          "comments_unable_to_complete_public",
          "comments_user",
          "date",
          "delivery_window_ends_at",
          "delivery_window_fee",
          "delivery_window_starts_at",
          "is_cancelled",
          "location_type",
          "has_customer_visit",
          "slug",
          "status",
          "service_organization_id",
          "task_group_id",
          "time_zone",
          "is_fully_unable_to_complete",
          "is_partially_unable_to_complete",
          "progress_status",
          "payment_due_in_seconds"
        ],
        "title": "BookingRecordPartnerList",
        "type": "object"
      },
      "BookingRecordPartnerListArray": {
        "items": {
          "$ref": "#/components/schemas/BookingRecordPartnerList"
        },
        "properties": {},
        "type": "array"
      },
      "BookingRetorqueGuideCarRecord": {
        "description": "A car whose wheel bolts the customer should re-tighten.",
        "properties": {
          "booking_item_id": {
            "description": "ID of the booking item this car belongs to.",
            "title": "Booking Item Id",
            "type": "integer"
          },
          "car_id": {
            "description": "Car ID.",
            "title": "Car Id",
            "type": "integer"
          },
          "license_plate": {
            "$ref": "#/components/schemas/LicensePlate",
            "description": "License plate of the car."
          },
          "wheel_torque_nm": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Wheel torque in Nm from the vehicle catalog. Null when the catalog has no single value that applies without conditions.",
            "title": "Wheel Torque Nm"
          }
        },
        "required": [
          "car_id",
          "booking_item_id",
          "license_plate"
        ],
        "title": "BookingRetorqueGuideCarRecord",
        "type": "object"
      },
      "BookingRetorqueGuideRecord": {
        "description": "Wheel-bolt re-tightening guidance after a completed wheel change.",
        "properties": {
          "cars": {
            "description": "Cars on the booking, with their wheel torque.",
            "items": {
              "$ref": "#/components/schemas/BookingRetorqueGuideCarRecord"
            },
            "title": "Cars",
            "type": "array"
          }
        },
        "required": [
          "cars"
        ],
        "title": "BookingRetorqueGuideRecord",
        "type": "object"
      },
      "BookingStatus": {
        "description": "Represents the high-level state of a booking.\n\nProgresses from DRAFT -> CONFIRMED -> ASSIGNED_TO_ROUTE -> COMPLETED,\nwith CANCELLED as a terminal state reachable from most stages.\n\nTwo unconfirmed-pending-payment states exist and are not\ninterchangeable. DRAFT_PAY_BEFORE is the customer's own checkout,\ntransient and hidden from staff. ADMIN_CREATED_PAYMENT_REQUESTED is a\nbooking staff created for a customer, long-lived and surfaced to staff\nso it can be chased. Both are cleaned up if payment never arrives.\n\nADMIN_CREATED_CONFIRMATION_REQUESTED is the same staff-created hold, where\nthe customer confirms instead of paying. It is cleaned up if the\ncustomer never confirms.",
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7
        ],
        "title": "BookingStatus",
        "type": "integer",
        "x-enum-varnames": [
          "Draft",
          "Confirmed",
          "Assigned",
          "Canceled",
          "Completed",
          "Awaiting payment",
          "Payment requested",
          "Awaiting customer confirmation"
        ]
      },
      "BookingType": {
        "description": "Distinguishes between customer-facing bookings and system-generated\ninternal bookings.\n\nNORMAL is the standard customer booking. WHEEL_STORAGE_PICKUP is\nautomatically created when a customer booking requires picking up\nwheels from an external tire hotel before the service can be\nperformed. Both types are linked via a BookingGroup.",
        "enum": [
          "NORMAL",
          "WHEEL_STORAGE_PICKUP"
        ],
        "title": "BookingType",
        "type": "string",
        "x-enum-descriptions": [
          "Normal",
          "Wheel Storage Pickup"
        ],
        "x-enum-member-descriptions": [
          "A customer-facing booking, not the system pickup created to fetch stored wheels.",
          "Created automatically to collect wheels from an external tire hotel before the linked customer booking can be done."
        ]
      },
      "BookingWorkerContactRecord": {
        "description": "Technician a customer can reach while their job is underway.\n\nExposed on the public booking page (slug link) instead of the\nnext-arrival SMS. The name shows while the worker is out on the route;\nthe phone only once this customer is next or being served.",
        "properties": {
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "languages": {
            "description": "Languages the technician speaks.",
            "items": {
              "$ref": "#/components/schemas/ChoiceRecord_LanguageCode_"
            },
            "title": "Languages",
            "type": "array"
          },
          "nickname": {
            "description": "Customer-facing nickname of the technician.",
            "title": "Nickname",
            "type": "string"
          },
          "phone_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Technician's phone number in E.164 format. Set only while the booking is the worker's next stop or in progress.",
            "title": "Phone Number"
          }
        },
        "required": [
          "id",
          "nickname",
          "languages"
        ],
        "title": "BookingWorkerContactRecord",
        "type": "object"
      },
      "BrandAvailability": {
        "description": "Controls the availability status of a brand's customer-facing shop.\n\nUsed to temporarily close down the customer shop with different\nstatus messages (e.g. for maintenance windows or incidents).",
        "enum": [
          "closed",
          "maintenance",
          "open",
          "temporary_problems"
        ],
        "title": "BrandAvailability",
        "type": "string",
        "x-enum-descriptions": [
          "Open",
          "Closed",
          "Maintenance",
          "Temporary problems"
        ],
        "x-enum-member-descriptions": [
          "The customer shop is available. This is the default.",
          "The customer shop is shut, and the message is not a maintenance window or an incident.",
          "The customer shop is temporarily shut for a maintenance window.",
          "The customer shop is temporarily shut because of an incident, not planned maintenance."
        ]
      },
      "BrandMessageSender": {
        "description": "Select the brand identity for booking messages.",
        "enum": [
          "marketplace",
          "service_partner"
        ],
        "title": "BrandMessageSender",
        "type": "string",
        "x-enum-descriptions": [
          "Marketplace",
          "Service partner"
        ],
        "x-enum-member-descriptions": [
          "Send booking messages as the marketplace the booking was made through.",
          "Send booking messages as the brand executing the booking."
        ]
      },
      "BrandOption": {
        "description": "A brand as a picker row: the reference plus its own scalar columns.",
        "properties": {
          "availability": {
            "$ref": "#/components/schemas/BrandAvailability",
            "description": "Availability status of the customer-facing shop. Used to temporarily close down the shop with different status messages."
          },
          "color_primary": {
            "description": "Primary brand color (#RRGGBB); empty if unset.",
            "title": "Color Primary",
            "type": "string"
          },
          "created_at": {
            "description": "The date and time the database model was created",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Created At",
            "type": "string"
          },
          "data_quality_prompt": {
            "description": "Show data-quality prompts for this brand.",
            "title": "Data Quality Prompt",
            "type": "boolean"
          },
          "domain": {
            "description": "Brand domain (e.g. for URLs or identification).",
            "title": "Domain",
            "type": "string"
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "logo": {
            "$ref": "#/components/schemas/ImageRecordMinimal",
            "description": "Brand logo image."
          },
          "name": {
            "description": "Display name of the brand.",
            "title": "Name",
            "type": "string"
          },
          "slug": {
            "description": "URL-safe slug for the brand.",
            "title": "Slug",
            "type": "string"
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The date and time the database model was last updated",
            "title": "Updated At"
          }
        },
        "required": [
          "id",
          "created_at",
          "name",
          "logo",
          "slug",
          "domain",
          "availability",
          "color_primary",
          "data_quality_prompt"
        ],
        "title": "BrandOption",
        "type": "object"
      },
      "BrandRecord": {
        "description": "Full detail record for a brand.\n\nUsed in detail/GET; includes SMS settings and list of included (marketplace) brands.",
        "properties": {
          "availability": {
            "$ref": "#/components/schemas/BrandAvailability",
            "description": "Availability status of the customer-facing shop. Used to temporarily close down the shop with different status messages."
          },
          "color_button_primary": {
            "description": "Primary CTA button color (#RRGGBB); empty if unset.",
            "title": "Color Button Primary",
            "type": "string"
          },
          "color_primary": {
            "description": "Primary brand color (#RRGGBB); empty if unset.",
            "title": "Color Primary",
            "type": "string"
          },
          "color_primary_foreground": {
            "description": "Foreground color (#RRGGBB) on the primary color; empty if unset.",
            "title": "Color Primary Foreground",
            "type": "string"
          },
          "color_secondary": {
            "description": "Secondary brand color (#RRGGBB); empty if unset.",
            "title": "Color Secondary",
            "type": "string"
          },
          "countries": {
            "description": "Countries the brand's service organizations operate in, sorted by country code. Decides which country's company registry the customer-facing signup can look up.",
            "items": {
              "$ref": "#/components/schemas/Country"
            },
            "title": "Countries",
            "type": "array"
          },
          "created_at": {
            "description": "The date and time the database model was created",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Created At",
            "type": "string"
          },
          "created_by": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/UserRecordMinimal"
              }
            ],
            "default": null,
            "description": "The user who created the record."
          },
          "customer_login_methods": {
            "description": "Sign-in methods customers can use on this brand's shop. At least one is required.",
            "items": {
              "$ref": "#/components/schemas/CustomerLoginMethod"
            },
            "title": "Customer Login Methods",
            "type": "array"
          },
          "data_quality_prompt": {
            "description": "Show data-quality prompts for this brand.",
            "title": "Data Quality Prompt",
            "type": "boolean"
          },
          "domain": {
            "description": "Brand domain (e.g. for URLs).",
            "title": "Domain",
            "type": "string"
          },
          "email_from_address": {
            "anyOf": [
              {
                "format": "email",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Authorized email sender address; null uses the shared sender.",
            "title": "Email From Address"
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "included_brands": {
            "description": "Brands included in this brand's marketplace (sub-brands).",
            "items": {
              "$ref": "#/components/schemas/BrandRecordList"
            },
            "title": "Included Brands",
            "type": "array"
          },
          "logo": {
            "$ref": "#/components/schemas/ImageRecordMinimal",
            "description": "Brand logo image."
          },
          "message_sender": {
            "$ref": "#/components/schemas/BrandMessageSender",
            "description": "Brand identity used for customer booking messages."
          },
          "name": {
            "description": "Display name of the brand.",
            "title": "Name",
            "type": "string"
          },
          "organization_membership_hint": {
            "description": "Tell customers booking a car owned by an organization they are not a member of that they need an invitation to book on its behalf, and to pay by its invoice.",
            "title": "Organization Membership Hint",
            "type": "boolean"
          },
          "personal_info_review_interval_days": {
            "description": "Days after confirmation before private customers are asked to review their personal information again.",
            "title": "Personal Info Review Interval Days",
            "type": "integer"
          },
          "personal_info_review_sections": {
            "description": "The parts of their personal information customers on this brand are asked to review: contact details, cars, addresses. Empty means nothing is asked even when the prompt is switched on.",
            "items": {
              "$ref": "#/components/schemas/PersonalInfoReviewSection"
            },
            "title": "Personal Info Review Sections",
            "type": "array"
          },
          "prompt_personal_info_update": {
            "description": "Ask private customers on this brand to review their contact details, cars and addresses after login when they never confirmed them or the configured review interval has elapsed.",
            "title": "Prompt Personal Info Update",
            "type": "boolean"
          },
          "slug": {
            "description": "URL-safe unique identifier for the brand.",
            "title": "Slug",
            "type": "string"
          },
          "sms_settings": {
            "$ref": "#/components/schemas/BrandSmsSettingsRecord",
            "description": "SMS sender and verify friendly name settings."
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The date and time the database model was last updated",
            "title": "Updated At"
          },
          "updated_by": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/UserRecordMinimal"
              }
            ],
            "default": null,
            "description": "The user who updated the record."
          },
          "voice_phone_number": {
            "description": "Caller ID (E.164) for calls placed for this brand. Empty means calling out is off for this brand. A new number must be a voice-capable number on the Twilio account.",
            "title": "Voice Phone Number",
            "type": "string"
          }
        },
        "required": [
          "id",
          "created_at",
          "message_sender",
          "voice_phone_number",
          "availability",
          "color_button_primary",
          "color_primary",
          "color_primary_foreground",
          "color_secondary",
          "customer_login_methods",
          "countries",
          "domain",
          "included_brands",
          "logo",
          "name",
          "personal_info_review_interval_days",
          "personal_info_review_sections",
          "prompt_personal_info_update",
          "data_quality_prompt",
          "organization_membership_hint",
          "slug",
          "sms_settings"
        ],
        "title": "BrandRecord",
        "type": "object"
      },
      "BrandRecordList": {
        "description": "Summary of a brand.",
        "properties": {
          "availability": {
            "$ref": "#/components/schemas/BrandAvailability",
            "description": "Availability status of the customer-facing shop. Used to temporarily close down the shop with different status messages."
          },
          "color_button_primary": {
            "description": "Primary CTA button color (#RRGGBB); empty if unset.",
            "title": "Color Button Primary",
            "type": "string"
          },
          "color_primary": {
            "description": "Primary brand color (#RRGGBB); empty if unset.",
            "title": "Color Primary",
            "type": "string"
          },
          "color_primary_foreground": {
            "description": "Foreground color (#RRGGBB) on the primary color; empty if unset.",
            "title": "Color Primary Foreground",
            "type": "string"
          },
          "color_secondary": {
            "description": "Secondary brand color (#RRGGBB); empty if unset.",
            "title": "Color Secondary",
            "type": "string"
          },
          "created_at": {
            "description": "The date and time the database model was created",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Created At",
            "type": "string"
          },
          "domain": {
            "description": "Brand domain (e.g. for URLs).",
            "title": "Domain",
            "type": "string"
          },
          "email_from_address": {
            "anyOf": [
              {
                "format": "email",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Authorized email sender address; null uses the shared sender.",
            "title": "Email From Address"
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "logo": {
            "$ref": "#/components/schemas/ImageRecordMinimal",
            "description": "Brand logo image."
          },
          "message_sender": {
            "$ref": "#/components/schemas/BrandMessageSender",
            "description": "Brand identity used for customer booking messages."
          },
          "name": {
            "description": "Display name of the brand.",
            "title": "Name",
            "type": "string"
          },
          "organization_membership_hint": {
            "description": "Tell customers booking a car owned by an organization they are not a member of that they need an invitation to book on its behalf, and to pay by its invoice.",
            "title": "Organization Membership Hint",
            "type": "boolean"
          },
          "slug": {
            "description": "URL-safe unique identifier for the brand.",
            "title": "Slug",
            "type": "string"
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The date and time the database model was last updated",
            "title": "Updated At"
          },
          "voice_phone_number": {
            "description": "Caller ID (E.164) for calls placed for this brand. Empty means calling out is off for this brand. A new number must be a voice-capable number on the Twilio account.",
            "title": "Voice Phone Number",
            "type": "string"
          },
          "worker_message_channel": {
            "$ref": "#/components/schemas/MessageDeliveryChannel",
            "description": "Channel manager-to-worker messages prefer; delivery still falls back to SMS unless every WhatsApp condition is met."
          }
        },
        "required": [
          "id",
          "created_at",
          "message_sender",
          "voice_phone_number",
          "availability",
          "worker_message_channel",
          "color_button_primary",
          "color_primary",
          "color_primary_foreground",
          "color_secondary",
          "domain",
          "logo",
          "name",
          "organization_membership_hint",
          "slug"
        ],
        "title": "BrandRecordList",
        "type": "object"
      },
      "BrandSmsSettingsRecord": {
        "description": "SMS-related settings for a brand (sender name, verify friendly name).\n\nExists so SMS config can be returned in API responses; multipart create/patch\ndisables frontend case conversion, so this flat shape is used.",
        "properties": {
          "sender_name": {
            "description": "The sender name that the SMS is sent from",
            "title": "Sender Name",
            "type": "string"
          },
          "verify_friendly_name": {
            "description": "The name used in verify SMS template to provide branding.Include: 30 characters max, letters, numbers, spaces, dashes, underscores and ampersands. Phone numbers or links are not allowed.",
            "title": "Verify Friendly Name",
            "type": "string"
          }
        },
        "required": [
          "sender_name",
          "verify_friendly_name"
        ],
        "title": "BrandSmsSettingsRecord",
        "type": "object"
      },
      "CalendarEventRecordCustomer": {
        "description": "iCalendar event record for customer-facing APIs.\n\nRFC 5545 compliant calendar event with ICS content for download.\nThe ics_content field contains the complete calendar in text/calendar format.",
        "properties": {
          "attachments": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/PDFDocumentRecordCustomer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Attachments"
          },
          "attendee_email": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Attendee Email"
          },
          "attendee_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Attendee Name"
          },
          "description": {
            "title": "Description",
            "type": "string"
          },
          "end_time": {
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "End Time",
            "type": "string"
          },
          "file_name": {
            "title": "File Name",
            "type": "string"
          },
          "ics_content": {
            "title": "Ics Content",
            "type": "string"
          },
          "location": {
            "default": "",
            "title": "Location",
            "type": "string"
          },
          "method": {
            "default": "PUBLISH",
            "enum": [
              "CANCEL",
              "PUBLISH",
              "REQUEST"
            ],
            "title": "Method",
            "type": "string"
          },
          "organizer_email": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Organizer Email"
          },
          "organizer_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Organizer Name"
          },
          "sequence": {
            "default": 0,
            "title": "Sequence",
            "type": "integer"
          },
          "start_time": {
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Start Time",
            "type": "string"
          },
          "status": {
            "default": "CONFIRMED",
            "enum": [
              "CANCELLED",
              "CONFIRMED",
              "TENTATIVE"
            ],
            "title": "Status",
            "type": "string"
          },
          "title": {
            "title": "Title",
            "type": "string"
          },
          "uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Uid"
          },
          "url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Url"
          }
        },
        "required": [
          "title",
          "start_time",
          "end_time",
          "description",
          "file_name",
          "ics_content"
        ],
        "title": "CalendarEventRecordCustomer",
        "type": "object"
      },
      "CampaignListDiscountItem": {
        "description": "One live coupon template shown on a campaign list row.",
        "properties": {
          "discount": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/MoneyRecord"
              }
            ],
            "default": null,
            "description": "Fixed discount from this coupon template, if any."
          },
          "discount_percentage": {
            "anyOf": [
              {
                "ge": 0,
                "le": 100,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Percentage discount from this coupon template, if any.",
            "title": "Discount Percentage"
          },
          "name": {
            "description": "The public name of the CouponTemplate",
            "title": "Name",
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "title": "CampaignListDiscountItem",
        "type": "object"
      },
      "CampaignListDiscountSummary": {
        "description": "Live coupon templates on a campaign for list views.",
        "properties": {
          "discounts": {
            "description": "Live coupon templates on this campaign.",
            "items": {
              "$ref": "#/components/schemas/CampaignListDiscountItem"
            },
            "title": "Discounts",
            "type": "array"
          }
        },
        "required": [
          "discounts"
        ],
        "title": "CampaignListDiscountSummary",
        "type": "object"
      },
      "CampaignRecordList": {
        "description": "List/summary record for a partner campaign.",
        "properties": {
          "brand": {
            "$ref": "#/components/schemas/BrandOption",
            "description": "The brand that owns this campaign"
          },
          "code": {
            "description": "Public campaign code.",
            "title": "Code",
            "type": "string"
          },
          "created_at": {
            "description": "The date and time the database model was created",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Created At",
            "type": "string"
          },
          "customer_count": {
            "description": "Number of customers that have claimed or been assigned this campaign.",
            "title": "Customer Count",
            "type": "integer"
          },
          "discount_summary": {
            "$ref": "#/components/schemas/CampaignListDiscountSummary",
            "description": "Summary of live coupon templates on this campaign."
          },
          "expires_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "When the campaign can no longer be claimed, if any",
            "title": "Expires At"
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "is_for_new_user_only": {
            "description": "Whether the campaign is for new users only",
            "title": "Is For New User Only",
            "type": "boolean"
          },
          "name": {
            "description": "Campaign name.",
            "title": "Name",
            "type": "string"
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The date and time the database model was last updated",
            "title": "Updated At"
          }
        },
        "required": [
          "id",
          "created_at",
          "brand",
          "code",
          "customer_count",
          "discount_summary",
          "is_for_new_user_only",
          "name"
        ],
        "title": "CampaignRecordList",
        "type": "object"
      },
      "CapabilityRecordList": {
        "description": "Capability for list views: name and optional description.\n\nUsed in list APIs to show worker/route capabilities without skills\nor equipment; keeps payload small for dropdowns and filters.",
        "properties": {
          "capability_type": {
            "$ref": "#/components/schemas/CapabilityType",
            "description": "Group used for filtering and administration."
          },
          "created_at": {
            "description": "The date and time the database model was created",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Created At",
            "type": "string"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Optional description of the capability.",
            "title": "Description"
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "name": {
            "description": "Display name of the capability.",
            "title": "Name",
            "type": "string"
          },
          "requires_matching_service_vehicle_capability": {
            "description": "When true, downstream capacity logic expects the assigned service vehicle to list this same capability.",
            "title": "Requires Matching Service Vehicle Capability",
            "type": "boolean"
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The date and time the database model was last updated",
            "title": "Updated At"
          }
        },
        "required": [
          "id",
          "created_at",
          "name",
          "capability_type",
          "requires_matching_service_vehicle_capability"
        ],
        "title": "CapabilityRecordList",
        "type": "object"
      },
      "CapabilityType": {
        "description": "Groups capabilities for filtering, reporting, and administration.\n\nGENERAL: Default group for standard capabilities, including historical\nrows migrated before this classification existed.\nSPECIALIZED: Capabilities scoped to specific service lines or equipment\nsets (distinct from general multi-skill bundles).",
        "enum": [
          "adapter",
          "general",
          "specialized"
        ],
        "title": "CapabilityType",
        "type": "string",
        "x-enum-descriptions": [
          "General",
          "Specialized",
          "Adapter routing"
        ],
        "x-enum-member-descriptions": [
          "Default grouping for standard capabilities.",
          "Niche or service-specific capabilities.",
          "Pool-isolation tag auto-managed by an external adapter sync (e.g. EonTyre). One shared capability per adapter is attached to that adapter's sales items, workstations, and baseline capacity so they match each other in the capacity engine. Not used for bay or service attribution -- that lives on CapacityContributionWorkstation / CapacityContributionSalesItem pins (see capacity ADR 0003). Hidden from the capability list unless include_adapter_capabilities is set, capability_types includes adapter, or service_department_ids names an adapter-synced department (then only ADAPTER caps are returned)."
        ]
      },
      "CapacityContributionIntervalRecord": {
        "description": "One working window of a contribution (start/end datetime).",
        "properties": {
          "ends_at": {
            "description": "End datetime of the working window.",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Ends At",
            "type": "string"
          },
          "starts_at": {
            "description": "Start datetime of the working window.",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Starts At",
            "type": "string"
          }
        },
        "required": [
          "starts_at",
          "ends_at"
        ],
        "title": "CapacityContributionIntervalRecord",
        "type": "object"
      },
      "CapacityContributionLocationType": {
        "description": "Whether a capacity contribution is at a customer address or a workstation.",
        "enum": [
          "MOBILE",
          "STATIONARY"
        ],
        "title": "CapacityContributionLocationType",
        "type": "string",
        "x-enum-descriptions": [
          "Mobile",
          "Stationary"
        ],
        "x-enum-member-descriptions": [
          "Labor is supplied at customer addresses, where the worker travels to the job.",
          "Labor is supplied at a workstation, where the customer comes to the worker."
        ]
      },
      "CapacityContributionRecordPartner": {
        "description": "Partner API record for a capacity contribution.\n\nSupports both mobile and stationary contributions. Mobile-only\nfields (addresses, route costs) are None for stationary\ncontributions. The site fields are empty for mobile.",
        "properties": {
          "available_seconds": {
            "description": "Bookable seconds this row supplies: working windows after travel overhead and performance factor, scaled by parallel_units. The basis every car count in the partner UI is derived from -- clients must not re-derive it from the windows, which omits both factors.",
            "title": "Available Seconds",
            "type": "integer"
          },
          "baseline_group_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Shared id for rows created in one baseline multi-date batch. Null when not part of a batch.",
            "title": "Baseline Group Id"
          },
          "capabilities": {
            "description": "Capabilities for this contribution.",
            "items": {
              "$ref": "#/components/schemas/CapabilityRecordList"
            },
            "title": "Capabilities",
            "type": "array"
          },
          "contribution_type": {
            "$ref": "#/components/schemas/CapacityContributionType",
            "description": "Whether this is a PERSONAL or BASELINE contribution."
          },
          "created_at": {
            "description": "The date and time the database model was created",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Created At",
            "type": "string"
          },
          "created_by": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/UserRecordMinimal"
              }
            ],
            "default": null,
            "description": "The user who created the record."
          },
          "date": {
            "description": "Date of the capacity contribution.",
            "format": "date",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}$/",
            "title": "Date",
            "type": "string"
          },
          "end_address": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/AddressRecord"
              }
            ],
            "default": null,
            "description": "End address for mobile contributions."
          },
          "ends_at": {
            "description": "End datetime of the contribution (envelope: latest interval end).",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Ends At",
            "type": "string"
          },
          "garage_ids": {
            "description": "Garage IDs for stationary contributions.",
            "items": {
              "type": "integer"
            },
            "title": "Garage Ids",
            "type": "array"
          },
          "garage_names": {
            "description": "Garage names for stationary contributions.",
            "items": {
              "type": "string"
            },
            "title": "Garage Names",
            "type": "array"
          },
          "has_route": {
            "description": "True when a route in a selected solution uses this contribution, whatever its status. Routed time never moves with its shift, and its shift cannot be withdrawn or deleted.",
            "title": "Has Route",
            "type": "boolean"
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "intervals": {
            "description": "Working windows within the day. A single window for most rows; several when part of the day is closed for booking.",
            "items": {
              "$ref": "#/components/schemas/CapacityContributionIntervalRecord"
            },
            "title": "Intervals",
            "type": "array"
          },
          "location_type": {
            "$ref": "#/components/schemas/CapacityContributionLocationType",
            "description": "Whether this is a mobile or stationary contribution."
          },
          "parallel_units": {
            "description": "Concurrent labor supply (worker-equivalents) during the working windows. Scales day-slice supply. Not physical bays.",
            "title": "Parallel Units",
            "type": "integer"
          },
          "route_cost_fixed": {
            "description": "Fixed cost for the route (planning rate, not currency minor units).",
            "title": "Route Cost Fixed",
            "type": "number"
          },
          "route_cost_per_meter": {
            "description": "Cost per meter for the route (planning rate).",
            "title": "Route Cost Per Meter",
            "type": "number"
          },
          "route_cost_per_second": {
            "description": "Cost per second for the route (planning rate).",
            "title": "Route Cost Per Second",
            "type": "number"
          },
          "route_cost_per_second_overtime": {
            "description": "Cost per second (overtime) for the route (planning rate).",
            "title": "Route Cost Per Second Overtime",
            "type": "number"
          },
          "route_cost_per_second_travel": {
            "description": "Cost per second (travel) for the route (planning rate).",
            "title": "Route Cost Per Second Travel",
            "type": "number"
          },
          "route_ids": {
            "description": "Routes in a selected solution that use this contribution, by id. Empty exactly when ``has_route`` is false.",
            "items": {
              "type": "integer"
            },
            "title": "Route Ids",
            "type": "array"
          },
          "route_max_duration_in_seconds": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Maximum route duration in seconds.",
            "title": "Route Max Duration In Seconds"
          },
          "route_overhead_time_factor": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Share of route time that is not service work (0-1); null uses the service department default.",
            "title": "Route Overhead Time Factor"
          },
          "route_performance_factor": {
            "description": "Route performance factor.",
            "title": "Route Performance Factor",
            "type": "number"
          },
          "route_priority": {
            "description": "Route priority value.",
            "title": "Route Priority",
            "type": "integer"
          },
          "route_priority_level": {
            "$ref": "#/components/schemas/ServiceWorkerRoutePriorityRecord",
            "description": "Route priority level record."
          },
          "service_department_area_ids": {
            "description": "Service department area IDs.",
            "items": {
              "type": "integer"
            },
            "title": "Service Department Area Ids",
            "type": "array"
          },
          "service_department_id": {
            "description": "Service department ID.",
            "title": "Service Department Id",
            "type": "integer"
          },
          "service_vehicle": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/InventoryServiceVehicleRecord"
              }
            ],
            "default": null,
            "description": "Vehicle assigned to this capacity contribution."
          },
          "service_worker_contract_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Service worker contract ID. Null for BASELINE contributions.",
            "title": "Service Worker Contract Id"
          },
          "service_worker_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Service worker ID. Null for BASELINE contributions.",
            "title": "Service Worker Id"
          },
          "start_address": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/AddressRecord"
              }
            ],
            "default": null,
            "description": "Start address for mobile contributions."
          },
          "starts_at": {
            "description": "Start datetime of the contribution (envelope: earliest interval start).",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Starts At",
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/ChoiceRecord_CapacityContributionStatus_",
            "description": "Status of the contribution."
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The date and time the database model was last updated",
            "title": "Updated At"
          },
          "updated_by": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/UserRecordMinimal"
              }
            ],
            "default": null,
            "description": "The user who updated the record."
          },
          "user": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/UserRecordListPartner"
              }
            ],
            "default": null,
            "description": "User (service worker) for the contribution. Null for BASELINE."
          },
          "worker_shift_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Worker shift this capacity is offered in. Null for BASELINE contributions.",
            "title": "Worker Shift Id"
          }
        },
        "required": [
          "id",
          "created_at",
          "date",
          "starts_at",
          "ends_at",
          "service_department_id",
          "status",
          "has_route",
          "route_ids",
          "location_type",
          "contribution_type",
          "parallel_units",
          "available_seconds",
          "capabilities",
          "route_priority",
          "route_priority_level",
          "route_performance_factor",
          "route_cost_fixed",
          "route_cost_per_meter",
          "route_cost_per_second",
          "route_cost_per_second_travel",
          "route_cost_per_second_overtime"
        ],
        "title": "CapacityContributionRecordPartner",
        "type": "object"
      },
      "CapacityContributionType": {
        "description": "Whether a capacity contribution is tied to a specific worker or is a\nworker-independent baseline.\n\nPERSONAL: filed by (or on behalf of) a real service worker via their\ncontract. BASELINE: worker-independent capacity a manager registers to\nmodel a site's permanent crew or to pre-seed capacity for workers not yet\nrecruited. ``parallel_units`` is concurrent labor supply (worker-equivalents);\noverlapping baseline rows also sum. Baseline acts as a per-slot supply\nfloor: total capacity is max(personal, baseline), never the sum. See\napps/capacity/README.md and the baseline-capacity ADR.",
        "enum": [
          "BASELINE",
          "PERSONAL"
        ],
        "title": "CapacityContributionType",
        "type": "string",
        "x-enum-descriptions": [
          "Personal",
          "Baseline"
        ],
        "x-enum-member-descriptions": [
          "Filed for a real service worker on their contract. It is not the site's worker-independent floor.",
          "Worker-independent supply a manager registers. Total capacity is the greater of this and personal supply, never the sum."
        ]
      },
      "CarAdditionalDimensions": {
        "description": "Additional dimension specifications.",
        "properties": {
          "internal_cargo_length": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Internal cargo length in mm",
            "title": "Internal Cargo Length"
          },
          "max_height": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Maximum height in mm",
            "title": "Max Height"
          },
          "max_length": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Maximum length in mm",
            "title": "Max Length"
          },
          "max_width": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Maximum width in mm",
            "title": "Max Width"
          }
        },
        "title": "CarAdditionalDimensions",
        "type": "object"
      },
      "CarAxleLoadData": {
        "description": "Axle load specifications in kilograms.",
        "properties": {
          "front": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Maximum front axle load in kg",
            "title": "Front"
          },
          "rear": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Maximum rear axle load in kg",
            "title": "Rear"
          }
        },
        "title": "CarAxleLoadData",
        "type": "object"
      },
      "CarAxleTireAlternative": {
        "description": "Tire alternative specification for an axle.",
        "properties": {
          "load_index": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/TireLoadIndex"
              }
            ],
            "default": null,
            "description": "Load index code (e.g., 104)"
          },
          "rim_dimension": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/RimSize"
              }
            ],
            "default": null,
            "description": "Rim dimension"
          },
          "rim_offset": {
            "anyOf": [
              {
                "maximum": 100,
                "minimum": -60,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Rim offset (innpress) in mm. String format: optional 'ET' prefix, optional minus, digits, optional decimal (e.g. ET45, -20, 41.5). Valid range: -60 to 100 mm.",
            "title": "Rim Offset"
          },
          "speed_index": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/TireSpeedIndex"
              }
            ],
            "default": null,
            "description": "Speed index code (e.g., W for 270 km/h)"
          },
          "tire_dimension": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/TireSpecification"
              }
            ],
            "default": null,
            "description": "Tire dimension (e.g., 255/45R19)"
          },
          "twin_tires": {
            "default": false,
            "description": "True when this axle uses twin/dual tires; False = single tire per position.",
            "title": "Twin Tires",
            "type": "boolean"
          }
        },
        "title": "CarAxleTireAlternative",
        "type": "object"
      },
      "CarAxleTireData": {
        "description": "Tire alternatives allowed for front and rear axles.",
        "properties": {
          "front": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/CarAxleTireAlternative"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Allowed tire alternatives for front axle",
            "title": "Front"
          },
          "rear": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/CarAxleTireAlternative"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Allowed tire alternatives for rear axle",
            "title": "Rear"
          }
        },
        "title": "CarAxleTireData",
        "type": "object"
      },
      "CarAxleType": {
        "enum": [
          "FRONT",
          "MIDDLE_FRONT",
          "MIDDLE_REAR",
          "REAR"
        ],
        "title": "CarAxleType",
        "type": "string",
        "x-enum-descriptions": [
          "Front",
          "Rear",
          "Middle Front",
          "Middle Rear"
        ],
        "x-enum-member-descriptions": [
          "The front axle of the vehicle, not one wheel and not a staggered-set position.",
          "The rear axle of the vehicle, not one wheel and not a staggered-set position.",
          "The forward middle axle on a vehicle with three or more axles.",
          "The rearward middle axle, used on a vehicle with four axles."
        ]
      },
      "CarBodyType": {
        "description": "Vehicle body type from the EU type-approval body codes (EU 2018/858 annex I).\n\nRegistries report a two-letter code (e.g. AF); the record exposes the\nsemantic value so all providers share one vocabulary. The registry's raw\ndescription for the code stays in `body_type_description`.",
        "enum": [
          "AMBULANCE",
          "ARMORED",
          "CAMPER",
          "CONVERTIBLE",
          "COUPE",
          "HATCHBACK",
          "HEARSE",
          "MPV",
          "SEDAN",
          "STATION_WAGON",
          "VAN"
        ],
        "title": "CarBodyType",
        "type": "string",
        "x-enum-descriptions": [
          "Sedan",
          "Hatchback",
          "Station wagon",
          "Coupe",
          "Convertible",
          "Mpv",
          "Van",
          "Camper",
          "Armored",
          "Ambulance",
          "Hearse"
        ]
      },
      "CarBodyTypeData": {
        "description": "Body type and safety features.",
        "properties": {
          "approval_variant": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Variant recorded under the type approval.",
            "title": "Approval Variant"
          },
          "approval_version": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Version recorded under the type approval.",
            "title": "Approval Version"
          },
          "body_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Legacy unclassified body/type code; not used for chassis matching",
            "title": "Body Code"
          },
          "body_type": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/CarBodyType"
              }
            ],
            "default": null,
            "description": "Vehicle body type (e.g., sedan, hatchback, station wagon, MPV)"
          },
          "body_type_description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Raw registry body type description; the legal definition published for the body type code",
            "title": "Body Type Description"
          },
          "has_front_airbag": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Whether vehicle has front airbags",
            "title": "Has Front Airbag"
          },
          "has_head_curtain_airbag": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Whether vehicle has head curtain airbags",
            "title": "Has Head Curtain Airbag"
          },
          "has_knee_airbag": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Whether vehicle has knee airbags",
            "title": "Has Knee Airbag"
          },
          "has_side_airbag": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Whether vehicle has side airbags",
            "title": "Has Side Airbag"
          },
          "manufacturer_body_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Explicit manufacturer chassis/body identifier; approval variants are excluded.",
            "title": "Manufacturer Body Code"
          },
          "number_of_doors": {
            "anyOf": [
              {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Number of doors (list for multiple configurations)",
            "title": "Number Of Doors"
          },
          "safety_belts": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Safety belt configuration",
            "title": "Safety Belts"
          },
          "type_approval": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "EU/national type-approval number text (typegodkjenning), when published",
            "title": "Type Approval"
          },
          "type_designation": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Registry manufacturer type designation, separate from chassis identifiers.",
            "title": "Type Designation"
          }
        },
        "title": "CarBodyTypeData",
        "type": "object"
      },
      "CarBrakeData": {
        "description": "Brake system specifications.",
        "properties": {
          "brake_system_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Type of brake system",
            "title": "Brake System Type"
          },
          "has_abs": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Whether vehicle has ABS (Anti-lock Braking System)",
            "title": "Has Abs"
          },
          "service_brake_front": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Service brake type for front wheels",
            "title": "Service Brake Front"
          },
          "service_brake_rear": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Service brake type for rear wheels",
            "title": "Service Brake Rear"
          }
        },
        "title": "CarBrakeData",
        "type": "object"
      },
      "CarCatalogPlacementRecord": {
        "description": "Generation and modification from the car's active catalog link.\n\nA blank generation name means the node is unnamed; the years still\nidentify it. ``modification_name`` is blank when the link stops at\nthe generation.",
        "properties": {
          "generation_name": {
            "description": "Catalog generation name. Blank when the node has none.",
            "title": "Generation Name",
            "type": "string"
          },
          "generation_year_from": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "First model year of the catalog generation.",
            "title": "Generation Year From"
          },
          "generation_year_to": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Last model year of the catalog generation.",
            "title": "Generation Year To"
          },
          "modification_name": {
            "description": "Catalog modification name. Blank when the link stops at the generation.",
            "title": "Modification Name",
            "type": "string"
          }
        },
        "required": [
          "generation_name",
          "modification_name"
        ],
        "title": "CarCatalogPlacementRecord",
        "type": "object"
      },
      "CarCharacteristics": {
        "description": "Physical and operational characteristics of the vehicle.",
        "properties": {
          "colors": {
            "description": "Vehicle color(s)",
            "items": {
              "type": "string"
            },
            "title": "Colors",
            "type": "array"
          },
          "engine_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Unambiguous reported motor family code; multiple codes remain on individual motors.",
            "title": "Engine Code"
          },
          "engine_codes": {
            "description": "All distinct reported motor family codes.",
            "items": {
              "type": "string"
            },
            "title": "Engine Codes",
            "type": "array"
          },
          "import_country_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Country the vehicle was imported from, when the registry reports one.",
            "title": "Import Country Code"
          },
          "is_modified": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Whether vehicle has been modified",
            "title": "Is Modified"
          },
          "is_preservation_worthy": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Whether vehicle is preservation worthy",
            "title": "Is Preservation Worthy"
          },
          "is_used_import": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Whether vehicle is a used import",
            "title": "Is Used Import"
          },
          "number_of_seats": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Number of seats",
            "title": "Number Of Seats"
          },
          "speed_max": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The maximum speed of the car in km/h",
            "title": "Speed Max"
          }
        },
        "title": "CarCharacteristics",
        "type": "object"
      },
      "CarData": {
        "description": "Normalized car data model across multiple vehicle registry providers.\n\nThe CarData class normalizes car information from different vehicle\nregistry providers (e.g., Statens Vegvesen, Car Info) into a unified\ndata structure. Many fields are optional because different providers\nmay not provide the same level of detail or may structure their data\ndifferently.\n\nCarData is used only in memory (e.g. from vehicle registry fetch). It is\nnot stored on the Car model; tire/size data is stored on Car and\nCarGeneration fields and derived from CarGeneration.axle_specifications.",
        "properties": {
          "additional_dimensions": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/CarAdditionalDimensions"
              }
            ],
            "default": null,
            "description": "Additional dimension specifications"
          },
          "api_provider": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/CarDataApiProvider"
              }
            ],
            "default": null
          },
          "axle_groups": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/WheelSetGroup"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Allowed wheel-set combinations (one WheelSetGroup per combo).",
            "title": "Axle Groups"
          },
          "axle_load": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/CarAxleLoadData"
              }
            ],
            "default": null,
            "description": "Axle load specifications"
          },
          "axle_tire_alternatives": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/CarAxleTireData"
              }
            ],
            "default": null,
            "description": "Allowed tire alternatives for each axle"
          },
          "body_type": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/CarBodyTypeData"
              }
            ],
            "default": null,
            "description": "Body type and safety features"
          },
          "brake": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/CarBrakeData"
              }
            ],
            "default": null,
            "description": "Brake system specifications"
          },
          "characteristics": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/CarCharacteristics"
              }
            ],
            "default": null,
            "description": "Physical and operational characteristics"
          },
          "classification": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/CarVehicleClassification"
              }
            ],
            "default": null,
            "description": "Vehicle classification and tax information"
          },
          "electric_vehicle": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/CarElectricVehicleData"
              }
            ],
            "default": null,
            "description": "Electric vehicle specific data"
          },
          "environmental": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/CarEnvironmentalData"
              }
            ],
            "default": null,
            "description": "Environmental and emissions data"
          },
          "eu_control_next": {
            "anyOf": [
              {
                "format": "date",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Date for next EU control",
            "title": "Eu Control Next"
          },
          "eu_control_previous": {
            "anyOf": [
              {
                "format": "date",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Date for previous EU control",
            "title": "Eu Control Previous"
          },
          "fuel_type": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/CarFuelType"
              }
            ],
            "default": null,
            "description": "Fuel type of the car"
          },
          "license_plate": {
            "$ref": "#/components/schemas/LicensePlateDetail"
          },
          "load_index_front": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/TireLoadIndex"
              }
            ],
            "readOnly": true
          },
          "load_index_max": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/TireLoadIndex"
              }
            ],
            "readOnly": true
          },
          "load_index_rear": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/TireLoadIndex"
              }
            ],
            "readOnly": true
          },
          "load_indices": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/TireLoadIndex"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "readOnly": true,
            "title": "Load Indices"
          },
          "make": {
            "title": "Make",
            "type": "string"
          },
          "model": {
            "title": "Model",
            "type": "string"
          },
          "model_year": {
            "anyOf": [
              {
                "maximum": 2200,
                "minimum": 1886,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Declared model year; never inferred from first registration.",
            "title": "Model Year"
          },
          "registration": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/CarRegistrationDates"
              }
            ],
            "default": null,
            "description": "Vehicle registration date information"
          },
          "size": {
            "$ref": "#/components/schemas/CarSizePydantic"
          },
          "speed_index": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/TireSpeedIndex"
              }
            ],
            "readOnly": true
          },
          "transmission": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/CarTransmissionData"
              }
            ],
            "default": null,
            "description": "Transmission specifications"
          },
          "vin_number": {
            "description": "A Vehicle Identification Number (VIN) or legacy chassis number. Standard VINs: 17-character uppercase alphanumeric (0-9, A-Z) excluding I, O, Q. Legacy chassis numbers: 5-14 alphanumeric characters (pre-1981 vehicles). US VINs: Character 9 is a check digit validated using the VIN algorithm. European VINs: Check digit validation is optional.",
            "title": "Vin Number",
            "type": "string"
          },
          "weight": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/CarWeightData"
              }
            ],
            "default": null,
            "description": "Vehicle weight specifications"
          }
        },
        "required": [
          "license_plate",
          "size",
          "make",
          "model",
          "vin_number",
          "speed_index",
          "load_index_front",
          "load_index_rear",
          "load_index_max",
          "load_indices"
        ],
        "title": "CarData",
        "type": "object"
      },
      "CarDataApiProvider": {
        "enum": [
          "car_info",
          "rdw",
          "statens_vegvesen"
        ],
        "title": "CarDataApiProvider",
        "type": "string",
        "x-enum-descriptions": [
          "Car.info",
          "Statens Vegvesen",
          "RDW"
        ],
        "x-enum-member-descriptions": [
          "Swedish vehicle registry (car.info), selected for Sweden.",
          "Norwegian vehicle registry, selected for Norway.",
          "Dutch vehicle registry, selected for the Netherlands."
        ]
      },
      "CarElectricVehicleData": {
        "description": "Electric vehicle specific data.",
        "properties": {
          "combustion_engine_count": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Count of positively classified combustion motor records; null if classification is incomplete.",
            "title": "Combustion Engine Count"
          },
          "drive_axle_connection": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Registry code for the connection between drive axles (SVV forbindelseMellomDrivaksler.kodeVerdi), when published",
            "title": "Drive Axle Connection"
          },
          "driven_axle_positions": {
            "anyOf": [
              {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Registry placement codes of driven axles, sorted unique. Statens vegvesen uses the same plasseringAksel codes as axle load (1 front, 2 rear); other values are kept without mapping.",
            "title": "Driven Axle Positions"
          },
          "electric_motor_count": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Count of positively classified electric motor records; null if classification is incomplete.",
            "title": "Electric Motor Count"
          },
          "electric_range_km": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Electric range in kilometers",
            "title": "Electric Range Km"
          },
          "exclusively_electric": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Provider declaration that propulsion is exclusively electric.",
            "title": "Exclusively Electric"
          },
          "hybrid_category": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Provider hybrid category code.",
            "title": "Hybrid Category"
          },
          "is_hybrid": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Whether vehicle is a hybrid",
            "title": "Is Hybrid"
          },
          "motors": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/CarMotorData"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "List of motor specifications",
            "title": "Motors"
          },
          "number_of_axles": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Number of axles",
            "title": "Number Of Axles"
          },
          "number_of_driven_axles": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Number of driven axles",
            "title": "Number Of Driven Axles"
          },
          "number_of_motors": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Number of motors",
            "title": "Number Of Motors"
          }
        },
        "title": "CarElectricVehicleData",
        "type": "object"
      },
      "CarEnvironmentalData": {
        "description": "Environmental and emissions data.",
        "properties": {
          "co2_combined": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "CO2 emissions in combined driving (g/km)",
            "title": "Co2 Combined"
          },
          "co2_highway": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "CO2 emissions in highway driving (g/km)",
            "title": "Co2 Highway"
          },
          "co2_urban": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "CO2 emissions in urban driving (g/km)",
            "title": "Co2 Urban"
          },
          "euro_class": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Euro emission standard class (e.g., Euro 6)",
            "title": "Euro Class"
          },
          "fuel_consumption_combined": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Fuel consumption in combined driving (L/100km)",
            "title": "Fuel Consumption Combined"
          },
          "fuel_consumption_highway": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Fuel consumption in highway driving (L/100km)",
            "title": "Fuel Consumption Highway"
          },
          "fuel_consumption_urban": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Fuel consumption in urban driving (L/100km)",
            "title": "Fuel Consumption Urban"
          }
        },
        "title": "CarEnvironmentalData",
        "type": "object"
      },
      "CarFromLicensePlateRecordForBooking": {
        "description": "Car identified by license plate, with any wheel sets in storage.",
        "properties": {
          "car_wheel_identifiers": {
            "$ref": "#/components/schemas/CarWheelIdentifiersRecord",
            "description": "Wheel identifiers for this car and sibling cars with the same plate. IS_STUDDED means an active studded wheel on a winter wheel set. The customer plate lookup omits IS_STUDDED unless the caller currently owns or leases one of those cars."
          },
          "country_code": {
            "description": "Country code of registration.",
            "title": "Country Code",
            "type": "string"
          },
          "created_at": {
            "description": "The date and time the database model was created",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Created At",
            "type": "string"
          },
          "display_name": {
            "description": "Customer-facing name: make and model family (\"Volvo V60\"), else make and registry model when the model has no family.",
            "title": "Display Name",
            "type": "string"
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "image": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/CarImageRecord"
              }
            ],
            "default": null,
            "description": "Image of the car's model family in the car's color, else its default image. Null when none is set."
          },
          "license_plate_number": {
            "description": "License plate number.",
            "title": "License Plate Number",
            "type": "string"
          },
          "make_logo": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/ImageRecordMinimal"
              }
            ],
            "default": null,
            "description": "Logo of the car's make. Null when none is set."
          },
          "make_name": {
            "description": "Make (brand) name.",
            "title": "Make Name",
            "type": "string"
          },
          "model": {
            "description": "Model name.",
            "title": "Model",
            "type": "string"
          },
          "registry_status": {
            "$ref": "#/components/schemas/CarRegistryStatus",
            "description": "Whether national registry data has been applied. PENDING_REGISTRY means a plate-only provisional car."
          },
          "service_specifications": {
            "$ref": "#/components/schemas/CatalogServiceSpecificationsRecord",
            "description": "Resolved tire pressure and wheel torque with units and provenance."
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The date and time the database model was last updated",
            "title": "Updated At"
          },
          "wheel_storage": {
            "description": "Wheel sets currently in storage for this car.",
            "items": {
              "$ref": "#/components/schemas/StoredCarWheelSetRecordForNewBooking"
            },
            "title": "Wheel Storage",
            "type": "array"
          }
        },
        "required": [
          "id",
          "created_at",
          "country_code",
          "license_plate_number",
          "make_name",
          "model",
          "registry_status",
          "display_name"
        ],
        "title": "CarFromLicensePlateRecordForBooking",
        "type": "object"
      },
      "CarFuelType": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          10,
          9
        ],
        "title": "CarFuelType",
        "type": "integer",
        "x-enum-varnames": [
          "Electric",
          "Diesel",
          "Gasoline",
          "Hydrogen",
          "Hybrid - Electric & Gasoline",
          "Hybrid - Electric & Diesel",
          "Compressed natural gas",
          "Liquefied petroleum gas",
          "Ethanol 85%",
          "Biodiesel",
          "Unknown"
        ]
      },
      "CarImageRecord": {
        "description": "Model family image with resized copies for the size it is shown at.",
        "properties": {
          "expires_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The expiration date of the image URL. Only set if URL is signed.",
            "title": "Expires At"
          },
          "renditions": {
            "description": "Resized WebP copies, narrowest first; the widest is the full picture. Show the narrowest copy at least as wide as the displayed width times the screen's pixel ratio. Empty until the copies are generated; ``url`` is the original then.",
            "items": {
              "$ref": "#/components/schemas/CarImageRenditionRecord"
            },
            "title": "Renditions",
            "type": "array"
          },
          "url": {
            "description": "URL of the image.",
            "format": "uri",
            "maxLength": 2083,
            "minLength": 1,
            "title": "Url",
            "type": "string"
          }
        },
        "required": [
          "url",
          "renditions"
        ],
        "title": "CarImageRecord",
        "type": "object"
      },
      "CarImageRenditionRecord": {
        "description": "A resized WebP copy of a car image.",
        "properties": {
          "height": {
            "description": "Height in pixels.",
            "title": "Height",
            "type": "integer"
          },
          "url": {
            "description": "URL of the resized copy.",
            "format": "uri",
            "maxLength": 2083,
            "minLength": 1,
            "title": "Url",
            "type": "string"
          },
          "width": {
            "description": "Width in pixels.",
            "title": "Width",
            "type": "integer"
          }
        },
        "required": [
          "url",
          "width",
          "height"
        ],
        "title": "CarImageRenditionRecord",
        "type": "object"
      },
      "CarMotorData": {
        "description": "Motor specification data.",
        "properties": {
          "cylinders": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Number of cylinders",
            "title": "Cylinders"
          },
          "displacement_cc": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Engine displacement in cubic centimeters",
            "title": "Displacement Cc"
          },
          "engine_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Manufacturer motor family code, separate from its serial number.",
            "title": "Engine Code"
          },
          "engine_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Engine serial number",
            "title": "Engine Number"
          },
          "fuel_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Fuel type of the motor",
            "title": "Fuel Type"
          },
          "fuels": {
            "description": "All reported motor fuel and power records, with measurement basis retained.",
            "items": {
              "$ref": "#/components/schemas/CarMotorFuelData"
            },
            "title": "Fuels",
            "type": "array"
          },
          "manufacturer": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Manufacturer of this motor.",
            "title": "Manufacturer"
          },
          "max_power_per_half_hour_kw": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Maximum power per half hour in kilowatts",
            "title": "Max Power Per Half Hour Kw"
          },
          "motor_number": {
            "title": "Motor Number",
            "type": "integer"
          },
          "power_hp": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Motor power in horsepower",
            "title": "Power Hp"
          },
          "power_kw": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Motor power in kilowatts",
            "title": "Power Kw"
          },
          "working_principle": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Engine working principle (e.g., 2-stroke, 4-stroke)",
            "title": "Working Principle"
          },
          "working_principle_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Provider operating-principle code.",
            "title": "Working Principle Code"
          }
        },
        "required": [
          "motor_number"
        ],
        "title": "CarMotorData",
        "type": "object"
      },
      "CarMotorFuelData": {
        "properties": {
          "code": {
            "default": "",
            "title": "Code",
            "type": "string"
          },
          "label": {
            "default": "",
            "title": "Label",
            "type": "string"
          },
          "net_power_kw": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Net Power Kw"
          },
          "rated_power_kw": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Rated Power Kw"
          },
          "voltage": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Voltage"
          }
        },
        "title": "CarMotorFuelData",
        "type": "object"
      },
      "CarOwnerRecord": {
        "description": "Record for car owner information.",
        "properties": {
          "end_note": {
            "default": "",
            "description": "Optional free-text note explaining the end reason.",
            "title": "End Note",
            "type": "string"
          },
          "end_reason": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/EndOwnershipReason"
              }
            ],
            "default": null,
            "description": "Why ownership ended (set with to_date), or null."
          },
          "from_date": {
            "description": "Start datetime of ownership.",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "From Date",
            "type": "string"
          },
          "license_plate_personalised_number": {
            "default": "",
            "description": "Personalised license plate text from vehicle registry.",
            "title": "License Plate Personalised Number",
            "type": "string"
          },
          "recall_seasons_opt_in": {
            "description": "Recall seasons (H1/H2) the car is opted into for this owner. Empty list = opted out of all recalls.",
            "items": {
              "$ref": "#/components/schemas/SeasonChoices"
            },
            "title": "Recall Seasons Opt In",
            "type": "array"
          },
          "role": {
            "$ref": "#/components/schemas/UserGroupCarRole",
            "default": "owner",
            "description": "How this group relates to the car."
          },
          "to_date": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "End datetime of ownership (null if current).",
            "title": "To Date"
          },
          "user_group": {
            "$ref": "#/components/schemas/UserGroupRecordList",
            "description": "User group linked to the car (owner or leaseholder)."
          },
          "user_group_car_id": {
            "description": "UserGroupCar association id (PATCH target).",
            "title": "User Group Car Id",
            "type": "integer"
          },
          "user_group_payer": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/UserGroupPayerRecord"
              }
            ],
            "default": null,
            "description": "Invoice-to user group when different from the owner. Resolved from the car ownership override, else the owner group default. Null when the owner pays."
          }
        },
        "required": [
          "user_group_car_id",
          "from_date",
          "user_group"
        ],
        "title": "CarOwnerRecord",
        "type": "object"
      },
      "CarRecordListLight": {
        "description": "Car record for list endpoints without tire spec data.",
        "properties": {
          "catalog_placement": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/CarCatalogPlacementRecord"
              }
            ],
            "default": null,
            "description": "Catalog generation and modification from the active signature link. Null when the car has no active link, or a linked node is deleted or retired."
          },
          "color": {
            "description": "Car color(s).",
            "items": {
              "type": "string"
            },
            "title": "Color",
            "type": "array"
          },
          "created_at": {
            "description": "The date and time the database model was created",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Created At",
            "type": "string"
          },
          "data": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/CarData"
              }
            ],
            "default": null,
            "description": "Car data fetched from national vehicle registries"
          },
          "display_name": {
            "description": "Make and model family (\"Volvo V60\"), else make and registry model when the model has no family.",
            "title": "Display Name",
            "type": "string"
          },
          "first_registered": {
            "anyOf": [
              {
                "format": "date",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "First registration date.",
            "title": "First Registered"
          },
          "first_registered_country": {
            "anyOf": [
              {
                "format": "date",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "First registration country (legacy field).",
            "title": "First Registered Country"
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "image": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/CarImageRecord"
              }
            ],
            "default": null,
            "description": "Image of the car's model family in the car's color, else its default image. Null when none is set."
          },
          "is_active": {
            "description": "True if car is active.",
            "title": "Is Active",
            "type": "boolean"
          },
          "is_deregistered": {
            "description": "True if car is deregistered.",
            "title": "Is Deregistered",
            "type": "boolean"
          },
          "is_missing_license_plate_number": {
            "description": "True if license plate number is missing.",
            "title": "Is Missing License Plate Number",
            "type": "boolean"
          },
          "license_plate": {
            "$ref": "#/components/schemas/LicensePlate",
            "description": "License plate."
          },
          "make": {
            "description": "Make (brand) name.",
            "title": "Make",
            "type": "string"
          },
          "make_logo": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/ImageRecordMinimal"
              }
            ],
            "default": null,
            "description": "Logo of the car's make. Null when none is set."
          },
          "max_speed": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/QuantityModel"
              }
            ],
            "default": null,
            "description": "Maximum speed (quantity with unit)."
          },
          "model": {
            "description": "Model name.",
            "title": "Model",
            "type": "string"
          },
          "owners_current": {
            "description": "Current owners (user groups) of the car.",
            "items": {
              "$ref": "#/components/schemas/CarOwnerRecord"
            },
            "title": "Owners Current",
            "type": "array"
          },
          "registry_status": {
            "$ref": "#/components/schemas/CarRegistryStatus",
            "description": "Whether national registry data has been applied. PENDING_REGISTRY means a plate-only provisional car."
          },
          "tags": {
            "description": "Tags assigned to this car.",
            "items": {
              "$ref": "#/components/schemas/TagRef"
            },
            "title": "Tags",
            "type": "array"
          },
          "tire_wear": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/CarTireWearRecord"
              }
            ],
            "default": null,
            "description": "Latest tread-depth measurements per wheel set. Only populated when the request opts in with ``include_tire_wear``; the measurements need one extra query per page."
          },
          "topology": {
            "$ref": "#/components/schemas/VehicleTopologyRecord",
            "description": "Category default topology (capability flags + default slots). Multi-axle effective slots live on wheel-set topology."
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The date and time the database model was last updated",
            "title": "Updated At"
          },
          "updated_from_vehicle_registry": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "When car data was last updated from registry.",
            "title": "Updated From Vehicle Registry"
          },
          "user_group": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/UserGroupRecord"
              }
            ],
            "default": null,
            "description": "Contextual current owner. First current owner, or the first ``user_group_ids`` value that is a current owner."
          },
          "vehicle_category": {
            "$ref": "#/components/schemas/VehicleCategory",
            "description": "Product vehicle class (passenger, motorcycle, truck, ...). Drives wheel topology and ops capability flags."
          },
          "vehicle_identity": {
            "$ref": "#/components/schemas/VehicleIdentityRecord",
            "description": "Registry identity and actual model year, independently of catalog matching."
          },
          "vehicle_registry": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/CarDataApiProvider"
              }
            ],
            "default": null,
            "description": "Registry API provider (country)."
          },
          "vin_number": {
            "description": "Vehicle identification number.",
            "title": "Vin Number",
            "type": "string"
          },
          "vin_number_model": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/VinNumber"
              }
            ],
            "default": null,
            "description": "Parsed VIN model (decoded)."
          }
        },
        "required": [
          "id",
          "created_at",
          "is_active",
          "make",
          "model",
          "display_name",
          "registry_status",
          "license_plate",
          "vin_number",
          "vehicle_category",
          "topology",
          "vehicle_identity",
          "is_deregistered",
          "is_missing_license_plate_number"
        ],
        "title": "CarRecordListLight",
        "type": "object"
      },
      "CarRecordMinimal": {
        "description": "The car reference plus its plate number, family name, speed index and VIN.",
        "properties": {
          "display_name": {
            "description": "Make and model family (\"Volvo V60\"), else make and registry model when the model has no family.",
            "title": "Display Name",
            "type": "string"
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "license_plate": {
            "$ref": "#/components/schemas/LicensePlate",
            "description": "License plate."
          },
          "license_plate_number": {
            "description": "License plate number.",
            "title": "License Plate Number",
            "type": "string"
          },
          "make": {
            "description": "Make (brand) name; empty when unknown.",
            "title": "Make",
            "type": "string"
          },
          "model": {
            "description": "Model name; empty when unknown.",
            "title": "Model",
            "type": "string"
          },
          "model_year": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Model year, when known.",
            "title": "Model Year"
          },
          "speed_index": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Speed index (e.g. T, H).",
            "title": "Speed Index"
          },
          "vin_number": {
            "description": "Vehicle identification number.",
            "title": "Vin Number",
            "type": "string"
          }
        },
        "required": [
          "id",
          "license_plate",
          "make",
          "model",
          "license_plate_number",
          "display_name",
          "vin_number"
        ],
        "title": "CarRecordMinimal",
        "type": "object"
      },
      "CarRecordMinimal2": {
        "description": "Minimal car record for list contexts (id, timestamps, base fields).",
        "properties": {
          "color": {
            "description": "Car color(s).",
            "items": {
              "type": "string"
            },
            "title": "Color",
            "type": "array"
          },
          "created_at": {
            "description": "The date and time the database model was created",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Created At",
            "type": "string"
          },
          "data": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/CarData"
              }
            ],
            "default": null,
            "description": "Car data fetched from national vehicle registries"
          },
          "display_name": {
            "description": "Make and model family (\"Volvo V60\"), else make and registry model when the model has no family.",
            "title": "Display Name",
            "type": "string"
          },
          "first_registered": {
            "anyOf": [
              {
                "format": "date",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "First registration date.",
            "title": "First Registered"
          },
          "first_registered_country": {
            "anyOf": [
              {
                "format": "date",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "First registration country (legacy field).",
            "title": "First Registered Country"
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "image": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/CarImageRecord"
              }
            ],
            "default": null,
            "description": "Image of the car's model family in the car's color, else its default image. Null when none is set."
          },
          "is_active": {
            "description": "True if car is active.",
            "title": "Is Active",
            "type": "boolean"
          },
          "license_plate": {
            "$ref": "#/components/schemas/LicensePlate",
            "description": "License plate."
          },
          "make": {
            "description": "Make (brand) name.",
            "title": "Make",
            "type": "string"
          },
          "make_logo": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/ImageRecordMinimal"
              }
            ],
            "default": null,
            "description": "Logo of the car's make. Null when none is set."
          },
          "max_speed": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/QuantityModel"
              }
            ],
            "default": null,
            "description": "Maximum speed (quantity with unit)."
          },
          "model": {
            "description": "Model name.",
            "title": "Model",
            "type": "string"
          },
          "registry_status": {
            "$ref": "#/components/schemas/CarRegistryStatus",
            "description": "Whether national registry data has been applied. PENDING_REGISTRY means a plate-only provisional car."
          },
          "topology": {
            "$ref": "#/components/schemas/VehicleTopologyRecord",
            "description": "Category default topology (capability flags + default slots). Multi-axle effective slots live on wheel-set topology."
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The date and time the database model was last updated",
            "title": "Updated At"
          },
          "updated_from_vehicle_registry": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "When car data was last updated from registry.",
            "title": "Updated From Vehicle Registry"
          },
          "vehicle_category": {
            "$ref": "#/components/schemas/VehicleCategory",
            "description": "Product vehicle class (passenger, motorcycle, truck, ...). Drives wheel topology and ops capability flags."
          },
          "vehicle_registry": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/CarDataApiProvider"
              }
            ],
            "default": null,
            "description": "Registry API provider (country)."
          },
          "vin_number": {
            "description": "Vehicle identification number.",
            "title": "Vin Number",
            "type": "string"
          }
        },
        "required": [
          "id",
          "created_at",
          "is_active",
          "make",
          "model",
          "display_name",
          "registry_status",
          "license_plate",
          "vin_number",
          "vehicle_category",
          "topology"
        ],
        "title": "CarRecordMinimal2",
        "type": "object"
      },
      "CarRecordMinimalWithImage": {
        "description": "The minimal car record plus the picker row's catalog name, picture and make logo.",
        "properties": {
          "catalog_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Catalog model family name (\"XC60\"); null when the car has no catalog match.",
            "title": "Catalog Name"
          },
          "display_name": {
            "description": "Make and model family (\"Volvo V60\"), else make and registry model when the model has no family.",
            "title": "Display Name",
            "type": "string"
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "image": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/CarImageRecord"
              }
            ],
            "default": null,
            "description": "Image of the car's model family in the car's color, else its default image. Null when none is set."
          },
          "license_plate": {
            "$ref": "#/components/schemas/LicensePlate",
            "description": "License plate."
          },
          "license_plate_number": {
            "description": "License plate number.",
            "title": "License Plate Number",
            "type": "string"
          },
          "make": {
            "description": "Make (brand) name; empty when unknown.",
            "title": "Make",
            "type": "string"
          },
          "make_logo": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/ImageRecordMinimal"
              }
            ],
            "default": null,
            "description": "Logo of the car's make. Null when none is set."
          },
          "model": {
            "description": "Model name; empty when unknown.",
            "title": "Model",
            "type": "string"
          },
          "model_year": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Model year, when known.",
            "title": "Model Year"
          },
          "speed_index": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Speed index (e.g. T, H).",
            "title": "Speed Index"
          },
          "vin_number": {
            "description": "Vehicle identification number.",
            "title": "Vin Number",
            "type": "string"
          }
        },
        "required": [
          "id",
          "license_plate",
          "make",
          "model",
          "license_plate_number",
          "display_name",
          "vin_number"
        ],
        "title": "CarRecordMinimalWithImage",
        "type": "object"
      },
      "CarRegistrationDates": {
        "description": "Vehicle registration date information.",
        "properties": {
          "deregistered": {
            "anyOf": [
              {
                "format": "date",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Date the car was deregistered",
            "title": "Deregistered"
          },
          "first_registered": {
            "anyOf": [
              {
                "format": "date",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Date the car was registered first time. Regardless of country.",
            "title": "First Registered"
          },
          "first_registered_country": {
            "anyOf": [
              {
                "format": "date",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "First time the car is registered in the country",
            "title": "First Registered Country"
          },
          "registered_to_owner": {
            "anyOf": [
              {
                "format": "date",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Registered to current owner",
            "title": "Registered To Owner"
          }
        },
        "title": "CarRegistrationDates",
        "type": "object"
      },
      "CarRegistryStatus": {
        "description": "Whether national registry data has been applied to this car.",
        "enum": [
          "MANUAL",
          "NO_REGISTRY",
          "PENDING_REGISTRY",
          "REGISTRY_FAILED",
          "VERIFIED"
        ],
        "title": "CarRegistryStatus",
        "type": "string",
        "x-enum-descriptions": [
          "Verified against registry",
          "Created manually",
          "Awaiting registry data",
          "No registry for this plate country",
          "Registry lookup failed"
        ],
        "x-enum-member-descriptions": [
          "Registry data has been applied to this car.",
          "Staff entered this car's details because no registry could describe it; registry data replaces them once one does.",
          "Created from its plate alone while the vehicle registry was unavailable; background fetch still outstanding.",
          "The plate's country has no vehicle registry we can query, so the car holds its plate alone and nothing is outstanding.",
          "Background registry fetch could not verify this car after the retry budget or a definitive registry answer."
        ]
      },
      "CarServiceSpecificationRecord": {
        "description": "Captured value, source and review provenance.",
        "properties": {
          "applies_to_car": {
            "description": "Whether the verified reading currently applies to this car's known configuration.",
            "title": "Applies To Car",
            "type": "boolean"
          },
          "approved_by_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Staff reviewer approving shared applicability.",
            "title": "Approved By Id"
          },
          "attribute": {
            "$ref": "#/components/schemas/CatalogAttribute",
            "description": "Service specification described by the reading."
          },
          "axle_type": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/CarAxleType"
              }
            ],
            "default": null,
            "description": "Pressure axle, when applicable."
          },
          "car_id": {
            "description": "Car from which the manufacturer evidence was recorded.",
            "title": "Car Id",
            "type": "integer"
          },
          "created_at": {
            "description": "The date and time the database model was created",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Created At",
            "type": "string"
          },
          "created_by_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Person who recorded this evidence version.",
            "title": "Created By Id"
          },
          "equivalence_key": {
            "description": "Recorded vehicle identity key used to validate shared evidence.",
            "title": "Equivalence Key",
            "type": "string"
          },
          "hardware_reference": {
            "description": "Wheel and fastener applicability for torque.",
            "title": "Hardware Reference",
            "type": "string"
          },
          "id": {
            "description": "Captured specification ID.",
            "title": "Id",
            "type": "integer"
          },
          "image": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/ImageRecordMinimal"
              }
            ],
            "default": null,
            "description": "Private source image; visible only on the source car."
          },
          "load_condition": {
            "$ref": "#/components/schemas/CatalogServiceLoad",
            "description": "Manufacturer loading condition."
          },
          "reviewed_by_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Reviewer who checked the reading and its conditions.",
            "title": "Reviewed By Id"
          },
          "scope": {
            "$ref": "#/components/schemas/CatalogReviewScope",
            "description": "Requested sharing scope."
          },
          "source": {
            "$ref": "#/components/schemas/CatalogSpecificationSource",
            "description": "Manufacturer evidence kind."
          },
          "source_is_current": {
            "default": true,
            "description": "Whether the source evidence still supports this applicability confirmation.",
            "title": "Source Is Current",
            "type": "boolean"
          },
          "source_reference": {
            "description": "Evidence reference; private source text is hidden on inherited readings.",
            "title": "Source Reference",
            "type": "string"
          },
          "source_specification_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Manufacturer reading supporting this car's applicability check.",
            "title": "Source Specification Id"
          },
          "status": {
            "$ref": "#/components/schemas/CatalogSpecificationStatus",
            "description": "Review state of the captured value."
          },
          "supersedes_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Earlier capture replaced or excluded by this version.",
            "title": "Supersedes Id"
          },
          "tire_specification": {
            "description": "Pressure tire size, when applicable.",
            "title": "Tire Specification",
            "type": "string"
          },
          "unit": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/TirePressureUnit"
              },
              {
                "$ref": "#/components/schemas/WheelTorqueUnit"
              }
            ],
            "description": "Canonical reading unit.",
            "title": "Unit"
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The date and time the database model was last updated",
            "title": "Updated At"
          },
          "updated_by_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Person who last changed this evidence version.",
            "title": "Updated By Id"
          },
          "value": {
            "description": "Captured reading in the canonical unit.",
            "title": "Value",
            "type": "number"
          }
        },
        "required": [
          "id",
          "created_at",
          "car_id",
          "attribute",
          "value",
          "unit",
          "tire_specification",
          "load_condition",
          "hardware_reference",
          "source",
          "source_reference",
          "status",
          "scope",
          "equivalence_key",
          "applies_to_car"
        ],
        "title": "CarServiceSpecificationRecord",
        "type": "object"
      },
      "CarSizePydantic": {
        "description": "Car dimensions: height, length, width, weight (mm/kg).",
        "properties": {
          "height": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "height of car in millimeters",
            "title": "Height"
          },
          "length": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "length of car in millimeters",
            "title": "Length"
          },
          "weight": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight of the car in kg",
            "title": "Weight"
          },
          "width": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "width of car in millimeters",
            "title": "Width"
          }
        },
        "title": "CarSizePydantic",
        "type": "object"
      },
      "CarTireBrandRef": {
        "description": "Reference to a tire brand: its name and logo, safe to nest anywhere.",
        "properties": {
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "logo": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/ImageRecordMinimal"
              }
            ],
            "default": null,
            "description": "Brand logo image; if set."
          },
          "name": {
            "description": "Tire brand name.",
            "title": "Name",
            "type": "string"
          }
        },
        "required": [
          "id",
          "name"
        ],
        "title": "CarTireBrandRef",
        "type": "object"
      },
      "CarTireModelRef": {
        "description": "Reference to a tire model under a brand: its name, safe to nest anywhere.",
        "properties": {
          "brand_id": {
            "description": "Tire brand this model belongs to.",
            "title": "Brand Id",
            "type": "integer"
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "name": {
            "description": "Tire model name.",
            "title": "Name",
            "type": "string"
          }
        },
        "required": [
          "id",
          "brand_id",
          "name"
        ],
        "title": "CarTireModelRef",
        "type": "object"
      },
      "CarTireStorageObjectRecordEmbedded": {
        "description": "Slim car tire storage record for embedding in storage object groups.\n\nCarries only the fields clients read when listing tires under a\nstorage object group: tire identity (brand, model, season),\ndimensions, and the car it was ordered for.\nAvoids the heavy tire_inventory and inventory_order nested records\nused by the standalone tire endpoint.",
        "properties": {
          "car_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Car the tire was ordered for (tire quote, else inventory order), when known.",
            "title": "Car Id"
          },
          "car_license_plate": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/LicensePlate"
              }
            ],
            "default": null,
            "description": "Linked car license plate, when known."
          },
          "car_make": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Linked car make name, when known.",
            "title": "Car Make"
          },
          "car_model": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Linked car model name, when known.",
            "title": "Car Model"
          },
          "id": {
            "description": "Storage object ID for this tire.",
            "title": "Id",
            "type": "integer"
          },
          "identifier": {
            "description": "Unique identifier for this tire storage object.",
            "title": "Identifier",
            "type": "string"
          },
          "image_tire": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/ImageRecordMinimal"
              }
            ],
            "default": null,
            "description": "Product image of the stored tire, from its tire inventory. Null when the inventory row has no image."
          },
          "object_owner_name": {
            "description": "Display name of the partner that owns this storage.",
            "title": "Object Owner Name",
            "type": "string"
          },
          "tire_brand_name": {
            "description": "Tire brand display name.",
            "title": "Tire Brand Name",
            "type": "string"
          },
          "tire_dimension_profile": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Aspect ratio (profile) as a percentage.",
            "title": "Tire Dimension Profile"
          },
          "tire_dimension_rim_inch": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Rim diameter in inches.",
            "title": "Tire Dimension Rim Inch"
          },
          "tire_dimension_width_mm": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Section width in millimeters.",
            "title": "Tire Dimension Width Mm"
          },
          "tire_model_name": {
            "description": "Tire model display name.",
            "title": "Tire Model Name",
            "type": "string"
          },
          "tire_season": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/TireSeason"
              }
            ],
            "default": null,
            "description": "Tire season (summer / winter / all-season)."
          }
        },
        "required": [
          "id",
          "identifier",
          "tire_brand_name",
          "tire_model_name",
          "object_owner_name"
        ],
        "title": "CarTireStorageObjectRecordEmbedded",
        "type": "object"
      },
      "CarTireWearRecord": {
        "description": "Tire wear data for a car across all wheel sets.\n\nWhy: Used in fleet view to show tire status and recommend changes;\naggregates per-set data and provides helpers for worst status.",
        "properties": {
          "wheel_sets": {
            "description": "Tire wear data for each wheel set (e.g. summer, winter).",
            "items": {
              "$ref": "#/components/schemas/CarWheelSetTireWearRecord"
            },
            "title": "Wheel Sets",
            "type": "array"
          }
        },
        "required": [
          "wheel_sets"
        ],
        "title": "CarTireWearRecord",
        "type": "object"
      },
      "CarTransmissionData": {
        "description": "Transmission specifications.",
        "properties": {
          "gear_position": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Gear position (e.g., front, rear, center)",
            "title": "Gear Position"
          },
          "number_of_gears": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Number of forward gears",
            "title": "Number Of Gears"
          },
          "reverse_gears": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Number of reverse gears",
            "title": "Reverse Gears"
          },
          "transmission_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Transmission type (e.g., manual, automatic, CVT)",
            "title": "Transmission Type"
          }
        },
        "title": "CarTransmissionData",
        "type": "object"
      },
      "CarVehicleClassification": {
        "description": "Vehicle classification and tax information.",
        "properties": {
          "group": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Vehicle group classification (e.g., M1, M2)",
            "title": "Group"
          },
          "tax_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Tax code for the vehicle",
            "title": "Tax Code"
          }
        },
        "title": "CarVehicleClassification",
        "type": "object"
      },
      "CarWeightData": {
        "description": "Vehicle weight specifications in kilograms.",
        "properties": {
          "empty": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Empty weight of the vehicle in kg",
            "title": "Empty"
          },
          "max_combination": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Maximum combination weight in kg",
            "title": "Max Combination"
          },
          "max_coupling": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Maximum coupling weight in kg",
            "title": "Max Coupling"
          },
          "max_payload": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Maximum payload capacity in kg",
            "title": "Max Payload"
          },
          "max_roof_load": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Maximum roof load in kg",
            "title": "Max Roof Load"
          },
          "max_total": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Maximum allowed total weight in kg",
            "title": "Max Total"
          },
          "max_trailer_with_brake": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Maximum trailer weight with brake in kg",
            "title": "Max Trailer With Brake"
          },
          "max_trailer_without_brake": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Maximum trailer weight without brake in kg",
            "title": "Max Trailer Without Brake"
          },
          "with_driver": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight with driver in kg (typically empty weight + 75kg)",
            "title": "With Driver"
          }
        },
        "title": "CarWeightData",
        "type": "object"
      },
      "CarWheelIdentifiers": {
        "description": "Boolean physical-state identifiers on CarWheel.\n\nValues match CarWheel boolean column names. Categorical ``tpms_type``\nand free-text ``dot_mark`` live on ``CarWheelIdentifiersRecord``, not\nthis enum. Tire dimensions remain on CarWheelSetAxle.",
        "enum": [
          "has_air_suspension",
          "has_bolts",
          "has_hub_caps",
          "has_nitrogen",
          "has_tpms",
          "has_wheel_lock",
          "is_c_tyre",
          "is_run_flat",
          "is_snow_wear",
          "is_studded",
          "is_winter_worn"
        ],
        "title": "CarWheelIdentifiers",
        "type": "string",
        "x-enum-descriptions": [
          "Is studded",
          "Is run flat",
          "Is C tyre",
          "Is winter worn",
          "Has bolts",
          "Has hub caps",
          "Has wheel lock",
          "Has nitrogen",
          "Has air suspension",
          "Has TPMS",
          "Is snow wear"
        ],
        "x-enum-member-descriptions": [
          "Tire has metal studs for ice traction (typically winter tires).",
          "Run-flat tire (RNF): can be driven a limited distance at reduced speed after losing air pressure.",
          "Commercial (C) tire load/construction rating, typically for light commercial vehicles and vans.",
          "Tire shows wear pattern or condition consistent with winter use.",
          "Wheel fastening bolts are present with the stored wheel.",
          "Hub caps / center caps are present on the wheel.",
          "Wheel lock / locking lug nut is present (anti-theft fastener).",
          "Tire is filled with nitrogen rather than (or in addition to) air.",
          "Vehicle uses air suspension relevant to this wheel position.",
          "Tire Pressure Monitoring System sensor is present on the wheel.",
          "Tire has a snow-wear / 3PMSF-style winter capability marking or equivalent snow-use wear characteristic."
        ]
      },
      "CarWheelIdentifiersRecord": {
        "description": "Reusable car-wheel identifier flags + TPMS type + DOT mark.\n\n``identifiers`` are enum values only — labels/descriptions come from\nnsdk ``CarWheelIdentifiersLabels`` / ``CarWheelIdentifiersDescriptions``.\nBoolean flags come from cheap Exists annotations; ``tpms_type`` and\n``dot_mark`` from single Subqueries.",
        "properties": {
          "dot_mark": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "DOT mark from a wheel on this car / proposal item when known. Null when no DOT mark is recorded.",
            "title": "Dot Mark"
          },
          "identifiers": {
            "description": "Car-wheel identifier values present on this car / proposal item (e.g. is_studded). HAS_WHEEL_LOCK is also set when an active wheel-lock setup says the lock is fitted. Labels and descriptions are client-side from nsdk.",
            "items": {
              "$ref": "#/components/schemas/CarWheelIdentifiers"
            },
            "title": "Identifiers",
            "type": "array"
          },
          "tpms_type": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/ChoiceRecord_CarTpmsType_"
              }
            ],
            "default": null,
            "description": "TPMS architecture when known (direct / indirect / unknown). Null when no TPMS type is recorded."
          }
        },
        "title": "CarWheelIdentifiersRecord",
        "type": "object"
      },
      "CarWheelPositionText": {
        "enum": [
          "FRONT",
          "FRONT_LEFT",
          "FRONT_LEFT_INNER",
          "FRONT_RIGHT",
          "FRONT_RIGHT_INNER",
          "MIDDLE_FRONT_LEFT",
          "MIDDLE_FRONT_LEFT_INNER",
          "MIDDLE_FRONT_RIGHT",
          "MIDDLE_FRONT_RIGHT_INNER",
          "MIDDLE_REAR_LEFT",
          "MIDDLE_REAR_LEFT_INNER",
          "MIDDLE_REAR_RIGHT",
          "MIDDLE_REAR_RIGHT_INNER",
          "REAR",
          "REAR_LEFT",
          "REAR_LEFT_INNER",
          "REAR_RIGHT",
          "REAR_RIGHT_INNER"
        ],
        "title": "CarWheelPositionText",
        "type": "string",
        "x-enum-descriptions": [
          "Front right",
          "Front left",
          "Rear right",
          "Rear left",
          "Front",
          "Rear",
          "Middle front right",
          "Middle front left",
          "Middle rear right",
          "Middle rear left",
          "Front right inner",
          "Front left inner",
          "Rear right inner",
          "Rear left inner",
          "Middle front right inner",
          "Middle front left inner",
          "Middle rear right inner",
          "Middle rear left inner"
        ],
        "x-enum-member-descriptions": [
          "Right wheel on the front axle of a vehicle with a wheel at each corner.",
          "Left wheel on the front axle of a vehicle with a wheel at each corner.",
          "Right wheel on the rear axle of a vehicle with a wheel at each corner.",
          "Left wheel on the rear axle of a vehicle with a wheel at each corner.",
          "The only wheel on the front axle of a single-track vehicle. Not a left or right corner.",
          "The only wheel on the rear axle of a single-track vehicle. Not a left or right corner.",
          "Outer right wheel on the forward middle axle of a bus or truck.",
          "Outer left wheel on the forward middle axle of a bus or truck.",
          "Outer right wheel on the rearward middle axle of a bus or truck.",
          "Outer left wheel on the rearward middle axle of a bus or truck.",
          "Inner tire of a dual pair on the front right. Not the outer corner wheel.",
          "Inner tire of a dual pair on the front left. Not the outer corner wheel.",
          "Inner tire of a dual pair on the rear right. Not the outer corner wheel.",
          "Inner tire of a dual pair on the rear left. Not the outer corner wheel.",
          "Inner tire of a dual pair on the forward middle axle, right side.",
          "Inner tire of a dual pair on the forward middle axle, left side.",
          "Inner tire of a dual pair on the rearward middle axle, right side.",
          "Inner tire of a dual pair on the rearward middle axle, left side."
        ]
      },
      "CarWheelSetAxleTireSource": {
        "description": "Where the brand and model recorded for an axle's tires came from.\n\nA tire offer source means the tires were sold by us and mounted, so the\ntire is known down to the catalog product. The other sources mean someone\npicked the brand and model from the catalog.",
        "enum": [
          "lead",
          "manual",
          "tire_offer"
        ],
        "title": "CarWheelSetAxleTireSource",
        "type": "string",
        "x-enum-descriptions": [
          "Tire offer",
          "Manual",
          "Lead"
        ],
        "x-enum-member-descriptions": [
          "We sold these tires and mounted them, so the brand and model are that catalog product.",
          "A partner picked the brand and model from the catalog. We did not sell them on an offer.",
          "The customer or worker who sent a new tires lead picked the brand and model from the catalog for an axle the lead leaves out."
        ]
      },
      "CarWheelSetRecordList": {
        "description": "Wheel set record for list: id, tire season, timestamps.",
        "properties": {
          "created_at": {
            "description": "The date and time the database model was created",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Created At",
            "type": "string"
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "tire_season": {
            "$ref": "#/components/schemas/TireSeasonRecord",
            "description": "Tire season type (e.g. summer, winter)."
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The date and time the database model was last updated",
            "title": "Updated At"
          }
        },
        "required": [
          "id",
          "created_at",
          "tire_season"
        ],
        "title": "CarWheelSetRecordList",
        "type": "object"
      },
      "CarWheelSetRecordStorageList": {
        "description": "Slim wheel set record for storage list views: no nested car record.",
        "properties": {
          "car_id": {
            "description": "Primary key of the car this wheel set belongs to.",
            "title": "Car Id",
            "type": "integer"
          },
          "id": {
            "description": "Primary key of the car wheel set.",
            "title": "Id",
            "type": "integer"
          },
          "is_staggered": {
            "description": "True if front and rear dimensions differ.",
            "title": "Is Staggered",
            "type": "boolean"
          },
          "license_plate": {
            "description": "License plate of the car this wheel set belongs to.",
            "title": "License Plate",
            "type": "string"
          },
          "make": {
            "description": "Make (brand) name of the car.",
            "title": "Make",
            "type": "string"
          },
          "model": {
            "description": "Model name of the car.",
            "title": "Model",
            "type": "string"
          },
          "name": {
            "description": "Display name of the wheel set.",
            "title": "Name",
            "type": "string"
          },
          "tire_season": {
            "$ref": "#/components/schemas/TireSeasonRecord",
            "description": "Tire season type (e.g. summer, winter)."
          }
        },
        "required": [
          "id",
          "car_id",
          "name",
          "tire_season",
          "is_staggered",
          "license_plate",
          "make",
          "model"
        ],
        "title": "CarWheelSetRecordStorageList",
        "type": "object"
      },
      "CarWheelSetTireWearRecord": {
        "description": "Tire wear data for one car wheel set (e.g. summer set).\n\nWhy: Aggregates measurements for a wheel set with thresholds and\nworst status for fleet view and recommendations.",
        "properties": {
          "car_wheel_set_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "ID of the car wheel set this data is for, when the car has a materialized set for the season. Measurements are attributed to a season by the worker, so a season can be measured without one.",
            "title": "Car Wheel Set Id"
          },
          "front_car_wheel_set_axle_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Front axle of the season's wheel set, to set its tires. Null when the car has no wheel set for the season or it has no front axle.",
            "title": "Front Car Wheel Set Axle Id"
          },
          "front_tire_brand": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/CarTireBrandRef"
              }
            ],
            "default": null,
            "description": "Brand of the tires on the wheel set's front axle."
          },
          "front_tire_dimension": {
            "anyOf": [
              {
                "description": "Tire dimension/specification string (e.g. 195/65R15).",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Registered front axle tire size of the season's wheel set (e.g. 235/55R19). Null when the car has no wheel set for the season or the axle has no size.",
            "title": "Front Tire Dimension"
          },
          "front_tire_model": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/CarTireModelRef"
              }
            ],
            "default": null,
            "description": "Model of the tires on the wheel set's front axle."
          },
          "last_measured_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "When the set was last measured.",
            "title": "Last Measured At"
          },
          "limit_threshold_mm": {
            "description": "Legal minimum tread depth in mm.",
            "minimum": 0,
            "title": "Limit Threshold Mm",
            "type": "number"
          },
          "lowest_tread_depth_mm": {
            "anyOf": [
              {
                "description": "Distance in millimeters as a float.",
                "minimum": 0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Lowest tread depth across wheels in mm.",
            "title": "Lowest Tread Depth Mm"
          },
          "measurements": {
            "description": "Per-wheel measurements for this set.",
            "items": {
              "$ref": "#/components/schemas/TireWearMeasurementRecord"
            },
            "title": "Measurements",
            "type": "array"
          },
          "rear_car_wheel_set_axle_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Rear axle of the season's wheel set, to set its tires.",
            "title": "Rear Car Wheel Set Axle Id"
          },
          "rear_tire_brand": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/CarTireBrandRef"
              }
            ],
            "default": null,
            "description": "Brand of the tires on the wheel set's rear axle."
          },
          "rear_tire_dimension": {
            "anyOf": [
              {
                "description": "Tire dimension/specification string (e.g. 195/65R15).",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Registered rear axle tire size of the season's wheel set. Differs from the front on a staggered fitment.",
            "title": "Rear Tire Dimension"
          },
          "rear_tire_model": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/CarTireModelRef"
              }
            ],
            "default": null,
            "description": "Model of the tires on the wheel set's rear axle."
          },
          "recommended_threshold_mm": {
            "description": "Recommended minimum tread depth in mm.",
            "minimum": 0,
            "title": "Recommended Threshold Mm",
            "type": "number"
          },
          "status": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/TireTreadDepthStatus"
              }
            ],
            "default": null,
            "description": "Worst tread depth status for this set."
          },
          "tire_season": {
            "$ref": "#/components/schemas/TireSeasonRecord",
            "description": "Season type of this wheel set (e.g. summer, winter)."
          },
          "tires_source": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/CarWheelSetTiresSourceRecord"
              }
            ],
            "default": null,
            "description": "Where the front and rear tires' brand and model came from: the newer of the two axles. Null when no tires are recorded, or when the endpoint does not load it."
          }
        },
        "required": [
          "tire_season",
          "limit_threshold_mm",
          "recommended_threshold_mm",
          "measurements"
        ],
        "title": "CarWheelSetTireWearRecord",
        "type": "object"
      },
      "CarWheelSetTiresSourceRecord": {
        "description": "Where the brand and model on a wheel set's tires came from.\n\nWhy: tires sold by us are known for certain; staff overriding them\nshould see that, and who set them by hand otherwise.",
        "properties": {
          "observed_at": {
            "description": "When the tires were known to be on the wheel set.",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Observed At",
            "type": "string"
          },
          "set_by_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Full name of the user who recorded the tires. Null when unknown or when the endpoint does not expose who set them.",
            "title": "Set By Name"
          },
          "source": {
            "$ref": "#/components/schemas/CarWheelSetAxleTireSource",
            "description": "Where the brand and model came from."
          },
          "tire_quote_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Tire offer the tires were sold on.",
            "title": "Tire Quote Id"
          }
        },
        "required": [
          "source",
          "observed_at"
        ],
        "title": "CarWheelSetTiresSourceRecord",
        "type": "object"
      },
      "CarWithSalesItemsForBookingRecord": {
        "description": "Car with the sales items available to book for it.",
        "properties": {
          "license_plate": {
            "$ref": "#/components/schemas/LicensePlate",
            "description": "License plate of the car."
          },
          "make": {
            "description": "Car make (brand).",
            "title": "Make",
            "type": "string"
          },
          "model": {
            "description": "Car model name.",
            "title": "Model",
            "type": "string"
          },
          "sales_items": {
            "description": "Sales items available for booking for this car.",
            "items": {
              "$ref": "#/components/schemas/SalesItemForBookingRecord"
            },
            "title": "Sales Items",
            "type": "array"
          }
        },
        "required": [
          "make",
          "model",
          "license_plate",
          "sales_items"
        ],
        "title": "CarWithSalesItemsForBookingRecord",
        "type": "object"
      },
      "CargoUnitType": {
        "description": "Physical cargo units used for route planning demand and capacity.\n\nKeep this enum system-controlled so every cargo dimension is explicit,\ntyped, and stable across sales items, vehicles, and reload facilities.",
        "enum": [
          "disposal_tire",
          "wheel"
        ],
        "title": "CargoUnitType",
        "type": "string",
        "x-enum-descriptions": [
          "Wheel",
          "Tire for disposal"
        ],
        "x-enum-member-descriptions": [
          "A wheel as route cargo. It is labeled and kept in storage, and disposal tires borrow its vehicle space.",
          "A tire headed for disposal. It rides in wheel space and is not kept in storage."
        ]
      },
      "CarsWithSalesItemsForBookingResponseRecord": {
        "description": "List of cars, each with its available sales items for booking.",
        "properties": {
          "cars": {
            "description": "Cars with their available sales items for booking.",
            "items": {
              "$ref": "#/components/schemas/CarWithSalesItemsForBookingRecord"
            },
            "title": "Cars",
            "type": "array"
          }
        },
        "required": [
          "cars"
        ],
        "title": "CarsWithSalesItemsForBookingResponseRecord",
        "type": "object"
      },
      "CatalogAttribute": {
        "description": "Supported normalized catalog attributes.",
        "enum": [
          "BOLT_PATTERN",
          "CENTRE_BORE",
          "THREAD",
          "TYRE_PRESSURE",
          "WHEEL_TORQUE"
        ],
        "title": "CatalogAttribute",
        "type": "string",
        "x-enum-descriptions": [
          "Wheel torque",
          "Bolt pattern",
          "Centre bore",
          "Thread",
          "Tyre pressure"
        ],
        "x-enum-member-descriptions": [
          "How hard the wheel fasteners are tightened, stored as a catalog attribute.",
          "How many wheel bolts there are and the circle they sit on.",
          "Diameter of the hub bore that centres the wheel.",
          "The wheel-fastener thread, stored as a catalog attribute.",
          "How hard the tyres are inflated, stored as a catalog attribute."
        ]
      },
      "CatalogBodyImageRecord": {
        "description": "Labelled generation body alternative; never a claimed match to the car.",
        "properties": {
          "generation_id": {
            "description": "Canonical generation node ID.",
            "title": "Generation Id",
            "type": "integer"
          },
          "id": {
            "description": "Catalog body ID.",
            "title": "Id",
            "type": "integer"
          },
          "image": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/ImageRecordMinimal"
              }
            ],
            "default": null,
            "description": "Image mirrored into Navio media, when available."
          },
          "image_source_sync_run_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Snapshot that supplied the stored image.",
            "title": "Image Source Sync Run Id"
          },
          "image_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Provider image URL, when the source still supplies one.",
            "title": "Image Url"
          },
          "name": {
            "description": "Provider body-style name.",
            "title": "Name",
            "type": "string"
          },
          "source_slug": {
            "description": "Provider body identity.",
            "title": "Source Slug",
            "type": "string"
          },
          "source_sync_run_id": {
            "description": "Metadata source snapshot.",
            "title": "Source Sync Run Id",
            "type": "integer"
          }
        },
        "required": [
          "id",
          "generation_id",
          "name",
          "source_slug",
          "source_sync_run_id"
        ],
        "title": "CatalogBodyImageRecord",
        "type": "object"
      },
      "CatalogCarMatchStatus": {
        "description": "Effective car-level identity and review state.",
        "enum": [
          "AMBIGUOUS",
          "CONFIRMED",
          "EXACT",
          "SUGGESTED",
          "UNAVAILABLE"
        ],
        "title": "CatalogCarMatchStatus",
        "type": "string",
        "x-enum-descriptions": [
          "Exact catalog match",
          "Manually confirmed",
          "Suggested partial match",
          "Several candidates",
          "No suggestion"
        ],
        "x-enum-member-descriptions": [
          "The existing catalog link identifies one modification.",
          "A reviewer confirmed a modification for this physical car.",
          "A ranked candidate leads; its service values require verification.",
          "The available evidence does not distinguish a leading candidate.",
          "No compatible candidate is available from the linked generation."
        ]
      },
      "CatalogIdentityMappingStatus": {
        "description": "Review state of a reusable registry-to-catalog identity mapping.",
        "enum": [
          "PROPOSED",
          "VERIFIED"
        ],
        "title": "CatalogIdentityMappingStatus",
        "type": "string",
        "x-enum-descriptions": [
          "Proposed",
          "Verified"
        ],
        "x-enum-member-descriptions": [
          "Suggest the mapped modification for explicit review.",
          "Use the mapping as confirmed catalog identity evidence."
        ]
      },
      "CatalogMatchCandidateRecord": {
        "description": "One compatible modification ranked as unconfirmed service guidance.",
        "properties": {
          "evidence": {
            "description": "Matching evidence that contributed to the score.",
            "items": {
              "$ref": "#/components/schemas/CatalogMatchEvidence"
            },
            "title": "Evidence",
            "type": "array"
          },
          "identity_mapping_evidence_references": {
            "description": "Sources supporting the powertrain identity mapping.",
            "items": {
              "type": "string"
            },
            "title": "Identity Mapping Evidence References",
            "type": "array"
          },
          "identity_mapping_ids": {
            "description": "Powertrain identity mappings supporting this candidate.",
            "items": {
              "type": "integer"
            },
            "title": "Identity Mapping Ids",
            "type": "array"
          },
          "identity_mapping_status": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/CatalogIdentityMappingStatus"
              }
            ],
            "default": null,
            "description": "Strongest review state among supporting mappings."
          },
          "missing_evidence": {
            "description": "Unreported or non-comparable evidence that contributed no points.",
            "items": {
              "$ref": "#/components/schemas/CatalogMatchEvidence"
            },
            "title": "Missing Evidence",
            "type": "array"
          },
          "modification_id": {
            "description": "Candidate modification ID.",
            "title": "Modification Id",
            "type": "integer"
          },
          "name": {
            "description": "Candidate modification name.",
            "title": "Name",
            "type": "string"
          },
          "score": {
            "description": "Evidence similarity from 0 to 100; not a correctness percentage.",
            "maximum": 100,
            "minimum": 0,
            "title": "Score",
            "type": "integer"
          },
          "tire_pressures": {
            "description": "Unconfirmed candidate pressures with applicability conditions.",
            "items": {
              "$ref": "#/components/schemas/CatalogServiceValueRecord"
            },
            "title": "Tire Pressures",
            "type": "array"
          },
          "wheel_torques": {
            "description": "Unconfirmed candidate torques with applicability conditions.",
            "items": {
              "$ref": "#/components/schemas/CatalogServiceValueRecord"
            },
            "title": "Wheel Torques",
            "type": "array"
          },
          "year_from": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "First published modification year.",
            "title": "Year From"
          },
          "year_to": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "Last published modification year.",
            "title": "Year To"
          }
        },
        "required": [
          "modification_id",
          "name",
          "year_from",
          "year_to",
          "score",
          "evidence",
          "missing_evidence",
          "tire_pressures",
          "wheel_torques"
        ],
        "title": "CatalogMatchCandidateRecord",
        "type": "object"
      },
      "CatalogMatchEvidence": {
        "description": "Published evidence contributing to a modification similarity score.",
        "enum": [
          "ENGINE",
          "FITMENT",
          "FUEL",
          "GENERATION",
          "MODEL",
          "NAME",
          "POWER",
          "POWERTRAIN_MAPPING",
          "YEAR"
        ],
        "title": "CatalogMatchEvidence",
        "type": "string",
        "x-enum-descriptions": [
          "Model family",
          "Generation",
          "Model year",
          "Fuel",
          "Engine displacement",
          "Comparable power",
          "Trim name",
          "Registered tire package",
          "Powertrain identity mapping"
        ],
        "x-enum-member-descriptions": [
          "Candidate belongs to the linked model family.",
          "Candidate belongs to the linked generation.",
          "Published modification years cover the registry year.",
          "Published fuel agrees with the registry.",
          "Published displacement agrees with the registry.",
          "Comparable combustion power agrees with the registry.",
          "The registry name identifies the candidate trim.",
          "Candidate carries a complete registered axle pair.",
          "A reviewed registry code rule identifies the candidate trim."
        ]
      },
      "CatalogMatchRecommendationRecord": {
        "description": "Ranked modification evidence and persistent physical-car reviews.",
        "properties": {
          "candidate_count": {
            "description": "Compatible candidates before the three-candidate display limit.",
            "title": "Candidate Count",
            "type": "integer"
          },
          "candidates": {
            "description": "Up to three ranked candidates; values remain provisional until reviewed.",
            "items": {
              "$ref": "#/components/schemas/CatalogMatchCandidateRecord"
            },
            "title": "Candidates",
            "type": "array"
          },
          "car_id": {
            "description": "Physical car reviewed by these actions.",
            "title": "Car Id",
            "type": "integer"
          },
          "confirmed_modification_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "Car-specific confirmed modification ID.",
            "title": "Confirmed Modification Id"
          },
          "confirmed_modification_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Car-specific confirmed modification name.",
            "title": "Confirmed Modification Name"
          },
          "conflicting_rules": {
            "description": "Disagreeing shared rules; open their source cars to resolve the conflict.",
            "items": {
              "$ref": "#/components/schemas/CatalogSharedMatchRuleRecord"
            },
            "title": "Conflicting Rules",
            "type": "array"
          },
          "equivalent_car_count": {
            "default": 0,
            "description": "Current cars with the same complete reviewed identity, including this car.",
            "minimum": 0,
            "title": "Equivalent Car Count",
            "type": "integer"
          },
          "identity_mapping_conflict": {
            "default": false,
            "description": "Matching mappings disagree on the catalog modification.",
            "title": "Identity Mapping Conflict",
            "type": "boolean"
          },
          "identity_mapping_ids": {
            "description": "Contextual powertrain mappings evaluated for this car.",
            "items": {
              "type": "integer"
            },
            "title": "Identity Mapping Ids",
            "type": "array"
          },
          "rejected_modification_ids": {
            "description": "Modifications excluded for this car until their review is reset.",
            "items": {
              "type": "integer"
            },
            "title": "Rejected Modification Ids",
            "type": "array"
          },
          "review_scope": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/CatalogReviewScope"
              }
            ],
            "default": null,
            "description": "Requested sharing scope of the effective review."
          },
          "score_gap": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "Point difference between the two leading candidates; null with fewer than two.",
            "title": "Score Gap"
          },
          "shared_approved_by_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Staff reviewer approving the effective shared rule.",
            "title": "Shared Approved By Id"
          },
          "shared_conflict": {
            "default": false,
            "description": "Conflicting shared decisions prevent inherited matching.",
            "title": "Shared Conflict",
            "type": "boolean"
          },
          "sharing_pending": {
            "default": false,
            "description": "Shared applicability awaits staff approval or complete vehicle identity.",
            "title": "Sharing Pending",
            "type": "boolean"
          },
          "source_car_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Car whose reviewed match supplied this decision.",
            "title": "Source Car Id"
          },
          "source_review_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Review rule supplying the effective match.",
            "title": "Source Review Id"
          },
          "status": {
            "$ref": "#/components/schemas/CatalogCarMatchStatus",
            "description": "Effective match status for this car."
          },
          "suggested_modification_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "Leading candidate with score at least 60 and a lead of at least five points; null for unresolved ties.",
            "title": "Suggested Modification Id"
          }
        },
        "required": [
          "car_id",
          "status",
          "confirmed_modification_id",
          "confirmed_modification_name",
          "rejected_modification_ids",
          "suggested_modification_id",
          "score_gap",
          "candidate_count",
          "candidates"
        ],
        "title": "CatalogMatchRecommendationRecord",
        "type": "object"
      },
      "CatalogMediaRecord": {
        "description": "Generation body alternatives and reviewed technical guidance.",
        "properties": {
          "body_alternatives": {
            "description": "Body alternatives for the matched generation; no automatic body selection.",
            "items": {
              "$ref": "#/components/schemas/CatalogBodyImageRecord"
            },
            "title": "Body Alternatives",
            "type": "array"
          },
          "technical_documents": {
            "description": "Reviewed guidance at the car's established catalog scope.",
            "items": {
              "$ref": "#/components/schemas/CatalogTechnicalDocumentRecord"
            },
            "title": "Technical Documents",
            "type": "array"
          }
        },
        "title": "CatalogMediaRecord",
        "type": "object"
      },
      "CatalogObservationSource": {
        "description": "System or person that supplied an observation.",
        "enum": [
          "CUSTOMER",
          "LEGACY_NAVIO",
          "PLACARD",
          "REGISTRY",
          "STAFF",
          "TECHNICIAN",
          "WHEEL_SIZE"
        ],
        "title": "CatalogObservationSource",
        "type": "string",
        "x-enum-descriptions": [
          "Wheel-Size",
          "Registry",
          "Staff",
          "Placard",
          "Technician",
          "Customer",
          "Legacy Navio"
        ],
        "x-enum-member-descriptions": [
          "The Wheel-Size provider supplied this observation.",
          "The vehicle registry supplied this observation.",
          "Office staff supplied this observation, not a technician on the car.",
          "Read from the car's own placard.",
          "A technician on the car supplied this observation.",
          "The customer supplied this observation.",
          "Carried over from an older Navio record, not from a current source."
        ]
      },
      "CatalogReviewScope": {
        "description": "Applicability requested for reviewed vehicle evidence.",
        "enum": [
          "CAR",
          "EQUIVALENT"
        ],
        "title": "CatalogReviewScope",
        "type": "string",
        "x-enum-descriptions": [
          "This car",
          "Equivalent cars"
        ],
        "x-enum-member-descriptions": [
          "Apply evidence only to the reviewed car.",
          "Share approved evidence with cars carrying the same vehicle identity."
        ]
      },
      "CatalogServiceConditionRecord": {
        "description": "A source-specific condition attached to a specification.",
        "properties": {
          "name": {
            "description": "Source-specific applicability condition.",
            "title": "Name",
            "type": "string"
          },
          "value": {
            "description": "Condition value, as text.",
            "title": "Value",
            "type": "string"
          }
        },
        "required": [
          "name",
          "value"
        ],
        "title": "CatalogServiceConditionRecord",
        "type": "object"
      },
      "CatalogServiceLoad": {
        "description": "Manufacturer loading condition attached to a pressure reading.",
        "enum": [
          "ALL",
          "FULL",
          "NORMAL"
        ],
        "title": "CatalogServiceLoad",
        "type": "string",
        "x-enum-descriptions": [
          "Normal load",
          "Full load",
          "All loads"
        ],
        "x-enum-member-descriptions": [
          "Manufacturer normal loading condition.",
          "Manufacturer full loading condition.",
          "Manufacturer explicitly specifies the value for all loads."
        ]
      },
      "CatalogServiceResolutionBasis": {
        "description": "Evidence path establishing a service value's applicability.",
        "enum": [
          "CAPTURED_MANUFACTURER",
          "CONFIRMED_MODIFICATION",
          "DIRECT",
          "EXACT_MODIFICATION",
          "GENERATION_CONSENSUS",
          "GENERATION_TRIM_VALUE",
          "INSPECTED_TIRE_DIMENSION",
          "SUGGESTED_MODIFICATION",
          "TIRE_DIMENSION_VARIANT"
        ],
        "title": "CatalogServiceResolutionBasis",
        "type": "string",
        "x-enum-descriptions": [
          "Checked manufacturer evidence",
          "Suggested modification",
          "Reviewed modification",
          "Direct evidence",
          "Exact modification",
          "Generation consensus",
          "Inspected tire dimension",
          "Tire size across trims",
          "Generation trim value"
        ],
        "x-enum-member-descriptions": [
          "Verified manufacturer reading with checked applicability for this car.",
          "Value from an unconfirmed ranked candidate requiring verification.",
          "Value from a modification confirmed for this physical car.",
          "Taken from evidence that is not pinned to a catalog modification.",
          "Taken from the one modification this car is linked to.",
          "Every applicable modification in the linked generation agrees on this value.",
          "Tyre pressure that modifications agree on for a tire size measured on this car.",
          "One of several pressures the generation's trims state for a tire size measured on this car; the trim is not established.",
          "One of the torques stated by trims of the linked generation; the trim is not established."
        ]
      },
      "CatalogServiceSpecificationsRecord": {
        "description": "Catalog service data; missing assertions remain empty.",
        "properties": {
          "captured_specifications": {
            "description": "Manufacturer evidence, including drafts and inherited values requiring applicability checks.",
            "items": {
              "$ref": "#/components/schemas/CarServiceSpecificationRecord"
            },
            "title": "Captured Specifications",
            "type": "array"
          },
          "conflicting_specification_ids": {
            "description": "Captured values excluded because their readings conflict for the same conditions.",
            "items": {
              "type": "integer"
            },
            "title": "Conflicting Specification Ids",
            "type": "array"
          },
          "match_recommendation": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/CatalogMatchRecommendationRecord"
              }
            ],
            "default": null,
            "description": "Optional ranked candidates, separate from established service values."
          },
          "media": {
            "$ref": "#/components/schemas/CatalogMediaRecord",
            "description": "Labelled body alternatives and reviewed technical documents."
          },
          "provisional_tire_pressures": {
            "description": "Available pressure assertions with incomplete modification agreement; require verification.",
            "items": {
              "$ref": "#/components/schemas/CatalogServiceValueRecord"
            },
            "title": "Provisional Tire Pressures",
            "type": "array"
          },
          "provisional_wheel_torques": {
            "description": "Available torque assertions requiring verification.",
            "items": {
              "$ref": "#/components/schemas/CatalogServiceValueRecord"
            },
            "title": "Provisional Wheel Torques",
            "type": "array"
          },
          "tire_pressures": {
            "description": "Pressure assertions with axle and tire-size context.",
            "items": {
              "$ref": "#/components/schemas/CatalogServiceValueRecord"
            },
            "title": "Tire Pressures",
            "type": "array"
          },
          "wheel_torques": {
            "description": "Wheel torque assertions with rim-material context.",
            "items": {
              "$ref": "#/components/schemas/CatalogServiceValueRecord"
            },
            "title": "Wheel Torques",
            "type": "array"
          }
        },
        "required": [
          "tire_pressures",
          "wheel_torques"
        ],
        "title": "CatalogServiceSpecificationsRecord",
        "type": "object"
      },
      "CatalogServiceUnit": {
        "enum": [
          "Nm",
          "Pa",
          "bar",
          "kPa",
          "lb-ft",
          "psi"
        ],
        "title": "CatalogServiceUnit",
        "type": "string",
        "x-enum-descriptions": [
          "Pascal",
          "Kilopascal",
          "Psi",
          "Bar",
          "Newton meter",
          "Pound foot"
        ],
        "x-enum-varnames": [
          "NM",
          "PA",
          "BAR",
          "KPA",
          "LB_FT",
          "PSI"
        ]
      },
      "CatalogServiceValueRecord": {
        "description": "A resolved numeric assertion with its applicability and provenance.",
        "properties": {
          "applicable_modification_count": {
            "default": 0,
            "description": "Modifications considered when resolving the value.",
            "minimum": 0,
            "title": "Applicable Modification Count",
            "type": "integer"
          },
          "axle_type": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/CarAxleType"
              }
            ],
            "default": null,
            "description": "Applicable axle, when specified."
          },
          "captured_specification_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Reviewed manufacturer evidence supplying this value.",
            "title": "Captured Specification Id"
          },
          "conditions": {
            "description": "Additional source conditions; do not apply across differing conditions.",
            "items": {
              "$ref": "#/components/schemas/CatalogServiceConditionRecord"
            },
            "title": "Conditions",
            "type": "array"
          },
          "evidence_modification_count": {
            "default": 0,
            "description": "Applicable modifications supplying the agreed value.",
            "minimum": 0,
            "title": "Evidence Modification Count",
            "type": "integer"
          },
          "id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Catalog observation ID. Null when a staff override supplies the value; it has an override_id instead.",
            "title": "Id"
          },
          "load_capacity_kg": {
            "anyOf": [
              {
                "exclusiveMinimum": 0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Load each tire of the fitment this reading belongs to carries, as printed on the sidewall. Null when the source states none.",
            "title": "Load Capacity Kg"
          },
          "match_score": {
            "anyOf": [
              {
                "maximum": 100,
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Evidence similarity score; not a probability of correctness.",
            "title": "Match Score"
          },
          "overridden": {
            "description": "True when a staff fact override supplies this value; synced observations never set it.",
            "title": "Overridden",
            "type": "boolean"
          },
          "override_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Staff fact override ID; null for a synced observation.",
            "title": "Override Id"
          },
          "requires_verification": {
            "default": false,
            "description": "Whether applicability needs checking; confirming a modification does not verify its specifications.",
            "title": "Requires Verification",
            "type": "boolean"
          },
          "resolution_basis": {
            "$ref": "#/components/schemas/CatalogServiceResolutionBasis",
            "default": "DIRECT",
            "description": "Evidence path that makes this value applicable."
          },
          "secondary_unit": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/CatalogServiceUnit"
              }
            ],
            "default": null,
            "description": "Unit of secondary_value; pressures only."
          },
          "secondary_value": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Same specification in the companion unit: pressures carry bar next to psi and psi next to every other pressure unit. Null for torques.",
            "title": "Secondary Value"
          },
          "source": {
            "$ref": "#/components/schemas/CatalogObservationSource",
            "description": "Assertion source."
          },
          "source_modification_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Modification supplying this value, when applicable.",
            "title": "Source Modification Id"
          },
          "source_reference": {
            "default": "",
            "description": "Source reference supporting this specification.",
            "title": "Source Reference",
            "type": "string"
          },
          "specification_status": {
            "$ref": "#/components/schemas/CatalogSpecificationStatus",
            "default": "DRAFT",
            "description": "Independent review state of the specification itself."
          },
          "speed_capacity_kph": {
            "anyOf": [
              {
                "exclusiveMinimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Speed rating of the fitment this reading belongs to. Null when the source states none.",
            "title": "Speed Capacity Kph"
          },
          "tire_specification_str": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Applicable tire size, when specified.",
            "title": "Tire Specification Str"
          },
          "unit": {
            "$ref": "#/components/schemas/CatalogServiceUnit",
            "description": "Unit of the specification."
          },
          "value": {
            "description": "Positive numeric specification.",
            "title": "Value",
            "type": "number"
          }
        },
        "required": [
          "value",
          "unit",
          "source",
          "overridden",
          "conditions"
        ],
        "title": "CatalogServiceValueRecord",
        "type": "object"
      },
      "CatalogSharedMatchRuleRecord": {
        "description": "Approved source rule whose disagreement blocks automatic inheritance.",
        "properties": {
          "approved_by_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Staff reviewer approving the rule.",
            "title": "Approved By Id"
          },
          "id": {
            "description": "Source review rule ID.",
            "title": "Id",
            "type": "integer"
          },
          "modification_id": {
            "description": "Modification asserted by the rule.",
            "title": "Modification Id",
            "type": "integer"
          },
          "modification_name": {
            "description": "Modification label for reviewing the conflict.",
            "title": "Modification Name",
            "type": "string"
          },
          "source_car_id": {
            "description": "Car whose review supplied the rule.",
            "title": "Source Car Id",
            "type": "integer"
          }
        },
        "required": [
          "id",
          "source_car_id",
          "modification_id",
          "modification_name"
        ],
        "title": "CatalogSharedMatchRuleRecord",
        "type": "object"
      },
      "CatalogSpecificationSource": {
        "description": "Manufacturer evidence used to verify a service specification.",
        "enum": [
          "MANUAL",
          "PLACARD"
        ],
        "title": "CatalogSpecificationSource",
        "type": "string",
        "x-enum-descriptions": [
          "Vehicle placard",
          "Manufacturer manual"
        ],
        "x-enum-member-descriptions": [
          "Read from this vehicle's pressure placard.",
          "Read from manufacturer service instructions."
        ]
      },
      "CatalogSpecificationStatus": {
        "description": "Review state of a manually captured service specification.",
        "enum": [
          "DRAFT",
          "VERIFIED",
          "WITHDRAWN"
        ],
        "title": "CatalogSpecificationStatus",
        "type": "string",
        "x-enum-descriptions": [
          "Needs verification",
          "Verified",
          "Withdrawn"
        ],
        "x-enum-member-descriptions": [
          "Captured evidence awaiting verification.",
          "A reviewer checked the value and its applicability.",
          "Evidence withdrawn from service guidance."
        ]
      },
      "CatalogTechnicalDocumentRecord": {
        "description": "Reviewed technical guidance with explicit catalog applicability.",
        "properties": {
          "id": {
            "description": "Technical document ID.",
            "title": "Id",
            "type": "integer"
          },
          "image": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/ImageRecordMinimal"
              }
            ],
            "default": null,
            "description": "Technical diagram in Navio media."
          },
          "node_id": {
            "description": "Applicable canonical catalog node ID.",
            "title": "Node Id",
            "type": "integer"
          },
          "source_reference": {
            "description": "Evidence used to validate the document.",
            "title": "Source Reference",
            "type": "string"
          },
          "text": {
            "description": "Reviewed technical guidance.",
            "title": "Text",
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/CatalogTechnicalDocumentType",
            "description": "Technical document type."
          }
        },
        "required": [
          "id",
          "node_id",
          "type",
          "text",
          "source_reference"
        ],
        "title": "CatalogTechnicalDocumentRecord",
        "type": "object"
      },
      "CatalogTechnicalDocumentType": {
        "description": "Purpose of source-backed vehicle technical guidance.",
        "enum": [
          "JACKING_POINTS",
          "SERVICE_GUIDANCE"
        ],
        "title": "CatalogTechnicalDocumentType",
        "type": "string",
        "x-enum-descriptions": [
          "Jacking points",
          "Service guidance"
        ],
        "x-enum-member-descriptions": [
          "Guidance for where to place a jack on this vehicle.",
          "Source-backed service instructions that are not jacking points."
        ]
      },
      "CenterBore": {
        "description": "Common center bore (hub bore) sizes for car wheels.\n\nThe center bore is the diameter of the hole in the center of the wheel that fits\nover the hub of the vehicle. It's measured in millimeters and must match the hub\ndiameter for proper wheel mounting. A correct center bore ensures the wheel is\ncentered on the hub, which is critical for proper wheel balance and safety.\n\nCommon sizes are grouped by manufacturer families:\n- VW/Audi: 57.1 mm\n- Toyota/Lexus: 60.1 mm\n- Honda/Mazda: 64.1 mm\n- Nissan/Renault: 66.1 mm\n- Mercedes-Benz/New BMW: 66.6 mm\n- Classic BMW: 72.6 mm\n- Aftermarket Standard: 73.1 mm (hub-centric rings can adapt to smaller sizes)",
        "enum": [
          "57.1",
          "60.1",
          "64.1",
          "66.1",
          "66.6",
          "72.6",
          "73.1"
        ],
        "title": "CenterBore",
        "type": "string",
        "x-enum-descriptions": [
          "57.1 mm (VW/Audi)",
          "60.1 mm (Toyota/Lexus)",
          "64.1 mm (Honda/Mazda)",
          "66.1 mm (Nissan/Renault)",
          "66.6 mm (MB/New BMW)",
          "72.6 mm (Classic BMW)",
          "73.1 mm (Aftermarket Std)"
        ],
        "x-enum-member-descriptions": [
          "Hub bore of 57.1 mm, the size used by VW and Audi wheels.",
          "Hub bore of 60.1 mm, the size used by Toyota and Lexus wheels.",
          "Hub bore of 64.1 mm, the size used by Honda and Mazda wheels.",
          "Hub bore of 66.1 mm, the size used by Nissan and Renault wheels.",
          "Hub bore of 66.6 mm, used by Mercedes-Benz and newer BMW, not classic BMW.",
          "Hub bore of 72.6 mm for classic BMW. Newer BMW wheels use 66.6 mm instead.",
          "Hub bore of 73.1 mm, the aftermarket standard. Hub-centric rings can adapt it to a smaller hub."
        ],
        "x-enum-varnames": [
          "E_57_1",
          "E_60_1",
          "E_64_1",
          "E_66_1",
          "E_66_6",
          "E_72_6",
          "E_73_1"
        ]
      },
      "ChoiceRecord_BookingProposalStatus_": {
        "properties": {
          "label": {
            "title": "Label",
            "type": "string"
          },
          "value": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "integer"
              }
            ],
            "enum": [
              "closed_booked_outside_of_recall",
              "closed_booking_created",
              "closed_by_staff",
              "closed_by_system_expired",
              "draft",
              "opted_out",
              "pending",
              "rejected_by_customer",
              "snoozed"
            ],
            "title": "Value",
            "type": "string"
          }
        },
        "required": [
          "value",
          "label"
        ],
        "title": "ChoiceRecord_BookingProposalStatus_",
        "type": "object"
      },
      "ChoiceRecord_BookingProposalType_": {
        "properties": {
          "label": {
            "title": "Label",
            "type": "string"
          },
          "value": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "integer"
              }
            ],
            "enum": [
              "recall_proposal_tire_hotel",
              "recall_proposal_wheel_change",
              "tire_change_at_customer",
              "tire_change_at_storage_facility"
            ],
            "title": "Value",
            "type": "string"
          }
        },
        "required": [
          "value",
          "label"
        ],
        "title": "ChoiceRecord_BookingProposalType_",
        "type": "object"
      },
      "ChoiceRecord_BookingStatus_": {
        "properties": {
          "label": {
            "title": "Label",
            "type": "string"
          },
          "value": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "integer"
              }
            ],
            "enum": [
              0,
              1,
              2,
              3,
              4,
              5,
              6,
              7
            ],
            "title": "Value",
            "type": "integer"
          }
        },
        "required": [
          "value",
          "label"
        ],
        "title": "ChoiceRecord_BookingStatus_",
        "type": "object"
      },
      "ChoiceRecord_CapacityContributionStatus_": {
        "properties": {
          "label": {
            "title": "Label",
            "type": "string"
          },
          "value": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "integer"
              }
            ],
            "enum": [
              0,
              1,
              2,
              3,
              4,
              5,
              6,
              7
            ],
            "title": "Value",
            "type": "integer"
          }
        },
        "required": [
          "value",
          "label"
        ],
        "title": "ChoiceRecord_CapacityContributionStatus_",
        "type": "object"
      },
      "ChoiceRecord_CarTpmsType_": {
        "properties": {
          "label": {
            "title": "Label",
            "type": "string"
          },
          "value": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "integer"
              }
            ],
            "enum": [
              "direct",
              "indirect",
              "unknown"
            ],
            "title": "Value",
            "type": "string"
          }
        },
        "required": [
          "value",
          "label"
        ],
        "title": "ChoiceRecord_CarTpmsType_",
        "type": "object"
      },
      "ChoiceRecord_CarWheelPosition_": {
        "properties": {
          "label": {
            "title": "Label",
            "type": "string"
          },
          "value": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "integer"
              }
            ],
            "enum": [
              0,
              1,
              2,
              3,
              4,
              5,
              6,
              7,
              8,
              9,
              10,
              11,
              12,
              13,
              14,
              15,
              16,
              17
            ],
            "title": "Value",
            "type": "integer"
          }
        },
        "required": [
          "value",
          "label"
        ],
        "title": "ChoiceRecord_CarWheelPosition_",
        "type": "object"
      },
      "ChoiceRecord_LanguageCode_": {
        "properties": {
          "label": {
            "title": "Label",
            "type": "string"
          },
          "value": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "integer"
              }
            ],
            "enum": [
              "da",
              "de",
              "en-us",
              "fr",
              "nb",
              "nl",
              "sv"
            ],
            "title": "Value",
            "type": "string"
          }
        },
        "required": [
          "value",
          "label"
        ],
        "title": "ChoiceRecord_LanguageCode_",
        "type": "object"
      },
      "ChoiceRecord_OrderPaymentStatus_": {
        "properties": {
          "label": {
            "title": "Label",
            "type": "string"
          },
          "value": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "integer"
              }
            ],
            "enum": [
              "cancelled",
              "disputed",
              "overpaid",
              "paid",
              "paid_by_invoice",
              "paid_external",
              "partially_paid",
              "partially_refunded",
              "refunded",
              "unpaid"
            ],
            "title": "Value",
            "type": "string"
          }
        },
        "required": [
          "value",
          "label"
        ],
        "title": "ChoiceRecord_OrderPaymentStatus_",
        "type": "object"
      },
      "ChoiceRecord_OrderStatus_": {
        "properties": {
          "label": {
            "title": "Label",
            "type": "string"
          },
          "value": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "integer"
              }
            ],
            "enum": [
              3,
              0,
              4,
              2,
              5,
              6,
              1,
              7
            ],
            "title": "Value",
            "type": "integer"
          }
        },
        "required": [
          "value",
          "label"
        ],
        "title": "ChoiceRecord_OrderStatus_",
        "type": "object"
      },
      "ChoiceRecord_ServiceCategoryType_": {
        "properties": {
          "label": {
            "title": "Label",
            "type": "string"
          },
          "value": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "integer"
              }
            ],
            "enum": [
              0,
              1,
              2,
              3,
              4,
              5,
              6
            ],
            "title": "Value",
            "type": "integer"
          }
        },
        "required": [
          "value",
          "label"
        ],
        "title": "ChoiceRecord_ServiceCategoryType_",
        "type": "object"
      },
      "ChoiceRecord_ServiceDepartmentStatus_": {
        "properties": {
          "label": {
            "title": "Label",
            "type": "string"
          },
          "value": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "integer"
              }
            ],
            "enum": [
              "active",
              "draft"
            ],
            "title": "Value",
            "type": "string"
          }
        },
        "required": [
          "value",
          "label"
        ],
        "title": "ChoiceRecord_ServiceDepartmentStatus_",
        "type": "object"
      },
      "ChoiceRecord_StorageObjectEventType_": {
        "properties": {
          "label": {
            "title": "Label",
            "type": "string"
          },
          "value": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "integer"
              }
            ],
            "enum": [
              "DELIVERED_TO_CUSTOMER",
              "DETAILS_CHANGED",
              "DISCARDED",
              "EVENT_RETRACTED",
              "INTERNAL_DELIVERY",
              "INTERNAL_PICKUP",
              "LABEL_PRINTED",
              "LABEL_REPLACED",
              "LOADED_ONTO_VEHICLE",
              "LOST",
              "MOUNTED_ON_CAR",
              "MOUNTED_TIRE_ON_WHEEL",
              "PICKED_UP_BY_CUSTOMER",
              "PICKED_UP_FROM_CUSTOMER",
              "PICKED_UP_FROM_SUPPLIER"
            ],
            "title": "Value",
            "type": "string"
          }
        },
        "required": [
          "value",
          "label"
        ],
        "title": "ChoiceRecord_StorageObjectEventType_",
        "type": "object"
      },
      "ChoiceRecord_StorageObjectGroupType_": {
        "properties": {
          "label": {
            "title": "Label",
            "type": "string"
          },
          "value": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "integer"
              }
            ],
            "enum": [
              "car_tires",
              "car_wheels"
            ],
            "title": "Value",
            "type": "string"
          }
        },
        "required": [
          "value",
          "label"
        ],
        "title": "ChoiceRecord_StorageObjectGroupType_",
        "type": "object"
      },
      "ChoiceRecord_StorageUnitType_": {
        "properties": {
          "label": {
            "title": "Label",
            "type": "string"
          },
          "value": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "integer"
              }
            ],
            "enum": [
              "LOADING_DOCK",
              "STORAGE"
            ],
            "title": "Value",
            "type": "string"
          }
        },
        "required": [
          "value",
          "label"
        ],
        "title": "ChoiceRecord_StorageUnitType_",
        "type": "object"
      },
      "ChoiceRecord_TemporaryStateType_": {
        "properties": {
          "label": {
            "title": "Label",
            "type": "string"
          },
          "value": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "integer"
              }
            ],
            "enum": [
              "payment_failed",
              "sms_login_temporarily_disabled",
              "twilio_phone_fraud_blocked"
            ],
            "title": "Value",
            "type": "string"
          }
        },
        "required": [
          "value",
          "label"
        ],
        "title": "ChoiceRecord_TemporaryStateType_",
        "type": "object"
      },
      "ChoiceRecord_TimeZone_": {
        "properties": {
          "label": {
            "title": "Label",
            "type": "string"
          },
          "value": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "integer"
              }
            ],
            "enum": [
              "America/Edmonton",
              "America/Halifax",
              "America/St_Johns",
              "America/Toronto",
              "America/Vancouver",
              "America/Winnipeg",
              "Europe/Amsterdam",
              "Europe/Berlin",
              "Europe/Oslo",
              "Europe/Paris",
              "Europe/Stockholm",
              "UTC"
            ],
            "title": "Value",
            "type": "string"
          }
        },
        "required": [
          "value",
          "label"
        ],
        "title": "ChoiceRecord_TimeZone_",
        "type": "object"
      },
      "ChoiceRecord_UserGroupType_": {
        "properties": {
          "label": {
            "title": "Label",
            "type": "string"
          },
          "value": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "integer"
              }
            ],
            "enum": [
              "enterprise_group",
              "group",
              "operation_layer",
              "organization",
              "personal",
              "service_department",
              "service_organization"
            ],
            "title": "Value",
            "type": "string"
          }
        },
        "required": [
          "value",
          "label"
        ],
        "title": "ChoiceRecord_UserGroupType_",
        "type": "object"
      },
      "ChoiceRecord_UserRole_": {
        "properties": {
          "label": {
            "title": "Label",
            "type": "string"
          },
          "value": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "integer"
              }
            ],
            "enum": [
              "customer",
              "manager",
              "staff",
              "superuser",
              "worker"
            ],
            "title": "Value",
            "type": "string"
          }
        },
        "required": [
          "value",
          "label"
        ],
        "title": "ChoiceRecord_UserRole_",
        "type": "object"
      },
      "ConnectedWheelPickupRecordPartner": {
        "description": "Pickup attempt with the scan a worker made on that visit.",
        "properties": {
          "address": {
            "$ref": "#/components/schemas/AddressRecord",
            "description": "Pickup address."
          },
          "booking": {
            "$ref": "#/components/schemas/BookingMinimalRecord",
            "description": "Pickup visit, independent of its signature document."
          },
          "car": {
            "$ref": "#/components/schemas/CarRecordMinimal",
            "description": "Car whose wheels are collected."
          },
          "failure_reasons": {
            "description": "Customer-safe failure explanations.",
            "items": {
              "$ref": "#/components/schemas/UnableToCompleteCustomerRecord"
            },
            "title": "Failure Reasons",
            "type": "array"
          },
          "is_latest_attempt": {
            "description": "Newest non-cancelled pickup for this car.",
            "title": "Is Latest Attempt",
            "type": "boolean"
          },
          "outcome": {
            "$ref": "#/components/schemas/WheelPickupOutcome",
            "description": "Service outcome, separate from booking completion."
          },
          "pickup_scan": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/StorageObjectEventRecord"
              }
            ],
            "description": "Live pickup scan of this customer's wheel set made during the visit. On a failed pickup it contradicts the failure until someone undoes the scan or reopens the pickup."
          },
          "tire_hotel_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "Current tire hotel contract owned by this booking customer, if any.",
            "title": "Tire Hotel Id"
          },
          "wheels_received": {
            "description": "Wheels of this customer currently in our storage custody.",
            "title": "Wheels Received",
            "type": "boolean"
          }
        },
        "required": [
          "booking",
          "car",
          "address",
          "outcome",
          "failure_reasons",
          "tire_hotel_id",
          "is_latest_attempt",
          "wheels_received",
          "pickup_scan"
        ],
        "title": "ConnectedWheelPickupRecordPartner",
        "type": "object"
      },
      "ContactDetailsRecord": {
        "properties": {
          "email": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Email"
          },
          "phone_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "phone_number",
          "email"
        ],
        "title": "ContactDetailsRecord",
        "type": "object"
      },
      "CoordinateRecord": {
        "properties": {
          "latitude": {
            "description": "Latitude coordinate.",
            "maximum": 90,
            "minimum": -90,
            "title": "Latitude",
            "type": "number"
          },
          "longitude": {
            "description": "Longitude coordinate.",
            "maximum": 180,
            "minimum": -180,
            "title": "Longitude",
            "type": "number"
          }
        },
        "required": [
          "latitude",
          "longitude"
        ],
        "title": "CoordinateRecord",
        "type": "object"
      },
      "Country": {
        "description": "Countries we operate in.\n\nBased on\nhttps://www.wikiwand.com/en/articles/ISO_3166-1_alpha-2\n\nUse pydantic type\nhttps://docs.pydantic.dev/latest/api/pydantic_extra_types_country/#pydantic_extra_types.country.CountryAlpha2\nto enforce this where possible.\n\nNot to be confused with countries a customer or worker\nis from. That can be any..\n\nExample:\nCountry.NOR.label = \"Norway\"\nCountry.NOR = \"NO\"",
        "enum": [
          "DE",
          "FR",
          "NL",
          "NO",
          "SE"
        ],
        "title": "Country",
        "type": "string",
        "x-enum-descriptions": [
          "Norway",
          "Sweden",
          "Germany",
          "Netherlands",
          "France"
        ]
      },
      "CountryRecord": {
        "description": "Country choice for API output (code + display name).\n\nUsed wherever we expose a country so the UI can show code and label.",
        "properties": {
          "code": {
            "$ref": "#/components/schemas/Country",
            "description": "ISO country code (e.g. NO, SE)."
          },
          "name": {
            "description": "Display name of the country.",
            "title": "Name",
            "type": "string"
          }
        },
        "required": [
          "code",
          "name"
        ],
        "title": "CountryRecord",
        "type": "object"
      },
      "CouponGroupRecordList": {
        "description": "Minimal record for list view of CouponGroup.",
        "properties": {
          "created_at": {
            "description": "The date and time the database model was created",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Created At",
            "type": "string"
          },
          "created_by": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/UserRecordMinimal"
              }
            ],
            "default": null,
            "description": "The user who created the record."
          },
          "description_public": {
            "description": "The description of the coupon group which will be shown to customers",
            "title": "Description Public",
            "type": "string"
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "name_internal": {
            "description": "The internal name of the coupon group",
            "title": "Name Internal",
            "type": "string"
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The date and time the database model was last updated",
            "title": "Updated At"
          },
          "updated_by": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/UserRecordMinimal"
              }
            ],
            "default": null,
            "description": "The user who updated the record."
          }
        },
        "required": [
          "id",
          "created_at",
          "description_public",
          "name_internal"
        ],
        "title": "CouponGroupRecordList",
        "type": "object"
      },
      "CouponRecord": {
        "description": "Record for Coupon.",
        "properties": {
          "brand": {
            "$ref": "#/components/schemas/BrandOption",
            "description": "The brand this coupon applies under (denormalized from campaign/referral)."
          },
          "campaign": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/CampaignRecordList"
              }
            ],
            "default": null,
            "description": "The campaign that this coupon was created from, if any."
          },
          "coupon_template": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/CouponTemplateRecord"
              }
            ],
            "default": null,
            "description": "The coupon template that this coupon was created from, if it was created from a template."
          },
          "created_at": {
            "description": "The date and time the database model was created",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Created At",
            "type": "string"
          },
          "created_by": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/UserRecordMinimal"
              }
            ],
            "default": null,
            "description": "The user who created the record."
          },
          "description_public": {
            "description": "The description of the coupon which will be shown to customers",
            "title": "Description Public",
            "type": "string"
          },
          "discount": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/MoneyRecord"
              }
            ],
            "default": null,
            "description": "The discount of the coupon"
          },
          "discount_percentage": {
            "anyOf": [
              {
                "ge": 0,
                "le": 100,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The discount of the coupon as a percentage",
            "title": "Discount Percentage"
          },
          "expires_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The expiry date of the coupon, if any",
            "title": "Expires At"
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "is_active": {
            "description": "Whether the coupon is currently eligible to apply (not expired, not revoked, uses remaining).",
            "title": "Is Active",
            "type": "boolean"
          },
          "max_uses": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Maximum number of uses (null = forever).",
            "title": "Max Uses"
          },
          "name_internal": {
            "description": "The internal name of the coupon",
            "title": "Name Internal",
            "type": "string"
          },
          "name_public": {
            "description": "The public name of the coupon",
            "title": "Name Public",
            "type": "string"
          },
          "paired_coupon": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/CouponRecordMinimal"
              }
            ],
            "default": null,
            "description": ""
          },
          "received_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The date when the coupon was received",
            "title": "Received At"
          },
          "referral": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/ReferralRecordList"
              }
            ],
            "default": null,
            "description": "The referral that this coupon was created from. None if the coupon was created from a reward coupon."
          },
          "revoked_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "When the coupon was revoked (remaining uses forced to zero).",
            "title": "Revoked At"
          },
          "spent_uses": {
            "description": "Number of non-refunded CouponUse ledger rows.",
            "title": "Spent Uses",
            "type": "integer"
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The date and time the database model was last updated",
            "title": "Updated At"
          },
          "updated_by": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/UserRecordMinimal"
              }
            ],
            "default": null,
            "description": "The user who updated the record."
          },
          "used_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Last time the coupon was spent (display only; use spent_uses for eligibility).",
            "title": "Used At"
          },
          "user": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/UserRecord"
              }
            ],
            "default": null,
            "description": "The user that redeemed this coupon. None if the coupon was created from a reward coupon."
          },
          "user_group": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/UserGroupRecord"
              }
            ],
            "default": null,
            "description": "The user group that owns this coupon"
          },
          "uses_remaining": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Remaining uses when max_uses is set; null when forever.",
            "title": "Uses Remaining"
          },
          "valid_for_sales_item_tags": {
            "description": "Sales item tags this coupon may discount. A line matches if its sales item is listed or currently has any of these tags.",
            "items": {
              "$ref": "#/components/schemas/SalesItemTagRecordMinimal"
            },
            "title": "Valid For Sales Item Tags",
            "type": "array"
          },
          "valid_for_sales_items": {
            "description": "Sales items this coupon may discount. When none are linked and no tags are linked, the coupon applies to any booking line.",
            "items": {
              "$ref": "#/components/schemas/SalesItemRecordMinimalList"
            },
            "title": "Valid For Sales Items",
            "type": "array"
          }
        },
        "required": [
          "id",
          "created_at",
          "brand",
          "description_public",
          "is_active",
          "name_internal",
          "name_public",
          "spent_uses",
          "valid_for_sales_items",
          "valid_for_sales_item_tags"
        ],
        "title": "CouponRecord",
        "type": "object"
      },
      "CouponRecordArray": {
        "items": {
          "$ref": "#/components/schemas/CouponRecord"
        },
        "properties": {},
        "type": "array"
      },
      "CouponRecordMinimal": {
        "description": "Minimal coupon record for nested references (paired coupons).",
        "properties": {
          "created_at": {
            "description": "The date and time the database model was created",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Created At",
            "type": "string"
          },
          "discount": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/MoneyRecord"
              }
            ],
            "default": null,
            "description": "The discount of the coupon"
          },
          "discount_percentage": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The discount of the coupon as a percentage",
            "title": "Discount Percentage"
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "name_internal": {
            "description": "The internal name of the coupon",
            "title": "Name Internal",
            "type": "string"
          },
          "name_public": {
            "description": "The public name of the coupon",
            "title": "Name Public",
            "type": "string"
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The date and time the database model was last updated",
            "title": "Updated At"
          }
        },
        "required": [
          "id",
          "created_at",
          "name_internal",
          "name_public"
        ],
        "title": "CouponRecordMinimal",
        "type": "object"
      },
      "CouponTemplateRecord": {
        "description": "Record for CouponTemplate.",
        "properties": {
          "coupon_groups": {
            "description": "The coupon groups that this CouponTemplate is included in",
            "items": {
              "$ref": "#/components/schemas/CouponGroupRecordList"
            },
            "title": "Coupon Groups",
            "type": "array"
          },
          "created_at": {
            "description": "The date and time the database model was created",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Created At",
            "type": "string"
          },
          "created_by": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/UserRecordMinimal"
              }
            ],
            "default": null,
            "description": "The user who created the record."
          },
          "description_public": {
            "description": "The description of the CouponTemplate",
            "title": "Description Public",
            "type": "string"
          },
          "discount": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/MoneyRecord"
              }
            ],
            "default": null,
            "description": ""
          },
          "discount_percentage": {
            "anyOf": [
              {
                "ge": 0,
                "le": 100,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The discount of the CouponTemplate as a percentage",
            "title": "Discount Percentage"
          },
          "expires_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The expiry date of the CouponTemplate, if any",
            "title": "Expires At"
          },
          "expiry_days_after_receiving": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The number of days until the CouponTemplate expires for a Coupon after receiving it",
            "title": "Expiry Days After Receiving"
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "name_internal": {
            "description": "The internal name of the CouponTemplate",
            "title": "Name Internal",
            "type": "string"
          },
          "name_public": {
            "description": "The public name of the CouponTemplate",
            "title": "Name Public",
            "type": "string"
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The date and time the database model was last updated",
            "title": "Updated At"
          },
          "updated_by": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/UserRecordMinimal"
              }
            ],
            "default": null,
            "description": "The user who updated the record."
          },
          "valid_for_sales_item_tags": {
            "description": "Sales item tags issued coupons may discount. A line matches if its sales item is listed or currently has any of these tags.",
            "items": {
              "$ref": "#/components/schemas/SalesItemTagRecordMinimal"
            },
            "title": "Valid For Sales Item Tags",
            "type": "array"
          },
          "valid_for_sales_items": {
            "description": "Sales items issued coupons may discount. When none are linked and no tags are linked, issued coupons apply to any booking line.",
            "items": {
              "$ref": "#/components/schemas/SalesItemRecordMinimalList"
            },
            "title": "Valid For Sales Items",
            "type": "array"
          }
        },
        "required": [
          "id",
          "created_at",
          "coupon_groups",
          "description_public",
          "name_internal",
          "name_public",
          "valid_for_sales_items",
          "valid_for_sales_item_tags"
        ],
        "title": "CouponTemplateRecord",
        "type": "object"
      },
      "CreditMemoRecord": {
        "description": "Credit memo with referenced lines and optional receipt/PDF. Exposes what was credited and proof (receipt, PDF) for accounting and customer display.",
        "properties": {
          "created_at": {
            "description": "The date and time the database model was created",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Created At",
            "type": "string"
          },
          "credit_memo_number": {
            "description": "Sequential credit memo number.",
            "title": "Credit Memo Number",
            "type": "integer"
          },
          "credited_amount": {
            "$ref": "#/components/schemas/MoneyRecord",
            "description": "Total amount credited."
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "order_lines": {
            "description": "Order lines included in this credit memo.",
            "items": {
              "$ref": "#/components/schemas/OrderLineRecordCustomer"
            },
            "title": "Order Lines",
            "type": "array"
          },
          "order_receipt": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OrderReceiptMinimalRecord"
              }
            ],
            "default": null,
            "description": "Original receipt linked to this credit memo, if any."
          },
          "pdf_document": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/PDFDocumentRecordCustomer"
              }
            ],
            "default": null,
            "description": "Credit memo PDF for download, if generated."
          },
          "slug": {
            "description": "Unique slug for URLs and reference.",
            "title": "Slug",
            "type": "string"
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The date and time the database model was last updated",
            "title": "Updated At"
          }
        },
        "required": [
          "id",
          "created_at",
          "credit_memo_number",
          "credited_amount",
          "order_lines",
          "slug"
        ],
        "title": "CreditMemoRecord",
        "type": "object"
      },
      "Currency": {
        "description": "Supported currencies following ISO 4217.\n\nMajor unit: standard name (dollar, euro, krone). Minor unit: smallest\ndivision (cent, øre). Conversion uses minor_unit_exponent: amount in minor\nunits = major * (10 ** exponent). USD/EUR/NOK/SEK/CAD use 2 (100 minor\nper major); JPY uses 0 (no minor unit); KWD uses 3 (1000 fils per dinar).",
        "enum": [
          "CAD",
          "EUR",
          "NOK",
          "SEK",
          "USD"
        ],
        "title": "Currency",
        "type": "string",
        "x-enum-descriptions": [
          "Norwegian krone",
          "Swedish krona",
          "Euro",
          "Canadian dollar",
          "United States dollar"
        ]
      },
      "CurrencyRecord": {
        "properties": {
          "label": {
            "title": "Label",
            "type": "string"
          },
          "value": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "integer"
              }
            ],
            "enum": [
              "CAD",
              "EUR",
              "NOK",
              "SEK",
              "USD"
            ],
            "title": "Value",
            "type": "string"
          }
        },
        "required": [
          "value",
          "label"
        ],
        "title": "CurrencyRecord",
        "type": "object"
      },
      "CustomerContractStatus": {
        "description": "Lifecycle of a customer commercial contract.\n\nEach member carries a description (3-tuple) for staff filter hover copy.\nTransitions and renewable statuses are enforced in customer_contract\nservices.",
        "enum": [
          "active",
          "cancelled",
          "pending",
          "terminated"
        ],
        "title": "CustomerContractStatus",
        "type": "string",
        "x-enum-descriptions": [
          "Pending",
          "Active",
          "Terminated",
          "Canceled"
        ],
        "x-enum-member-descriptions": [
          "Sold or created, but not yet in force. The commercial period has not started.",
          "In force for the current commercial period. The tire hotel is live and billable.",
          "Ended by agreement or policy. Not reactivated in place; a new contract is required.",
          "Voided before or without completing a commercial period. Cannot be resumed."
        ]
      },
      "CustomerGroupType": {
        "description": "Types of customer groups that can be listed.\nCustomer can be in one of these.",
        "enum": [
          "group",
          "organization",
          "personal"
        ],
        "title": "CustomerGroupType",
        "type": "string",
        "x-enum-descriptions": [
          "Organization",
          "Group",
          "Personal"
        ],
        "x-enum-member-descriptions": [
          "A company a customer can be listed under.",
          "Several users listed together, and the group is not a company.",
          "A customer listing for one user only."
        ]
      },
      "CustomerLoginMethod": {
        "description": "One sign-in method the customer app offers on a brand's shop.\n\nThe member order is the display order the customer app uses. Every brand\nhas phone sign-in, so it is the default; a brand opts into the rest.",
        "enum": [
          "email",
          "passkey",
          "phone"
        ],
        "title": "CustomerLoginMethod",
        "type": "string",
        "x-enum-descriptions": [
          "Phone",
          "Email",
          "Passkey"
        ],
        "x-enum-member-descriptions": [
          "Sign-in with a phone number. Every brand has it, so it is the default.",
          "Sign-in with an email address. A brand opts in; it is not on unless chosen.",
          "Sign-in with a passkey. A brand opts in, and it is shown after phone and email."
        ]
      },
      "CustomerRefundRecord": {
        "description": "Customer-visible refund state without provider references or internal notes.",
        "properties": {
          "amount": {
            "$ref": "#/components/schemas/MoneyRecord",
            "description": "Refund amount."
          },
          "id": {
            "description": "Refund identifier.",
            "title": "Id",
            "type": "integer"
          },
          "is_credit_transfer": {
            "description": "Credit applied to other services instead of paid out.",
            "title": "Is Credit Transfer",
            "type": "boolean"
          },
          "status": {
            "$ref": "#/components/schemas/RefundStatus",
            "description": "Actual refund processing status."
          }
        },
        "required": [
          "id",
          "amount",
          "status",
          "is_credit_transfer"
        ],
        "title": "CustomerRefundRecord",
        "type": "object"
      },
      "DeliveryWindowEarliestDateOutputRecord": {
        "description": "The earliest available delivery date and the reason for it.",
        "properties": {
          "date": {
            "anyOf": [
              {
                "format": "date",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Earliest available delivery date.",
            "title": "Date"
          },
          "reason": {
            "$ref": "#/components/schemas/DeliveryWindowEarliestDateReason",
            "description": "Reason code explaining why this is the earliest available date."
          }
        },
        "required": [
          "reason"
        ],
        "title": "DeliveryWindowEarliestDateOutputRecord",
        "type": "object"
      },
      "DeliveryWindowEarliestDateReason": {
        "description": "Reason code explaining why a given date is the earliest available.",
        "enum": [
          "no_capacity_area",
          "no_capacity_areas_found",
          "no_capacity_contribution",
          "tomorrow",
          "wheel_pickup_at_other_address_lead_time",
          "wheel_storage_inventory_lead_time"
        ],
        "title": "DeliveryWindowEarliestDateReason",
        "type": "string",
        "x-enum-descriptions": [
          "Tomorrow is the earliest possible delivery date",
          "No capacity area available before the date",
          "No capacity areas found",
          "Capacity contribution not available before the date",
          "Inventory lead time required for wheel delivery from storage",
          "Lead time required when picking up wheels at another address"
        ],
        "x-enum-member-descriptions": [
          "Nothing later applies. Tomorrow is the earliest a new mobile booking can be delivered.",
          "The first capacity area starts after tomorrow, so no earlier date is available.",
          "No capacity area exists for this lookup, so there is no date to offer.",
          "No worker contribution covers this address until a later day, and that day becomes the earliest date.",
          "Wheels must come out of storage, and that facility lead time is later than capacity and any pickup.",
          "Wheels must be picked up at another address, and that lead time is the latest constraint."
        ]
      },
      "DeliveryWindowEarliestDateRecordInput": {
        "description": "Request for the earliest available delivery date for a new booking.",
        "properties": {
          "address_id": {
            "description": "Delivery address (resolved from address_id).",
            "title": "Address Id",
            "type": "integer"
          },
          "brand_domain": {
            "description": "Brand (resolved from brand_domain).",
            "title": "Brand Domain",
            "type": "string"
          },
          "cars": {
            "description": "Cars with their selected sales items.",
            "items": {
              "$ref": "#/components/schemas/DeliveryWindowEarliestDateRecordInputCar"
            },
            "title": "Cars",
            "type": "array"
          }
        },
        "required": [
          "address_id",
          "brand_domain",
          "cars"
        ],
        "title": "DeliveryWindowEarliestDateRecordInput",
        "type": "object"
      },
      "DeliveryWindowEarliestDateRecordInputCar": {
        "description": "A car and its selected sales items for an earliest-date lookup.",
        "properties": {
          "license_plate": {
            "$ref": "#/components/schemas/LicensePlate",
            "description": "License plate of the car for delivery."
          },
          "selected_sales_item_ids": {
            "description": "Sales items selected for this car (resolved from selected_sales_item_ids).",
            "items": {
              "type": "integer"
            },
            "title": "Selected Sales Item Ids",
            "type": "array"
          },
          "wheel_pickup": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/WheelPickupRecord"
              }
            ],
            "default": null,
            "description": "Wheel pickup details when wheels must be picked up."
          }
        },
        "required": [
          "license_plate",
          "selected_sales_items"
        ],
        "title": "DeliveryWindowEarliestDateRecordInputCar",
        "type": "object"
      },
      "DiscountType": {
        "description": "Type of discount applied to an order line.\n\nDetermines how the discount was calculated and whether it has a source\nmodel to recalculate from.",
        "enum": [
          "AD_HOC",
          "FIXED_AMOUNT",
          "PERCENTAGE"
        ],
        "title": "DiscountType",
        "type": "string",
        "x-enum-descriptions": [
          "Percentage",
          "Fixed amount",
          "Ad-hoc"
        ],
        "x-enum-member-descriptions": [
          "A share of the line, taken from a source that can be recalculated. Not a fixed sum and not typed in ad hoc.",
          "A fixed sum off the line, taken from a source that can be recalculated. Not a percentage and not typed in ad hoc.",
          "Entered by a person with a stated reason. There is no source to recalculate it from."
        ]
      },
      "EndOwnershipReason": {
        "description": "Reason a user group's ownership of a car ended.",
        "enum": [
          "moved_to_shared_group",
          "never_owned",
          "other",
          "sold",
          "wrecked_scrapped"
        ],
        "title": "EndOwnershipReason",
        "type": "string",
        "x-enum-descriptions": [
          "Sold",
          "Wrecked / scrapped",
          "Never owned (not mine)",
          "Other",
          "Moved to a shared group"
        ],
        "x-enum-member-descriptions": [
          "The group sold the car, so this ownership ended.",
          "The car was wrecked or scrapped, so this ownership ended.",
          "The group says the car was never theirs. The link was a mistake, not a sale or a scrap.",
          "Ownership ended for a reason that is not a sale, a scrap, or a mistaken link.",
          "The people who both owned the car put that ownership on a shared group. This personal ownership ended."
        ]
      },
      "EnergyClassEU": {
        "enum": [
          "A",
          "B",
          "C",
          "D",
          "E",
          "F",
          "G"
        ],
        "title": "EnergyClassEU",
        "type": "string",
        "x-enum-descriptions": [
          "A",
          "B",
          "C",
          "D",
          "E",
          "F",
          "G"
        ],
        "x-enum-member-descriptions": [
          "Most efficient grade on the A-to-G EU energy label for a tire.",
          "One step less efficient than A on the A-to-G EU energy label.",
          "Third grade on the A-to-G EU energy label, less efficient than A and B.",
          "Middle grade on the A-to-G EU energy label.",
          "Third-least efficient grade on the A-to-G EU energy label, ahead of only F and G.",
          "Second-worst grade on the A-to-G EU energy label.",
          "Least efficient grade on the A-to-G EU energy label."
        ]
      },
      "EontyreDetailRecord": {
        "description": "EonTyre booking details stored on a proposal after publish.",
        "properties": {
          "adapter_pull_detail_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Preferred AdapterIOResult id for the partner pull-detail page (failed step first, else first step).",
            "title": "Adapter Pull Detail Id"
          },
          "adapter_pull_overall_status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Rollup of inbound pull steps: failed, success, pending, or partial.",
            "title": "Adapter Pull Overall Status"
          },
          "adapter_push_detail_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Preferred AdapterIOResult id for the partner push-detail page (failed step first, else first step).",
            "title": "Adapter Push Detail Id"
          },
          "adapter_push_overall_status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Rollup of outbound push steps: failed, success, pending, or partial.",
            "title": "Adapter Push Overall Status"
          },
          "adapter_push_steps": {
            "description": "Outbound adapter push steps for this booking.",
            "items": {
              "$ref": "#/components/schemas/AdapterIOStepSummaryRecord"
            },
            "title": "Adapter Push Steps",
            "type": "array"
          },
          "created_via_adapter_pull": {
            "default": false,
            "description": "True when this Navio booking was created by adapter inbound pull (adapter I/O pull/create chain on the booking subject).",
            "title": "Created Via Adapter Pull",
            "type": "boolean"
          },
          "customer_group_type": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/CustomerGroupType"
              }
            ],
            "default": null,
            "description": "Whether the EonTyre customer is personal or organization."
          },
          "customer_number": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "EonTyre customer number.",
            "title": "Customer Number"
          },
          "driver_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "EonTyre driver customer ID.",
            "title": "Driver Id"
          },
          "eontyre_booking_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Id for the external booking in the EonTyre system.",
            "title": "Eontyre Booking Id"
          },
          "eontyre_booking_number": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Number for the external booking in the EonTyre system.",
            "title": "Eontyre Booking Number"
          },
          "eontyre_booking_public_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Public customer-facing booking URL in EonTyre.",
            "title": "Eontyre Booking Public Url"
          },
          "eontyre_booking_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Direct link to EonTyre bookings view filtered by license plate.",
            "title": "Eontyre Booking Url"
          },
          "eontyre_car_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Id for the external car in the EonTyre system.",
            "title": "Eontyre Car Id"
          },
          "eontyre_car_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Direct link to the car detail page in EonTyre.",
            "title": "Eontyre Car Url"
          },
          "eontyre_customer_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Id for the external customer in the EonTyre system.",
            "title": "Eontyre Customer Id"
          },
          "eontyre_customer_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Direct link to the customer detail page in EonTyre.",
            "title": "Eontyre Customer Url"
          },
          "eontyre_driver_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Direct link to the driver detail page in EonTyre.",
            "title": "Eontyre Driver Url"
          },
          "eontyre_order_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Direct link to the order in EonTyre.",
            "title": "Eontyre Order Url"
          },
          "eontyre_product_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Id for the external product in the EonTyre system.",
            "title": "Eontyre Product Id"
          },
          "eontyre_product_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Direct link to the product/service edit page in EonTyre.",
            "title": "Eontyre Product Url"
          },
          "eontyre_slot_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Id for the external capacity slot in the EonTyre system.",
            "title": "Eontyre Slot Id"
          },
          "eontyre_tyre_hotel_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Id for the external tyre hotel in the EonTyre system.",
            "title": "Eontyre Tyre Hotel Id"
          },
          "eontyre_tyre_hotel_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Direct link to the tyre hotel record in EonTyre.",
            "title": "Eontyre Tyre Hotel Url"
          },
          "from_eontyre_env": {
            "$ref": "#/components/schemas/EontyreEnv",
            "description": "EonTyre environment (test or prod)."
          },
          "in_stock_seasons": {
            "default": "",
            "description": "Raw EonTyre in-stock seasons string (e.g. 'Vinter 2024/2025').",
            "title": "In Stock Seasons",
            "type": "string"
          },
          "location": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/EontyreLocationId"
              }
            ],
            "default": null,
            "description": "EonTyre location identifier."
          },
          "location_id": {
            "default": "",
            "description": "EonTyre location ID for the API.",
            "title": "Location Id",
            "type": "string"
          },
          "order_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Primary EonTyre order ID.",
            "title": "Order Id"
          },
          "orders": {
            "description": "Open EonTyre orders for this proposal.",
            "items": {
              "$ref": "#/components/schemas/EontyreProposalOrderRecord"
            },
            "title": "Orders",
            "type": "array"
          },
          "secret": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "EonTyre booking secret for authentication. Set after the proposal is published to EonTyre.",
            "title": "Secret"
          },
          "site_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "EonTyre site ID for the tyre hotel.",
            "title": "Site Id"
          },
          "storage_location_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "EonTyre storage location ID.",
            "title": "Storage Location Id"
          },
          "ticket": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "EonTyre booking ticket identifier. Set after the proposal is published to EonTyre.",
            "title": "Ticket"
          },
          "time_slot_ends_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "End of the booked EonTyre time slot.",
            "title": "Time Slot Ends At"
          },
          "time_slot_starts_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Start of the booked EonTyre time slot.",
            "title": "Time Slot Starts At"
          },
          "wheel_change_location_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "EonTyre wheel change location ID.",
            "title": "Wheel Change Location Id"
          },
          "wheel_change_location_name": {
            "default": "",
            "description": "EonTyre wheel change location name.",
            "title": "Wheel Change Location Name",
            "type": "string"
          }
        },
        "required": [
          "from_eontyre_env"
        ],
        "title": "EontyreDetailRecord",
        "type": "object"
      },
      "EontyreEnv": {
        "description": "Target EonTyre API environment.",
        "enum": [
          "prod",
          "test"
        ],
        "title": "EontyreEnv",
        "type": "string",
        "x-enum-descriptions": [
          "Test",
          "Prod"
        ],
        "x-enum-member-descriptions": [
          "Requests go to the EonTyre test API, not the live one.",
          "Requests go to the live EonTyre API."
        ]
      },
      "EontyreLocationId": {
        "description": "EonTyre workshop location identifiers.",
        "enum": [
          "leangen",
          "rosten"
        ],
        "title": "EontyreLocationId",
        "type": "string",
        "x-enum-descriptions": [
          "Rosten",
          "Leangen"
        ],
        "x-enum-member-descriptions": [
          "The EonTyre workshop at Rosten.",
          "The EonTyre workshop at Leangen."
        ]
      },
      "EontyreProposalOrderRecord": {
        "description": "EonTyre open order linked to a proposal booking.",
        "properties": {
          "gross_amount": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/MoneyRecord"
              }
            ],
            "default": null,
            "description": "Gross amount from the EonTyre order."
          },
          "is_billed": {
            "default": false,
            "description": "Whether the order is billed.",
            "title": "Is Billed",
            "type": "boolean"
          },
          "is_cancelled": {
            "default": false,
            "description": "Whether the order is cancelled.",
            "title": "Is Cancelled",
            "type": "boolean"
          },
          "is_offer": {
            "default": false,
            "description": "Whether the order is an offer.",
            "title": "Is Offer",
            "type": "boolean"
          },
          "is_paid": {
            "default": false,
            "description": "Whether the order is paid.",
            "title": "Is Paid",
            "type": "boolean"
          },
          "is_starred": {
            "default": false,
            "description": "Whether the order is starred.",
            "title": "Is Starred",
            "type": "boolean"
          },
          "is_stock_move": {
            "default": false,
            "description": "Whether the order is a stock move.",
            "title": "Is Stock Move",
            "type": "boolean"
          },
          "note_external": {
            "default": "",
            "description": "External note from the EonTyre order.",
            "title": "Note External",
            "type": "string"
          },
          "note_internal": {
            "default": "",
            "description": "Internal note from the EonTyre order.",
            "title": "Note Internal",
            "type": "string"
          },
          "num": {
            "description": "Total number of open orders.",
            "title": "Num",
            "type": "integer"
          },
          "order_id": {
            "description": "EonTyre order ID.",
            "title": "Order Id",
            "type": "integer"
          },
          "order_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Direct link to the order in EonTyre.",
            "title": "Order Url"
          }
        },
        "required": [
          "order_id",
          "num"
        ],
        "title": "EontyreProposalOrderRecord",
        "type": "object"
      },
      "EquipmentAssignedWorkerRecord": {
        "description": "Worker embed on equipment item lists.",
        "properties": {
          "first_name": {
            "description": "Worker's first name.",
            "title": "First Name",
            "type": "string"
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "is_active": {
            "description": "Whether the worker is active.",
            "title": "Is Active",
            "type": "boolean"
          },
          "last_name": {
            "description": "Worker's last name.",
            "title": "Last Name",
            "type": "string"
          },
          "nickname": {
            "description": "Optional display nickname.",
            "title": "Nickname",
            "type": "string"
          },
          "user_id": {
            "description": "Linked user account id.",
            "title": "User Id",
            "type": "integer"
          }
        },
        "required": [
          "id",
          "first_name",
          "last_name",
          "nickname",
          "is_active",
          "user_id"
        ],
        "title": "EquipmentAssignedWorkerRecord",
        "type": "object"
      },
      "EquipmentCategory": {
        "description": "Kind of department equipment, not sellable catalog goods.",
        "enum": [
          "clothing",
          "consumable",
          "spare_part",
          "tool"
        ],
        "title": "EquipmentCategory",
        "type": "string",
        "x-enum-descriptions": [
          "Tool",
          "Consumable",
          "Spare part",
          "Clothing"
        ],
        "x-enum-member-descriptions": [
          "A reusable department tool. Not a sellable catalog good.",
          "Department stock that is used up. Not a tool and not for sale.",
          "A part kept to repair equipment. Not a sellable catalog good.",
          "PPE or clothing issued to staff. Not a sellable catalog good."
        ]
      },
      "EquipmentItemRecordList": {
        "description": "EquipmentItemRecordList API record.",
        "properties": {
          "assigned_to": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/EquipmentAssignedWorkerRecord"
              }
            ],
            "default": null,
            "description": "Worker this item is currently checked out to."
          },
          "category": {
            "$ref": "#/components/schemas/EquipmentCategory",
            "description": "Kind of department equipment."
          },
          "cost_minor_units": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Optional unit cost in minor currency units.",
            "title": "Cost Minor Units"
          },
          "created_at": {
            "description": "The date and time the database model was created",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Created At",
            "type": "string"
          },
          "currency": {
            "default": "NOK",
            "description": "ISO currency code for the unit cost.",
            "title": "Currency",
            "type": "string"
          },
          "description": {
            "description": "Description of the equipment item.",
            "title": "Description",
            "type": "string"
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "identifier": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Scannable label identifier (QR).",
            "title": "Identifier"
          },
          "image": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/ImageRecordMinimal"
              }
            ],
            "default": null,
            "description": "Image of this physical equipment item."
          },
          "name": {
            "description": "Display name of the equipment item.",
            "title": "Name",
            "type": "string"
          },
          "notes": {
            "default": "",
            "description": "Notes for this item.",
            "title": "Notes",
            "type": "string"
          },
          "serial_number": {
            "default": "",
            "description": "Manufacturer serial number when known.",
            "title": "Serial Number",
            "type": "string"
          },
          "service_vehicle": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/EquipmentItemServiceVehicleRecord"
              }
            ],
            "default": null,
            "description": "Service vehicle currently holding this item."
          },
          "size": {
            "default": "",
            "description": "Size label on this item.",
            "title": "Size",
            "type": "string"
          },
          "size_category": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/EquipmentSizeCategory"
              }
            ],
            "default": null,
            "description": "PPE size slot used when assigning flexible kits."
          },
          "status": {
            "$ref": "#/components/schemas/EquipmentItemStatus",
            "description": "Lifecycle of this physical equipment item."
          },
          "storage_facility": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/StorageFacilityRecordName"
              }
            ],
            "default": null,
            "description": "Facility where this item currently lives."
          },
          "template": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/EquipmentTemplateRecordMinimal"
              }
            ],
            "default": null,
            "description": "Product blueprint this instance was created from."
          },
          "tracking_method": {
            "$ref": "#/components/schemas/EquipmentTrackingMethod",
            "description": "How this physical item is identified."
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The date and time the database model was last updated",
            "title": "Updated At"
          }
        },
        "required": [
          "id",
          "created_at",
          "name",
          "description",
          "status",
          "category",
          "tracking_method"
        ],
        "title": "EquipmentItemRecordList",
        "type": "object"
      },
      "EquipmentItemServiceVehicleRecord": {
        "description": "EquipmentItemServiceVehicleRecord API record.",
        "properties": {
          "created_at": {
            "description": "The date and time the database model was created",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Created At",
            "type": "string"
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "identifier": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Scannable label identifier for the vehicle.",
            "title": "Identifier"
          },
          "name": {
            "description": "Display name of the service vehicle.",
            "title": "Name",
            "type": "string"
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The date and time the database model was last updated",
            "title": "Updated At"
          }
        },
        "required": [
          "id",
          "created_at",
          "name"
        ],
        "title": "EquipmentItemServiceVehicleRecord",
        "type": "object"
      },
      "EquipmentItemStatus": {
        "description": "Lifecycle of one physical equipment item.",
        "enum": [
          "available",
          "in_use",
          "lost",
          "maintenance"
        ],
        "title": "EquipmentItemStatus",
        "type": "string",
        "x-enum-descriptions": [
          "Available",
          "In use",
          "Maintenance",
          "Lost"
        ],
        "x-enum-member-descriptions": [
          "On hand and not checked out, in repair, or missing.",
          "Checked out to someone.",
          "Pulled for repair, so it cannot be checked out.",
          "Marked missing. It cannot be checked out until it is found."
        ]
      },
      "EquipmentSizeCategory": {
        "description": "PPE / clothing size slot used for kit assignment.",
        "enum": [
          "accessories",
          "apparel",
          "bottoms",
          "gloves",
          "headwear",
          "outerwear",
          "shoes",
          "tops"
        ],
        "title": "EquipmentSizeCategory",
        "type": "string",
        "x-enum-descriptions": [
          "Tops",
          "Outerwear",
          "Bottoms",
          "Shoes",
          "Gloves",
          "Accessories",
          "Headwear",
          "Apparel"
        ],
        "x-enum-member-descriptions": [
          "Kit assignment matches the worker's tops size.",
          "Kit assignment matches the worker's outerwear size, not tops.",
          "Kit assignment matches the worker's bottoms size.",
          "Kit assignment matches the worker's shoe size.",
          "Kit assignment matches the worker's glove size.",
          "Kit assignment matches the worker's accessories size.",
          "Kit assignment matches the worker's headwear size.",
          "Kit assignment matches the worker's general apparel size."
        ]
      },
      "EquipmentTemplateRecordMinimal": {
        "description": "EquipmentTemplateRecordMinimal API record.",
        "properties": {
          "brand": {
            "description": "Brand of the equipment template.",
            "title": "Brand",
            "type": "string"
          },
          "category": {
            "$ref": "#/components/schemas/EquipmentCategory",
            "description": "Kind of department equipment."
          },
          "created_at": {
            "description": "The date and time the database model was created",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Created At",
            "type": "string"
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "name": {
            "description": "Display name of the equipment template.",
            "title": "Name",
            "type": "string"
          },
          "size": {
            "description": "Size label on this template.",
            "title": "Size",
            "type": "string"
          },
          "size_category": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/EquipmentSizeCategory"
              }
            ],
            "default": null,
            "description": "PPE size slot used when assigning flexible kits."
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The date and time the database model was last updated",
            "title": "Updated At"
          }
        },
        "required": [
          "id",
          "created_at",
          "name",
          "brand",
          "category",
          "size"
        ],
        "title": "EquipmentTemplateRecordMinimal",
        "type": "object"
      },
      "EquipmentTrackingMethod": {
        "description": "How a physical equipment item is identified in the field.",
        "enum": [
          "barcode",
          "none",
          "qr",
          "serial"
        ],
        "title": "EquipmentTrackingMethod",
        "type": "string",
        "x-enum-descriptions": [
          "QR",
          "Barcode",
          "Serial",
          "None"
        ],
        "x-enum-member-descriptions": [
          "Field staff identify the item by a QR code.",
          "Field staff identify the item by a barcode, not a QR code.",
          "The item is identified by its serial number, not a scan code.",
          "The item has no scan code or serial to identify it in the field."
        ]
      },
      "Error500Serializer": {
        "properties": {
          "attr": {
            "type": [
              "string",
              "null"
            ]
          },
          "code": {
            "description": "* `error` - Error",
            "enum": [
              "error"
            ],
            "type": "string",
            "x-spec-enum-id": "18f4890fabc35e93"
          },
          "detail": {
            "type": "string"
          }
        },
        "required": [
          "attr",
          "code",
          "detail"
        ],
        "type": "object"
      },
      "ErrorResponse500Serializer": {
        "properties": {
          "errors": {
            "items": {
              "$ref": "#/components/schemas/Error500Serializer"
            },
            "type": "array"
          },
          "type": {
            "description": "* `server_error` - Server Error",
            "enum": [
              "server_error"
            ],
            "type": "string",
            "x-spec-enum-id": "dedea2f722d73efe"
          }
        },
        "required": [
          "errors",
          "type"
        ],
        "type": "object"
      },
      "GarageAvailableSlotRecord": {
        "description": "Single available slot on a workstation in the site.",
        "properties": {
          "baseline_contribution_count": {
            "default": 0,
            "description": "Baseline seat-equivalents (sum of parallel_units) with supply overlapping this slot.",
            "title": "Baseline Contribution Count",
            "type": "integer"
          },
          "contribution_count": {
            "default": 0,
            "description": "Number of personal capacity contributions with supply overlapping this slot.",
            "title": "Contribution Count",
            "type": "integer"
          },
          "contributions": {
            "description": "Personal and baseline contributions with supply overlapping this slot (name, type, capabilities). Populated only on the authenticated slot-contributions endpoint; empty on public sell slots (counts above are always present).",
            "items": {
              "$ref": "#/components/schemas/GarageSlotContributionRecord"
            },
            "title": "Contributions",
            "type": "array"
          },
          "end": {
            "description": "End of the time slot.",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "End",
            "type": "string"
          },
          "start": {
            "description": "Start of the time slot.",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Start",
            "type": "string"
          },
          "workstation_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "ID of the workstation offering the slot. Resolve the display name via ``GarageAvailableSlotsRecord.workstations``. ``None`` when the slot is not attributed to a specific workstation.",
            "title": "Workstation Id"
          }
        },
        "required": [
          "start",
          "end"
        ],
        "title": "GarageAvailableSlotRecord",
        "type": "object"
      },
      "GarageAvailableSlotsRecord": {
        "description": "Available slots across all workstations in a site.\n\nEach slot carries its workstation ID; workstations referenced by\n``slots`` are listed once in ``workstations``. Multiple workstations\nmay offer overlapping times, and each is an independently bookable entry.",
        "properties": {
          "detailed": {
            "description": "Whether slots are broken down per workstation rather than a flat list.",
            "title": "Detailed",
            "type": "boolean"
          },
          "garage": {
            "$ref": "#/components/schemas/GarageRecordMinimum",
            "description": "Site the slots belong to."
          },
          "service_seconds": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Length of every slot in seconds: the booking's total service time. Lets a planner opening a slot see when it ends. None on the legacy live EonTyre path, which sizes slots itself.",
            "title": "Service Seconds"
          },
          "slots": {
            "description": "All available slots in the site.",
            "items": {
              "$ref": "#/components/schemas/GarageAvailableSlotRecord"
            },
            "title": "Slots",
            "type": "array"
          },
          "workstations": {
            "description": "Workstations referenced by ``slots``. Look up display names by matching ``workstation_id``.",
            "items": {
              "$ref": "#/components/schemas/WorkstationRecordMinimum"
            },
            "title": "Workstations",
            "type": "array"
          }
        },
        "required": [
          "garage",
          "workstations",
          "slots",
          "detailed"
        ],
        "title": "GarageAvailableSlotsRecord",
        "type": "object"
      },
      "GarageRecordMinimum": {
        "description": "Minimum view of a workshop and its building address.",
        "properties": {
          "address": {
            "$ref": "#/components/schemas/AddressRecord",
            "description": "Physical building address."
          },
          "garage_type": {
            "$ref": "#/components/schemas/GarageType",
            "description": "Workshop type."
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "name": {
            "description": "Display name of the garage.",
            "title": "Name",
            "type": "string"
          },
          "time_zone": {
            "$ref": "#/components/schemas/TimeZone",
            "description": "Service department time zone."
          }
        },
        "required": [
          "id",
          "name",
          "garage_type",
          "address",
          "time_zone"
        ],
        "title": "GarageRecordMinimum",
        "type": "object"
      },
      "GarageSlotContributionRecord": {
        "description": "Contribution that supplies capacity for a stationary site slot.",
        "properties": {
          "capability_names": {
            "description": "Capability names on the contribution.",
            "items": {
              "type": "string"
            },
            "title": "Capability Names",
            "type": "array"
          },
          "contribution_type": {
            "$ref": "#/components/schemas/CapacityContributionType",
            "description": "PERSONAL worker contribution or BASELINE floor seat."
          },
          "id": {
            "description": "Capacity contribution ID.",
            "title": "Id",
            "type": "integer"
          },
          "name": {
            "description": "Service worker nickname/full name for personal contributions, or a baseline label for baseline seats.",
            "title": "Name",
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "capability_names",
          "contribution_type"
        ],
        "title": "GarageSlotContributionRecord",
        "type": "object"
      },
      "GarageType": {
        "description": "Distinguishes between fixed and temporary service locations.\n\nPERMANENT — A dedicated site building with installed equipment\n(lifts, bays, etc.) that operates at a fixed address year-round.\n\nAD_HOC — A temporary service location set up on demand, such as a\nparking lot or open area equipped with portable workstations.\nTypically used for seasonal campaigns (e.g. tire-change season)\nor pop-up service events where a permanent facility isn't\navailable.",
        "enum": [
          "AD_HOC",
          "PERMANENT"
        ],
        "title": "GarageType",
        "type": "string",
        "x-enum-descriptions": [
          "Permanent",
          "Ad hoc"
        ],
        "x-enum-member-descriptions": [
          "A fixed site building with installed equipment that operates at one address year-round.",
          "A temporary location, such as a lot with portable stations, for a season or a pop-up."
        ]
      },
      "Gender": {
        "description": "Biological gender of a user.",
        "enum": [
          "female",
          "male"
        ],
        "title": "Gender",
        "type": "string",
        "x-enum-descriptions": [
          "Male",
          "Female"
        ],
        "x-enum-member-descriptions": [
          "The user's recorded biological gender is male.",
          "The user's recorded biological gender is female."
        ]
      },
      "ImageRecordMinimal": {
        "description": "Minimal image record without dimensions for performance optimization.\n\nSkips file existence checks and dimension lookups to avoid opening files.\nUse this for list endpoints where dimensions are not needed.",
        "properties": {
          "expires_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The expiration date of the image URL. Only set if URL is signed.",
            "title": "Expires At"
          },
          "url": {
            "description": "URL of the image.",
            "format": "uri",
            "maxLength": 2083,
            "minLength": 1,
            "title": "Url",
            "type": "string"
          }
        },
        "required": [
          "url"
        ],
        "title": "ImageRecordMinimal",
        "type": "object"
      },
      "InventoryServiceVehicleRecord": {
        "description": "Service vehicle record with full audit fields.",
        "properties": {
          "capabilities": {
            "description": "Capabilities this vehicle supports.",
            "items": {
              "$ref": "#/components/schemas/CapabilityRecordList"
            },
            "title": "Capabilities",
            "type": "array"
          },
          "car": {
            "$ref": "#/components/schemas/CarRecordListLight",
            "description": "Car linked to this service vehicle."
          },
          "cargo_capacities": {
            "description": "Typed cargo capacities configured for this vehicle.",
            "items": {
              "$ref": "#/components/schemas/ServiceVehicleCargoCapacityRecordList"
            },
            "title": "Cargo Capacities",
            "type": "array"
          },
          "created_at": {
            "description": "The date and time the database model was created",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Created At",
            "type": "string"
          },
          "current_workers": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/ServiceWorkerMinimalRecord"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Workers whose live bookable time holds this vehicle now. Null when this response did not resolve holders.",
            "title": "Current Workers"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Optional description of the vehicle.",
            "title": "Description"
          },
          "equipment_items": {
            "description": "Equipment items assigned to this vehicle.",
            "items": {
              "$ref": "#/components/schemas/EquipmentItemRecordList"
            },
            "title": "Equipment Items",
            "type": "array"
          },
          "height_cm": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/ServiceVehicleDimensionRecord"
              }
            ],
            "default": null,
            "description": "Total driving height in centimeters, racks and boxes included. Null when neither the vehicle registry nor ops knows it."
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "is_mileage_compensated": {
            "description": "Whether a worker driving this vehicle is paid mileage (own car). False for company vehicles.",
            "title": "Is Mileage Compensated",
            "type": "boolean"
          },
          "name": {
            "description": "Display name of the service vehicle.",
            "title": "Name",
            "type": "string"
          },
          "owner_workers": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/ServiceWorkerMinimalRecord"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Workers linked to this vehicle when it is flagged as an own car (is_mileage_compensated); empty for a company vehicle. Null when this response did not resolve owners.",
            "title": "Owner Workers"
          },
          "service_departments": {
            "description": "Service departments that use this vehicle.",
            "items": {
              "$ref": "#/components/schemas/ServiceDepartmentRecordMinimal"
            },
            "title": "Service Departments",
            "type": "array"
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The date and time the database model was last updated",
            "title": "Updated At"
          },
          "weight_kg": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/ServiceVehicleDimensionRecord"
              }
            ],
            "default": null,
            "description": "Gross vehicle weight in kilograms. Null when neither the vehicle registry nor ops knows it."
          }
        },
        "required": [
          "id",
          "created_at",
          "name",
          "car",
          "equipment_items",
          "is_mileage_compensated"
        ],
        "title": "InventoryServiceVehicleRecord",
        "type": "object"
      },
      "LanguageCode": {
        "description": "Language code following ISO 639-1 alpha-2,\nwith country code suffix following ISO 3166-1 Alpha-2.\n\nExample:\nThe code for English (United States) 'en-US'.\nThe prefix, 'en', is a language code\nfollowing the ISO 639-1 standard.\n\nThe suffix, 'US', is a country code\nfollowing the ISO 3166-1 Alpha-2 standard.",
        "enum": [
          "da",
          "de",
          "en-us",
          "fr",
          "nb",
          "nl",
          "sv"
        ],
        "title": "LanguageCode",
        "type": "string",
        "x-enum-descriptions": [
          "English (US)",
          "Norwegian Bokmål",
          "Swedish",
          "Danish",
          "German",
          "Dutch",
          "French"
        ],
        "x-enum-member-descriptions": [
          "English for the United States, stored as en-us. The frontend locale shortens it to en.",
          "Norwegian Bokmål, not Nynorsk. Stored as nb with no country suffix, and used for Norway.",
          "Used for Sweden and stored as sv. The frontend locale uses se.",
          "Used for Denmark and stored as da, with no country suffix.",
          "Used for Germany and stored as de. No separate Austria or Switzerland value exists.",
          "Used for the Netherlands and stored as nl, with no country suffix.",
          "Used for France and stored as fr, with no country suffix."
        ],
        "x-enum-varnames": [
          "DA",
          "DE",
          "EN_US",
          "FR",
          "NB",
          "NL",
          "SV"
        ]
      },
      "LanguageCodeRecord": {
        "properties": {
          "label": {
            "title": "Label",
            "type": "string"
          },
          "value": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "integer"
              }
            ],
            "enum": [
              "da",
              "de",
              "en-us",
              "fr",
              "nb",
              "nl",
              "sv"
            ],
            "title": "Value",
            "type": "string"
          }
        },
        "required": [
          "value",
          "label"
        ],
        "title": "LanguageCodeRecord",
        "type": "object"
      },
      "LanguageRecord": {
        "description": "Legacy language payload with code and nested LanguageCodeRecord.\n\nKept for backwards compatibility with existing consumers. Prefer\nLanguageCodeRecord for new APIs.",
        "properties": {
          "code": {
            "description": "Language code (same as language_code.value).",
            "title": "Code",
            "type": "string"
          },
          "language_code": {
            "$ref": "#/components/schemas/ncom__records__language__LanguageCodeRecord",
            "description": "Nested record with value and label."
          }
        },
        "required": [
          "code",
          "language_code"
        ],
        "title": "LanguageRecord",
        "type": "object"
      },
      "LicensePlate": {
        "description": "Vehicle license plate with optional personalised number.\n\nValidates plate number (uppercase, no spaces) and optional\npersonalised display number (Norwegian rules: 2-7 chars, Æ/Ø/Å allowed).\ncountry_code identifies the issuing country (e.g. NO). Used for booking\ncars, wheel storage, and vehicle identity across the system.",
        "properties": {
          "country_code": {
            "description": "ISO 3166-1 alpha-2 country code for the plate (e.g. NO).",
            "pattern": "/^\\w{2}$/",
            "title": "Country Code",
            "type": "string"
          },
          "number": {
            "description": "License plate number. Uppercase with spaces removed.",
            "title": "Number",
            "type": "string"
          },
          "personalised_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Optional personalised plate text (2-7 chars, Norwegian rules). Display only.",
            "title": "Personalised Number"
          }
        },
        "required": [
          "number",
          "country_code"
        ],
        "title": "LicensePlate",
        "type": "object"
      },
      "LicensePlateDetail": {
        "description": "Extended license plate with additional metadata from vehicle registry.",
        "properties": {
          "category": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "License plate category (NORMAL, PERSONLIG, PROVE, KJORETOY)",
            "title": "Category"
          },
          "country_code": {
            "description": "ISO 3166-1 alpha-2 country code for the plate (e.g. NO).",
            "pattern": "/^\\w{2}$/",
            "title": "Country Code",
            "type": "string"
          },
          "number": {
            "description": "License plate number. Uppercase with spaces removed.",
            "title": "Number",
            "type": "string"
          },
          "personalised_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Optional personalised plate text (2-7 chars, Norwegian rules). Display only.",
            "title": "Personalised Number"
          },
          "valid_from": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Date and time when the license plate became valid",
            "title": "Valid From"
          },
          "valid_to": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Date and time when the license plate expires or became invalid",
            "title": "Valid To"
          }
        },
        "required": [
          "number",
          "country_code"
        ],
        "title": "LicensePlateDetail",
        "type": "object"
      },
      "MessageDeliveryChannel": {
        "description": "Provider delivery channel for an outbound phone message (SMS model).",
        "enum": [
          "sms",
          "whatsapp"
        ],
        "title": "MessageDeliveryChannel",
        "type": "string",
        "x-enum-descriptions": [
          "SMS",
          "WhatsApp"
        ],
        "x-enum-member-descriptions": [
          "Delivered as a cellular SMS via Twilio Messages API.",
          "Delivered as a WhatsApp message via Twilio WhatsApp Business API."
        ]
      },
      "MoneyRecord": {
        "description": "API output record; accepts minor units and serializes major units.",
        "properties": {
          "amount": {
            "description": "Amount with 2 decimal places",
            "example": "123.45",
            "format": "decimal",
            "pattern": "/^-?\\d+\\.\\d{2}$/",
            "type": "number"
          },
          "currency": {
            "description": "Currency code (e.g., 'NOK', 'SEK')",
            "enum": [
              "CAD",
              "EUR",
              "NOK",
              "SEK",
              "USD"
            ],
            "type": "string"
          }
        },
        "required": [
          "amount",
          "currency"
        ],
        "title": "MoneyRecord",
        "type": "object"
      },
      "NoteAttachmentKind": {
        "description": "Whether a note attachment is an image or a document file.",
        "enum": [
          "document",
          "image"
        ],
        "title": "NoteAttachmentKind",
        "type": "string",
        "x-enum-descriptions": [
          "Image",
          "Document"
        ],
        "x-enum-member-descriptions": [
          "The attachment is a picture shown with the note.",
          "The attachment is a non-image file, not a picture."
        ]
      },
      "NoteAttachmentPublicRecord": {
        "description": "Attachment metadata without staff contact or account details.",
        "properties": {
          "byte_size": {
            "description": "File size in bytes.",
            "title": "Byte Size",
            "type": "integer"
          },
          "content_type": {
            "description": "MIME type reported at upload.",
            "title": "Content Type",
            "type": "string"
          },
          "created_at": {
            "description": "The date and time the database model was created",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Created At",
            "type": "string"
          },
          "expires_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "URL expiry when the file lives in private GCS.",
            "title": "Expires At"
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "kind": {
            "$ref": "#/components/schemas/NoteAttachmentKind",
            "description": "Whether this attachment is an image or a document."
          },
          "original_filename": {
            "description": "Original filename from the uploader.",
            "title": "Original Filename",
            "type": "string"
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The date and time the database model was last updated",
            "title": "Updated At"
          },
          "url": {
            "description": "Signed or public URL for the file.",
            "format": "uri",
            "maxLength": 2083,
            "minLength": 1,
            "title": "Url",
            "type": "string"
          }
        },
        "required": [
          "kind",
          "content_type",
          "byte_size",
          "original_filename",
          "url",
          "id",
          "created_at"
        ],
        "title": "NoteAttachmentPublicRecord",
        "type": "object"
      },
      "NoteStatus": {
        "description": "Lifecycle of a note on the partner list.\n\nStored on ``Note.status``. Extend this enum when a note needs a new\nlifecycle state; archived notes stay on the partner list (collapsed)\nbut are hidden from customer and worker APIs.",
        "enum": [
          "active",
          "archived"
        ],
        "title": "NoteStatus",
        "type": "string",
        "x-enum-descriptions": [
          "Active",
          "Archived"
        ],
        "x-enum-member-descriptions": [
          "Shown in full on the partner list, and on customer or worker APIs when those audiences are opted in.",
          "Stays on the partner list in a collapsed form, and is hidden from customer and worker APIs."
        ]
      },
      "NoteVisibility": {
        "description": "Audience that may see an admin note on customer/worker APIs.\n\nStored on ``Note.visible_to``. Empty means staff-only. Extend this enum\nwhen a new audience needs the same opt-in visibility.",
        "enum": [
          "customer",
          "worker"
        ],
        "title": "NoteVisibility",
        "type": "string",
        "x-enum-descriptions": [
          "Customer",
          "Worker"
        ],
        "x-enum-member-descriptions": [
          "Opt-in audience: the customer API may show this note. With no audience set, only staff see it.",
          "Opt-in audience: the worker API may show this note. This does not show it to the customer."
        ]
      },
      "OpenOrderLineRecord": {
        "description": "One line on a pre-existing open order (e.g. EonTyre prepaid storage).",
        "properties": {
          "gross_amount": {
            "$ref": "#/components/schemas/MoneyRecord",
            "description": "Line total gross amount (incl. VAT)."
          },
          "name": {
            "description": "Product/line display name.",
            "title": "Name",
            "type": "string"
          },
          "quantity": {
            "description": "Number of items on the line.",
            "title": "Quantity",
            "type": "integer"
          },
          "sales_item_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Mapped Navio sales item id when the line resolves to a bookable service; None otherwise.",
            "title": "Sales Item Id"
          }
        },
        "required": [
          "name",
          "quantity",
          "gross_amount"
        ],
        "title": "OpenOrderLineRecord",
        "type": "object"
      },
      "OpenOrderRecord": {
        "description": "A customer's pre-existing open order at the external system.",
        "properties": {
          "external_order_id": {
            "description": "Order id in the external system (e.g. EonTyre).",
            "title": "External Order Id",
            "type": "integer"
          },
          "lines": {
            "description": "Open order lines (already-paid/owed items).",
            "items": {
              "$ref": "#/components/schemas/OpenOrderLineRecord"
            },
            "title": "Lines",
            "type": "array"
          }
        },
        "required": [
          "external_order_id",
          "lines"
        ],
        "title": "OpenOrderRecord",
        "type": "object"
      },
      "OrderBookingRecord": {
        "description": "Minimal booking info exposed on an order.",
        "properties": {
          "id": {
            "description": "Booking ID.",
            "title": "Id",
            "type": "integer"
          },
          "location_type": {
            "$ref": "#/components/schemas/BookingLocationType",
            "description": "Where the service is performed — MOBILE (at customer location) or STATIONARY (at a service department)."
          },
          "slug": {
            "description": "Booking slug for URLs.",
            "title": "Slug",
            "type": "string"
          }
        },
        "required": [
          "id",
          "slug",
          "location_type"
        ],
        "title": "OrderBookingRecord",
        "type": "object"
      },
      "OrderCarRecord": {
        "description": "Car attached to an order via its booking.",
        "properties": {
          "drivers": {
            "description": "Drivers linked to this car within the ordering organization. Only populated for organization customers; empty for personal/group customers.",
            "items": {
              "$ref": "#/components/schemas/OrderDriverRecord"
            },
            "title": "Drivers",
            "type": "array"
          },
          "license_plate": {
            "$ref": "#/components/schemas/LicensePlate",
            "description": "License plate (number + country)."
          },
          "make": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Car manufacturer/brand name (e.g. ``Tesla``). ``None`` when the car has no generation data.",
            "title": "Make"
          },
          "model": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Car model name (e.g. ``Model Y``). ``None`` when the car has no generation data.",
            "title": "Model"
          },
          "year": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Model/generation year (e.g. ``2023``). ``None`` when the car has no generation data.",
            "title": "Year"
          }
        },
        "required": [
          "license_plate"
        ],
        "title": "OrderCarRecord",
        "type": "object"
      },
      "OrderCustomerRecord": {
        "description": "Customer identity displayed alongside an order.\n\nAggregates the user group (for organizations the group ``name``\nis the org name; for personal groups it's the customer name) and\nthe primary user's contact details.",
        "properties": {
          "customer_type": {
            "$ref": "#/components/schemas/CustomerGroupType",
            "description": "Customer group type (organization, group, personal)."
          },
          "email": {
            "default": "",
            "description": "Primary email; empty when unknown.",
            "title": "Email",
            "type": "string"
          },
          "name": {
            "description": "Display name — user group name (org or personal).",
            "title": "Name",
            "type": "string"
          },
          "organization_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Organization name when the customer is an organization. ``None`` for personal/group customers.",
            "title": "Organization Name"
          },
          "phone_number": {
            "default": "",
            "description": "Primary phone number; empty when unknown.",
            "title": "Phone Number",
            "type": "string"
          }
        },
        "required": [
          "name",
          "customer_type"
        ],
        "title": "OrderCustomerRecord",
        "type": "object"
      },
      "OrderDriverRecord": {
        "description": "Driver on an organization-owned car.",
        "properties": {
          "email": {
            "default": "",
            "description": "Driver's email; empty when unknown.",
            "title": "Email",
            "type": "string"
          },
          "name": {
            "description": "Driver's display name.",
            "title": "Name",
            "type": "string"
          },
          "phone_number": {
            "default": "",
            "description": "Driver's phone number; empty when unknown.",
            "title": "Phone Number",
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "title": "OrderDriverRecord",
        "type": "object"
      },
      "OrderLineDiscountRecord": {
        "description": "API record for an OrderLineDiscount — a snapshot of a discount applied to an order line.",
        "properties": {
          "amount_gross": {
            "$ref": "#/components/schemas/MoneyRecord",
            "description": "Total discount incl. VAT."
          },
          "amount_net": {
            "$ref": "#/components/schemas/MoneyRecord",
            "description": "Net portion of the discount."
          },
          "amount_vat": {
            "$ref": "#/components/schemas/MoneyRecord",
            "description": "VAT portion of the discount."
          },
          "applied_at": {
            "description": "ISO 8601 timestamp when the discount was applied.",
            "title": "Applied At",
            "type": "string"
          },
          "coupon_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Coupon the discount comes from.",
            "title": "Coupon Id"
          },
          "description": {
            "default": "",
            "description": "Discount detail text (from source at application time).",
            "title": "Description",
            "type": "string"
          },
          "frozen_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "ISO 8601 timestamp when frozen, or null if unfrozen.",
            "title": "Frozen At"
          },
          "id": {
            "description": "OrderLineDiscount ID.",
            "title": "Id",
            "type": "integer"
          },
          "membership_discount_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Membership discount the discount comes from.",
            "title": "Membership Discount Id"
          },
          "membership_program_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Membership program that granted the discount.",
            "title": "Membership Program Id"
          },
          "name": {
            "description": "Discount name (copied from source at application time).",
            "title": "Name",
            "type": "string"
          },
          "order_line_id": {
            "description": "ID of the OrderLine this discount applies to.",
            "title": "Order Line Id",
            "type": "integer"
          },
          "source": {
            "$ref": "#/components/schemas/OrderLineDiscountSource",
            "description": "What put the discount on the line."
          },
          "type": {
            "$ref": "#/components/schemas/DiscountType",
            "description": "How the amount was calculated."
          },
          "value_percentage": {
            "anyOf": [
              {
                "ge": 0,
                "le": 100,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Percentage value (e.g. 0.20 for 20%). NULL for fixed/ad-hoc.",
            "title": "Value Percentage"
          }
        },
        "required": [
          "id",
          "order_line_id",
          "name",
          "type",
          "source",
          "amount_gross",
          "amount_net",
          "amount_vat",
          "applied_at"
        ],
        "title": "OrderLineDiscountRecord",
        "type": "object"
      },
      "OrderLineDiscountSource": {
        "description": "What put a discount on an order line.\n\nIndependent of ``DiscountType``: a coupon or a membership discount can be\na percentage or a fixed amount.",
        "enum": [
          "AUTOMATIC",
          "COUPON",
          "MANUAL",
          "MEMBERSHIP",
          "TIRE_OFFER",
          "TIRE_OFFER_CAMPAIGN"
        ],
        "title": "OrderLineDiscountSource",
        "type": "string",
        "x-enum-descriptions": [
          "Coupon",
          "Membership",
          "Manual",
          "Tire offer discount",
          "Tire offer campaign",
          "Automatic"
        ],
        "x-enum-member-descriptions": [
          "Comes from a coupon. A coupon is reported ahead of a membership, a person, or the system.",
          "Comes from a membership program, and no coupon is attached.",
          "A person applied it. It is not from a coupon or a membership program.",
          "Staff gave it on the tire offer the order came from.",
          "The tire offer the order came from was in a campaign with a discount.",
          "The system applied it. No coupon, membership program, tire offer, or person is recorded."
        ]
      },
      "OrderLineRecordCustomer": {
        "description": "Order line for customer detail views — includes external adapter ID.\n\nPrefer ``from_db_models`` when serializing many lines so external ids\nare resolved in a constant number of queries.",
        "properties": {
          "amount_gross": {
            "$ref": "#/components/schemas/MoneyRecord",
            "description": "Total line amount including VAT."
          },
          "amount_gross_per_unit": {
            "$ref": "#/components/schemas/MoneyRecord",
            "description": "Price per unit including VAT."
          },
          "amount_net": {
            "$ref": "#/components/schemas/MoneyRecord",
            "description": "Total line amount excluding VAT."
          },
          "amount_net_per_unit": {
            "$ref": "#/components/schemas/MoneyRecord",
            "description": "Price per unit excluding VAT."
          },
          "amount_refunded": {
            "$ref": "#/components/schemas/MoneyRecord",
            "description": "Paid back to the customer for this line. Credit moved to another line is not counted."
          },
          "amount_vat": {
            "$ref": "#/components/schemas/MoneyRecord",
            "description": "VAT portion of the line total."
          },
          "amount_vat_per_unit": {
            "$ref": "#/components/schemas/MoneyRecord",
            "description": "VAT per unit."
          },
          "booking_item_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Booking item this line is tied to, if any.",
            "title": "Booking Item Id"
          },
          "booking_item_sales_item_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Sales item within the booking item, if any.",
            "title": "Booking Item Sales Item Id"
          },
          "car_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Car this line relates to, if any.",
            "title": "Car Id"
          },
          "created_at": {
            "description": "The date and time the database model was created",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Created At",
            "type": "string"
          },
          "currency": {
            "$ref": "#/components/schemas/Currency",
            "description": "ISO currency code for all amounts."
          },
          "description": {
            "description": "Customer-facing line description (e.g. product name).",
            "title": "Description",
            "type": "string"
          },
          "external_sales_item_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Adapter external ID for the sales item, when configured.",
            "title": "External Sales Item Id"
          },
          "frozen_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "ISO 8601 timestamp when the line was frozen, or null.",
            "title": "Frozen At"
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "is_coupon_discount": {
            "description": "True if this line is a coupon-based discount.",
            "title": "Is Coupon Discount",
            "type": "boolean"
          },
          "is_delivery_fee": {
            "description": "True if this line is a delivery/shipping fee.",
            "title": "Is Delivery Fee",
            "type": "boolean"
          },
          "is_discount": {
            "deprecated": true,
            "description": "True when discounts are attached to this line; a line is never a discount itself. Use the order's `discounts` instead.",
            "title": "Is Discount",
            "type": "boolean"
          },
          "is_membership_discount": {
            "description": "True if discount comes from membership program.",
            "title": "Is Membership Discount",
            "type": "boolean"
          },
          "is_unable_to_complete": {
            "description": "True if the line could not be fulfilled (e.g. out of stock).",
            "title": "Is Unable To Complete",
            "type": "boolean"
          },
          "is_withdrawn": {
            "description": "True if the line was paid and its service has since been removed from the booking. It stays on the order as billing history.",
            "title": "Is Withdrawn",
            "type": "boolean"
          },
          "line_total_gross": {
            "$ref": "#/components/schemas/MoneyRecord",
            "description": "Post-discount gross total."
          },
          "line_total_net": {
            "$ref": "#/components/schemas/MoneyRecord",
            "description": "Post-discount net total."
          },
          "line_total_vat": {
            "$ref": "#/components/schemas/MoneyRecord",
            "description": "Post-discount VAT total."
          },
          "quantity": {
            "description": "Number of units.",
            "title": "Quantity",
            "type": "integer"
          },
          "sales_item_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Sales item (product) ID, if applicable.",
            "title": "Sales Item Id"
          },
          "type": {
            "$ref": "#/components/schemas/OrderLineType",
            "description": "Line type (e.g. product, discount, fee) for display and rules."
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The date and time the database model was last updated",
            "title": "Updated At"
          },
          "vat_rate": {
            "description": "VAT rate applied to this line (0-100).",
            "ge": 0,
            "le": 100,
            "title": "Vat Rate",
            "type": "number"
          }
        },
        "required": [
          "id",
          "created_at",
          "amount_gross",
          "amount_gross_per_unit",
          "amount_net",
          "amount_net_per_unit",
          "amount_vat",
          "amount_vat_per_unit",
          "currency",
          "description",
          "is_coupon_discount",
          "is_delivery_fee",
          "is_discount",
          "is_membership_discount",
          "is_unable_to_complete",
          "is_withdrawn",
          "line_total_gross",
          "line_total_net",
          "line_total_vat",
          "quantity",
          "type",
          "vat_rate",
          "amount_refunded"
        ],
        "title": "OrderLineRecordCustomer",
        "type": "object"
      },
      "OrderLineType": {
        "description": "Classifies individual line items within an order.\n\nDistinguishes between revenue items (sales items, delivery fees,\ntire quotes) and adjustments (coupons, discounts, membership\ndiscounts, refunds). Used to compute totals, generate receipts,\nand apply business rules per line type.",
        "enum": [
          "BOOKING_SALES_ITEM",
          "DELIVERY_FEE",
          "NORMAL",
          "ROUNDING",
          "TIRE_QUOTE"
        ],
        "title": "OrderLineType",
        "type": "string",
        "x-enum-descriptions": [
          "Normal",
          "Delivery fee",
          "Tire quote",
          "Booking sales item",
          "Rounding"
        ],
        "x-enum-member-descriptions": [
          "An ordinary priced line. Goods on a shop tire quote are stored as this, not as a tire-quote line.",
          "The delivery charge. It cannot share a line with a booking item.",
          "A tire line typed as a quote, used for an open or historic tire charge. Shop quote goods use a normal line instead.",
          "A sales item on a booking. Only this type is counted as sold sales-item volume.",
          "A zero-VAT adjustment so the total matches. Saving it does not recompute the order."
        ]
      },
      "OrderPaymentStatusRecord": {
        "description": "Payment status + pay link for an order.",
        "properties": {
          "booking": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/BookingMinimalRecord"
              }
            ],
            "default": null,
            "description": "Booking this order belongs to, if any."
          },
          "booking_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Booking this order belongs to, if any.",
            "title": "Booking Id"
          },
          "booking_slug": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "deprecated": true,
            "description": "Deprecated: use ``booking.slug``.",
            "title": "Booking Slug"
          },
          "is_awaiting_payment": {
            "description": "True when the order belongs to a DRAFT_PAY_BEFORE booking that is not yet fully paid. When true, direct the customer to ``payment_page_url``; the booking confirms automatically once the payment is captured.",
            "title": "Is Awaiting Payment",
            "type": "boolean"
          },
          "order": {
            "$ref": "#/components/schemas/OrderRecordBase",
            "description": "The order with amounts (outstanding, paid, gross) and paid flag."
          },
          "order_id": {
            "description": "Order primary key.",
            "title": "Order Id",
            "type": "integer"
          },
          "payment_page_url": {
            "anyOf": [
              {
                "format": "uri",
                "maxLength": 2083,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Customer-facing page where the order is paid (embedded Dintero or Stripe checkout). Present while awaiting payment; null once paid or when no payment is pending.",
            "title": "Payment Page Url"
          }
        },
        "required": [
          "order_id",
          "is_awaiting_payment",
          "order"
        ],
        "title": "OrderPaymentStatusRecord",
        "type": "object"
      },
      "OrderReceiptMinimalRecord": {
        "description": "Minimal receipt data for credit memo context. Used when a credit memo references the original receipt.",
        "properties": {
          "created_at": {
            "description": "The date and time the database model was created",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Created At",
            "type": "string"
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "paid_amount": {
            "$ref": "#/components/schemas/MoneyRecord",
            "description": "Amount paid covered by this receipt."
          },
          "receipt_number": {
            "description": "Sequential receipt number for reference.",
            "title": "Receipt Number",
            "type": "integer"
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The date and time the database model was last updated",
            "title": "Updated At"
          },
          "vat_amount": {
            "$ref": "#/components/schemas/MoneyRecord",
            "description": "VAT portion on this receipt."
          }
        },
        "required": [
          "id",
          "created_at",
          "paid_amount",
          "receipt_number",
          "vat_amount"
        ],
        "title": "OrderReceiptMinimalRecord",
        "type": "object"
      },
      "OrderReceiptRecord": {
        "description": "Receipt or invoice issued for an order. Exposes amounts and download URL for customer and support.",
        "properties": {
          "created_at": {
            "description": "The date and time the database model was created",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Created At",
            "type": "string"
          },
          "created_by": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/UserRecordMinimal"
              }
            ],
            "default": null,
            "description": "The user who created the record."
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "paid_amount": {
            "$ref": "#/components/schemas/MoneyRecord",
            "description": "Amount covered by this receipt."
          },
          "receipt_number": {
            "description": "Sequential receipt number.",
            "title": "Receipt Number",
            "type": "integer"
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The date and time the database model was last updated",
            "title": "Updated At"
          },
          "updated_by": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/UserRecordMinimal"
              }
            ],
            "default": null,
            "description": "The user who updated the record."
          },
          "url": {
            "anyOf": [
              {
                "format": "uri",
                "maxLength": 2083,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "URL to download the receipt PDF, if available.",
            "title": "Url"
          },
          "vat_amount": {
            "$ref": "#/components/schemas/MoneyRecord",
            "description": "VAT portion on this receipt."
          }
        },
        "required": [
          "id",
          "created_at",
          "paid_amount",
          "receipt_number",
          "vat_amount"
        ],
        "title": "OrderReceiptRecord",
        "type": "object"
      },
      "OrderRecordBase": {
        "description": "Shared order financial and identity fields. Reused across list, customer, and full order responses so amounts and status are consistent.",
        "properties": {
          "amount_gross": {
            "$ref": "#/components/schemas/MoneyRecord",
            "description": "Total amount including VAT (display/checkout)."
          },
          "amount_net": {
            "$ref": "#/components/schemas/MoneyRecord",
            "description": "Amount excluding VAT (accounting)."
          },
          "amount_outstanding": {
            "$ref": "#/components/schemas/MoneyRecord",
            "description": "Remaining amount to be paid."
          },
          "amount_overpaid": {
            "$ref": "#/components/schemas/MoneyRecord",
            "description": "How much the customer has overpaid (credit): max(0, -amount_outstanding). Zero otherwise."
          },
          "amount_paid": {
            "$ref": "#/components/schemas/MoneyRecord",
            "description": "Sum of payments received."
          },
          "amount_refunded": {
            "$ref": "#/components/schemas/MoneyRecord",
            "description": "Sum of succeeded refunds, including credit transfers. Cached on the order; recomputed by order_payable_amounts_recompute."
          },
          "amount_vat": {
            "$ref": "#/components/schemas/MoneyRecord",
            "description": "VAT portion of the total."
          },
          "currency": {
            "$ref": "#/components/schemas/Currency",
            "description": "ISO currency code for all amounts."
          },
          "is_fully_paid": {
            "description": "True when amount_outstanding is zero.",
            "title": "Is Fully Paid",
            "type": "boolean"
          },
          "is_manually_invoiced": {
            "description": "True if order was invoiced outside the system (e.g. manual accounting).",
            "title": "Is Manually Invoiced",
            "type": "boolean"
          },
          "is_overpaid": {
            "description": "True when amount_outstanding is negative.",
            "title": "Is Overpaid",
            "type": "boolean"
          },
          "is_partially_paid": {
            "description": "True when some but not all has been paid.",
            "title": "Is Partially Paid",
            "type": "boolean"
          },
          "order_type": {
            "$ref": "#/components/schemas/OrderType",
            "description": "Kind of order (e.g. tire, service) for filtering and business rules."
          },
          "payment_option": {
            "$ref": "#/components/schemas/PaymentOption",
            "description": "Payment timing option (pay before, pay after, or invoice)."
          },
          "settlement_kind": {
            "$ref": "#/components/schemas/OrderSettlementKind",
            "description": "Where money was settled. External means paid outside Navio (history only; no Navio pay/refund/accounting)."
          },
          "slug": {
            "description": "Unique human-readable order identifier for URLs and support.",
            "title": "Slug",
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/ChoiceRecord_OrderStatus_",
            "description": "Current workflow status of the order."
          }
        },
        "required": [
          "amount_gross",
          "amount_net",
          "amount_outstanding",
          "amount_overpaid",
          "amount_paid",
          "amount_refunded",
          "amount_vat",
          "currency",
          "is_fully_paid",
          "is_manually_invoiced",
          "is_overpaid",
          "is_partially_paid",
          "order_type",
          "payment_option",
          "settlement_kind",
          "slug",
          "status"
        ],
        "title": "OrderRecordBase",
        "type": "object"
      },
      "OrderRecordCustomer": {
        "description": "Order view for customer-facing APIs. Exposes lines, payment status, and receipts so the customer can see what they ordered and proof of payment.",
        "properties": {
          "amount_gross": {
            "$ref": "#/components/schemas/MoneyRecord",
            "description": "Total amount including VAT (display/checkout)."
          },
          "amount_net": {
            "$ref": "#/components/schemas/MoneyRecord",
            "description": "Amount excluding VAT (accounting)."
          },
          "amount_outstanding": {
            "$ref": "#/components/schemas/MoneyRecord",
            "description": "Remaining amount to be paid."
          },
          "amount_overpaid": {
            "$ref": "#/components/schemas/MoneyRecord",
            "description": "How much the customer has overpaid (credit): max(0, -amount_outstanding). Zero otherwise."
          },
          "amount_paid": {
            "$ref": "#/components/schemas/MoneyRecord",
            "description": "Sum of payments received."
          },
          "amount_refunded": {
            "$ref": "#/components/schemas/MoneyRecord",
            "description": "Sum of succeeded refunds, including credit transfers. Cached on the order; recomputed by order_payable_amounts_recompute."
          },
          "amount_vat": {
            "$ref": "#/components/schemas/MoneyRecord",
            "description": "VAT portion of the total."
          },
          "bookings": {
            "description": "Bookings linked to this order (currently at most one). Minimal info — id, slug, location type — for UI linking.",
            "items": {
              "$ref": "#/components/schemas/OrderBookingRecord"
            },
            "title": "Bookings",
            "type": "array"
          },
          "cars": {
            "description": "Cars on the underlying booking. For organization customers each car includes its driver list; for personal/group customers the driver list is empty. Empty when the order has no booking or cars.",
            "items": {
              "$ref": "#/components/schemas/OrderCarRecord"
            },
            "title": "Cars",
            "type": "array"
          },
          "created_at": {
            "description": "The date and time the database model was created",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Created At",
            "type": "string"
          },
          "credit_memos": {
            "description": "Credit memos issued against the order (refund proofs).",
            "items": {
              "$ref": "#/components/schemas/CreditMemoRecord"
            },
            "title": "Credit Memos",
            "type": "array"
          },
          "currency": {
            "$ref": "#/components/schemas/Currency",
            "description": "ISO currency code for all amounts."
          },
          "customer": {
            "$ref": "#/components/schemas/OrderCustomerRecord",
            "description": "Customer identity (name, type, contact) attached to the order for UI display."
          },
          "discounts": {
            "description": "Discounts applied across all order lines.",
            "items": {
              "$ref": "#/components/schemas/OrderLineDiscountRecord"
            },
            "title": "Discounts",
            "type": "array"
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "is_fully_paid": {
            "description": "True when amount_outstanding is zero.",
            "title": "Is Fully Paid",
            "type": "boolean"
          },
          "is_manually_invoiced": {
            "description": "True if order was invoiced outside the system (e.g. manual accounting).",
            "title": "Is Manually Invoiced",
            "type": "boolean"
          },
          "is_nothing_to_pay": {
            "description": "True when the order bills nothing and captured nothing -- every line was withdrawn or not performed. ``payment_status`` is PAID for such an order because there was nothing to charge, not because money arrived; show it as free, not as settled.",
            "title": "Is Nothing To Pay",
            "type": "boolean"
          },
          "is_overpaid": {
            "description": "True when amount_outstanding is negative.",
            "title": "Is Overpaid",
            "type": "boolean"
          },
          "is_partially_paid": {
            "description": "True when some but not all has been paid.",
            "title": "Is Partially Paid",
            "type": "boolean"
          },
          "order_lines": {
            "description": "Line items (products/services) on the order, without withdrawn lines.",
            "items": {
              "$ref": "#/components/schemas/OrderLineRecordCustomer"
            },
            "title": "Order Lines",
            "type": "array"
          },
          "order_type": {
            "$ref": "#/components/schemas/OrderType",
            "description": "Kind of order (e.g. tire, service) for filtering and business rules."
          },
          "payment_option": {
            "$ref": "#/components/schemas/PaymentOption",
            "description": "Payment timing option (pay before, pay after, or invoice)."
          },
          "payment_status": {
            "$ref": "#/components/schemas/ChoiceRecord_OrderPaymentStatus_",
            "description": "Aggregate payment state (e.g. paid, pending) for the order."
          },
          "receipts": {
            "description": "Receipts/invoices available for download.",
            "items": {
              "$ref": "#/components/schemas/OrderReceiptRecord"
            },
            "title": "Receipts",
            "type": "array"
          },
          "refunds": {
            "description": "Customer-safe refund and credit processing state.",
            "items": {
              "$ref": "#/components/schemas/CustomerRefundRecord"
            },
            "title": "Refunds",
            "type": "array"
          },
          "settlement_kind": {
            "$ref": "#/components/schemas/OrderSettlementKind",
            "description": "Where money was settled. External means paid outside Navio (history only; no Navio pay/refund/accounting)."
          },
          "slug": {
            "description": "Unique human-readable order identifier for URLs and support.",
            "title": "Slug",
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/ChoiceRecord_OrderStatus_",
            "description": "Current workflow status of the order."
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The date and time the database model was last updated",
            "title": "Updated At"
          },
          "withdrawn_order_lines": {
            "description": "Lines the customer paid for whose service was removed from the booking. Not billed; shown for history.",
            "items": {
              "$ref": "#/components/schemas/OrderLineRecordCustomer"
            },
            "title": "Withdrawn Order Lines",
            "type": "array"
          }
        },
        "required": [
          "id",
          "created_at",
          "payment_status",
          "is_nothing_to_pay",
          "amount_gross",
          "amount_net",
          "amount_outstanding",
          "amount_overpaid",
          "amount_paid",
          "amount_refunded",
          "amount_vat",
          "currency",
          "is_fully_paid",
          "is_manually_invoiced",
          "is_overpaid",
          "is_partially_paid",
          "order_type",
          "payment_option",
          "settlement_kind",
          "slug",
          "status",
          "refunds",
          "customer",
          "cars",
          "bookings",
          "order_lines",
          "withdrawn_order_lines",
          "receipts",
          "credit_memos",
          "discounts"
        ],
        "title": "OrderRecordCustomer",
        "type": "object"
      },
      "OrderRecordCustomerArray": {
        "items": {
          "$ref": "#/components/schemas/OrderRecordCustomer"
        },
        "properties": {},
        "type": "array"
      },
      "OrderSettlementKind": {
        "description": "Where money for an order was settled.\n\n``NAVIO`` is the default: payments, receipts, refunds, and accounting\nrun through Navio. ``EXTERNAL`` means the customer already paid outside\nNavio (e.g. historic adapter import); Navio only stores the order for\nhistory and must not treat it as Navio revenue or collect again.",
        "enum": [
          "external",
          "navio"
        ],
        "title": "OrderSettlementKind",
        "type": "string",
        "x-enum-descriptions": [
          "Navio",
          "External"
        ],
        "x-enum-member-descriptions": [
          "Payments, receipts, refunds, and accounting run through Navio. This is the default, and the order counts as Navio revenue.",
          "The customer already paid outside Navio. The order is history only: do not collect it again or count it as Navio revenue."
        ]
      },
      "OrderType": {
        "description": "Identifies the business context that created an order.\n\nDetermines pricing rules, payment flows, and which fulfillment\nprocess applies to the order.",
        "enum": [
          "booking",
          "eontyre_ad_hoc",
          "rim_quote",
          "tire_quote"
        ],
        "title": "OrderType",
        "type": "string",
        "x-enum-descriptions": [
          "Shop purchase",
          "Rim quote",
          "Booking",
          "EonTyre ad hoc"
        ],
        "x-enum-member-descriptions": [
          "A shop purchase of goods, with no booking attached. Staff see it as a shop purchase.",
          "A rim quote. Nothing creates these orders anymore, so the value only remains for old rows.",
          "Raised for a booking. Pricing, payment, and fulfillment follow that booking, not a shop quote.",
          "An old EonTyre ad-hoc order. The model that created these was removed, so nothing new uses it."
        ]
      },
      "OrganizationType": {
        "description": "Classifies external organizations by their business relationship.\n\nDetermines which features, pricing rules, and workflows apply\nto an organization (e.g. B2B customers get invoicing, tire hotels\nget storage integrations, suppliers get inventory feeds).",
        "enum": [
          "b2b_customer",
          "car_dealership",
          "insurance_company",
          "leasing_company",
          "municipality",
          "other",
          "parking_operator",
          "supplier",
          "tire_hotel",
          "tire_test_publisher"
        ],
        "title": "OrganizationType",
        "type": "string",
        "x-enum-descriptions": [
          "B2B Customer",
          "Car Dealership",
          "Insurance Company",
          "Leasing Company",
          "Municipality",
          "Other",
          "Parking operator",
          "Supplier",
          "Tire Test Publisher",
          "Tire Hotel"
        ],
        "x-enum-member-descriptions": [
          "A company fleet that employs its drivers, so a driver is a member. Default type, and the one tied to invoicing.",
          "Holds a car an outside customer drives, or stock. The driver is not added as a member.",
          "An insurer. Drivers are not treated as employees, and it does not hold an outside customer's car.",
          "Holds a car a private lessee drives. The driver stays a personal customer, not a member.",
          "A municipal fleet that employs its drivers, so a driver is a member.",
          "A relationship that is none of the named organization kinds.",
          "Runs conditional parking areas. Drivers are not members, and it does not hold an outside customer's car.",
          "Provides inventory feeds. It does not employ the drivers and does not hold an outside customer's car.",
          "Publishes tire tests we show alongside tire quotes. It has no drivers, cars or invoicing with us.",
          "Uses storage integrations. It does not employ the drivers and does not hold an outside customer's car."
        ]
      },
      "PDFDocumentRecordCustomer": {
        "description": "Record for PDFDocumentCustomer.",
        "properties": {
          "created_at": {
            "description": "The date and time the database model was created",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Created At",
            "type": "string"
          },
          "filename": {
            "description": "Filename of the PDF document.",
            "title": "Filename",
            "type": "string"
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The date and time the database model was last updated",
            "title": "Updated At"
          },
          "url": {
            "description": "URL to download the PDF document.",
            "format": "uri",
            "maxLength": 2083,
            "minLength": 1,
            "title": "Url",
            "type": "string"
          }
        },
        "required": [
          "id",
          "created_at",
          "filename",
          "url"
        ],
        "title": "PDFDocumentRecordCustomer",
        "type": "object"
      },
      "ParkingPlaceEntranceRecord": {
        "description": "Entrance pin of a parking place with its clearance limits.",
        "properties": {
          "created_at": {
            "description": "The date and time the database model was created",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Created At",
            "type": "string"
          },
          "fence_radius_meters": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Geofence radius around the entrance pin, in meters.",
            "title": "Fence Radius Meters"
          },
          "height_limit_cm": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Measured clearance height in centimeters.",
            "title": "Height Limit Cm"
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "image": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "URL of the entrance image.",
            "title": "Image"
          },
          "instructions": {
            "description": "Access and handling instructions for this entrance.",
            "title": "Instructions",
            "type": "string"
          },
          "latitude": {
            "description": "Latitude of the entrance pin.",
            "title": "Latitude",
            "type": "number"
          },
          "longitude": {
            "description": "Longitude of the entrance pin.",
            "title": "Longitude",
            "type": "number"
          },
          "name": {
            "description": "Display name of the entrance.",
            "title": "Name",
            "type": "string"
          },
          "parking_place_id": {
            "description": "Parking place this entrance belongs to.",
            "title": "Parking Place Id",
            "type": "integer"
          },
          "parqio_entrance_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Parqio door this entrance opens.",
            "title": "Parqio Entrance Id"
          },
          "status": {
            "$ref": "#/components/schemas/ResourceStatus",
            "description": "Lifecycle status of the entrance."
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The date and time the database model was last updated",
            "title": "Updated At"
          },
          "width_limit_cm": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Measured clearance width in centimeters.",
            "title": "Width Limit Cm"
          }
        },
        "required": [
          "id",
          "created_at",
          "parking_place_id",
          "name",
          "status",
          "latitude",
          "longitude",
          "instructions"
        ],
        "title": "ParkingPlaceEntranceRecord",
        "type": "object"
      },
      "ParkingPlaceRecordMinimalList": {
        "description": "A parking place, identified by its ``id`` and name, with timestamps.",
        "properties": {
          "created_at": {
            "description": "The date and time the database model was created",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Created At",
            "type": "string"
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "name": {
            "description": "Display name of the parking place.",
            "title": "Name",
            "type": "string"
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The date and time the database model was last updated",
            "title": "Updated At"
          }
        },
        "required": [
          "id",
          "created_at",
          "name"
        ],
        "title": "ParkingPlaceRecordMinimalList",
        "type": "object"
      },
      "ParkingZoneKind": {
        "description": "Function of a zone inside a parking place where work is done.",
        "enum": [
          "MAINTENANCE",
          "WASHING"
        ],
        "title": "ParkingZoneKind",
        "type": "string",
        "x-enum-descriptions": [
          "Washing zone",
          "Maintenance zone"
        ],
        "x-enum-member-descriptions": [
          "A zone inside a parking place where washing is done, not maintenance.",
          "A zone inside a parking place where maintenance is done, not washing."
        ]
      },
      "ParkingZoneRecord": {
        "description": "Washing/maintenance zone pin inside a parking place.",
        "properties": {
          "created_at": {
            "description": "The date and time the database model was created",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Created At",
            "type": "string"
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "instructions": {
            "description": "Instructions for working in this zone.",
            "title": "Instructions",
            "type": "string"
          },
          "kind": {
            "$ref": "#/components/schemas/ParkingZoneKind",
            "description": "What the zone is used for inside the facility."
          },
          "latitude": {
            "description": "Latitude of the zone pin.",
            "title": "Latitude",
            "type": "number"
          },
          "longitude": {
            "description": "Longitude of the zone pin.",
            "title": "Longitude",
            "type": "number"
          },
          "name": {
            "description": "Display name of the zone.",
            "title": "Name",
            "type": "string"
          },
          "parking_place_id": {
            "description": "Parking place this zone belongs to.",
            "title": "Parking Place Id",
            "type": "integer"
          },
          "status": {
            "$ref": "#/components/schemas/ResourceStatus",
            "description": "Lifecycle status of the zone."
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The date and time the database model was last updated",
            "title": "Updated At"
          }
        },
        "required": [
          "id",
          "created_at",
          "parking_place_id",
          "name",
          "status",
          "kind",
          "latitude",
          "longitude",
          "instructions"
        ],
        "title": "ParkingZoneRecord",
        "type": "object"
      },
      "PaymentOption": {
        "description": "Available payment timing options for shop orders.\n\nDetermines when payment is collected relative to order fulfillment:\nupfront, after completion, or via invoice.",
        "enum": [
          "INVOICE",
          "PAY_AFTER",
          "PAY_BEFORE"
        ],
        "title": "PaymentOption",
        "type": "string",
        "x-enum-descriptions": [
          "Pay for the order before it is fulfilled",
          "Pay for the order after it is fulfilled",
          "Pay with invoice after the order is fulfilled"
        ],
        "x-enum-member-descriptions": [
          "The customer pays before the shop order is fulfilled.",
          "The customer pays after the shop order is fulfilled, and not by invoice.",
          "The customer is invoiced after the shop order is fulfilled."
        ]
      },
      "PersonalAccountPurpose": {
        "description": "Purpose of a personal user group (1:1 with a login).\n\nPrivate is a consumer profile. Business is a personal-business\n(sole-proprietor) profile. Not IAM hierarchy and not\n``UserGroupType``. Null on non-personal groups.",
        "enum": [
          "business",
          "private"
        ],
        "title": "PersonalAccountPurpose",
        "type": "string",
        "x-enum-descriptions": [
          "Private",
          "Business"
        ],
        "x-enum-member-descriptions": [
          "A consumer profile on a one-person group. Not a sole proprietorship, and not a user-group type.",
          "A sole-proprietor profile on a one-person group. It stays personal, not a company group."
        ]
      },
      "PersonalInfoReviewSection": {
        "description": "One dialog of the customer's post-login personal-info review.\n\nA brand picks which sections its customers are asked about; the order of\nthe members is the order the dialogs are shown in. Cars come before\naddresses because a stale car costs more (it is offered on every booking)\nthan a stale address.",
        "enum": [
          "addresses",
          "cars",
          "contact"
        ],
        "title": "PersonalInfoReviewSection",
        "type": "string",
        "x-enum-descriptions": [
          "Contact details",
          "Cars",
          "Addresses"
        ],
        "x-enum-member-descriptions": [
          "The first post-login dialog, asking the customer to confirm contact details.",
          "The cars dialog, shown before addresses because a stale car is offered on every booking.",
          "The addresses dialog, shown after cars. A stale address costs less than a stale car."
        ]
      },
      "PriceSale": {
        "description": "Net-authoritative sale price: the single place gross and VAT are derived.\n\n``price_net`` is the agreed price. ``price_gross`` and ``price_vat`` are\nalways computed from it and never stored alongside it, which is what makes\nboth accounting invariants hold at once:\n\n    price_net + price_vat == price_gross\n    price_vat == round_half_up(price_net * rate)\n\nThose two can conflict when gross is the stored value, but not here: a net\nis a whole number of minor units, and adding an integer commutes with\nrounding.\n\nSee ``src/apps/orders/docs/vat-rounding.md``.",
        "properties": {
          "currency": {
            "$ref": "#/components/schemas/Currency",
            "readOnly": true
          },
          "price_gross": {
            "$ref": "#/components/schemas/MoneyRecord",
            "description": "Unit price including VAT: ``round_half_up(net * (1 + rate))``.",
            "readOnly": true
          },
          "price_net": {
            "$ref": "#/components/schemas/MoneyRecord",
            "description": "Unit price excluding VAT. The authoritative amount."
          },
          "price_vat": {
            "$ref": "#/components/schemas/MoneyRecord",
            "description": "VAT on the unit price: ``price_gross - price_net``.\n\nEqual to ``round_half_up(price_net * rate)`` exactly -- see the class\ndocstring for why the two definitions cannot diverge here.",
            "readOnly": true
          },
          "vat_percentage": {
            "description": "VAT percentage. Number between 0 and 100.",
            "title": "Vat Percentage",
            "type": "number"
          }
        },
        "required": [
          "price_net",
          "vat_percentage",
          "price_gross",
          "price_vat",
          "currency"
        ],
        "title": "PriceSale",
        "type": "object"
      },
      "QuantityModel": {
        "description": "Model for Quantities, supported by the pint package",
        "properties": {
          "unit": {
            "title": "Unit",
            "type": "string"
          },
          "value": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "integer"
              }
            ],
            "title": "Value"
          }
        },
        "required": [
          "value",
          "unit"
        ],
        "title": "QuantityModel",
        "type": "object"
      },
      "ReferralRecordList": {
        "description": "List/summary record for a referral.",
        "properties": {
          "brand_id": {
            "description": "Brand this referral belongs to.",
            "title": "Brand Id",
            "type": "integer"
          },
          "created_at": {
            "description": "The date and time the database model was created",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Created At",
            "type": "string"
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "slug": {
            "description": "Referral slug.",
            "title": "Slug",
            "type": "string"
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The date and time the database model was last updated",
            "title": "Updated At"
          }
        },
        "required": [
          "id",
          "created_at",
          "brand_id",
          "slug"
        ],
        "title": "ReferralRecordList",
        "type": "object"
      },
      "RefundStatus": {
        "description": "Tracks the lifecycle state of a refund from initiation to completion.\n\nOrdered by natural refund lifecycle:\nPENDING -> SUCCEEDED / FAILED / CANCELLED",
        "enum": [
          "cancelled",
          "failed",
          "pending",
          "succeeded"
        ],
        "title": "RefundStatus",
        "type": "string",
        "x-enum-descriptions": [
          "Pending",
          "Succeeded",
          "Failed",
          "Canceled"
        ],
        "x-enum-member-descriptions": [
          "Started, and the amount stays reserved so it cannot be requested again. Not yet succeeded, failed, or canceled.",
          "The provider returned the money. Only this state counts as already refunded on the line.",
          "The provider did not return the money. The amount can be requested again, unlike a refund still pending.",
          "Stopped without counting as money returned and without counting as a failed attempt."
        ]
      },
      "ReleaseChannel": {
        "description": "Feature release channel for user groups.\n\nOperates as a hierarchy: higher channels include all features\nfrom lower ones.\n\n- STABLE: Production features available to all customers.\n- BETA: Early-access features for selected customers. Includes\n  all STABLE features.\n- ALPHA: Earliest features for internal employees only. Includes\n  all BETA and STABLE features.",
        "enum": [
          "alpha",
          "beta",
          "stable"
        ],
        "title": "ReleaseChannel",
        "type": "string",
        "x-enum-descriptions": [
          "Stable",
          "Beta",
          "Alpha"
        ],
        "x-enum-member-descriptions": [
          "Production features for every customer. Beta and alpha features are not included.",
          "Early-access features for selected customers, plus everything already in stable.",
          "The earliest features, for internal employees only, plus everything in beta and stable."
        ]
      },
      "ResourceStatus": {
        "description": "Lifecycle status of a site, workstation, or port.\n\nACTIVE — Fully operational, shown everywhere.\nOUT_OF_ORDER — Temporarily unavailable (e.g. broken equipment),\n    still visible but not bookable.\nDISABLED_SHOW — No longer bookable but still visible in the frontend\n    (e.g. for historical reference).\nDISABLED_HIDE — Completely hidden from all API listings.",
        "enum": [
          "ACTIVE",
          "DISABLED_HIDE",
          "DISABLED_SHOW",
          "OUT_OF_ORDER"
        ],
        "title": "ResourceStatus",
        "type": "string",
        "x-enum-descriptions": [
          "Active",
          "Out of order",
          "Disabled (visible)",
          "Disabled (hidden)"
        ],
        "x-enum-member-descriptions": [
          "Fully operational, shown everywhere, and bookable.",
          "Temporarily unavailable, such as broken equipment. Still visible, but not bookable.",
          "No longer bookable, but still visible, for example so history can be shown.",
          "Hidden from every API listing, which is stronger than staying visible and not bookable."
        ]
      },
      "Rim": {
        "description": "The outer edge of the wheel, specifically the part that holds the tire in place.\n\nPurpose: Provides a base for mounting the tire and helps maintain its shape under pressure.\n\nhttps://www.tireagent.com/blog/wheels-vs-rims-vs-tires-car-wheel-anatomy",
        "properties": {
          "bolt_pattern": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/RimBoltPattern"
              }
            ],
            "default": null,
            "description": "The number of bolts and the diameter of the circle they form (in mm). The bolt pattern is represented by a string, where each character represents a bolt. The number of bolts is indicated by the number of characters in the string. The spacing between bolts is determined by the spacing between characters. Example: 5x114.3 means 5 bolts in a circle with a diameter of 114.3 mm.",
            "examples": [
              "4x156",
              "5x100",
              "6x114.3",
              "8x165.1"
            ]
          },
          "brand": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Rim brand",
            "title": "Brand"
          },
          "center_bore": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "$ref": "#/components/schemas/CenterBore"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The diameter of the hole in the center of the wheel (in mm), 1 decimal. Accepts CenterBore enum, Decimal, float, or string (e.g. 'CB73.1', '73.1'). Use CenterBore.label_for_value() for a human-readable label.",
            "examples": [
              "73.1"
            ],
            "title": "Center Bore"
          },
          "diameter": {
            "anyOf": [
              {
                "description": "Distance in US inches as a float.",
                "minimum": 0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Rim diameter in inches (The Metal). This is the measurement across the center of the wheel (the rim) from one bead seat to the other. When you see a wheel advertised as a '18-inch rim,' that 18\" is the diameter of the circle where the tire actually sits. Where it appears: In a wheel size like 18 x 8.5, the first number (18) is the diameter. Critical Rule: The inner diameter of the tire must match the rim diameter. You cannot put a 17-inch tire on an 18-inch rim. Valid range: 10-30 inches.",
            "examples": [
              15
            ],
            "title": "Diameter"
          },
          "lug_seat_angle": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Lug seat angle in degrees (e.g. 45 for conical/ball seat).",
            "title": "Lug Seat Angle"
          },
          "model": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Rim model",
            "title": "Model"
          },
          "offset": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "'ET' stands for Einpress Tiefe (German for 'offset'). In millimeters. Offset describes the distance between the rim's mounting surface and its centerline. Positive offset (e.g., 46 mm): The mounting surface is closer to the outside edge of the wheel. Negative offset: The mounting surface is closer to the inside edge. Offset affects how far the wheel sticks out or is tucked in relative to the car's fender. String format: optional 'ET' prefix, optional minus, digits, optional decimal (e.g. ET45, -20, 41.5). Valid range: -60 to 100 mm.",
            "examples": [
              45
            ],
            "title": "Offset"
          },
          "type": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/RimBeadProfile"
              }
            ],
            "default": null,
            "description": "Rim type is a design element that defines the shape and profile of the rim. Usually a letter, such as 'J' indicating the shape of the rim flange.",
            "examples": [
              "J"
            ]
          },
          "width": {
            "anyOf": [
              {
                "description": "Distance in US inches as a float.",
                "minimum": 0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Rim width in inches. It measures the distance between the inner edges of the rim flanges where the tire beads sit. A rim width of 6.00 inches can fit tires within a specific range of widths. Valid range: 4.0-15.0 inches.",
            "examples": [
              9.5
            ],
            "title": "Width"
          }
        },
        "title": "Rim",
        "type": "object"
      },
      "RimBeadProfile": {
        "description": "Also know as CollarProfile\n\nhttps://www.oponeo.co.uk/blog/how-to-read-the-wheel-markings\nhttps://www.tyreleader.ie/tyres-advices/wheel-markings",
        "enum": [
          "A",
          "B",
          "D",
          "E",
          "J",
          "JJ",
          "JK",
          "JX",
          "K",
          "P",
          "S",
          "T",
          "V",
          "W",
          "X"
        ],
        "title": "RimBeadProfile",
        "type": "string",
        "x-enum-descriptions": [
          "Bicycles, mopeds, motorcycles, scooters",
          "Used in older vehicles, particularly classic and vintage car",
          "Found in certain specialized and heavy-duty applications.",
          "Seen in larger commercial vehicles and some off-road applications.",
          "Passenger cars",
          "4x4SUVs",
          "",
          "Similar to J but with a different flange angle, found in some commercial vehicles.",
          "Designed for heavy-duty vehicles like trucks and buses, with a stronger bead seat.",
          "Occasionally used in specific off-road or agricultural applications.",
          "commercial vehicles with flatbase wheels",
          "commercial vehicles with flatbase wheels",
          "commercial vehicles with flatbase wheels",
          "Agricultural tractors",
          "Used in specialized racing or off-road rims, sometimes indicating a unique bead-locking design."
        ],
        "x-enum-member-descriptions": [
          "Collar profile for bicycles, mopeds, motorcycles, and scooters, not for a car flange.",
          "Collar profile used on older vehicles, especially classic and vintage cars.",
          "Collar profile for certain specialized and heavy-duty uses, not the flat-base commercial letters.",
          "Collar profile seen on larger commercial vehicles and some off-road uses.",
          "Collar profile for passenger cars.",
          "Collar profile for 4x4s and SUVs, rather than a passenger-car J flange.",
          "Collar profile JX. No vehicle family is recorded for this letter.",
          "Like a J flange but with a different flange angle, used on some commercial vehicles.",
          "Heavy-duty collar for trucks and buses, with a stronger bead seat than J or K.",
          "Collar profile used occasionally for specific off-road or agricultural wheels, not tractor W.",
          "Flat-base collar on commercial vehicles. The marking is S, and the source does not split it from T or V.",
          "Flat-base collar on commercial vehicles. The marking is T, and the source does not split it from S or V.",
          "Flat-base collar on commercial vehicles. The marking is V, and the source does not split it from S or T.",
          "Collar profile for agricultural tractors.",
          "Collar profile for specialized racing or off-road rims, sometimes a bead-locking design."
        ]
      },
      "RimBoltPattern": {
        "properties": {
          "bolts": {
            "description": "Number of bolts in the rim",
            "title": "Bolts",
            "type": "integer"
          },
          "diameter": {
            "description": "The diameter of the circle formed by the bolts. Measured in millimeters",
            "maximum": 300,
            "minimum": 50,
            "title": "Diameter",
            "type": "number"
          }
        },
        "required": [
          "bolts",
          "diameter"
        ],
        "title": "RimBoltPattern",
        "type": "object"
      },
      "RimSize": {
        "description": "Rim diameter, width, and bead profile (type).",
        "properties": {
          "diameter": {
            "anyOf": [
              {
                "description": "Distance in US inches as a float.",
                "minimum": 0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Rim diameter in inches (The Metal). This is the measurement across the center of the wheel (the rim) from one bead seat to the other. When you see a wheel advertised as a '18-inch rim,' that 18\" is the diameter of the circle where the tire actually sits. Where it appears: In a wheel size like 18 x 8.5, the first number (18) is the diameter. Critical Rule: The inner diameter of the tire must match the rim diameter. You cannot put a 17-inch tire on an 18-inch rim. Valid range: 10-30 inches.",
            "examples": [
              15
            ],
            "title": "Diameter"
          },
          "type": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/RimBeadProfile"
              }
            ],
            "default": null,
            "description": "Rim type is a design element that defines the shape and profile of the rim. Usually a letter, such as 'J' indicating the shape of the rim flange.",
            "examples": [
              "J"
            ]
          },
          "width": {
            "anyOf": [
              {
                "description": "Distance in US inches as a float.",
                "minimum": 0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Rim width in inches. It measures the distance between the inner edges of the rim flanges where the tire beads sit. A rim width of 6.00 inches can fit tires within a specific range of widths. Valid range: 4.0-15.0 inches.",
            "examples": [
              9.5
            ],
            "title": "Width"
          }
        },
        "title": "RimSize",
        "type": "object"
      },
      "RouteItemRecordPartner": {
        "description": "Record for RouteItemPartner.",
        "properties": {
          "created_at": {
            "description": "The date and time the database model was created",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Created At",
            "type": "string"
          },
          "estimated_arrival": {
            "description": "Estimated arrival time.",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Estimated Arrival",
            "type": "string"
          },
          "estimated_departure": {
            "description": "Estimated departure time.",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Estimated Departure",
            "type": "string"
          },
          "estimated_service_start": {
            "description": "Estimated service start time.",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Estimated Service Start",
            "type": "string"
          },
          "estimated_waiting_time": {
            "description": "Estimated waiting time in seconds.",
            "title": "Estimated Waiting Time",
            "type": "integer"
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "index": {
            "description": "Position index in the route.",
            "title": "Index",
            "type": "integer"
          },
          "manually_added_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "When the item was manually added.",
            "title": "Manually Added At"
          },
          "manually_added_by": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/UserRecord"
              }
            ],
            "default": null,
            "description": "User who manually added this item."
          },
          "seconds_late_arrival": {
            "description": "Seconds late for arrival.",
            "title": "Seconds Late Arrival",
            "type": "integer"
          },
          "seconds_late_completion": {
            "description": "Seconds late for completion.",
            "title": "Seconds Late Completion",
            "type": "integer"
          },
          "time_zone": {
            "$ref": "#/components/schemas/TimeZoneRecord",
            "description": "Time zone of the route's service department. Show this stop's clock times in this zone."
          },
          "type": {
            "$ref": "#/components/schemas/RouteItemType",
            "description": "Route item type."
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The date and time the database model was last updated",
            "title": "Updated At"
          }
        },
        "required": [
          "id",
          "created_at",
          "index",
          "type",
          "estimated_arrival",
          "estimated_service_start",
          "estimated_departure",
          "estimated_waiting_time",
          "seconds_late_arrival",
          "seconds_late_completion",
          "time_zone"
        ],
        "title": "RouteItemRecordPartner",
        "type": "object"
      },
      "RouteItemType": {
        "description": "Defines the type of a RouteItem.",
        "enum": [
          "booking",
          "break",
          "depot",
          "reload",
          "transfer_stop"
        ],
        "title": "RouteItemType",
        "type": "string",
        "x-enum-descriptions": [
          "Depot",
          "Booking",
          "Break",
          "Reload",
          "Transfer stop"
        ],
        "x-enum-member-descriptions": [
          "A start or end depot stop. Not a customer booking, a break, a reload, or a transfer stop.",
          "A stop for a customer booking.",
          "A worker break stop. Not a booking and not a place where wheels are loaded.",
          "A stop where the van loads or unloads wheels at storage, on a service route.",
          "A stop on a storage-transfer route. Not a customer booking and not a service-route reload."
        ]
      },
      "RouteRecordPartner": {
        "description": "Record for RoutePartner.",
        "properties": {
          "capacity_contribution": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/CapacityContributionRecordPartner"
              }
            ],
            "default": null,
            "description": "Capacity contribution for this route."
          },
          "completed_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "When the route was completed.",
            "title": "Completed At"
          },
          "confirmed_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "When the route was confirmed.",
            "title": "Confirmed At"
          },
          "created_at": {
            "description": "The date and time the database model was created",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Created At",
            "type": "string"
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "manually_created_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "When the route was manually created.",
            "title": "Manually Created At"
          },
          "started_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "When the route was started.",
            "title": "Started At"
          },
          "summary": {
            "$ref": "#/components/schemas/RouteSummaryRecordPartner",
            "description": "Route summary."
          },
          "time_zone": {
            "$ref": "#/components/schemas/TimeZoneRecord",
            "description": "Time zone of the route's service department. Show the route's clock times and date in this zone."
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The date and time the database model was last updated",
            "title": "Updated At"
          }
        },
        "required": [
          "id",
          "created_at",
          "summary",
          "time_zone"
        ],
        "title": "RouteRecordPartner",
        "type": "object"
      },
      "RouteSummaryRecordPartner": {
        "description": "Record for RouteSummaryPartner.",
        "properties": {
          "id": {
            "description": "Route summary ID.",
            "title": "Id",
            "type": "integer"
          },
          "is_valid": {
            "description": "Whether the route is valid.",
            "title": "Is Valid",
            "type": "boolean"
          },
          "max_duration_exceeded_in_seconds": {
            "description": "Max duration exceeded in seconds.",
            "minimum": 0,
            "title": "Max Duration Exceeded In Seconds",
            "type": "number"
          },
          "min_duration_exceeded_in_seconds": {
            "description": "Min duration exceeded in seconds.",
            "minimum": 0,
            "title": "Min Duration Exceeded In Seconds",
            "type": "number"
          },
          "total_cost": {
            "description": "Total cost.",
            "title": "Total Cost",
            "type": "number"
          },
          "total_distance_in_meters": {
            "description": "Total distance in meters.",
            "minimum": 0,
            "title": "Total Distance In Meters",
            "type": "number"
          },
          "total_driving_time_in_seconds": {
            "description": "Total driving time in seconds.",
            "minimum": 0,
            "title": "Total Driving Time In Seconds",
            "type": "number"
          },
          "total_late_arrival_in_seconds": {
            "description": "Total late arrival in seconds.",
            "minimum": 0,
            "title": "Total Late Arrival In Seconds",
            "type": "number"
          },
          "total_late_completion_in_seconds": {
            "description": "Total late completion in seconds.",
            "minimum": 0,
            "title": "Total Late Completion In Seconds",
            "type": "number"
          },
          "total_load_exceeded": {
            "description": "Per-dimension load over capacity from the route planner output.",
            "items": {
              "type": "number"
            },
            "title": "Total Load Exceeded",
            "type": "array"
          },
          "total_pickup_delivery_load_exceeded": {
            "description": "Per-dimension pickup and delivery load over capacity from the route planner output.",
            "items": {
              "type": "number"
            },
            "title": "Total Pickup Delivery Load Exceeded",
            "type": "array"
          },
          "total_time_in_seconds": {
            "description": "Total time in seconds.",
            "minimum": 0,
            "title": "Total Time In Seconds",
            "type": "number"
          },
          "total_waiting_time_in_seconds": {
            "description": "Total waiting time in seconds.",
            "minimum": 0,
            "title": "Total Waiting Time In Seconds",
            "type": "number"
          },
          "unsatisfied_capabilities": {
            "description": "Capabilities that could not be satisfied.",
            "items": {
              "$ref": "#/components/schemas/CapabilityRecordList"
            },
            "title": "Unsatisfied Capabilities",
            "type": "array"
          }
        },
        "required": [
          "id",
          "is_valid",
          "total_distance_in_meters",
          "total_driving_time_in_seconds",
          "total_waiting_time_in_seconds",
          "total_time_in_seconds",
          "total_cost",
          "min_duration_exceeded_in_seconds",
          "max_duration_exceeded_in_seconds",
          "total_late_arrival_in_seconds",
          "total_late_completion_in_seconds"
        ],
        "title": "RouteSummaryRecordPartner",
        "type": "object"
      },
      "SalesItemBookingCategoryType": {
        "description": "Determines how sales items are grouped in the frontend booking flow.\n\nSales items with the same category type are shown together in the\nfrontend booking flow.",
        "enum": [
          "stone_chip_repair",
          "wash_services",
          "wheel_services"
        ],
        "title": "SalesItemBookingCategoryType",
        "type": "string",
        "x-enum-descriptions": [
          "Wheel services",
          "Wash services",
          "Stone chip repair"
        ],
        "x-enum-member-descriptions": [
          "Frontend booking group for wheel work. Sales items of this type are shown together.",
          "Frontend booking group for wash work. Sales items of this type are shown together.",
          "Frontend booking group for stone-chip repair. Sales items of this type are shown together."
        ]
      },
      "SalesItemCategory": {
        "description": "Classifies every sales item in the system.\n\nEach value serves two purposes:\n1. Backend scoping -- APIs and services use categories to\n   scope which sales items apply in different contexts\n   (e.g., inventory pipelines, booking queries, quotes).\n2. System behavior -- categories with an entry in\n   SALES_ITEM_TRAIT_REGISTRY have traits that drive\n   business logic (booking flow, logistics, contracts).\n\nCategories without a registry entry have no system-triggered\nbehavior; they exist purely for scoping and grouping.\n\nKeep this list as slim as possible. Only add a new value when\neither the system needs a genuinely new behavioral profile, or\na new product domain requires its own filtering scope.",
        "enum": [
          "ADAPTER_FEE",
          "ADAPTER_PRODUCT",
          "ADAPTER_SERVICE",
          "CAR_REPAIR",
          "CAR_RIM",
          "CAR_TIRE",
          "CAR_WASH",
          "CAR_WINDSCREEN_REPAIR",
          "CAR_WIPERS",
          "FEE",
          "MOUNTING",
          "MOUNTING_1_TIRE_PREPAID",
          "MOUNTING_2_TIRES_PREPAID",
          "MOUNTING_3_TIRES_PREPAID",
          "MOUNTING_4_TIRES_PREPAID",
          "RIM_BOLTS_REPAIR",
          "RIM_WASH",
          "SHOP_RIM",
          "SHOP_RIM_GENERIC_PREPAID",
          "SHOP_RIM_SALE_GENERIC",
          "SHOP_TIRE",
          "SHOP_TIRE_GENERIC",
          "SHOP_TIRE_GENERIC_PREPAID",
          "WHEEL_CARRY",
          "WHEEL_CHANGE",
          "WHEEL_STORAGE",
          "WHEEL_STORAGE_CANCEL_CUSTOMER_COLLECT",
          "WHEEL_STORAGE_CANCEL_WITHOUT_WHEEL_CHANGE",
          "WHEEL_STORAGE_CANCEL_WITH_WHEEL_CHANGE",
          "WHEEL_STORAGE_INBOUND_PICKUP",
          "WHEEL_STORAGE_NEW_CUSTOMER_DROP_OFF",
          "WHEEL_STORAGE_NEW_FIRST_SEASON",
          "WHEEL_STORAGE_NEW_WITHOUT_WHEEL_CHANGE",
          "WHEEL_STORAGE_NEW_WITH_WHEEL_CHANGE",
          "WHEEL_STORAGE_PICKUP",
          "WHEEL_STORAGE_PICKUP_AT_CUSTOMER_ADDRESS",
          "WHEEL_STORAGE_PICKUP_AT_DIFFERENT_ADDRESS",
          "WHEEL_STORAGE_REHOME",
          "WHEEL_STORAGE_RENEW",
          "WHEEL_STORAGE_RENEW_STORAGE_ONLY",
          "WHEEL_STORAGE_SELF_PICKUP"
        ],
        "title": "SalesItemCategory",
        "type": "string",
        "x-enum-descriptions": [
          "Car repair",
          "Rim bolts repair",
          "Car wash",
          "Windscreen repair",
          "Car wipers",
          "Wheel change",
          "Wheel carry",
          "Rim wash",
          "Tire mounting",
          "Mounting 1 tire prepaid",
          "Mounting 2 tires prepaid",
          "Mounting 3 tires prepaid",
          "Mounting 4 tires prepaid",
          "New wheel storage with wheel change",
          "New wheel storage without wheel change",
          "Cancel wheel storage with wheel change",
          "Cancel wheel storage without wheel change",
          "Renew wheel storage",
          "Renew wheel storage, storage only",
          "Wheel storage pickup",
          "Wheel storage pickup at customer address",
          "Wheel storage pickup at different address",
          "Wheel storage self pickup",
          "Drop off wheel set at facility",
          "Collect wheel set at facility",
          "Tire hotel first season",
          "Wheel storage rehome",
          "Wheel storage inbound pickup",
          "Car rim",
          "Car tire",
          "Rim sales",
          "Tire sales",
          "Tire sale generic items",
          "Tire sale generic items prepaid",
          "Rim sale generic items",
          "Rim sale generic items prepaid",
          "Adapter service",
          "Adapter product",
          "Adapter fee",
          "Fee",
          "Wheel storage"
        ],
        "x-enum-member-descriptions": [
          "One-off repair work. Recall leaves it out when building a re-booking proposal.",
          "Repair of the bolts that fasten the rim to the car.",
          "Wash of the whole car, scoped so a car-wash service organization only sees those products.",
          "Repair of a windscreen, scoped to the service organizations that do that work.",
          "Wiper products. Used only to scope and group them; no trait drives booking or logistics.",
          "Swap the wheels on the car. Hidden when wheels are already stored, and recall can re-propose it. Sizes stay in rules.",
          "Haul the wheels with the job. Recall re-proposes it when an earlier booking included it.",
          "Wash the rims as a wheel add-on. Recall tracks it apart from a car wash.",
          "Mount tires on rims. A tire quote picks this service from how many tires were bought, not a prepaid checkout product.",
          "Prepaid mounting sold at tire-shop checkout for exactly one tire.",
          "Prepaid mounting sold at tire-shop checkout for exactly two tires.",
          "Prepaid mounting sold at tire-shop checkout for exactly three tires.",
          "Prepaid mounting sold at tire-shop checkout for exactly four tires.",
          "New storage signup that also changes the wheels. Logistics collects them from the customer or another address. Hidden if wheels are already stored.",
          "New storage signup with no wheel change. Wheels are collected and stored only. Hidden if wheels are already stored.",
          "End storage for someone who already has wheels stored. Stored wheels go on the car, and the wheels that come off go back to the customer.",
          "End storage with no wheel change. Stored wheels are delivered to the customer's home and the contract stops.",
          "End the current storage period, swap the stored wheels with the ones on the car, and start a new period.",
          "Start a new storage period for wheels already in storage, without moving or mounting them.",
          "Logistics line added for storage pickup or delivery. Not offered to the customer.",
          "Customer pickup option: collect the wheels at the customer's own address, so no extra address is asked.",
          "Customer pickup option: collect the wheels at another address, which the customer must enter.",
          "The customer collects the stored wheels with no pickup or delivery to schedule. It ends the contract.",
          "The customer brings a wheel set to the site. Completing starts tire hotel contract and inbound custody, with no van pickup.",
          "Scheduled bay visit where the customer collects a stored wheel set. Completing ends the tire hotel contract. This is the scheduled form of self-pickup.",
          "First-season tire hotel contract sold at an adapter site, with no van pickup and no counter booking.",
          "The buyer pays to move a stored wheel set mid-season. Not a new signup, renewal, or cancel; the rehome service owns completion.",
          "Paid collection of a seller's replacement wheel set into the hotel. Logistics only; membership is not created, renewed, or canceled.",
          "A car rim kept as an inventory product. Adapter goods whose product type is a rim land here.",
          "A car tire kept as an inventory product. Tire supplier import writes sales items in this category.",
          "A rim for sale from supplier inventory. Rim import writes this category, not the car-rim category.",
          "Shop-catalog tires, not one imported car-tire SKU. Stale supplier stock retires these with car-tire items, and service departments do not offer them.",
          "A generic tire-sale item, not one inventory tire. Hidden when wheels are already stored, and a booking with it is that wheel set's upcoming booking.",
          "Generic tire-sale items marked prepaid. Not one inventory tire, and not the unpaid generic tire-sale category.",
          "Generic rim-sale items, not one inventory rim and not marked prepaid.",
          "Generic rim-sale items marked prepaid. Not one inventory rim, and not the unpaid generic rim-sale category.",
          "Work synced from a third-party adapter. It maps to the service sales-item type.",
          "A physical product synced from a third-party adapter. It maps to the product sales-item type.",
          "A fee synced from a third-party adapter. It maps to the fee sales-item type, unlike a native fee.",
          "A native charge with no technician work, such as an environmental fee, bolts, valves, or admin. Service time may be zero.",
          "Deprecated coarse storage category, kept until no item still uses it. New storage work uses a narrower storage category."
        ]
      },
      "SalesItemForBookingRecord": {
        "description": "Sales item with the fields needed to select it for a booking.",
        "properties": {
          "booking_category_type": {
            "description": "Booking category type, used for grouping sales items.",
            "title": "Booking Category Type",
            "type": "string"
          },
          "category": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/SalesItemCategory"
              }
            ],
            "default": null,
            "description": "What the sales item is, e.g. WHEEL_STORAGE_RENEW or WHEEL_STORAGE_CANCEL_WITH_WHEEL_CHANGE, independent of its display name. Null when the item has none."
          },
          "description": {
            "description": "Full description of the sales item.",
            "title": "Description",
            "type": "string"
          },
          "is_addons_available": {
            "description": "Whether addons can be selected with this sales item.",
            "title": "Is Addons Available",
            "type": "boolean"
          },
          "is_customer_editable": {
            "default": true,
            "description": "Whether the customer may freely select or deselect this item. False for auto-add extras and catalog-locked sales items.",
            "title": "Is Customer Editable",
            "type": "boolean"
          },
          "is_incoming_tire_season_required": {
            "description": "Whether booking this item asks which wheel set goes into storage (a new tire hotel signup).",
            "title": "Is Incoming Tire Season Required",
            "type": "boolean"
          },
          "is_wheel_pickup_required": {
            "description": "Whether wheels must be collected from the customer or their chosen pickup address (new wheel storage signup).",
            "title": "Is Wheel Pickup Required",
            "type": "boolean"
          },
          "maximum_quantity": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Maximum allowed quantity for this sales item.",
            "title": "Maximum Quantity"
          },
          "minimum_quantity": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Minimum allowed quantity for this sales item.",
            "title": "Minimum Quantity"
          },
          "mutually_exclusive_sales_item_ids": {
            "description": "IDs of sales items that cannot be selected together.",
            "items": {
              "type": "integer"
            },
            "title": "Mutually Exclusive Sales Item Ids",
            "type": "array"
          },
          "name": {
            "description": "Display name of the sales item.",
            "title": "Name",
            "type": "string"
          },
          "offered_at_service_department_ids": {
            "description": "Which of the requested service_department_ids offer this item. Empty when none were requested or the caller is not staff.",
            "items": {
              "type": "integer"
            },
            "title": "Offered At Service Department Ids",
            "type": "array"
          },
          "price": {
            "$ref": "#/components/schemas/PriceSale",
            "description": "Effective unit price, after department and user-group overrides. Net is authoritative; gross and VAT are derived from it."
          },
          "sales_item_id": {
            "description": "ID of the sales item.",
            "title": "Sales Item Id",
            "type": "integer"
          },
          "selected_quantity": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Currently selected quantity.",
            "title": "Selected Quantity"
          },
          "short_description": {
            "description": "Short description of the sales item.",
            "title": "Short Description",
            "type": "string"
          },
          "tags": {
            "description": "Display tags assigned to this sales item.",
            "items": {
              "$ref": "#/components/schemas/SalesItemTagForBookingRecord"
            },
            "title": "Tags",
            "type": "array"
          },
          "temporarily_unavailable": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/TemporarilyUnavailableRecord"
              }
            ],
            "default": null,
            "description": "When set, the item is shown but cannot be selected, with the reason given by the title and message."
          },
          "ui_sort_order": {
            "description": "Sort order for display.",
            "title": "Ui Sort Order",
            "type": "integer"
          }
        },
        "required": [
          "price",
          "sales_item_id",
          "name",
          "description",
          "short_description",
          "ui_sort_order",
          "booking_category_type",
          "mutually_exclusive_sales_item_ids",
          "is_addons_available",
          "is_wheel_pickup_required",
          "is_incoming_tire_season_required"
        ],
        "title": "SalesItemForBookingRecord",
        "type": "object"
      },
      "SalesItemRecordMinimalList": {
        "description": "The sales item picker row plus the flags booking and admin screens read.\n\nZero joins and zero prefetches. The one annotation is arithmetic on\ncolumns this row already selects, and exists so the shared `price_gross`\nordering key resolves here too.\n\nFor dropdowns that also need duration, use\n``SalesItemRecordMinimalWithServiceTimeList``.",
        "properties": {
          "category": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/SalesItemCategory"
              }
            ],
            "default": null,
            "description": "Category of the sales item."
          },
          "created_at": {
            "description": "The date and time the database model was created",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Created At",
            "type": "string"
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "is_active": {
            "description": "Whether the item can be booked.",
            "title": "Is Active",
            "type": "boolean"
          },
          "is_addable_by_worker": {
            "description": "Whether the sales item can be added by workers during the service execution.",
            "title": "Is Addable By Worker",
            "type": "boolean"
          },
          "is_customer_editable": {
            "description": "Whether customers may freely select or deselect this sales item in the booking flow. When false, the item may still appear (e.g. pre-selected from an open order) but is shown as fixed and not changeable by the customer.",
            "title": "Is Customer Editable",
            "type": "boolean"
          },
          "is_incoming_tire_season_required": {
            "description": "New wheel storage signup: the booking item needs the wheel set that goes into storage.",
            "title": "Is Incoming Tire Season Required",
            "type": "boolean"
          },
          "is_primary": {
            "description": "Whether the sales item can is available at the primary step during the booking process for customers.",
            "title": "Is Primary",
            "type": "boolean"
          },
          "is_private": {
            "description": "Hidden from customers; staff can still add it.",
            "title": "Is Private",
            "type": "boolean"
          },
          "is_wheel_pickup_required": {
            "description": "New wheel storage signup: the booking item needs a wheel pickup option.",
            "title": "Is Wheel Pickup Required",
            "type": "boolean"
          },
          "name": {
            "description": "Customer-facing name of the sales item.",
            "title": "Name",
            "type": "string"
          },
          "name_internal": {
            "description": "Staff-facing name; tells apart items with the same customer name.",
            "title": "Name Internal",
            "type": "string"
          },
          "price": {
            "$ref": "#/components/schemas/PriceSale",
            "description": "Unit price. Net is authoritative; gross and VAT are derived from it."
          },
          "service_organization_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Service organization that sells the item; null for shared items.",
            "title": "Service Organization Id"
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The date and time the database model was last updated",
            "title": "Updated At"
          }
        },
        "required": [
          "id",
          "created_at",
          "name",
          "is_active",
          "name_internal",
          "price",
          "is_private",
          "is_primary",
          "is_addable_by_worker",
          "is_customer_editable",
          "is_wheel_pickup_required",
          "is_incoming_tire_season_required"
        ],
        "title": "SalesItemRecordMinimalList",
        "type": "object"
      },
      "SalesItemTagForBookingRecord": {
        "description": "Display tag assigned to a sales item.",
        "properties": {
          "code": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/SystemTagCode"
              }
            ],
            "default": null,
            "description": "System tag identifier. Empty for partner tags."
          },
          "color_hex": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Tag color as '#RRGGBB'.",
            "title": "Color Hex"
          },
          "icon": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Icon to display with the tag.",
            "title": "Icon"
          },
          "id": {
            "description": "Tag ID.",
            "title": "Id",
            "type": "integer"
          },
          "name": {
            "description": "Display name of the tag.",
            "title": "Name",
            "type": "string"
          }
        },
        "required": [
          "id",
          "name"
        ],
        "title": "SalesItemTagForBookingRecord",
        "type": "object"
      },
      "SalesItemTagIcon": {
        "description": "Icon rendered alongside a sales item tag in the UI.\n\nValues correspond to frontend icon names in UPPER_SNAKE_CASE.",
        "enum": [
          "ACTIVITY",
          "ARCHIVE",
          "BELL",
          "BRIEFCASE_BUSINESS",
          "BUILDING_2",
          "CALENDAR",
          "CALENDAR_CLOCK",
          "CALENDAR_DAYS",
          "CALENDAR_X",
          "CAMERA",
          "CAR",
          "CHART_BAR",
          "CHART_PIE",
          "CHECK_CIRCLE",
          "CIRCLE_CHECK",
          "CIRCLE_DOLLAR_SIGN",
          "CIRCLE_HELP",
          "CIRCLE_USER_ROUND",
          "CIRCLE_X",
          "CLIPBOARD_CHECK",
          "CLOCK",
          "CLOUD_RAIN",
          "COFFEE",
          "CONTACT",
          "COPY",
          "CREDIT_CARD",
          "CYLINDER",
          "DATABASE",
          "DOLLAR_SIGN",
          "DOWNLOAD",
          "DROPLET",
          "EDIT",
          "EYE",
          "EYE_OFF",
          "FILE_SPREADSHEET",
          "FILE_TEXT",
          "FILTER",
          "FLAG",
          "FOLDER_KANBAN",
          "FROWN",
          "GALLERY_VERTICAL_END",
          "GIFT",
          "GLOBE",
          "GRID_2X2",
          "HANDSHAKE",
          "HAND_COINS",
          "HASH",
          "HOME",
          "HOTEL",
          "HOUSE_PLUS",
          "INFO",
          "LAYERS",
          "LINK",
          "LIST",
          "LIST_CHECK",
          "LOCATE_FIXED",
          "LOCATION_EDIT",
          "LOCK",
          "LOCK_OPEN",
          "LOG_OUT",
          "MAIL",
          "MAP",
          "MAP_PIN",
          "MESSAGE_SQUARE",
          "MOUNTAIN_SNOW",
          "PACKAGE",
          "PACKAGE_CHECK",
          "PACKAGE_MINUS",
          "PACKAGE_PLUS",
          "PALETTE",
          "PHONE",
          "PIGGY_BANK",
          "PLAY",
          "PLUG_ZAP",
          "PRINTER",
          "RECEIPT_TEXT",
          "REFRESH_CCW",
          "REPEAT",
          "ROTATE_CCW",
          "ROUTE",
          "RULER",
          "SAVE",
          "SCAN_LINE",
          "SEARCH",
          "SETTINGS",
          "SETTINGS_2",
          "SHARE",
          "SHIELD",
          "SHIELD_CHECK",
          "SHOPPING_CART",
          "SNOWFLAKE",
          "SQUARE_ARROW_OUT_UP_RIGHT",
          "STAR",
          "TABLE",
          "TAG",
          "TARGET",
          "TICKET",
          "TRASH_2",
          "TRENDING_DOWN",
          "TRENDING_UP",
          "TRIANGLE_ALERT",
          "TRUCK",
          "UNDO_2",
          "UPLOAD",
          "USER",
          "USERS",
          "USER_PLUS",
          "VOLUME_2",
          "WAND_SPARKLES",
          "WAREHOUSE",
          "WEBHOOK",
          "WHEEL",
          "WRENCH",
          "X_CIRCLE",
          "ZAP"
        ],
        "title": "SalesItemTagIcon",
        "type": "string",
        "x-enum-descriptions": [
          "Activity",
          "Archive",
          "Bell",
          "Briefcase business",
          "Building",
          "Calendar",
          "Calendar clock",
          "Calendar days",
          "Calendar X",
          "Camera",
          "Car",
          "Chart bar",
          "Chart pie",
          "Check circle",
          "Circle check",
          "Circle dollar sign",
          "Circle help",
          "Circle user round",
          "Circle X",
          "Clipboard check",
          "Clock",
          "Cloud rain",
          "Coffee",
          "Contact",
          "Copy",
          "Credit card",
          "Cylinder",
          "Database",
          "Dollar sign",
          "Download",
          "Droplet",
          "Edit",
          "Eye",
          "Eye off",
          "File spreadsheet",
          "File text",
          "Filter",
          "Flag",
          "Folder kanban",
          "Frown",
          "Gallery vertical end",
          "Gift",
          "Globe",
          "Grid",
          "Hand coins",
          "Handshake",
          "Hash",
          "Home",
          "Hotel",
          "House plus",
          "Info",
          "Layers",
          "Link",
          "List",
          "List check",
          "Locate fixed",
          "Location edit",
          "Lock",
          "Lock open",
          "Log out",
          "Mail",
          "Map",
          "Map pin",
          "Message square",
          "Mountain snow",
          "Package",
          "Package check",
          "Package minus",
          "Package plus",
          "Palette",
          "Phone",
          "Piggy bank",
          "Play",
          "Plug zap",
          "Printer",
          "Receipt text",
          "Refresh",
          "Repeat",
          "Rotate",
          "Route",
          "Ruler",
          "Save",
          "Scan line",
          "Search",
          "Settings",
          "Settings alt",
          "Share",
          "Shield",
          "Shield check",
          "Shopping cart",
          "Snowflake",
          "External link",
          "Star",
          "Table",
          "Tag",
          "Target",
          "Ticket",
          "Trash",
          "Trending down",
          "Trending up",
          "Triangle alert",
          "Truck",
          "Undo",
          "Upload",
          "User",
          "User plus",
          "Users",
          "Volume",
          "Wand sparkles",
          "Warehouse",
          "Webhook",
          "Wheel",
          "Wrench",
          "X circle",
          "Zap"
        ],
        "x-enum-member-descriptions": [
          "Shown beside a sales item tag: a pulse line.",
          "Shown beside a sales item tag: a closed storage box.",
          "Shown beside a sales item tag: a notification bell.",
          "Shown beside a sales item tag: a business briefcase.",
          "Shown beside a sales item tag: an office building.",
          "Shown beside a sales item tag: a plain calendar page, with no clock or cross.",
          "Shown beside a sales item tag: a calendar combined with a clock.",
          "Shown beside a sales item tag: a calendar that shows the days of the month.",
          "Shown beside a sales item tag: a calendar crossed out.",
          "Shown beside a sales item tag: a camera.",
          "Shown beside a sales item tag: a car.",
          "Shown beside a sales item tag: vertical bars.",
          "Shown beside a sales item tag: a pie chart.",
          "Shown beside a sales item tag: a check drawn inside a circle (CHECK_CIRCLE, not CIRCLE_CHECK).",
          "Shown beside a sales item tag: the circled-check glyph named CIRCLE_CHECK, not CHECK_CIRCLE.",
          "Shown beside a sales item tag: a dollar sign inside a circle, not a bare dollar sign.",
          "Shown beside a sales item tag: a question mark inside a circle.",
          "Shown beside a sales item tag: a person bust inside a circle.",
          "Shown beside a sales item tag: an X inside a circle, the CIRCLE_X glyph, not X_CIRCLE.",
          "Shown beside a sales item tag: a clipboard with a check.",
          "Shown beside a sales item tag: a clock face, not a calendar.",
          "Shown beside a sales item tag: a cloud dropping rain.",
          "Shown beside a sales item tag: a coffee cup.",
          "Shown beside a sales item tag: a contact card.",
          "Shown beside a sales item tag: two overlapping sheets.",
          "Shown beside a sales item tag: a payment card.",
          "Shown beside a sales item tag: a cylinder.",
          "Shown beside a sales item tag: stacked database disks.",
          "Shown beside a sales item tag: a bare dollar sign, not the circled dollar glyph.",
          "Shown beside a sales item tag: an arrow down into a tray.",
          "Shown beside a sales item tag: a liquid drop.",
          "Shown beside a sales item tag: a pencil.",
          "Shown beside a sales item tag: an open eye.",
          "Shown beside a sales item tag: an eye with a slash through it.",
          "Shown beside a sales item tag: a spreadsheet file.",
          "Shown beside a sales item tag: a text document, not a spreadsheet or a receipt.",
          "Shown beside a sales item tag: a funnel.",
          "Shown beside a sales item tag: a flag.",
          "Shown beside a sales item tag: a folder marked as a kanban board.",
          "Shown beside a sales item tag: a frowning face.",
          "Shown beside a sales item tag: the end cap of a vertical gallery.",
          "Shown beside a sales item tag: a wrapped gift.",
          "Shown beside a sales item tag: a globe.",
          "Shown beside a sales item tag: four squares in a two-by-two grid.",
          "Shown beside a sales item tag: a hand holding coins.",
          "Shown beside a sales item tag: two hands shaking.",
          "Shown beside a sales item tag: a hash mark.",
          "Shown beside a sales item tag: a house used as home, with no plus and no hotel mark.",
          "Shown beside a sales item tag: a hotel building, not a plain home.",
          "Shown beside a sales item tag: a house with a plus on it.",
          "Shown beside a sales item tag: an information mark.",
          "Shown beside a sales item tag: stacked layers.",
          "Shown beside a sales item tag: a chain link.",
          "Shown beside a sales item tag: a plain list, with no checks.",
          "Shown beside a sales item tag: a list with check marks.",
          "Shown beside a sales item tag: a crosshair for a fixed position.",
          "Shown beside a sales item tag: a map pin being edited.",
          "Shown beside a sales item tag: a closed padlock.",
          "Shown beside a sales item tag: an open padlock.",
          "Shown beside a sales item tag: an arrow leaving a doorway.",
          "Shown beside a sales item tag: an envelope.",
          "Shown beside a sales item tag: a folded map, not a pin.",
          "Shown beside a sales item tag: a map pin.",
          "Shown beside a sales item tag: a square speech bubble.",
          "Shown beside a sales item tag: a snow-capped mountain.",
          "Shown beside a sales item tag: a plain parcel, with no check, plus, or minus.",
          "Shown beside a sales item tag: a parcel with a check.",
          "Shown beside a sales item tag: a parcel with a minus.",
          "Shown beside a sales item tag: a parcel with a plus.",
          "Shown beside a sales item tag: a paint palette.",
          "Shown beside a sales item tag: a telephone handset.",
          "Shown beside a sales item tag: a piggy bank.",
          "Shown beside a sales item tag: a play triangle.",
          "Shown beside a sales item tag: an electric plug with a spark.",
          "Shown beside a sales item tag: a printer.",
          "Shown beside a sales item tag: a receipt with lines of text.",
          "Shown beside a sales item tag: two arrows chasing each other in a circle.",
          "Shown beside a sales item tag: looping arrows for repeating, not a single rotate arrow.",
          "Shown beside a sales item tag: one arrow rotating counterclockwise.",
          "Shown beside a sales item tag: a path between points.",
          "Shown beside a sales item tag: a ruler.",
          "Shown beside a sales item tag: a save disk.",
          "Shown beside a sales item tag: a horizontal scan line.",
          "Shown beside a sales item tag: a magnifying glass.",
          "Shown beside a sales item tag: a settings gear, not the alternate settings glyph.",
          "Shown beside a sales item tag: the alternate settings glyph, not the main gear.",
          "Shown beside a sales item tag: a share node with branches.",
          "Shown beside a sales item tag: a plain shield, with no check.",
          "Shown beside a sales item tag: a shield with a check on it.",
          "Shown beside a sales item tag: a shopping cart.",
          "Shown beside a sales item tag: a snowflake.",
          "Shown beside a sales item tag: a square with an arrow leaving toward the upper right.",
          "Shown beside a sales item tag: a star.",
          "Shown beside a sales item tag: a data table.",
          "Shown beside a sales item tag: a hanging tag shape.",
          "Shown beside a sales item tag: a bullseye.",
          "Shown beside a sales item tag: an admission ticket.",
          "Shown beside a sales item tag: a trash can.",
          "Shown beside a sales item tag: a line sloping down.",
          "Shown beside a sales item tag: a line sloping up.",
          "Shown beside a sales item tag: a warning triangle.",
          "Shown beside a sales item tag: a truck.",
          "Shown beside a sales item tag: an undo arrow, not a refresh or rotate loop.",
          "Shown beside a sales item tag: an arrow up out of a tray.",
          "Shown beside a sales item tag: one person, with no plus and no circle.",
          "Shown beside a sales item tag: one person with a plus.",
          "Shown beside a sales item tag: several people.",
          "Shown beside a sales item tag: a speaker with sound marks.",
          "Shown beside a sales item tag: a wand with sparkles.",
          "Shown beside a sales item tag: a warehouse building.",
          "Shown beside a sales item tag: a webhook node.",
          "Shown beside a sales item tag: a wheel.",
          "Shown beside a sales item tag: a wrench.",
          "Shown beside a sales item tag: the X-circle glyph named X_CIRCLE, not CIRCLE_X.",
          "Shown beside a sales item tag: a lightning bolt."
        ]
      },
      "SalesItemTagRecordMinimal": {
        "description": "The tag reference nested inside coupon/campaign/sales-item payloads, with its old name field.",
        "properties": {
          "code": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/SystemTagCode"
              }
            ],
            "default": null,
            "description": "System tag identifier. Empty for partner tags."
          },
          "color_hex": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Tag color as '#RRGGBB'.",
            "title": "Color Hex"
          },
          "icon": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/SalesItemTagIcon"
              }
            ],
            "default": null,
            "description": "Optional icon shown with the tag."
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "long_name": {
            "description": "Full display name.",
            "title": "Long Name",
            "type": "string"
          },
          "name": {
            "deprecated": true,
            "description": "Deprecated: use ``long_name``.",
            "title": "Name",
            "type": "string"
          },
          "short_name": {
            "description": "Compact badge label.",
            "title": "Short Name",
            "type": "string"
          }
        },
        "required": [
          "id",
          "short_name",
          "long_name",
          "name"
        ],
        "title": "SalesItemTagRecordMinimal",
        "type": "object"
      },
      "SeasonChoices": {
        "description": "Django field-compatible representation of cohort seasons.\n\nMaps to Season dataclasses for date-range logic. H1 is\nspring (Jan-Jun), H2 is fall (Jul-Dec).",
        "enum": [
          "H1",
          "H2"
        ],
        "title": "SeasonChoices",
        "type": "string",
        "x-enum-descriptions": [
          "Spring",
          "Fall"
        ],
        "x-enum-member-descriptions": [
          "The spring cohort half, from 1 January through 30 June.",
          "The fall cohort half, from 1 July through 31 December."
        ]
      },
      "ServiceCategoryRecord": {
        "description": "Service category for list/GET with id, name, and type.\n\nUsed in dropdowns and filters where delivery or service type\ncategorization is needed.",
        "properties": {
          "created_at": {
            "description": "The date and time the database model was created",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Created At",
            "type": "string"
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "name": {
            "description": "Display name of the service category.",
            "title": "Name",
            "type": "string"
          },
          "type": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/ChoiceRecord_ServiceCategoryType_"
              }
            ],
            "default": null,
            "description": "Type of the service category (e.g. tire, hotel)."
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The date and time the database model was last updated",
            "title": "Updated At"
          }
        },
        "required": [
          "id",
          "created_at",
          "name"
        ],
        "title": "ServiceCategoryRecord",
        "type": "object"
      },
      "ServiceDepartmentModule": {
        "description": "Available modules for service departments.",
        "enum": [
          "CHAT_AGENT",
          "EQUIPMENT",
          "FLEET_SERVICES",
          "FORECAST",
          "LEAD_GENERATION",
          "MOBILE_SERVICE",
          "RECALL",
          "RECRUITMENT",
          "REVENUE",
          "RIM_SALES",
          "SERVICE_CENTER",
          "SIGNAGE",
          "STAFF_PERFORMANCE",
          "STORAGE_TRACKING",
          "SUPPORT",
          "TIME_TRACKING",
          "TIRE_HOTEL",
          "TIRE_SALES",
          "UNLOCK",
          "WMS"
        ],
        "title": "ServiceDepartmentModule",
        "type": "string",
        "x-enum-descriptions": [
          "Tire Sales",
          "Rim Sales",
          "Tire Hotel",
          "Recall",
          "Lead Generation",
          "Chat Agent",
          "Support",
          "Recruitment",
          "Fleet Services",
          "Signage",
          "Forecast",
          "Revenue",
          "Staff performance",
          "Time Tracking",
          "Equipment",
          "Warehouse stock",
          "Storage tracking",
          "Unlock",
          "Mobile Service",
          "Service Center"
        ],
        "x-enum-member-descriptions": [
          "The department sells tires. Tire leads and mounting ops both look for this module.",
          "The department sells rims, kept as its own module beside tire sales.",
          "The department stores customers' wheel sets between seasons.",
          "Campaigns that invite customers back in. Generation and reminders run only with this on.",
          "Inbound leads for the department, as its own module rather than tire sales itself.",
          "A customer chat agent the department can switch on.",
          "Customer support for the department, separate from the chat agent and from sales leads.",
          "Hiring flows for the department's workers.",
          "Work for fleet customers. Fleet ops signals are limited to departments with this module.",
          "Shop signage for the department, not a sales, storage, or booking module.",
          "Demand forecast. The forecast API refuses a department that does not have this module.",
          "Partner revenue overview. The revenue API refuses a department that does not have this module.",
          "Profitability, quality and tire sales per worker for managers. The staff performance API refuses a department that does not have this module.",
          "Workers clock time against the department. Time tracking stays off without this module.",
          "Tools and machines the department tracks, not warehouse tire stock.",
          "Warehouse stock on hand, not the tire or rim storefront catalog.",
          "Navio labels and scans what the department stores and keeps where it is. Without it, workers confirm pickups and deliveries on routes.",
          "Unloc door access. The service organization stores one Unloc organization id for this mapping.",
          "Workers drive out to the customer. This is not a site visit.",
          "The customer brings the vehicle to the department. This is not a mobile visit."
        ]
      },
      "ServiceDepartmentRecordList": {
        "description": "Summary of a service department.",
        "properties": {
          "allowed_employment_types": {
            "description": "Contract types workers here may be given; empty allows every type.",
            "items": {
              "$ref": "#/components/schemas/ServiceWorkerContractEmploymentType"
            },
            "title": "Allowed Employment Types",
            "type": "array"
          },
          "brand": {
            "$ref": "#/components/schemas/BrandRecordList",
            "description": "Brand of the parent service organization."
          },
          "country": {
            "$ref": "#/components/schemas/CountryRecord",
            "description": "Country for this locale."
          },
          "created_at": {
            "description": "The date and time the database model was created",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Created At",
            "type": "string"
          },
          "currency": {
            "$ref": "#/components/schemas/CurrencyRecord",
            "description": "Currency for this locale."
          },
          "default_employment_type": {
            "$ref": "#/components/schemas/ServiceWorkerContractEmploymentType",
            "description": "Contract type used when a new contract omits its type."
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "language": {
            "$ref": "#/components/schemas/LanguageCodeRecord",
            "description": "Language code for this locale."
          },
          "modules": {
            "description": "Enabled modules (e.g. booking, storage) for this department.",
            "items": {
              "$ref": "#/components/schemas/ServiceDepartmentModule"
            },
            "title": "Modules",
            "type": "array"
          },
          "profile_image": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/ImageRecordMinimal"
              }
            ],
            "default": null,
            "description": "Profile image from the linked user group, if set."
          },
          "selectable_employment_types": {
            "description": "Contract types a new contract here may get: the allowlist, minus hourly pay without the time tracking module.",
            "items": {
              "$ref": "#/components/schemas/ServiceWorkerContractEmploymentType"
            },
            "title": "Selectable Employment Types",
            "type": "array"
          },
          "service_organization_id": {
            "description": "ID of the parent service organization.",
            "title": "Service Organization Id",
            "type": "integer"
          },
          "status": {
            "$ref": "#/components/schemas/ChoiceRecord_ServiceDepartmentStatus_",
            "description": "Current status (e.g. active, inactive)."
          },
          "support_email": {
            "description": "Support contact email for customers.",
            "examples": [
              "support@example.com"
            ],
            "pattern": "/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$/",
            "title": "Support Email",
            "type": "string"
          },
          "support_phone": {
            "description": "Support contact phone number.",
            "examples": [
              "+4791234567"
            ],
            "format": "phone",
            "title": "Support Phone",
            "type": "string"
          },
          "time_zone": {
            "$ref": "#/components/schemas/TimeZoneRecord",
            "description": "Timezone for this locale."
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The date and time the database model was last updated",
            "title": "Updated At"
          },
          "user_group": {
            "$ref": "#/components/schemas/UserGroupPartnerRecord",
            "description": "User group (partner) linked to this department."
          },
          "worker_shift_mode": {
            "$ref": "#/components/schemas/WorkerShiftMode",
            "description": "What a worker shift is here: the planned workday, or bookable time only (one bookable time on one channel covering the whole shift, no breaks)."
          }
        },
        "required": [
          "country",
          "language",
          "currency",
          "time_zone",
          "id",
          "created_at",
          "brand",
          "modules",
          "allowed_employment_types",
          "default_employment_type",
          "selectable_employment_types",
          "worker_shift_mode",
          "service_organization_id",
          "status",
          "support_email",
          "support_phone",
          "user_group"
        ],
        "title": "ServiceDepartmentRecordList",
        "type": "object"
      },
      "ServiceDepartmentRecordListArray": {
        "items": {
          "$ref": "#/components/schemas/ServiceDepartmentRecordList"
        },
        "properties": {},
        "type": "array"
      },
      "ServiceDepartmentRecordMinimal": {
        "description": "Minimal detail record for a service department (brand, locale, status, modules).\n\nExists for backwards compatibility with ServiceDepartmentMinimalSerializer; used where\nfull ServiceDepartmentRecord is not needed.",
        "properties": {
          "allowed_employment_types": {
            "description": "Contract types workers here may be given; empty allows every type.",
            "items": {
              "$ref": "#/components/schemas/ServiceWorkerContractEmploymentType"
            },
            "title": "Allowed Employment Types",
            "type": "array"
          },
          "brand": {
            "$ref": "#/components/schemas/BrandRecordList",
            "description": "Brand of the parent service organization."
          },
          "country": {
            "$ref": "#/components/schemas/CountryRecord",
            "description": "Country where the department operates."
          },
          "currency": {
            "$ref": "#/components/schemas/CurrencyRecord",
            "description": "Currency used for pricing and payments."
          },
          "default_employment_type": {
            "$ref": "#/components/schemas/ServiceWorkerContractEmploymentType",
            "description": "Contract type used when a new contract omits its type."
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "modules": {
            "description": "Enabled modules (e.g. booking, storage) for this department.",
            "items": {
              "$ref": "#/components/schemas/ServiceDepartmentModule"
            },
            "title": "Modules",
            "type": "array"
          },
          "name": {
            "description": "Display name (from the department's user group).",
            "title": "Name",
            "type": "string"
          },
          "selectable_employment_types": {
            "description": "Contract types a new contract here may get: the allowlist, minus hourly pay without the time tracking module.",
            "items": {
              "$ref": "#/components/schemas/ServiceWorkerContractEmploymentType"
            },
            "title": "Selectable Employment Types",
            "type": "array"
          },
          "service_organization_id": {
            "description": "Primary key of the department's service organization.",
            "title": "Service Organization Id",
            "type": "integer"
          },
          "status": {
            "$ref": "#/components/schemas/ChoiceRecord_ServiceDepartmentStatus_",
            "description": "Current status (e.g. active, inactive)."
          },
          "time_zone": {
            "$ref": "#/components/schemas/TimeZoneRecord",
            "description": "The department's time zone; clients show its clock times (shifts, routes, bookings) in it."
          },
          "worker_shift_mode": {
            "$ref": "#/components/schemas/WorkerShiftMode",
            "description": "What a worker shift is here: the planned workday, or bookable time only (one bookable time on one channel covering the whole shift, no breaks)."
          }
        },
        "required": [
          "id",
          "name",
          "service_organization_id",
          "time_zone",
          "brand",
          "country",
          "currency",
          "modules",
          "allowed_employment_types",
          "status",
          "default_employment_type",
          "selectable_employment_types",
          "worker_shift_mode"
        ],
        "title": "ServiceDepartmentRecordMinimal",
        "type": "object"
      },
      "ServiceDepartmentRef": {
        "description": "Reference to a service department, safe to nest anywhere.",
        "properties": {
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "name": {
            "description": "Display name (from the department's user group).",
            "title": "Name",
            "type": "string"
          },
          "service_organization_id": {
            "description": "Primary key of the department's service organization.",
            "title": "Service Organization Id",
            "type": "integer"
          },
          "time_zone": {
            "$ref": "#/components/schemas/TimeZoneRecord",
            "description": "The department's time zone; clients show its clock times (shifts, routes, bookings) in it."
          }
        },
        "required": [
          "id",
          "name",
          "service_organization_id",
          "time_zone"
        ],
        "title": "ServiceDepartmentRef",
        "type": "object"
      },
      "ServiceFeedbackCustomerRecord": {
        "description": "Customer-facing subset of service feedback (ratings and comment only).\n\nExists to expose feedback data in contexts where only the customer-\nprovided ratings and comment are needed, without booking, department,\nor worker details (e.g. customer-facing or minimal API responses).",
        "properties": {
          "created_at": {
            "description": "The date and time the database model was created",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Created At",
            "type": "string"
          },
          "customer_comment": {
            "description": "Free-text comment from the customer, may be empty.",
            "title": "Customer Comment",
            "type": "string"
          },
          "customer_rating_car_result": {
            "description": "Customer rating (1-5) for the car/work result.",
            "title": "Customer Rating Car Result",
            "type": "integer"
          },
          "customer_rating_communication": {
            "description": "Customer rating (1-5) for communication.",
            "title": "Customer Rating Communication",
            "type": "integer"
          },
          "customer_rating_ease_of_use": {
            "description": "Customer rating (1-5) for ease of use.",
            "title": "Customer Rating Ease Of Use",
            "type": "integer"
          },
          "customer_rating_overall": {
            "description": "Customer rating (1-5) for overall experience.",
            "title": "Customer Rating Overall",
            "type": "integer"
          },
          "customer_rating_politeness": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Customer rating (1-5) for worker politeness, or null if not set.",
            "title": "Customer Rating Politeness"
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The date and time the database model was last updated",
            "title": "Updated At"
          }
        },
        "required": [
          "id",
          "created_at",
          "customer_comment",
          "customer_rating_car_result",
          "customer_rating_communication",
          "customer_rating_ease_of_use",
          "customer_rating_overall"
        ],
        "title": "ServiceFeedbackCustomerRecord",
        "type": "object"
      },
      "ServiceVehicleCargoCapacityRecordList": {
        "description": "Vehicle cargo capacity returned by inventory APIs.",
        "properties": {
          "capacity": {
            "description": "Maximum number of units the vehicle can carry.",
            "title": "Capacity",
            "type": "integer"
          },
          "car": {
            "$ref": "#/components/schemas/CarRecordMinimal2",
            "description": "Car linked to the configured service vehicle."
          },
          "cargo_unit_type": {
            "$ref": "#/components/schemas/CargoUnitType",
            "description": "Physical cargo unit this capacity applies to."
          },
          "created_at": {
            "description": "The date and time the database model was created",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Created At",
            "type": "string"
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "service_vehicle_id": {
            "description": "Vehicle this capacity belongs to.",
            "title": "Service Vehicle Id",
            "type": "integer"
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The date and time the database model was last updated",
            "title": "Updated At"
          }
        },
        "required": [
          "id",
          "created_at",
          "service_vehicle_id",
          "car",
          "cargo_unit_type",
          "capacity"
        ],
        "title": "ServiceVehicleCargoCapacityRecordList",
        "type": "object"
      },
      "ServiceVehicleDimensionRecord": {
        "description": "One driving dimension in use, with where it came from and who set it.\n\nThe value is read best-effort off the national vehicle registry and can be\ncorrected by hand; ``source`` says which of the two the driver is looking\nat, and ``registry_value`` keeps the registry figure visible next to a\ncorrection instead of hiding it.",
        "properties": {
          "overridden_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "When the manual override was last set. Null for registry values.",
            "title": "Overridden At"
          },
          "overridden_by": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/UserRecordMinimal"
              }
            ],
            "default": null,
            "description": "Who last set the manual override. Null for registry values."
          },
          "registry_value": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "What the vehicle registry reports, also when a manual override is in use. Null when the registry has no figure.",
            "title": "Registry Value"
          },
          "source": {
            "$ref": "#/components/schemas/ServiceVehicleDimensionSource",
            "description": "Whether the value comes from the vehicle registry or was set manually."
          },
          "value": {
            "description": "Value in use, in the unit of the field holding it.",
            "title": "Value",
            "type": "integer"
          }
        },
        "required": [
          "value",
          "source"
        ],
        "title": "ServiceVehicleDimensionRecord",
        "type": "object"
      },
      "ServiceVehicleDimensionSource": {
        "description": "Where a service vehicle's driving height or weight came from.",
        "enum": [
          "manual",
          "vehicle_registry"
        ],
        "title": "ServiceVehicleDimensionSource",
        "type": "string",
        "x-enum-descriptions": [
          "Vehicle registry",
          "Set manually"
        ],
        "x-enum-member-descriptions": [
          "Driving height or weight was taken from the vehicle registry, not typed in.",
          "Someone typed the driving height or weight. It did not come from the registry."
        ]
      },
      "ServiceVehicleRecordMinimal": {
        "description": "Minimal vehicle info for service worker get.\n\nUsed in ServiceWorkerRecord.service_vehicles to show which vehicles\na worker can use and their capacity/equipment without full vehicle APIs.",
        "properties": {
          "created_at": {
            "description": "The date and time the database model was created",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Created At",
            "type": "string"
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "identifier": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Scannable label identifier for the vehicle (QR), if set.",
            "title": "Identifier"
          },
          "name": {
            "description": "Display name of the vehicle.",
            "title": "Name",
            "type": "string"
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The date and time the database model was last updated",
            "title": "Updated At"
          }
        },
        "required": [
          "id",
          "created_at",
          "name"
        ],
        "title": "ServiceVehicleRecordMinimal",
        "type": "object"
      },
      "ServiceWorkerContractEmploymentType": {
        "description": "How the worker is engaged for this department contract.\n\nEvery type clocks worked time; the type decides which payroll run the hours\nland in and whether overtime applies, never whether time may be recorded.\n\nEMPLOYEE_HOURLY_PAY: employed; clocked time is the pay basis, overtime applies.\nEMPLOYEE_FIXED_PAY: employed on fixed salary paid outside this flow; time\n    tracking is for visibility (hours worked and overtime).\nFREELANCE: independent contractor paid per route; clocks ad hoc tasks only.\n    Clocked time is classified for overtime like any other type, with the\n    route's computed planned hours folded into the tally (ADR 0004).\nSUBCONTRACTOR: external partner's worker (B2B-invoiced); clocks ad hoc tasks\n    only, same overtime classification as FREELANCE; their payroll run is a\n    reconciliation document.",
        "enum": [
          "EMPLOYEE_FIXED_PAY",
          "EMPLOYEE_HOURLY_PAY",
          "FREELANCE",
          "SUBCONTRACTOR"
        ],
        "title": "ServiceWorkerContractEmploymentType",
        "type": "string",
        "x-enum-descriptions": [
          "Employee (hourly pay)",
          "Employee (fixed pay)",
          "Freelance",
          "Subcontractor"
        ],
        "x-enum-member-descriptions": [
          "Employed, and clocked time is the pay basis. Overtime applies, and route work is clocked.",
          "Employed on a salary paid outside this flow. Clocked time is for visibility, and route settlements pay nothing.",
          "Independent contractor paid per route. Only ad hoc tasks are clocked, and planned route hours still count for overtime.",
          "A partner's worker, invoiced B2B. Ad hoc clocking only, and mileage is not paid because the partner bills its own vehicle."
        ]
      },
      "ServiceWorkerMinimalRecord": {
        "description": "Service worker reference, plus fields kept until clients read ``user``.",
        "properties": {
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "languages": {
            "deprecated": true,
            "description": "Deprecated: no client reads it; the worker detail carries languages.",
            "items": {
              "$ref": "#/components/schemas/ChoiceRecord_LanguageCode_"
            },
            "title": "Languages",
            "type": "array"
          },
          "name": {
            "deprecated": true,
            "description": "Deprecated: format ``user.first_name`` and ``user.last_name``.",
            "title": "Name",
            "type": "string"
          },
          "nickname": {
            "description": "Optional display nickname for the worker.",
            "title": "Nickname",
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/UserRef",
            "description": "The worker's user account."
          }
        },
        "required": [
          "id",
          "nickname",
          "user",
          "name",
          "languages"
        ],
        "title": "ServiceWorkerMinimalRecord",
        "type": "object"
      },
      "ServiceWorkerRoutePriorityRecord": {
        "description": "Route priority record for a service worker.",
        "properties": {
          "description": {
            "description": "What the level does to the route planner's costs.",
            "title": "Description",
            "type": "string"
          },
          "label": {
            "description": "Human-readable priority label.",
            "title": "Label",
            "type": "string"
          },
          "priority_level": {
            "description": "Numeric priority level.",
            "title": "Priority Level",
            "type": "integer"
          },
          "value": {
            "description": "Priority value string.",
            "title": "Value",
            "type": "string"
          }
        },
        "required": [
          "priority_level",
          "value",
          "label",
          "description"
        ],
        "title": "ServiceWorkerRoutePriorityRecord",
        "type": "object"
      },
      "SoundClass": {
        "description": "The EU tire Noise ratings\nThe rolling noise of the tire is measured in decibels.\nTires with a low noise level have between 67 and 71 dB.\nThe highest level shows sound waves in between 72 and 77 dB.\n\nhttps://www.wikiwand.com/en/articles/Tyre_label",
        "enum": [
          "A",
          "B",
          "C"
        ],
        "title": "SoundClass",
        "type": "string",
        "x-enum-descriptions": [
          "≤ 69 dB.",
          "70-72 dB",
          "≥ 73 dB"
        ],
        "x-enum-member-descriptions": [
          "Quiet tire, 69 dB or less, more than 3 dB under the EU limit.",
          "Standard noise, about 70 to 72 dB. It meets the EU limit, and most tires fall here.",
          "Loud tire, 73 dB or more, above the EU limit. More common on performance and off-road tires."
        ]
      },
      "StationaryGarageCapacityAvailabilityRecord": {
        "description": "Lightweight has-capacity probe for a site over a date range.\n\nUsed by the customer choice step so the FE does not download full 90-day\nslot lists just to know whether a service center is bookable.",
        "properties": {
          "earliest_start": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Earliest free start in range when has_slots is true.",
            "title": "Earliest Start"
          },
          "garage_id": {
            "description": "Site primary key.",
            "title": "Garage Id",
            "type": "integer"
          },
          "has_slots": {
            "description": "True when at least one bookable start exists in range.",
            "title": "Has Slots",
            "type": "boolean"
          },
          "time_zone": {
            "$ref": "#/components/schemas/TimeZoneRecord",
            "description": "Time zone of the garage's service department. Show earliest_start in this zone."
          }
        },
        "required": [
          "garage_id",
          "has_slots",
          "time_zone"
        ],
        "title": "StationaryGarageCapacityAvailabilityRecord",
        "type": "object"
      },
      "StationaryGarageCapacityAvailabilityRecordArray": {
        "items": {
          "$ref": "#/components/schemas/StationaryGarageCapacityAvailabilityRecord"
        },
        "properties": {},
        "type": "array"
      },
      "StorageAreaRecordList": {
        "description": "Storage area (zone within a facility) for list responses.\n\nRepresents a logical area inside a storage facility (e.g. \"Warehouse A\");\nused when listing areas or showing where units/items live.",
        "properties": {
          "created_at": {
            "description": "The date and time the database model was created",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Created At",
            "type": "string"
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "identifier": {
            "description": "Unique identifier for the storage area.",
            "title": "Identifier",
            "type": "string"
          },
          "name": {
            "description": "Display name of the storage area.",
            "title": "Name",
            "type": "string"
          },
          "storage_facility_id": {
            "description": "ID of the facility this area belongs to.",
            "title": "Storage Facility Id",
            "type": "integer"
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The date and time the database model was last updated",
            "title": "Updated At"
          }
        },
        "required": [
          "id",
          "created_at",
          "identifier",
          "name",
          "storage_facility_id"
        ],
        "title": "StorageAreaRecordList",
        "type": "object"
      },
      "StorageCustodyContractRecordPartner": {
        "description": "A single storage custody cycle for a customer's stored object group.\n\nOpens when wheels enter tenant custody and closes when they leave.\nNot a commercial tire hotel contract (see CustomerContract / TireHotel).",
        "properties": {
          "ended_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "When custody ended; null while still in storage.",
            "title": "Ended At"
          },
          "id": {
            "description": "Custody cycle ID.",
            "title": "Id",
            "type": "integer"
          },
          "is_active": {
            "description": "True while the wheel set is in storage (cycle open).",
            "title": "Is Active",
            "type": "boolean"
          },
          "started_at": {
            "description": "When custody began (the inbound event).",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Started At",
            "type": "string"
          },
          "storage_object_group_id": {
            "description": "ID of the stored wheel set / object group.",
            "title": "Storage Object Group Id",
            "type": "integer"
          },
          "storage_object_group_identifier": {
            "description": "Human-readable identifier of the stored object group.",
            "title": "Storage Object Group Identifier",
            "type": "string"
          }
        },
        "required": [
          "id",
          "storage_object_group_id",
          "storage_object_group_identifier",
          "is_active",
          "started_at"
        ],
        "title": "StorageCustodyContractRecordPartner",
        "type": "object"
      },
      "StorageCustodyContractRecordPartnerArray": {
        "items": {
          "$ref": "#/components/schemas/StorageCustodyContractRecordPartner"
        },
        "properties": {},
        "type": "array"
      },
      "StorageEventLocationKind": {
        "description": "Kind of From/To endpoint on a StorageObjectEvent.",
        "enum": [
          "address",
          "in_transit",
          "service_vehicle",
          "storage_unit"
        ],
        "title": "StorageEventLocationKind",
        "type": "string",
        "x-enum-descriptions": [
          "Storage unit",
          "Address",
          "Service vehicle",
          "In transit"
        ],
        "x-enum-member-descriptions": [
          "This from or to endpoint on the event is a storage unit.",
          "This from or to endpoint on the event is an address.",
          "This from or to endpoint on the event is the route vehicle.",
          "This from or to endpoint is the in-transit state, not a unit, an address, or a vehicle."
        ]
      },
      "StorageEventLocationRecord": {
        "description": "From or To endpoint on a storage event.",
        "properties": {
          "address": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/AddressRecord"
              }
            ],
            "default": null,
            "description": "Customer or site address when kind is address."
          },
          "kind": {
            "$ref": "#/components/schemas/StorageEventLocationKind",
            "description": "StorageEventLocationKind of this endpoint."
          },
          "unit": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/StorageUnitRecordList"
              }
            ],
            "default": null,
            "description": "Storage unit when kind is storage_unit."
          },
          "vehicle": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/ServiceVehicleRecordMinimal"
              }
            ],
            "default": null,
            "description": "Service vehicle when kind is service_vehicle."
          }
        },
        "required": [
          "kind"
        ],
        "title": "StorageEventLocationRecord",
        "type": "object"
      },
      "StorageFacilityRecordList": {
        "description": "Storage facility record for list views with contact and lead time.\n\nUsed in transfer orders and other contexts where phone/email and\ninventory lead time in seconds are needed.",
        "properties": {
          "contact_details": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/ContactDetailsRecord"
              }
            ],
            "default": null,
            "description": "Phone and email for the storage facility."
          },
          "created_at": {
            "description": "The date and time the database model was created",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Created At",
            "type": "string"
          },
          "has_label_printer": {
            "description": "A label printer stands here and prints this facility's print list.",
            "title": "Has Label Printer",
            "type": "boolean"
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "inventory_lead_time_in_seconds": {
            "description": "Seconds until stored items can be made available.",
            "title": "Inventory Lead Time In Seconds",
            "type": "integer"
          },
          "label_print_facility": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/StorageFacilityRecordName"
              }
            ],
            "default": null,
            "description": "Facility whose label printer prints this facility's labels; null when its labels are not printed."
          },
          "name": {
            "description": "Display name of the storage facility.",
            "title": "Name",
            "type": "string"
          },
          "service_organization_id": {
            "description": "ID of the service organization that owns the facility.",
            "title": "Service Organization Id",
            "type": "integer"
          },
          "site_group_id": {
            "description": "Site group containing this facility.",
            "title": "Site Group Id",
            "type": "integer"
          },
          "site_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Building containing this facility.",
            "title": "Site Id"
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The date and time the database model was last updated",
            "title": "Updated At"
          }
        },
        "required": [
          "id",
          "created_at",
          "site_group_id",
          "inventory_lead_time_in_seconds",
          "name",
          "service_organization_id",
          "has_label_printer"
        ],
        "title": "StorageFacilityRecordList",
        "type": "object"
      },
      "StorageFacilityRecordName": {
        "description": "The facility reference plus its timestamps, for embedding in route item lists.",
        "properties": {
          "code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Short external location code, when the facility has one.",
            "title": "Code"
          },
          "created_at": {
            "description": "The date and time the database model was created",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Created At",
            "type": "string"
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "name": {
            "description": "Display name of the storage facility.",
            "title": "Name",
            "type": "string"
          },
          "service_organization_id": {
            "description": "Service organization that owns the facility.",
            "title": "Service Organization Id",
            "type": "integer"
          },
          "site_group_id": {
            "description": "Site group containing this facility.",
            "title": "Site Group Id",
            "type": "integer"
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The date and time the database model was last updated",
            "title": "Updated At"
          }
        },
        "required": [
          "id",
          "created_at",
          "name",
          "service_organization_id",
          "site_group_id"
        ],
        "title": "StorageFacilityRecordName",
        "type": "object"
      },
      "StorageMetadataRecord": {
        "description": "Display name and tire season of a storage object group.\n\nDerived on read from the car and the wheel set or tires the group\nholds (e.g. \"BMW 3 series - AB12345\", winter).",
        "properties": {
          "name": {
            "description": "Car make, model and license plate of what the group holds; empty when no car is known.",
            "title": "Name",
            "type": "string"
          },
          "season": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/TireSeason"
              }
            ],
            "default": null,
            "description": "Tire season of the stored wheel set or tires."
          }
        },
        "required": [
          "name"
        ],
        "title": "StorageMetadataRecord",
        "type": "object"
      },
      "StorageObjectEventRecord": {
        "description": "Storage event with full storage object group (no event list).\n\nUsed when returning an event in a list or detail and the group\n(identifier, type, metadata, owner, can_* flags) is needed.",
        "properties": {
          "actor_name": {
            "description": "Name of the user who recorded the event. Empty when unknown.",
            "title": "Actor Name",
            "type": "string"
          },
          "created_at": {
            "description": "The date and time the database model was created",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Created At",
            "type": "string"
          },
          "created_by": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/UserRecordMinimal"
              }
            ],
            "default": null,
            "description": "The user who created the record."
          },
          "current_storage_unit": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/StorageUnitRecordList"
              }
            ],
            "default": null,
            "description": "Unit the group is in after this event (to_unit)."
          },
          "event_type": {
            "$ref": "#/components/schemas/ChoiceRecord_StorageObjectEventType_",
            "description": "Type of event (e.g. move, internal_pickup, delivery_to_customer)."
          },
          "from_location": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/StorageEventLocationRecord"
              }
            ],
            "default": null,
            "description": "From Storage event location."
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "is_at_loading_dock": {
            "description": "True if the group is at a loading dock.",
            "title": "Is At Loading Dock",
            "type": "boolean"
          },
          "is_delivered_to_customer": {
            "description": "True if this event is a delivery to customer.",
            "title": "Is Delivered To Customer",
            "type": "boolean"
          },
          "is_in_transit": {
            "description": "True when this event type is INTERNAL_PICKUP or LOADED_ONTO_VEHICLE (group not at a destination storage unit after the event). False for customer delivery.",
            "title": "Is In Transit",
            "type": "boolean"
          },
          "is_loaded_onto_vehicle": {
            "description": "True when this event is LOADED_ONTO_VEHICLE (wheels on the route vehicle, no to_unit).",
            "title": "Is Loaded Onto Vehicle",
            "type": "boolean"
          },
          "is_picked_up_from_customer": {
            "description": "True if this event is a pickup from customer.",
            "title": "Is Picked Up From Customer",
            "type": "boolean"
          },
          "is_retractable": {
            "description": "True when the event type allows undo and it is not undone.",
            "title": "Is Retractable",
            "type": "boolean"
          },
          "last_storage_unit": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/StorageUnitRecordList"
              }
            ],
            "default": null,
            "description": "Unit the group was in before this event (from_unit)."
          },
          "notes": {
            "description": "Free-text notes for this event.",
            "title": "Notes",
            "type": "string"
          },
          "retraction": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/StorageObjectEventRetractionRecord"
              }
            ],
            "default": null,
            "description": "Set when the event was undone."
          },
          "storage_object_group": {
            "$ref": "#/components/schemas/StorageObjectGroupRecordWithoutEvents",
            "description": "Storage object group this event belongs to (without event history)."
          },
          "storage_transfer_order_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Transfer order this event was recorded under, when any.",
            "title": "Storage Transfer Order Id"
          },
          "storage_transfer_order_slug": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Reference of the transfer order this event was recorded under.",
            "title": "Storage Transfer Order Slug"
          },
          "to_location": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/StorageEventLocationRecord"
              }
            ],
            "default": null,
            "description": "To Storage event location."
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The date and time the database model was last updated",
            "title": "Updated At"
          },
          "updated_by": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/UserRecordMinimal"
              }
            ],
            "default": null,
            "description": "The user who updated the record."
          }
        },
        "required": [
          "id",
          "created_at",
          "event_type",
          "notes",
          "actor_name",
          "is_in_transit",
          "is_loaded_onto_vehicle",
          "is_at_loading_dock",
          "is_picked_up_from_customer",
          "is_delivered_to_customer",
          "is_retractable",
          "storage_object_group"
        ],
        "title": "StorageObjectEventRecord",
        "type": "object"
      },
      "StorageObjectEventRetractReason": {
        "description": "Where a storage object event was undone; the note says why.\n\n``UNDONE_IN_HISTORY`` always carries a note. ``INFERENCE_CONTRADICTED``\nis written by the system only.",
        "enum": [
          "INFERENCE_CONTRADICTED",
          "UNDONE_AFTER_SCAN",
          "UNDONE_IN_HISTORY"
        ],
        "title": "StorageObjectEventRetractReason",
        "type": "string",
        "x-enum-descriptions": [
          "Undone in the storage history",
          "Undone after scan",
          "Inferred event contradicted by a scan"
        ],
        "x-enum-member-descriptions": [
          "A person undid the event from the storage history. This one always carries a note.",
          "A person undid the event after a scan, and the note says why, unlike the system-only inference case.",
          "The system wrote this because a scan contradicted an inferred event. A person does not pick it."
        ]
      },
      "StorageObjectEventRetractionRecord": {
        "description": "Who undid a storage event, when and why.",
        "properties": {
          "note": {
            "description": "Free-text note given when undoing.",
            "title": "Note",
            "type": "string"
          },
          "reason": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/StorageObjectEventRetractReason"
              }
            ],
            "description": "Why it was undone. Empty when undone before reasons were recorded."
          },
          "retracted_at": {
            "description": "When it was undone.",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Retracted At",
            "type": "string"
          },
          "retracted_by": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/UserRecordMinimal"
              }
            ],
            "description": "Who undid it. Empty when unknown."
          },
          "retraction_event_id": {
            "description": "The EVENT_RETRACTED row that undid the event.",
            "title": "Retraction Event Id",
            "type": "integer"
          }
        },
        "required": [
          "retraction_event_id",
          "retracted_at",
          "retracted_by",
          "reason",
          "note"
        ],
        "title": "StorageObjectEventRetractionRecord",
        "type": "object"
      },
      "StorageObjectGroupRecordWithoutEvents": {
        "description": "Storage object group without event history, with permission flags.\n\nUsed when listing groups and needing owner, metadata, and\ncan_* flags (can_be_moved, can_be_delivered_to_customer, etc.)\nwithout loading full event list. car_wheel_set for wheel groups,\ncar_tire_storage_objects for tire groups.",
        "properties": {
          "can_be_delivered_to_customer": {
            "default": true,
            "deprecated": true,
            "description": "Deprecated: always True with relaxed event sequences.",
            "title": "Can Be Delivered To Customer",
            "type": "boolean"
          },
          "can_be_marked_as_discarded": {
            "default": true,
            "deprecated": true,
            "description": "Deprecated: always True with relaxed event sequences.",
            "title": "Can Be Marked As Discarded",
            "type": "boolean"
          },
          "can_be_marked_as_lost": {
            "default": true,
            "deprecated": true,
            "description": "Deprecated: always True with relaxed event sequences.",
            "title": "Can Be Marked As Lost",
            "type": "boolean"
          },
          "can_be_moved": {
            "default": true,
            "deprecated": true,
            "description": "Deprecated: always True with relaxed event sequences.",
            "title": "Can Be Moved",
            "type": "boolean"
          },
          "can_be_picked_up_from_customer": {
            "default": true,
            "deprecated": true,
            "description": "Deprecated: always True with relaxed event sequences.",
            "title": "Can Be Picked Up From Customer",
            "type": "boolean"
          },
          "car_tire_storage_objects": {
            "description": "Tires stored in this group. Empty when the group holds a wheel set.",
            "items": {
              "$ref": "#/components/schemas/CarTireStorageObjectRecordEmbedded"
            },
            "title": "Car Tire Storage Objects",
            "type": "array"
          },
          "car_wheel_set": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/CarWheelSetRecordStorageList"
              }
            ],
            "default": null,
            "description": "Associated car wheel set for wheel-type groups, if any."
          },
          "created_at": {
            "description": "The date and time the database model was created",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Created At",
            "type": "string"
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "identifier": {
            "description": "Unique human-readable identifier for the storage group.",
            "title": "Identifier",
            "type": "string"
          },
          "metadata": {
            "$ref": "#/components/schemas/StorageMetadataRecord",
            "description": "Display name and tire season of the group."
          },
          "owner": {
            "$ref": "#/components/schemas/UserGroupRecordListMinimal",
            "description": "Partner (user group) that owns this storage group."
          },
          "type": {
            "$ref": "#/components/schemas/ChoiceRecord_StorageObjectGroupType_",
            "description": "Kind of storage group (e.g. car wheel set, car tires)."
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The date and time the database model was last updated",
            "title": "Updated At"
          }
        },
        "required": [
          "id",
          "created_at",
          "identifier",
          "type",
          "metadata",
          "owner"
        ],
        "title": "StorageObjectGroupRecordWithoutEvents",
        "type": "object"
      },
      "StorageObjectGroupType": {
        "description": "Storage object groups have an identifier printed on QR codes in the\nstorage facility.\n\nWhen scanning a QR code, we need to know what the storage group contains\nto be able to parse the content correctly.\n\nThe scan of a QR code should only return the type, allowing the app to\nmake a further request for the specific data type expected.",
        "enum": [
          "car_tires",
          "car_wheels"
        ],
        "title": "StorageObjectGroupType",
        "type": "string",
        "x-enum-descriptions": [
          "Wheel sets",
          "Tires"
        ],
        "x-enum-member-descriptions": [
          "The QR code is a wheel set. The app then loads wheel-set data, not loose tires.",
          "The QR code is tires. The app then loads tire data, not a wheel set."
        ]
      },
      "StorageUnitRecordList": {
        "description": "Storage unit within a storage facility for list responses.\n\nRepresents a single storable location with name, type, and parent\nfacility and area; used when listing units or showing where items are.",
        "properties": {
          "capacity": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Items of `stores` that fit on the unit; null when unset.",
            "title": "Capacity"
          },
          "color_hex": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Storage unit color as '#RRGGBB'.",
            "title": "Color Hex"
          },
          "created_at": {
            "description": "The date and time the database model was created",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Created At",
            "type": "string"
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "identifier": {
            "description": "Unique identifier for the storage unit.",
            "title": "Identifier",
            "type": "string"
          },
          "name": {
            "description": "Display name of the storage unit.",
            "title": "Name",
            "type": "string"
          },
          "storage_area": {
            "$ref": "#/components/schemas/StorageAreaRecordList",
            "description": "Area within the facility that contains this unit."
          },
          "storage_facility": {
            "$ref": "#/components/schemas/StorageFacilityRecordList",
            "description": "Facility that contains this unit."
          },
          "stores": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/StorageObjectGroupType"
              }
            ],
            "default": null,
            "description": "Kind of stored item the unit takes; null takes any kind."
          },
          "unit_type": {
            "$ref": "#/components/schemas/ChoiceRecord_StorageUnitType_",
            "description": "Permanent storage or a loading dock."
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The date and time the database model was last updated",
            "title": "Updated At"
          }
        },
        "required": [
          "id",
          "created_at",
          "identifier",
          "name",
          "unit_type",
          "storage_facility",
          "storage_area"
        ],
        "title": "StorageUnitRecordList",
        "type": "object"
      },
      "StoredCarWheelSetRecordForNewBooking": {
        "description": "Stored wheel set plus storage and user group for new booking flow.\n\nUsed when creating a booking that will use an existing stored wheel set;\nlinks the wheel set to its storage group and customer user group.",
        "properties": {
          "car_wheel_set": {
            "$ref": "#/components/schemas/CarWheelSetRecordList",
            "description": "The wheel set being stored."
          },
          "storage": {
            "$ref": "#/components/schemas/StoredStorageObjectGroupRecordCustomer",
            "description": "Storage group summary including lead time."
          },
          "user_group_id": {
            "description": "ID of the user group (customer) that owns the wheel set.",
            "title": "User Group Id",
            "type": "integer"
          }
        },
        "required": [
          "storage",
          "car_wheel_set",
          "user_group_id"
        ],
        "title": "StoredCarWheelSetRecordForNewBooking",
        "type": "object"
      },
      "StoredStorageObjectGroupRecordCustomer": {
        "description": "Minimal storage group record for customer-facing contexts.\n\nExists to expose only lead_time_in_seconds when the group is in\nstorage or in transit (for booking/availability logic).",
        "properties": {
          "lead_time_in_seconds": {
            "description": "Seconds until items at this storage can be made available.",
            "title": "Lead Time In Seconds",
            "type": "integer"
          }
        },
        "required": [
          "lead_time_in_seconds"
        ],
        "title": "StoredStorageObjectGroupRecordCustomer",
        "type": "object"
      },
      "SystemTagCode": {
        "description": "Stable identifiers for system-owned tags.",
        "enum": [
          "tire-hotel-first-season"
        ],
        "title": "SystemTagCode",
        "type": "string",
        "x-enum-descriptions": [
          "Tire hotel first season"
        ],
        "x-enum-member-descriptions": [
          "Stable code for the system-owned tag marking a tire hotel's first season. Partner tags leave the code empty."
        ],
        "x-enum-varnames": [
          "TIRE_HOTEL_FIRST_SEASON"
        ]
      },
      "TagRef": {
        "description": "Reference to a tag: the badge it shows, safe to nest anywhere.",
        "properties": {
          "code": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/SystemTagCode"
              }
            ],
            "default": null,
            "description": "System tag identifier. Empty for partner tags."
          },
          "color_hex": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Tag color as '#RRGGBB'.",
            "title": "Color Hex"
          },
          "icon": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/SalesItemTagIcon"
              }
            ],
            "default": null,
            "description": "Optional icon shown with the tag."
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "long_name": {
            "description": "Full display name.",
            "title": "Long Name",
            "type": "string"
          },
          "short_name": {
            "description": "Compact badge label.",
            "title": "Short Name",
            "type": "string"
          }
        },
        "required": [
          "id",
          "short_name",
          "long_name"
        ],
        "title": "TagRef",
        "type": "object"
      },
      "TaskType": {
        "description": "Enum representing different types of tasks.",
        "enum": [
          "CAR_TIRE_PHOTO_DOCUMENTATION",
          "CAR_TIRE_SIZE_REGISTRATION",
          "CAR_TIRE_TREAD_DEPTH_MEASUREMENT",
          "CUSTOM",
          "SERVICE"
        ],
        "title": "TaskType",
        "type": "string",
        "x-enum-descriptions": [
          "Custom",
          "Service",
          "Car tire tread depth measurement",
          "Car tire size registration",
          "Car tire photo documentation"
        ],
        "x-enum-member-descriptions": [
          "A free-form name and description, for work that is not a product service or a tire check.",
          "The work for a product on a booking, such as a wheel change, a wash, or glass repair.",
          "Measure tread depth on the car's tires. The same task can be completed more than once.",
          "Record the tire size on the car, such as 205/55R16, so the right replacements can be ordered.",
          "Photograph the car's tires to record condition or damage. The same task can be completed more than once."
        ]
      },
      "TemporarilyUnavailableRecord": {
        "description": "Why a sales item is temporarily not bookable.",
        "properties": {
          "code": {
            "description": "Stable machine code identifying the reason.",
            "title": "Code",
            "type": "string"
          },
          "disabled": {
            "description": "Always true when this object is present.",
            "title": "Disabled",
            "type": "boolean"
          },
          "message": {
            "description": "Localized full explanation of the reason.",
            "title": "Message",
            "type": "string"
          },
          "title": {
            "description": "Localized headline for the reason.",
            "title": "Title",
            "type": "string"
          }
        },
        "required": [
          "disabled",
          "code",
          "title",
          "message"
        ],
        "title": "TemporarilyUnavailableRecord",
        "type": "object"
      },
      "TemporaryStateRecord": {
        "description": "Compact representation of an active temporary state.",
        "properties": {
          "code_number": {
            "description": "Stable numeric code for support and client diagnostics.",
            "title": "Code Number",
            "type": "integer"
          },
          "description": {
            "description": "User-facing explanation of the temporary state.",
            "title": "Description",
            "type": "string"
          },
          "ends_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "When this temporary state ends. Null means open-ended (until deactivated). Partner badges use this for SMS-login-disabled expiry.",
            "title": "Ends At"
          },
          "starts_at": {
            "description": "When this temporary state started.",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Starts At",
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/ChoiceRecord_TemporaryStateType_",
            "description": "Temporary state type and stable text code."
          }
        },
        "required": [
          "type",
          "code_number",
          "description",
          "starts_at"
        ],
        "title": "TemporaryStateRecord",
        "type": "object"
      },
      "TimeZone": {
        "description": "Supported time zones where services are delivered.",
        "enum": [
          "America/Edmonton",
          "America/Halifax",
          "America/St_Johns",
          "America/Toronto",
          "America/Vancouver",
          "America/Winnipeg",
          "Europe/Amsterdam",
          "Europe/Berlin",
          "Europe/Oslo",
          "Europe/Paris",
          "Europe/Stockholm",
          "UTC"
        ],
        "title": "TimeZone",
        "type": "string",
        "x-enum-descriptions": [
          "America Atlantic Time Zone",
          "America Central Time Zone",
          "America Eastern Time Zone",
          "America Mountain Time Zone",
          "America Newfoundland",
          "America Pacific Time Zone",
          "Europe Amsterdam",
          "Europe Berlin",
          "Europe Oslo",
          "Europe Paris",
          "Europe Stockholm",
          "Coordinated Universal Time"
        ],
        "x-enum-member-descriptions": [
          "Atlantic Canada, using America/Halifax.",
          "Central Canada, using America/Winnipeg.",
          "Eastern Canada, using America/Toronto.",
          "Mountain time in Alberta, using America/Edmonton.",
          "Newfoundland, using America/St_Johns.",
          "Pacific Canada, using America/Vancouver.",
          "The Netherlands, using Europe/Amsterdam.",
          "Germany, using Europe/Berlin.",
          "Norway, using Europe/Oslo.",
          "France, using Europe/Paris.",
          "Sweden, using Europe/Stockholm.",
          "Coordinated Universal Time, with no city or regional offset."
        ],
        "x-enum-varnames": [
          "AMERICA_EDMONTON",
          "AMERICA_HALIFAX",
          "AMERICA_ST_JOHNS",
          "AMERICA_TORONTO",
          "AMERICA_VANCOUVER",
          "AMERICA_WINNIPEG",
          "EUROPE_AMSTERDAM",
          "EUROPE_BERLIN",
          "EUROPE_OSLO",
          "EUROPE_PARIS",
          "EUROPE_STOCKHOLM",
          "UTC"
        ]
      },
      "TimeZoneRecord": {
        "properties": {
          "label": {
            "title": "Label",
            "type": "string"
          },
          "value": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "integer"
              }
            ],
            "enum": [
              "America/Edmonton",
              "America/Halifax",
              "America/St_Johns",
              "America/Toronto",
              "America/Vancouver",
              "America/Winnipeg",
              "Europe/Amsterdam",
              "Europe/Berlin",
              "Europe/Oslo",
              "Europe/Paris",
              "Europe/Stockholm",
              "UTC"
            ],
            "title": "Value",
            "type": "string"
          }
        },
        "required": [
          "value",
          "label"
        ],
        "title": "TimeZoneRecord",
        "type": "object"
      },
      "Tire": {
        "description": "The rubber part of the wheel assembly that makes contact with the road.\n\nPurpose: Essential for traction, braking, and absorbing road irregularities.",
        "properties": {
          "brand": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Name of the brand of the tire",
            "title": "Brand"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Description of the tire",
            "title": "Description"
          },
          "ean_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "EAN8, or EAN13 (most common) or EAN14 (part of GTIN mostly used for logistics), stands for International Article Number (originally European Article Number).It is globally unique for that specific product model but not for an individual tire. It is assigned by the manufacturer and remains the same across all suppliers selling that exact tire model.",
            "title": "Ean Id"
          },
          "energy_class_eu": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/EnergyClassEU"
              }
            ],
            "default": null,
            "description": "Energy class of the tire"
          },
          "eu_tire_class": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/TireClassEU"
              }
            ],
            "default": null,
            "description": "EU tire class of the tire"
          },
          "extra_load": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "default": false,
            "description": "XL (Extra Load) means this tire has reinforced sidewallsand can handle higher air pressure for more load capacity.Typically used on heavier vehicles or performance cars.",
            "title": "Extra Load"
          },
          "is_3pmsf": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "default": false,
            "description": "Is a Three Peak Mountain Snow Flake marked tire.Standardized and controlled by EU authorities, guaranteeing that the product meets the conditions of rigorous testing and is suitable for operation in difficult weather conditions.",
            "title": "Is 3Pmsf"
          },
          "is_ice_grip": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "default": false,
            "description": "The ice grip symbol certifies that the tire have been tested for braking on icy surfaces.",
            "title": "Is Ice Grip"
          },
          "is_run_flat": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "default": false,
            "description": "RNF (Run-Flat) means the tire is designed to be driven at reduced speed(usually up to 80 km/h) after losing air pressure.This allows the driver to reach a service station without an immediate tire change.",
            "title": "Is Run Flat"
          },
          "is_studded": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "default": false,
            "description": "Tire is spiked",
            "title": "Is Studded"
          },
          "load_index": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/TireLoadIndex"
              }
            ],
            "default": null,
            "description": "A two- or three-digit numerical code used to cross-reference a load & inflation table that will give the maximum load each tire can carry at a given pressure.",
            "examples": [
              0,
              150
            ]
          },
          "model": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Name of the model of the tire",
            "title": "Model"
          },
          "mud_and_snow": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "default": false,
            "description": "M+S stands for mud and snow.This marking indicates that the tire is designed to perform in mud as well as fresh or melted snow.In general, most all-season tires are M+S certified.It is important to note that mud and snow-rated tires are not necessarily winter tires.",
            "title": "Mud And Snow"
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Name of the tire",
            "title": "Name"
          },
          "original_equipment_marks": {
            "anyOf": [
              {
                "items": {},
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Original equipment marks of the tire",
            "title": "Original Equipment Marks"
          },
          "pressure": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "in psi",
            "examples": [
              40,
              45
            ],
            "title": "Pressure"
          },
          "production_year": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The year the tire was produced",
            "title": "Production Year"
          },
          "rolling_resistance_class": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/TireRollingResistanceClass"
              }
            ],
            "default": null,
            "description": "Rolling resistance class of the tire"
          },
          "sound_class": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/SoundClass"
              }
            ],
            "default": null,
            "description": "Sound class of the tire"
          },
          "sound_db": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Sound level of the tire in decibels (dB)",
            "title": "Sound Db"
          },
          "spec": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/TireSpecification"
              }
            ],
            "default": null,
            "description": "Tire specification found on the tire sidewall"
          },
          "speed_index": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/TireSpeedIndex"
              }
            ],
            "default": null,
            "description": ""
          },
          "variant": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Variant of the tire. Used to make it unique when brand and model are the same.",
            "title": "Variant"
          },
          "wet_grip_class": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/WetGripClass"
              }
            ],
            "default": null,
            "description": "Wet grip class of the tire"
          }
        },
        "title": "Tire",
        "type": "object"
      },
      "TireClassEU": {
        "description": "Based on Regulation (EC) No 1222/2009\n\nNB: not the same a EDI-Wheel Vehicle Type",
        "enum": [
          "C1",
          "C2",
          "C3"
        ],
        "title": "TireClassEU",
        "type": "string",
        "x-enum-descriptions": [
          "passenger car tyres",
          "light commercial vehicle tyres",
          "heavy commercial vehicle tyres"
        ],
        "x-enum-member-descriptions": [
          "Passenger-car tyres under Regulation (EC) No 1222/2009. Not an EDI-Wheel vehicle type.",
          "Light commercial vehicle tyres under that EU label regulation, not passenger C1 or heavy C3.",
          "Heavy commercial vehicle tyres under that EU label regulation, not C1 or C2."
        ]
      },
      "TireConstructionType": {
        "description": "Tire Construction type PCR Tires\n\nhttps://www.continental-tires.com/kh/en/b2c/tire-knowledge/tyre-construction/\n\nRX is for Continental RX performance tires. But they as still radial",
        "enum": [
          "BIAS",
          "BIAS_BELTED",
          "BREAKER",
          "CROSSPLY",
          "RADIAL"
        ],
        "title": "TireConstructionType",
        "type": "string",
        "x-enum-descriptions": [
          "Bias Belted",
          "Breaker",
          "Bias",
          "Crossply",
          "Radial"
        ],
        "x-enum-member-descriptions": [
          "Bias carcass with a reinforcing belt under the tread. Sidewall letter B.",
          "Extra breaker plies under the tread, and no sidewall letter is stored.",
          "Diagonal bias carcass without a belt. Sidewall letter D.",
          "Cross-ply carcass, with plies running diagonally from bead to bead and no sidewall letter stored.",
          "Cords run at 90 degrees from bead to bead, with a belt under the tread and sidewall letter R, including Continental RX."
        ]
      },
      "TireHotelLocationRecordList": {
        "description": "List/detail view of a tire hotel location (id, name, address, contact).\n\nExists for list endpoints and embedding in other responses where full\nopening hours and organization are not needed.",
        "properties": {
          "address": {
            "$ref": "#/components/schemas/AddressRecord",
            "description": "Address of the tire hotel location."
          },
          "created_at": {
            "description": "The date and time the database model was created",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Created At",
            "type": "string"
          },
          "description": {
            "description": "Short description or instructions for the location.",
            "title": "Description",
            "type": "string"
          },
          "email": {
            "description": "Contact email for the location.",
            "title": "Email",
            "type": "string"
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "name": {
            "description": "Display name of the tire hotel location.",
            "title": "Name",
            "type": "string"
          },
          "phone_number": {
            "description": "Contact phone number for the location.",
            "title": "Phone Number",
            "type": "string"
          },
          "pin_location": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/CoordinateRecord"
              }
            ],
            "default": null,
            "description": "Pin location coordinate for the tire hotel."
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The date and time the database model was last updated",
            "title": "Updated At"
          },
          "website": {
            "anyOf": [
              {
                "format": "uri",
                "maxLength": 2083,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Website URL for the tire hotel location.",
            "title": "Website"
          }
        },
        "required": [
          "id",
          "created_at",
          "name",
          "address",
          "email",
          "phone_number",
          "description"
        ],
        "title": "TireHotelLocationRecordList",
        "type": "object"
      },
      "TireHotelLocationRecordMinimalList": {
        "description": "A tire hotel location, identified by its ``id`` and name.",
        "properties": {
          "created_at": {
            "description": "The date and time the database model was created",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Created At",
            "type": "string"
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "name": {
            "description": "The name of the provider",
            "title": "Name",
            "type": "string"
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The date and time the database model was last updated",
            "title": "Updated At"
          }
        },
        "required": [
          "id",
          "created_at",
          "name"
        ],
        "title": "TireHotelLocationRecordMinimalList",
        "type": "object"
      },
      "TireHotelLocationRecordMinimalListArray": {
        "items": {
          "$ref": "#/components/schemas/TireHotelLocationRecordMinimalList"
        },
        "properties": {},
        "type": "array"
      },
      "TireHotelOwnerOrganizationRecord": {
        "description": "The organization that owns the tire hotel's car, with its type.\n\nPresent when the customer group is an organization; lets the detail view\nflag leasing-company / dealership cars.",
        "properties": {
          "id": {
            "description": "Organization id.",
            "title": "Id",
            "type": "integer"
          },
          "is_leasing_or_dealer": {
            "description": "True when the organization is a leasing company or car dealership (the car is a leased/dealer car).",
            "title": "Is Leasing Or Dealer",
            "type": "boolean"
          },
          "name": {
            "description": "Organization name.",
            "title": "Name",
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/OrganizationType",
            "description": "Organization type."
          }
        },
        "required": [
          "id",
          "name",
          "type",
          "is_leasing_or_dealer"
        ],
        "title": "TireHotelOwnerOrganizationRecord",
        "type": "object"
      },
      "TireHotelRecordPartner": {
        "description": "Partner-facing commercial tire hotel contract (not custody).",
        "properties": {
          "car_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Subject car id.",
            "title": "Car Id"
          },
          "created_at": {
            "description": "The date and time the database model was created",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Created At",
            "type": "string"
          },
          "customer_contract_id": {
            "description": "Linked commercial CustomerContract id.",
            "title": "Customer Contract Id",
            "type": "integer"
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "in_stock_season": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/TireSeason"
              }
            ],
            "default": null,
            "description": "Season of tires currently in stock, when known."
          },
          "license_plate_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Subject car license plate, when known.",
            "title": "License Plate Number"
          },
          "next_renewal_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "When the next renewal is due.",
            "title": "Next Renewal At"
          },
          "owner_organization": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/TireHotelOwnerOrganizationRecord"
              }
            ],
            "default": null,
            "description": "Owning organization + type, when the customer is an org. Flags leasing-company / dealership cars."
          },
          "period_ends_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "End of the current paid commercial period.",
            "title": "Period Ends At"
          },
          "period_starts_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Start of the current paid commercial period.",
            "title": "Period Starts At"
          },
          "service_department_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Provider service department id.",
            "title": "Service Department Id"
          },
          "slug": {
            "description": "Unique human-readable identifier for this tire hotel.",
            "title": "Slug",
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/CustomerContractStatus",
            "description": "Contract lifecycle status."
          },
          "storage_facility_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Preferred storage facility of the contract.",
            "title": "Storage Facility Id"
          },
          "storage_facility_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Preferred storage facility of the contract; the wheel set can be stored elsewhere.",
            "title": "Storage Facility Name"
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The date and time the database model was last updated",
            "title": "Updated At"
          }
        },
        "required": [
          "id",
          "created_at",
          "slug",
          "customer_contract_id",
          "status"
        ],
        "title": "TireHotelRecordPartner",
        "type": "object"
      },
      "TireHotelRecordPartnerArray": {
        "items": {
          "$ref": "#/components/schemas/TireHotelRecordPartner"
        },
        "properties": {},
        "type": "array"
      },
      "TireLoadIndex": {
        "description": "Tire load index refers to the maximum weight a single tire can carry when\nproperly inflated.",
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13,
          14,
          15,
          16,
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28,
          29,
          30,
          31,
          32,
          33,
          34,
          35,
          36,
          37,
          38,
          39,
          40,
          41,
          42,
          43,
          44,
          45,
          46,
          47,
          48,
          49,
          50,
          51,
          52,
          53,
          54,
          55,
          56,
          57,
          58,
          59,
          60,
          61,
          62,
          63,
          64,
          65,
          66,
          67,
          68,
          69,
          70,
          71,
          72,
          73,
          74,
          75,
          76,
          77,
          78,
          79,
          80,
          81,
          82,
          83,
          84,
          85,
          86,
          87,
          88,
          89,
          90,
          91,
          92,
          93,
          94,
          95,
          96,
          97,
          98,
          99,
          100,
          101,
          102,
          103,
          104,
          105,
          106,
          107,
          108,
          109,
          110,
          111,
          112,
          113,
          114,
          115,
          116,
          117,
          118,
          119,
          120,
          121,
          122,
          123,
          124,
          125,
          126,
          127,
          128,
          129,
          130,
          131,
          132,
          133,
          134,
          135,
          136,
          137,
          138,
          139,
          140,
          141,
          142,
          143,
          144,
          145,
          146,
          147,
          148,
          149,
          150
        ],
        "title": "TireLoadIndex",
        "type": "integer",
        "x-enum-varnames": [
          "45",
          "46.5",
          "47.5",
          "48.5",
          "50",
          "51.5",
          "53",
          "54.5",
          "56",
          "58",
          "60",
          "61.5",
          "63",
          "65",
          "67",
          "69",
          "71",
          "73",
          "75",
          "77.5",
          "80",
          "82.5",
          "85",
          "87.5",
          "90",
          "92.5",
          "95",
          "97.5",
          "100",
          "103",
          "106",
          "109",
          "112",
          "115",
          "118",
          "121",
          "125",
          "128",
          "132",
          "136",
          "140",
          "145",
          "150",
          "155",
          "160",
          "165",
          "170",
          "175",
          "180",
          "185",
          "190",
          "195",
          "200",
          "206",
          "212",
          "218",
          "224",
          "230",
          "236",
          "243",
          "250",
          "257",
          "265",
          "272",
          "280",
          "290",
          "300",
          "307",
          "315",
          "325",
          "335",
          "345",
          "355",
          "365",
          "375",
          "387",
          "400",
          "412",
          "425",
          "437",
          "450",
          "462",
          "475",
          "487",
          "500",
          "515",
          "530",
          "545",
          "560",
          "580",
          "600",
          "615",
          "630",
          "650",
          "670",
          "690",
          "710",
          "730",
          "750",
          "775",
          "800",
          "825",
          "850",
          "875",
          "900",
          "925",
          "950",
          "975",
          "1000",
          "1030",
          "1060",
          "1090",
          "1120",
          "1150",
          "1180",
          "1215",
          "1250",
          "1285",
          "1320",
          "1360",
          "1400",
          "1450",
          "1500",
          "1550",
          "1600",
          "1650",
          "1700",
          "1750",
          "1800",
          "1850",
          "1900",
          "1950",
          "2000",
          "2060",
          "2120",
          "2180",
          "2240",
          "2300",
          "2360",
          "2430",
          "2500",
          "2575",
          "2650",
          "2725",
          "2800",
          "2900",
          "3000",
          "3075",
          "3150",
          "3250",
          "3350"
        ]
      },
      "TirePressureUnit": {
        "description": "Unit for tire inflation pressure.",
        "enum": [
          "Pa",
          "bar",
          "kPa",
          "psi"
        ],
        "title": "TirePressureUnit",
        "type": "string",
        "x-enum-descriptions": [
          "Pascal",
          "Bar",
          "Kilopascal",
          "Pounds per square inch"
        ],
        "x-enum-member-descriptions": [
          "Inflation pressure stored in pascals, the SI unit.",
          "Inflation pressure stored in bar, the usual workshop unit.",
          "Inflation pressure stored in kilopascals, one thousand pascals.",
          "Inflation pressure stored in pounds per square inch."
        ]
      },
      "TireRollingResistanceClass": {
        "description": "Fuel efficiency will range from class A, which indicates the best fuel\neconomy all the way through to class E, delivering the worst fuel economy.\n\nBetween classes, fuel consumption increases by approximately 0.1 litre for\nevery 100 km driven.",
        "enum": [
          "A",
          "B",
          "C",
          "D",
          "E"
        ],
        "title": "TireRollingResistanceClass",
        "type": "string",
        "x-enum-descriptions": [
          "A",
          "B",
          "C",
          "D",
          "E"
        ],
        "x-enum-member-descriptions": [
          "Best fuel economy on this A-to-E scale.",
          "One step below the best fuel economy, about 0.1 litre more per 100 km than A.",
          "Mid fuel-economy grade, about 0.2 litre more per 100 km than A.",
          "Fourth fuel-economy grade, about 0.3 litre more per 100 km than A.",
          "Worst fuel economy on this scale, about 0.4 litre more per 100 km than A."
        ]
      },
      "TireSeason": {
        "enum": [
          "ALL_SEASON",
          "SUMMER",
          "WINTER"
        ],
        "title": "TireSeason",
        "type": "string",
        "x-enum-descriptions": [
          "Summer",
          "Winter",
          "All season"
        ],
        "x-enum-member-descriptions": [
          "Tires for the warm season, with the summer tread-depth limits.",
          "Tires for the cold season, with the stricter winter tread-depth limits.",
          "Named all-season, but treated as summer tires and not for winter use in the Nordics."
        ]
      },
      "TireSeasonRecord": {
        "properties": {
          "label": {
            "title": "Label",
            "type": "string"
          },
          "value": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "integer"
              }
            ],
            "enum": [
              "ALL_SEASON",
              "SUMMER",
              "WINTER"
            ],
            "title": "Value",
            "type": "string"
          }
        },
        "required": [
          "value",
          "label"
        ],
        "title": "TireSeasonRecord",
        "type": "object"
      },
      "TireSpecification": {
        "description": "Found on the sidewall of your car's tires and provides tyre size, type,\nload and speed rating and more.\n\nFormat example: 195/65R15\n\n- 195: section width (mm), sidewall-to-sidewall when mounted and inflated.\n- 65: aspect ratio (%), sidewall height as percentage of width.\n- R: construction type (e.g. Radial).\n- 15: **rim diameter in inches** — the wheel/rim size the tyre fits.\n  Michelin TRX is the exception: the rim is a millimeter code stored\n  as published, not converted to inches.\n  This is **not** the tyre (overall) diameter; total tyre diameter\n  depends on width, aspect ratio and rim size and is in the diameter field.",
        "properties": {
          "aspect_ratio": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Aspect ratio of the height of the sidewall as a percentage of the tire's width. In this case, the sidewall height is 65% of the tire's width (195 mm).",
            "examples": [
              65
            ],
            "title": "Aspect Ratio"
          },
          "construction": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/TireConstructionType"
              }
            ],
            "default": null,
            "description": "Construction type of the tire (e.g., Radial).",
            "examples": [
              "RADIAL"
            ]
          },
          "diameter": {
            "anyOf": [
              {
                "description": "Distance in millimeters as an integer.",
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Tire Diameter (The Total Height). Also called 'Overall Diameter,' this is the measurement from the very bottom of the tread to the very top of the tread when the tire is inflated. This tells you how tall the entire assembly is. This affects speedometer accuracy, gear ratios, and whether the tire will rub against your car's fenders. Two tires can have the same rim diameter but different overall diameters because one has a 'taller' rubber sidewall than the other. NOTE: This is NOT the same as rim_diameter.",
            "title": "Diameter"
          },
          "dimension": {
            "description": "Tire dimension/specification string (e.g. 195/65R15).",
            "readOnly": true,
            "title": "Dimension",
            "type": "string"
          },
          "rim_diameter": {
            "anyOf": [
              {
                "description": "Distance in US inches.",
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Rim the tire is designed to fit. Inch rims are US inches. Michelin TRX sizes store the published millimeter rim code and are not converted to inches.",
            "examples": [
              15
            ],
            "title": "Rim Diameter"
          },
          "width": {
            "anyOf": [
              {
                "description": "Distance in millimeters as an integer.",
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Width of the tire from sidewall to sidewall when properly mounted and inflated in millimeters",
            "examples": [
              195
            ],
            "title": "Width"
          }
        },
        "required": [
          "dimension"
        ],
        "title": "TireSpecification",
        "type": "object"
      },
      "TireSpeedIndex": {
        "description": "The speed symbol is made up of a single letter, or an A with one numeral.\nIt is indicative of the maximum speed at which the tire can carry its rated\nload while ensuring that no part of the tire overheats when operating\nin steady-state conditions on smooth roads.\n\nSome APIs return a combination of codes.\n\nWe then choose the one with the lowest speed to be safe.\n\nSpeed in km/h",
        "enum": [
          "A1",
          "A2",
          "A3",
          "A4",
          "A5",
          "A6",
          "A7",
          "A8",
          "B",
          "C",
          "D",
          "E",
          "F",
          "G",
          "H",
          "J",
          "K",
          "L",
          "M",
          "N",
          "P",
          "Q",
          "R",
          "S",
          "T",
          "U",
          "UNKNOWN",
          "V",
          "W",
          "Y",
          "Z"
        ],
        "title": "TireSpeedIndex",
        "type": "string",
        "x-enum-descriptions": [
          "Unknown",
          "A1",
          "A2",
          "A3",
          "A4",
          "A5",
          "A6",
          "A7",
          "A8",
          "B",
          "C",
          "D",
          "E",
          "F",
          "G",
          "J",
          "K",
          "L",
          "M",
          "N",
          "P",
          "Q",
          "R",
          "S",
          "T",
          "U",
          "H",
          "V",
          "Z",
          "W",
          "Y"
        ],
        "x-enum-member-descriptions": [
          "No speed symbol was recognized, so this is stored as 0 km/h.",
          "A-numeral symbol for a maximum steady speed of 5 km/h at the rated load.",
          "A-numeral symbol for a maximum steady speed of 10 km/h at the rated load.",
          "A-numeral symbol for a maximum steady speed of 15 km/h at the rated load.",
          "A-numeral symbol for a maximum steady speed of 20 km/h at the rated load.",
          "A-numeral symbol for a maximum steady speed of 25 km/h at the rated load.",
          "A-numeral symbol for a maximum steady speed of 30 km/h at the rated load.",
          "A-numeral symbol for a maximum steady speed of 35 km/h at the rated load.",
          "A-numeral symbol for a maximum steady speed of 40 km/h at the rated load.",
          "Allows a maximum steady speed of 50 km/h at the rated load.",
          "Allows a maximum steady speed of 60 km/h at the rated load.",
          "Allows a maximum steady speed of 65 km/h at the rated load.",
          "Allows a maximum steady speed of 70 km/h at the rated load.",
          "Allows a maximum steady speed of 80 km/h at the rated load.",
          "Allows a maximum steady speed of 90 km/h at the rated load.",
          "Allows a maximum steady speed of 100 km/h at the rated load.",
          "Allows a maximum steady speed of 110 km/h at the rated load.",
          "Allows a maximum steady speed of 120 km/h at the rated load.",
          "Allows a maximum steady speed of 130 km/h at the rated load.",
          "Allows a maximum steady speed of 140 km/h at the rated load.",
          "Allows a maximum steady speed of 150 km/h at the rated load.",
          "Allows a maximum steady speed of 160 km/h at the rated load.",
          "Allows a maximum steady speed of 170 km/h at the rated load.",
          "Allows a maximum steady speed of 180 km/h at the rated load.",
          "Allows a maximum steady speed of 190 km/h at the rated load.",
          "Allows a maximum steady speed of 200 km/h at the rated load.",
          "Allows a maximum steady speed of 210 km/h at the rated load.",
          "Allows a maximum steady speed of 240 km/h at the rated load.",
          "Symbol for speeds above 240 km/h. Stored as 241 km/h so it does not share V's 240.",
          "Allows a maximum steady speed of 270 km/h at the rated load.",
          "Allows a maximum steady speed of 300 km/h at the rated load."
        ]
      },
      "TireTreadDepthStatus": {
        "description": "Derived status from latest tread-depth measurements for a wheel set.\n\nValues are used in APIs; keep string values stable.",
        "enum": [
          "ABOVE_RECOMMENDED",
          "SOON_WORN_OUT",
          "WORN_OUT"
        ],
        "title": "TireTreadDepthStatus",
        "type": "string",
        "x-enum-descriptions": [
          "Worn out",
          "Soon worn out",
          "Above recommended"
        ]
      },
      "TireWearMeasurementRecord": {
        "description": "Single tire wear measurement for one wheel position.\n\nWhy: Represents tread depth at a wheel position at a given time for\nfleet tire wear reporting.",
        "properties": {
          "measured_at": {
            "description": "When this measurement was taken.",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Measured At",
            "type": "string"
          },
          "measured_by_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Full name of the user who recorded the measurement. Null when unknown or when the endpoint does not expose who measured.",
            "title": "Measured By Name"
          },
          "measured_by_user_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "User who recorded the measurement. Null when unknown or when the endpoint does not expose who measured.",
            "title": "Measured By User Id"
          },
          "tread_depth": {
            "$ref": "#/components/schemas/QuantityModel",
            "description": "Tread depth value and unit (e.g. mm)."
          },
          "wheel_position": {
            "$ref": "#/components/schemas/ChoiceRecord_CarWheelPosition_",
            "description": "Wheel position (e.g. front left) for this measurement."
          }
        },
        "required": [
          "wheel_position",
          "tread_depth",
          "measured_at"
        ],
        "title": "TireWearMeasurementRecord",
        "type": "object"
      },
      "UnableToCompleteCustomerRecord": {
        "description": "Customer-facing unable-to-complete details. Excludes internal comments.",
        "properties": {
          "comments_public": {
            "description": "Public comment explaining why the task could not be completed.",
            "title": "Comments Public",
            "type": "string"
          },
          "id": {
            "description": "Unable-to-complete outcome identifier.",
            "title": "Id",
            "type": "integer"
          },
          "reason": {
            "description": "Name of the unable-to-complete reason.",
            "title": "Reason",
            "type": "string"
          }
        },
        "required": [
          "id",
          "reason",
          "comments_public"
        ],
        "title": "UnableToCompleteCustomerRecord",
        "type": "object"
      },
      "UnableToCompleteMarkingRecord": {
        "description": "One task a worker marked unable to complete, and why.",
        "properties": {
          "car_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Affected car ID. Null for booking-level tasks.",
            "title": "Car Id"
          },
          "comments_internal": {
            "description": "Note for staff only.",
            "title": "Comments Internal",
            "type": "string"
          },
          "comments_public": {
            "description": "Note shown to the customer.",
            "title": "Comments Public",
            "type": "string"
          },
          "license_plate": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/LicensePlate"
              }
            ],
            "default": null,
            "description": "Affected car license plate. Null for booking-level tasks."
          },
          "marked_at": {
            "description": "When it was marked.",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Marked At",
            "type": "string"
          },
          "marked_by_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Who marked it. Null when unknown.",
            "title": "Marked By Name"
          },
          "reason": {
            "description": "Reason the worker picked.",
            "title": "Reason",
            "type": "string"
          },
          "task_id": {
            "description": "The task marked unable to complete.",
            "title": "Task Id",
            "type": "integer"
          },
          "task_name": {
            "description": "What the task was, e.g. the service.",
            "title": "Task Name",
            "type": "string"
          },
          "task_type": {
            "$ref": "#/components/schemas/TaskType",
            "description": "Kind of task. SERVICE is the booked work itself; the other types are checks around it."
          }
        },
        "required": [
          "task_id",
          "task_name",
          "task_type",
          "reason",
          "comments_internal",
          "comments_public",
          "marked_at"
        ],
        "title": "UnableToCompleteMarkingRecord",
        "type": "object"
      },
      "UserContactVerificationMethod": {
        "description": "How a contact value was proven.",
        "enum": [
          "apple",
          "email_code",
          "email_link",
          "google",
          "microsoft",
          "sms_code",
          "sso"
        ],
        "title": "UserContactVerificationMethod",
        "type": "string",
        "x-enum-descriptions": [
          "SMS code",
          "Email code",
          "Email link",
          "Google",
          "Apple",
          "Microsoft",
          "Tenant SSO"
        ],
        "x-enum-member-descriptions": [
          "The phone number was proved with a code sent by SMS.",
          "The email was proved by typing a code, not by opening a link.",
          "The email was proved by opening a link, not by typing a code.",
          "The email was proved by signing in with the linked Google account.",
          "The email was proved by signing in with the linked Apple account.",
          "The email was proved by signing in with the linked Microsoft account.",
          "The email was proved by signing in through the service organization's own identity provider."
        ]
      },
      "UserContactVerificationRecord": {
        "description": "Whether one current contact value has a proof, and when.",
        "properties": {
          "method": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/UserContactVerificationMethod"
              }
            ],
            "default": null,
            "description": "How the current value was proven. Null when it is not verified."
          },
          "verified": {
            "description": "Whether the account's current value has a matching proof.",
            "title": "Verified",
            "type": "boolean"
          },
          "verified_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "When the current value was last proven. Null when it is not verified.",
            "title": "Verified At"
          }
        },
        "required": [
          "verified"
        ],
        "title": "UserContactVerificationRecord",
        "type": "object"
      },
      "UserGroupAddressRecord": {
        "description": "Saved address linked to a user group (e.g. home, office).\n\nWhy: Used for delivery/pickup locations; includes optional pin\ncoordinates and delivery instructions.\n\n``created_by`` is who saved this link on the customer, not who\ncreated the street row.",
        "properties": {
          "address": {
            "$ref": "#/components/schemas/AddressRecord",
            "description": "Full address (street, postal code, etc.)."
          },
          "created_at": {
            "description": "The date and time the database model was created",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Created At",
            "type": "string"
          },
          "created_by": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/UserRef"
              }
            ],
            "default": null,
            "description": "Person who created the record. Null when that was not recorded."
          },
          "custom_label": {
            "description": "User-specified label when label is 'custom'.",
            "title": "Custom Label",
            "type": "string"
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "instructions": {
            "description": "Delivery or access instructions for this address.",
            "title": "Instructions",
            "type": "string"
          },
          "label": {
            "$ref": "#/components/schemas/AddressLabel",
            "description": "Predefined label: 'home', 'work', 'cabin', or 'custom'."
          },
          "name": {
            "description": "Label for this address (e.g. Home, Office).",
            "title": "Name",
            "type": "string"
          },
          "pin_location": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/CoordinateRecord"
              }
            ],
            "default": null,
            "description": "Combined lat/lng coordinate for the pin."
          },
          "pin_location_latitude": {
            "anyOf": [
              {
                "description": "Latitude coordinate.",
                "maximum": 90,
                "minimum": -90,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Latitude of the pin on the map.",
            "title": "Pin Location Latitude"
          },
          "pin_location_longitude": {
            "anyOf": [
              {
                "description": "Longitude coordinate.",
                "maximum": 180,
                "minimum": -180,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Longitude of the pin on the map.",
            "title": "Pin Location Longitude"
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The date and time the database model was last updated",
            "title": "Updated At"
          },
          "updated_by": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/UserRef"
              }
            ],
            "default": null,
            "description": "Person who last updated the record. Null until someone edits it."
          },
          "user_group_id": {
            "description": "ID of the user group this address belongs to.",
            "title": "User Group Id",
            "type": "integer"
          }
        },
        "required": [
          "id",
          "created_at",
          "address",
          "instructions",
          "name",
          "label",
          "custom_label",
          "user_group_id"
        ],
        "title": "UserGroupAddressRecord",
        "type": "object"
      },
      "UserGroupBrandRelationshipRecord": {
        "description": "Sticky initial brand attribution for a user group.\n\nWhy: Couples the originating brand with the booking timestamp that\nestablished it so callers receive a single nullable nested record\ninstead of two correlated top-level fields.",
        "properties": {
          "brand": {
            "$ref": "#/components/schemas/BrandOption",
            "description": "Brand the customer first booked under (sticky brand attribution)."
          },
          "created_at": {
            "description": "UTC creation time of the booking that established ``brand``. Mirrors that booking's ``created_at``.",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Created At",
            "type": "string"
          }
        },
        "required": [
          "brand",
          "created_at"
        ],
        "title": "UserGroupBrandRelationshipRecord",
        "type": "object"
      },
      "UserGroupCarRole": {
        "description": "How a user group relates to a car it is linked to.\n\nOWNER is the legal/fleet owner (the default for every existing and new\nownership row). LEASEHOLDER is a driver who holds a car owned by a\nleasing company or car dealership: they see and book the car from their\npersonal profile. They are not the owner, and they are the recall\ncontact.\nDEALER is a car dealership that sold the car to its leasing-company\nowner -- an informational seller link, not an owner and not a driver.\nA leased car can carry all three at once: one OWNER row (the leasing\ncompany), one LEASEHOLDER row (the driver's personal user group), and\none DEALER row (the selling dealership). Only OWNER counts as ownership.\nLEASEHOLDER is the recall contact. DEALER never drives recalls or\nowner resolution.",
        "enum": [
          "dealer",
          "leaseholder",
          "owner"
        ],
        "title": "UserGroupCarRole",
        "type": "string",
        "x-enum-descriptions": [
          "Owner",
          "Leaseholder",
          "Dealer"
        ],
        "x-enum-member-descriptions": [
          "The legal or fleet owner. This is the only link that counts as ownership, and it is the default on an ownership row.",
          "A driver who holds a car owned by a leasing company or dealership. They book it from their personal profile and they are the recall contact, not the owner.",
          "The dealership that sold the car to its leasing-company owner. Informational only: not an owner and not a driver."
        ]
      },
      "UserGroupMemberRecordListPartner": {
        "description": "A user group membership, including the member's user and notification preferences.",
        "properties": {
          "created_at": {
            "description": "The date and time the database model was created",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Created At",
            "type": "string"
          },
          "email_booking_notifications": {
            "description": "Whether the member receives booking notifications by email.",
            "title": "Email Booking Notifications",
            "type": "boolean"
          },
          "email_calendar_invites": {
            "description": "Whether the member receives calendar invites by email.",
            "title": "Email Calendar Invites",
            "type": "boolean"
          },
          "email_newsletter": {
            "description": "Whether the member receives the newsletter by email.",
            "title": "Email Newsletter",
            "type": "boolean"
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "is_admin": {
            "description": "Whether the member is an administrator of the user group.",
            "title": "Is Admin",
            "type": "boolean"
          },
          "is_default_user_group": {
            "description": "Whether this is the member's default user group.",
            "title": "Is Default User Group",
            "type": "boolean"
          },
          "is_primary_contact": {
            "description": "Whether this member is the person the user group designates as its main point of contact.",
            "title": "Is Primary Contact",
            "type": "boolean"
          },
          "role": {
            "$ref": "#/components/schemas/UserGroupMemberRole",
            "description": "How this person relates to the user group."
          },
          "sms_booking_notifications": {
            "description": "Whether the member receives booking notifications by SMS.",
            "title": "Sms Booking Notifications",
            "type": "boolean"
          },
          "sms_marketing": {
            "description": "Whether the member receives marketing messages by SMS.",
            "title": "Sms Marketing",
            "type": "boolean"
          },
          "sms_recall_proposals": {
            "description": "Whether the member receives recall proposals by SMS.",
            "title": "Sms Recall Proposals",
            "type": "boolean"
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The date and time the database model was last updated",
            "title": "Updated At"
          },
          "user": {
            "$ref": "#/components/schemas/UserGroupMemberUserRecordPartner",
            "description": "The user this membership belongs to."
          },
          "user_group_id": {
            "description": "ID of the user group this membership belongs to.",
            "title": "User Group Id",
            "type": "integer"
          }
        },
        "required": [
          "id",
          "created_at",
          "email_booking_notifications",
          "email_calendar_invites",
          "email_newsletter",
          "is_admin",
          "is_default_user_group",
          "is_primary_contact",
          "role",
          "sms_booking_notifications",
          "sms_marketing",
          "sms_recall_proposals",
          "user",
          "user_group_id"
        ],
        "title": "UserGroupMemberRecordListPartner",
        "type": "object"
      },
      "UserGroupMemberRecordListPartnerArray": {
        "items": {
          "$ref": "#/components/schemas/UserGroupMemberRecordListPartner"
        },
        "properties": {},
        "type": "array"
      },
      "UserGroupMemberRole": {
        "description": "How a person relates to the user group they belong to.\n\nMEMBER is the ordinary relationship. On a personal group or an employer\nfleet the member books that group's cars. EMPLOYEE is staff of a leasing\ncompany or car dealership: they may open that organization in the\ncustomer app, and the cars they book there are the company's own cars.\nA lease is not a membership role. The driver of a leased car is the\nleaseholder on their own user group.",
        "enum": [
          "employee",
          "member"
        ],
        "title": "UserGroupMemberRole",
        "type": "string",
        "x-enum-descriptions": [
          "Member",
          "Employee"
        ],
        "x-enum-member-descriptions": [
          "Ordinary membership. On a personal group or an employer fleet, this person books that group's cars.",
          "Staff of a leasing company or dealership. They open that organization in the customer app and book the company's own cars, not a leased car."
        ]
      },
      "UserGroupMemberUserRecordPartner": {
        "description": "Partner user fields with contact details that may be redacted.",
        "properties": {
          "about": {
            "description": "User bio or description.",
            "title": "About",
            "type": "string"
          },
          "created_at": {
            "description": "The date and time the database model was created",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Created At",
            "type": "string"
          },
          "date_of_birth": {
            "anyOf": [
              {
                "format": "date",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "User date of birth.",
            "title": "Date Of Birth"
          },
          "email": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "User email address.",
            "title": "Email"
          },
          "email_marketing_consent": {
            "description": "Whether the user has consented to marketing emails.",
            "title": "Email Marketing Consent",
            "type": "boolean"
          },
          "email_verification": {
            "$ref": "#/components/schemas/UserContactVerificationRecord",
            "description": "Proof that the current email was verified, and when."
          },
          "first_name": {
            "description": "User first name.",
            "title": "First Name",
            "type": "string"
          },
          "gender": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/Gender"
              }
            ],
            "default": null,
            "description": "User gender."
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "is_active": {
            "description": "Whether the user account is active.",
            "title": "Is Active",
            "type": "boolean"
          },
          "is_manager": {
            "description": "Whether the user has manager role in any context.",
            "title": "Is Manager",
            "type": "boolean"
          },
          "is_personal": {
            "description": "Whether the user is a personal (non-organization) user.",
            "title": "Is Personal",
            "type": "boolean"
          },
          "is_staff": {
            "description": "Whether the user has staff access.",
            "title": "Is Staff",
            "type": "boolean"
          },
          "is_superuser": {
            "description": "Whether the user has superuser privileges.",
            "title": "Is Superuser",
            "type": "boolean"
          },
          "is_worker": {
            "description": "Whether the user is a worker in any service department.",
            "title": "Is Worker",
            "type": "boolean"
          },
          "last_login": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Timestamp of the user's last login.",
            "title": "Last Login"
          },
          "last_name": {
            "description": "User last name.",
            "title": "Last Name",
            "type": "string"
          },
          "phone_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "User phone number when visible to the caller.",
            "title": "Phone Number"
          },
          "phone_number_verification": {
            "$ref": "#/components/schemas/UserContactVerificationRecord",
            "description": "Proof that the current phone number was verified, and when."
          },
          "profile_image": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/ImageRecordMinimal"
              }
            ],
            "default": null,
            "description": "Profile image for the user, if set."
          },
          "temporary_state": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/TemporaryStateRecord"
              }
            ],
            "default": null,
            "description": "Active temporary state for the partner/admin profile badge (Twilio phone fraud blocked, or SMS login temporarily disabled from a phone/user-linked login blocklist entry). Priority: Twilio fraud over SMS-login-disabled when both are active. IP/CIDR-only blocklist bans are not attributable here."
          },
          "temporary_state_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "ID of the active temporary state, if any.",
            "title": "Temporary State Id"
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The date and time the database model was last updated",
            "title": "Updated At"
          }
        },
        "required": [
          "id",
          "created_at",
          "about",
          "email_marketing_consent",
          "email_verification",
          "first_name",
          "is_active",
          "is_manager",
          "is_personal",
          "is_staff",
          "is_superuser",
          "is_worker",
          "last_name",
          "phone_number_verification"
        ],
        "title": "UserGroupMemberUserRecordPartner",
        "type": "object"
      },
      "UserGroupMembershipDiscountOutput": {
        "description": "Output record for a user group membership discount.",
        "properties": {
          "description": {
            "description": "The description of the discount",
            "title": "Description",
            "type": "string"
          },
          "id": {
            "description": "The ID of the discount",
            "title": "Id",
            "type": "integer"
          },
          "name": {
            "description": "The public name of the discount",
            "title": "Name",
            "type": "string"
          },
          "percentage": {
            "anyOf": [
              {
                "ge": 0,
                "le": 100,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The discount percentage as a string",
            "title": "Percentage"
          },
          "price": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The discount price",
            "title": "Price"
          },
          "sales_item_ids": {
            "description": "List of included sales item IDs",
            "items": {
              "type": "integer"
            },
            "title": "Sales Item Ids",
            "type": "array"
          }
        },
        "required": [
          "description",
          "id",
          "name",
          "sales_item_ids"
        ],
        "title": "UserGroupMembershipDiscountOutput",
        "type": "object"
      },
      "UserGroupMembershipOutput": {
        "description": "Output record for a user group membership.",
        "properties": {
          "discounts": {
            "description": "List of discounts",
            "items": {
              "$ref": "#/components/schemas/UserGroupMembershipDiscountOutput"
            },
            "title": "Discounts",
            "type": "array"
          },
          "id": {
            "description": "The ID of the membership program",
            "title": "Id",
            "type": "integer"
          },
          "image": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The image URL of the membership program",
            "title": "Image"
          },
          "membership_number": {
            "description": "The user's membership number for this program (e.g. NAF member number)",
            "title": "Membership Number",
            "type": "string"
          },
          "membership_number_updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "When the membership number was last set or updated",
            "title": "Membership Number Updated At"
          },
          "name": {
            "description": "The name of the membership program",
            "title": "Name",
            "type": "string"
          }
        },
        "required": [
          "discounts",
          "id",
          "membership_number",
          "name"
        ],
        "title": "UserGroupMembershipOutput",
        "type": "object"
      },
      "UserGroupMembershipOutputArray": {
        "items": {
          "$ref": "#/components/schemas/UserGroupMembershipOutput"
        },
        "properties": {},
        "type": "array"
      },
      "UserGroupPartnerRecord": {
        "description": "Legacy minimal user group record.\n\nWhy: Deprecated; use UserGroupPartnerRecordMinimal or\nUserGroupRecordPartner instead.",
        "properties": {
          "created_at": {
            "description": "The date and time the database model was created",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Created At",
            "type": "string"
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "is_personal": {
            "description": "True if this is a single-user (personal) group.",
            "title": "Is Personal",
            "type": "boolean"
          },
          "name": {
            "description": "Display name of the user group.",
            "title": "Name",
            "type": "string"
          },
          "profile_image": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/ImageRecordMinimal"
              }
            ],
            "default": null,
            "description": "Profile image for the user group, if set."
          },
          "slug": {
            "description": "Unique URL-safe identifier.",
            "title": "Slug",
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/UserGroupType",
            "description": "User group type (e.g. personal, organization) used to differentiate organizations from personal users."
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The date and time the database model was last updated",
            "title": "Updated At"
          }
        },
        "required": [
          "id",
          "created_at",
          "is_personal",
          "name",
          "slug",
          "type"
        ],
        "title": "UserGroupPartnerRecord",
        "type": "object"
      },
      "UserGroupPayerRecord": {
        "description": "Invoice-to user group, with organization phone and address.\n\nThose fields stay off ``UserGroupRecordListMinimal`` so list rows that\nembed a customer or leaseholder do not load them.",
        "properties": {
          "address": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Invoice address when one is labeled, otherwise the first address. Null when the payer has no address.",
            "title": "Address"
          },
          "created_at": {
            "description": "The date and time the database model was created",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Created At",
            "type": "string"
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "is_personal": {
            "description": "True if this is a single-user (personal) group.",
            "title": "Is Personal",
            "type": "boolean"
          },
          "name": {
            "description": "Display name of the user group.",
            "title": "Name",
            "type": "string"
          },
          "personal_account_purpose": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/PersonalAccountPurpose"
              }
            ],
            "default": null,
            "description": "Purpose of a personal user group. Null when not personal."
          },
          "phone_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Organization contact phone. Null for personal payers and when the organization has no phone.",
            "title": "Phone Number"
          },
          "profile_image": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/ImageRecordMinimal"
              }
            ],
            "default": null,
            "description": "Profile image for the user group, if set."
          },
          "slug": {
            "description": "Unique URL-safe identifier.",
            "title": "Slug",
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/ChoiceRecord_UserGroupType_",
            "description": "User group type (e.g. personal, company)."
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The date and time the database model was last updated",
            "title": "Updated At"
          },
          "users": {
            "description": "Primary personal contact (phone and email). Empty for organizations and when no member is prefetched.",
            "items": {
              "$ref": "#/components/schemas/UserRecordContactMinimal"
            },
            "title": "Users",
            "type": "array"
          }
        },
        "required": [
          "id",
          "created_at",
          "is_personal",
          "name",
          "slug",
          "type"
        ],
        "title": "UserGroupPayerRecord",
        "type": "object"
      },
      "UserGroupRecord": {
        "description": "Core user group response (single-item / detail).\n\nWhy: Serializes UserGroup for GET detail and nested use; includes\nslug, name, and personal/organization flags.",
        "properties": {
          "brand_relationship": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/UserGroupBrandRelationshipRecord"
              }
            ],
            "default": null,
            "description": "Initial brand attribution and the timestamp that established it. Null if the user group has no booking yet or the originating service organization had no brand set."
          },
          "created_at": {
            "description": "The date and time the database model was created",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Created At",
            "type": "string"
          },
          "created_by": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/UserRecordMinimal"
              }
            ],
            "default": null,
            "description": "The user who created the record."
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "is_organization": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "True if the group is an organization (company) type.",
            "title": "Is Organization"
          },
          "is_personal": {
            "default": false,
            "description": "True if this is a single-user (personal) group.",
            "title": "Is Personal",
            "type": "boolean"
          },
          "name": {
            "description": "Display name of the user group.",
            "title": "Name",
            "type": "string"
          },
          "personal_account_purpose": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/PersonalAccountPurpose"
              }
            ],
            "default": null,
            "description": "Purpose of a personal user group. Null when not personal."
          },
          "profile_image": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/ImageRecordMinimal"
              }
            ],
            "default": null,
            "description": "Profile image for the user group, if set."
          },
          "release_channel": {
            "$ref": "#/components/schemas/ReleaseChannel",
            "description": "Feature release channel. Alpha > Beta > Stable."
          },
          "slug": {
            "description": "Unique URL-safe identifier.",
            "title": "Slug",
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/UserGroupType",
            "description": "Type of the user group."
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The date and time the database model was last updated",
            "title": "Updated At"
          },
          "updated_by": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/UserRecordMinimal"
              }
            ],
            "default": null,
            "description": "The user who updated the record."
          },
          "user_group_payer_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Default invoice-to user group id when different from this group. Null when this group pays.",
            "title": "User Group Payer Id"
          }
        },
        "required": [
          "id",
          "created_at",
          "release_channel",
          "type",
          "name",
          "slug"
        ],
        "title": "UserGroupRecord",
        "type": "object"
      },
      "UserGroupRecordList": {
        "description": "Record for UserGroup list views matching UserGroupListSerializer.\n\nWhy: Used in list endpoints and as nested payload (e.g. pricing\nagreement); keeps backwards compatibility with the old serializer.",
        "properties": {
          "created_at": {
            "description": "The date and time the database model was created",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Created At",
            "type": "string"
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "is_personal": {
            "description": "True if this is a single-user (personal) group.",
            "title": "Is Personal",
            "type": "boolean"
          },
          "name": {
            "description": "Display name of the user group.",
            "title": "Name",
            "type": "string"
          },
          "personal_account_purpose": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/PersonalAccountPurpose"
              }
            ],
            "default": null,
            "description": "Purpose of a personal user group. Null when not personal."
          },
          "profile_image": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/ImageRecordMinimal"
              }
            ],
            "default": null,
            "description": "Profile image for the user group, if set."
          },
          "release_channel": {
            "$ref": "#/components/schemas/ReleaseChannel",
            "description": "Feature release channel. Alpha > Beta > Stable."
          },
          "slug": {
            "description": "Unique URL-safe identifier.",
            "title": "Slug",
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/ChoiceRecord_UserGroupType_",
            "description": "User group type (e.g. personal, company)."
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The date and time the database model was last updated",
            "title": "Updated At"
          },
          "users": {
            "description": "Users belonging to this group (from prefetched members).",
            "items": {
              "$ref": "#/components/schemas/UserRecordMinimal"
            },
            "title": "Users",
            "type": "array"
          }
        },
        "required": [
          "id",
          "created_at",
          "is_personal",
          "name",
          "release_channel",
          "slug",
          "type",
          "users"
        ],
        "title": "UserGroupRecordList",
        "type": "object"
      },
      "UserGroupRecordListMinimal": {
        "description": "Lightweight user group record for list views.\n\nCarries name/type metadata plus zero or one contact user (personal\ngroups only) for staff customer cells.",
        "properties": {
          "created_at": {
            "description": "The date and time the database model was created",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Created At",
            "type": "string"
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "is_personal": {
            "description": "True if this is a single-user (personal) group.",
            "title": "Is Personal",
            "type": "boolean"
          },
          "name": {
            "description": "Display name of the user group.",
            "title": "Name",
            "type": "string"
          },
          "personal_account_purpose": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/PersonalAccountPurpose"
              }
            ],
            "default": null,
            "description": "Purpose of a personal user group. Null when not personal."
          },
          "profile_image": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/ImageRecordMinimal"
              }
            ],
            "default": null,
            "description": "Profile image for the user group, if set."
          },
          "slug": {
            "description": "Unique URL-safe identifier.",
            "title": "Slug",
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/ChoiceRecord_UserGroupType_",
            "description": "User group type (e.g. personal, company)."
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The date and time the database model was last updated",
            "title": "Updated At"
          },
          "users": {
            "description": "Primary personal contact (phone and email). Empty for organizations and when no member is prefetched.",
            "items": {
              "$ref": "#/components/schemas/UserRecordContactMinimal"
            },
            "title": "Users",
            "type": "array"
          }
        },
        "required": [
          "id",
          "created_at",
          "is_personal",
          "name",
          "slug",
          "type"
        ],
        "title": "UserGroupRecordListMinimal",
        "type": "object"
      },
      "UserGroupType": {
        "description": "Defines the type of a user group.\n\nAll users in the system is a user group.\nPersonal groups are groups that only have 1 user and never more.\n\nAdd types to easy differentiate between different types of user groups.",
        "enum": [
          "enterprise_group",
          "group",
          "operation_layer",
          "organization",
          "personal",
          "service_department",
          "service_organization"
        ],
        "title": "UserGroupType",
        "type": "string",
        "x-enum-descriptions": [
          "Enterprise Group",
          "Operation Layer",
          "Service Organization",
          "Service Department",
          "Organization",
          "Personal",
          "Group"
        ],
        "x-enum-member-descriptions": [
          "An IAM-hierarchy user group for an enterprise. Hierarchy groups are not listed as customers.",
          "An IAM-hierarchy user group for an operation layer. Not listed as a customer group.",
          "An IAM-hierarchy user group for a service organization. Not a customer company.",
          "An IAM-hierarchy user group for a service department. Not a customer group.",
          "A customer company. Customers can be listed here; the hierarchy types cannot.",
          "Exactly one user, and the group never gains a second.",
          "More than one user sharing a user group that is not a company. It can own cars, tire hotel contracts, and addresses."
        ]
      },
      "UserRecord": {
        "description": "Full user record for partner detail endpoints.\n\nUsed when a partner needs full user profile including language, display\nname, slug, and roles (e.g. user detail page, assignments).",
        "properties": {
          "about": {
            "description": "User bio or description.",
            "title": "About",
            "type": "string"
          },
          "created_at": {
            "description": "The date and time the database model was created",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Created At",
            "type": "string"
          },
          "created_by": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/UserRecordMinimal"
              }
            ],
            "default": null,
            "description": "The user who created the record."
          },
          "date_of_birth": {
            "anyOf": [
              {
                "format": "date",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "User date of birth.",
            "title": "Date Of Birth"
          },
          "email": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "User email address.",
            "title": "Email"
          },
          "email_marketing_consent": {
            "description": "Whether the user has consented to marketing emails.",
            "title": "Email Marketing Consent",
            "type": "boolean"
          },
          "email_verification": {
            "$ref": "#/components/schemas/UserContactVerificationRecord",
            "description": "Proof that the current email was verified, and when."
          },
          "first_name": {
            "description": "User first name.",
            "title": "First Name",
            "type": "string"
          },
          "gender": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/Gender"
              }
            ],
            "default": null,
            "description": "User gender."
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "is_active": {
            "description": "Whether the user account is active.",
            "title": "Is Active",
            "type": "boolean"
          },
          "is_manager": {
            "description": "Whether the user has manager role in any context.",
            "title": "Is Manager",
            "type": "boolean"
          },
          "is_personal": {
            "description": "Whether the user is a personal (non-organization) user.",
            "title": "Is Personal",
            "type": "boolean"
          },
          "is_staff": {
            "description": "Whether the user has staff access.",
            "title": "Is Staff",
            "type": "boolean"
          },
          "is_superuser": {
            "description": "Whether the user has superuser privileges.",
            "title": "Is Superuser",
            "type": "boolean"
          },
          "is_worker": {
            "description": "Whether the user is a worker in any service department.",
            "title": "Is Worker",
            "type": "boolean"
          },
          "language": {
            "$ref": "#/components/schemas/LanguageRecord",
            "description": "Resolved language display record."
          },
          "language_code": {
            "$ref": "#/components/schemas/LanguageCode",
            "description": "User preferred language code."
          },
          "last_login": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Timestamp of the user's last login.",
            "title": "Last Login"
          },
          "last_name": {
            "description": "User last name.",
            "title": "Last Name",
            "type": "string"
          },
          "name": {
            "description": "Full display name (first + last).",
            "title": "Name",
            "type": "string"
          },
          "phone_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "User phone number (E.164). Null until the user has one.",
            "title": "Phone Number"
          },
          "phone_number_verification": {
            "$ref": "#/components/schemas/UserContactVerificationRecord",
            "description": "Proof that the current phone number was verified, and when."
          },
          "profile_image": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/ImageRecordMinimal"
              }
            ],
            "default": null,
            "description": "Profile image for the user, if set."
          },
          "roles": {
            "description": "User roles (e.g. worker, manager, staff) for display.",
            "items": {
              "$ref": "#/components/schemas/ChoiceRecord_UserRole_"
            },
            "title": "Roles",
            "type": "array"
          },
          "slug": {
            "description": "URL-safe unique user slug.",
            "title": "Slug",
            "type": "string"
          },
          "temporary_state": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/TemporaryStateRecord"
              }
            ],
            "default": null,
            "description": "Active temporary state for the partner/admin profile badge (Twilio phone fraud blocked, or SMS login temporarily disabled from a phone/user-linked login blocklist entry). Priority: Twilio fraud over SMS-login-disabled when both are active. IP/CIDR-only blocklist bans are not attributable here."
          },
          "temporary_state_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "ID of the active temporary state, if any.",
            "title": "Temporary State Id"
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The date and time the database model was last updated",
            "title": "Updated At"
          },
          "updated_by": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/UserRecordMinimal"
              }
            ],
            "default": null,
            "description": "The user who updated the record."
          }
        },
        "required": [
          "id",
          "created_at",
          "about",
          "email_marketing_consent",
          "email_verification",
          "first_name",
          "is_active",
          "is_manager",
          "is_personal",
          "is_staff",
          "is_superuser",
          "is_worker",
          "last_name",
          "phone_number_verification",
          "language_code",
          "language",
          "name",
          "slug",
          "roles"
        ],
        "title": "UserRecord",
        "type": "object"
      },
      "UserRecordContactMinimal": {
        "description": "Staff list contact fields for a person — name, phone, email only.",
        "properties": {
          "email": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "User email address.",
            "title": "Email"
          },
          "email_verification": {
            "$ref": "#/components/schemas/UserContactVerificationRecord",
            "description": "Proof that the current email was verified, and when."
          },
          "first_name": {
            "description": "User first name.",
            "title": "First Name",
            "type": "string"
          },
          "id": {
            "description": "ID of the CustomUser row.",
            "title": "Id",
            "type": "integer"
          },
          "last_name": {
            "description": "User last name.",
            "title": "Last Name",
            "type": "string"
          },
          "phone_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "User phone number (E.164). Null until the user has one.",
            "title": "Phone Number"
          },
          "phone_number_verification": {
            "$ref": "#/components/schemas/UserContactVerificationRecord",
            "description": "Proof that the current phone number was verified, and when."
          }
        },
        "required": [
          "id",
          "first_name",
          "last_name",
          "phone_number_verification",
          "email_verification"
        ],
        "title": "UserRecordContactMinimal",
        "type": "object"
      },
      "UserRecordListPartner": {
        "description": "User record for partner list endpoints.\n\nCombines base partner fields with list metadata (id, created_at, etc.)\nfor paginated user lists in partner APIs.",
        "properties": {
          "about": {
            "description": "User bio or description.",
            "title": "About",
            "type": "string"
          },
          "created_at": {
            "description": "The date and time the database model was created",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Created At",
            "type": "string"
          },
          "date_of_birth": {
            "anyOf": [
              {
                "format": "date",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "User date of birth.",
            "title": "Date Of Birth"
          },
          "email": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "User email address.",
            "title": "Email"
          },
          "email_marketing_consent": {
            "description": "Whether the user has consented to marketing emails.",
            "title": "Email Marketing Consent",
            "type": "boolean"
          },
          "email_verification": {
            "$ref": "#/components/schemas/UserContactVerificationRecord",
            "description": "Proof that the current email was verified, and when."
          },
          "first_name": {
            "description": "User first name.",
            "title": "First Name",
            "type": "string"
          },
          "gender": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/Gender"
              }
            ],
            "default": null,
            "description": "User gender."
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "is_active": {
            "description": "Whether the user account is active.",
            "title": "Is Active",
            "type": "boolean"
          },
          "is_manager": {
            "description": "Whether the user has manager role in any context.",
            "title": "Is Manager",
            "type": "boolean"
          },
          "is_personal": {
            "description": "Whether the user is a personal (non-organization) user.",
            "title": "Is Personal",
            "type": "boolean"
          },
          "is_staff": {
            "description": "Whether the user has staff access.",
            "title": "Is Staff",
            "type": "boolean"
          },
          "is_superuser": {
            "description": "Whether the user has superuser privileges.",
            "title": "Is Superuser",
            "type": "boolean"
          },
          "is_worker": {
            "description": "Whether the user is a worker in any service department.",
            "title": "Is Worker",
            "type": "boolean"
          },
          "last_login": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Timestamp of the user's last login.",
            "title": "Last Login"
          },
          "last_name": {
            "description": "User last name.",
            "title": "Last Name",
            "type": "string"
          },
          "phone_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "User phone number (E.164). Null until the user has one.",
            "title": "Phone Number"
          },
          "phone_number_verification": {
            "$ref": "#/components/schemas/UserContactVerificationRecord",
            "description": "Proof that the current phone number was verified, and when."
          },
          "profile_image": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/ImageRecordMinimal"
              }
            ],
            "default": null,
            "description": "Profile image for the user, if set."
          },
          "temporary_state": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/TemporaryStateRecord"
              }
            ],
            "default": null,
            "description": "Active temporary state for the partner/admin profile badge (Twilio phone fraud blocked, or SMS login temporarily disabled from a phone/user-linked login blocklist entry). Priority: Twilio fraud over SMS-login-disabled when both are active. IP/CIDR-only blocklist bans are not attributable here."
          },
          "temporary_state_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "ID of the active temporary state, if any.",
            "title": "Temporary State Id"
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The date and time the database model was last updated",
            "title": "Updated At"
          }
        },
        "required": [
          "id",
          "created_at",
          "about",
          "email_marketing_consent",
          "email_verification",
          "first_name",
          "is_active",
          "is_manager",
          "is_personal",
          "is_staff",
          "is_superuser",
          "is_worker",
          "last_name",
          "phone_number_verification"
        ],
        "title": "UserRecordListPartner",
        "type": "object"
      },
      "UserRecordMinimal": {
        "description": "Minimal representation of a user for audit and list contexts.\n\nExists to provide a small, stable user shape for created_by/updated_by\nand other references where full user detail is not needed, reducing payload\nsize and coupling.",
        "properties": {
          "created_at": {
            "description": "The date and time the database model was created",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Created At",
            "type": "string"
          },
          "email": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "User email address.",
            "title": "Email"
          },
          "email_marketing_consent": {
            "description": "Whether the user has consented to marketing emails.",
            "title": "Email Marketing Consent",
            "type": "boolean"
          },
          "first_name": {
            "description": "User first name.",
            "title": "First Name",
            "type": "string"
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "is_active": {
            "description": "Whether the user account is active.",
            "title": "Is Active",
            "type": "boolean"
          },
          "language": {
            "$ref": "#/components/schemas/ChoiceRecord_LanguageCode_",
            "description": "User preferred language."
          },
          "last_login": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Timestamp of the user's last login.",
            "title": "Last Login"
          },
          "last_name": {
            "description": "User last name.",
            "title": "Last Name",
            "type": "string"
          },
          "name": {
            "description": "Full display name.",
            "title": "Name",
            "type": "string"
          },
          "phone_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "User phone number (E.164). Null until the user has one.",
            "title": "Phone Number"
          },
          "roles": {
            "description": "User roles (e.g. worker, manager).",
            "items": {
              "$ref": "#/components/schemas/ChoiceRecord_UserRole_"
            },
            "title": "Roles",
            "type": "array"
          },
          "slug": {
            "description": "URL-safe unique user slug.",
            "title": "Slug",
            "type": "string"
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The date and time the database model was last updated",
            "title": "Updated At"
          }
        },
        "required": [
          "id",
          "created_at",
          "email_marketing_consent",
          "first_name",
          "is_active",
          "language",
          "last_name",
          "name",
          "roles",
          "slug"
        ],
        "title": "UserRecordMinimal",
        "type": "object"
      },
      "UserRef": {
        "description": "Reference to a person: their own row's name columns, safe to nest anywhere, audience ALL.",
        "properties": {
          "first_name": {
            "description": "Given name.",
            "title": "First Name",
            "type": "string"
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "last_name": {
            "description": "Family name.",
            "title": "Last Name",
            "type": "string"
          }
        },
        "required": [
          "id",
          "first_name",
          "last_name"
        ],
        "title": "UserRef",
        "type": "object"
      },
      "VehicleCategory": {
        "description": "Product-facing vehicle class for topology and ops gates.\n\nMapped from EU technical codes (e.g. SVV tekniskKode) at create/update.\nFree-text registry codes stay on CarGeneration.vehicle_classification_group.",
        "enum": [
          "BUS",
          "LCV",
          "MOTORCYCLE",
          "OTHER",
          "PASSENGER",
          "TRAILER",
          "TRUCK"
        ],
        "title": "VehicleCategory",
        "type": "string",
        "x-enum-descriptions": [
          "Passenger car",
          "Light commercial vehicle",
          "Motorcycle / moped",
          "Bus",
          "Truck",
          "Trailer",
          "Other / unsupported"
        ],
        "x-enum-member-descriptions": [
          "A passenger car, mapped from an EU technical code. Not a van, bike, bus, truck, or trailer.",
          "A light commercial vehicle, mapped from an EU technical code. Not a passenger car or a truck.",
          "A motorcycle or moped, mapped from an EU technical code.",
          "A bus, mapped from an EU technical code. Not a truck or a passenger car.",
          "A truck, mapped from an EU technical code. Not a light commercial vehicle.",
          "A trailer, mapped from an EU technical code. It is towed, not a powered class.",
          "No supported product class matched the technical code. Registry text stays on the generation."
        ]
      },
      "VehicleIdentityRecord": {
        "description": "Registry identity without implying a catalog or provider match.",
        "properties": {
          "make": {
            "description": "Registry-reported make.",
            "title": "Make",
            "type": "string"
          },
          "model": {
            "description": "Registry-reported model.",
            "title": "Model",
            "type": "string"
          },
          "model_year": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Actual model year; unknown until confirmed by the registry.",
            "title": "Model Year"
          },
          "signature_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Vehicle search signature ID.",
            "title": "Signature Id"
          }
        },
        "required": [
          "make",
          "model"
        ],
        "title": "VehicleIdentityRecord",
        "type": "object"
      },
      "VehicleTopologyRecord": {
        "description": "Wheel layout and ops capability flags.\n\nOn Car records this is the category default profile (not multi-axle\nexpanded). On CarWheelSet records use ``from_wheel_set`` for effective\nslots including registry multi-axle expansion.",
        "properties": {
          "category": {
            "$ref": "#/components/schemas/VehicleCategory",
            "description": "Product vehicle class this topology applies to."
          },
          "expected_wheel_count": {
            "description": "Number of wheel slots in this topology.",
            "title": "Expected Wheel Count",
            "type": "integer"
          },
          "positions": {
            "description": "Wheel positions in topology order (text enum values).",
            "items": {
              "$ref": "#/components/schemas/CarWheelPositionText"
            },
            "title": "Positions",
            "type": "array"
          },
          "supports_seasonal_swap": {
            "description": "True when seasonal tire swap booking is supported.",
            "title": "Supports Seasonal Swap",
            "type": "boolean"
          },
          "supports_staggered": {
            "description": "True when staggered front/rear fitment is supported.",
            "title": "Supports Staggered",
            "type": "boolean"
          },
          "supports_tire_hotel": {
            "description": "True when tire-hotel / storage custody is supported.",
            "title": "Supports Tire Hotel",
            "type": "boolean"
          }
        },
        "required": [
          "category",
          "expected_wheel_count",
          "supports_tire_hotel",
          "supports_seasonal_swap",
          "supports_staggered",
          "positions"
        ],
        "title": "VehicleTopologyRecord",
        "type": "object"
      },
      "VinFormatType": {
        "description": "Vehicle identifier format type.\n\nDetermines the format and validation rules for vehicle identifiers.",
        "enum": [
          "eu_vin",
          "legacy_chassis",
          "us_vin"
        ],
        "title": "VinFormatType",
        "type": "string",
        "x-enum-descriptions": [
          "Us vin",
          "Eu vin",
          "Legacy chassis"
        ]
      },
      "VinNumber": {
        "description": "Vehicle Identification Number (VIN) model with distinct sections.\n\nISO 3779:2009 is the international standard for the content and\nstructure of the Vehicle Identification Number (VIN).\n\nSee: https://en.wikipedia.org/wiki/Vehicle_identification_number\n\nVIN Structure:\n- Characters 1-3: World Manufacturer Identifier (WMI)\n- Characters 4-8: Vehicle Descriptor Section attributes\n- Character 9: Check digit\n- Character 10: Model year\n- Character 11: Assembly plant\n- Characters 12-17: Sequential production number",
        "properties": {
          "assembly_plant": {
            "description": "Assembly plant",
            "title": "Assembly Plant",
            "type": "string"
          },
          "check_digit": {
            "default": "",
            "description": "Check digit (empty for European VINs)",
            "title": "Check Digit",
            "type": "string"
          },
          "format_type": {
            "$ref": "#/components/schemas/VinFormatType",
            "description": "The format type of the VIN.",
            "readOnly": true
          },
          "model_year": {
            "description": "Model year",
            "title": "Model Year",
            "type": "string"
          },
          "production_number": {
            "description": "Sequential production number",
            "title": "Production Number",
            "type": "string"
          },
          "vds_attributes": {
            "description": "Vehicle Descriptor Section attributes",
            "title": "Vds Attributes",
            "type": "string"
          },
          "wmi": {
            "description": "World Manufacturer Identifier",
            "title": "Wmi",
            "type": "string"
          },
          "year": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "The model year of the car.",
            "readOnly": true,
            "title": "Year"
          }
        },
        "required": [
          "wmi",
          "vds_attributes",
          "model_year",
          "assembly_plant",
          "production_number",
          "format_type",
          "year"
        ],
        "title": "VinNumber",
        "type": "object"
      },
      "WetGripClass": {
        "description": "Wet grip is the tire's ability to stick to the road in wet conditions.\n\nThe performance is graded between class A and class E.\n\nTires with a high wet grip rating will stop\nmore quickly on wet roads when full brakes are applied.\n\nhttps://www.wikiwand.com/en/articles/Tyre_label",
        "enum": [
          "A",
          "B",
          "C",
          "D",
          "E",
          "F",
          "G"
        ],
        "title": "WetGripClass",
        "type": "string",
        "x-enum-descriptions": [
          "Shortest braking distance on wet roads.",
          "Slightly longer braking distance than Class A.",
          "A balance between performance and durability.",
          "Noticeably longer braking distances. Not commonly found in passenger tires.",
          "Longest braking distance on wet roads.",
          "Very long braking distance on wet roads (legacy).",
          "Extremely long braking distance on wet roads (legacy)."
        ],
        "x-enum-member-descriptions": [
          "Best grade on the current EU wet-grip scale, with the shortest wet stop.",
          "Second-best grade on the current EU wet-grip scale, a short step behind A.",
          "Middle grade on the current A-to-E wet-grip scale.",
          "Below-middle wet grip, and uncommon on passenger tires.",
          "Worst grade still used on the current EU wet-grip scale.",
          "Legacy grade below E. It was removed from the current EU wet-grip label.",
          "Worst legacy wet-grip grade. It was phased out for missing modern safety standards."
        ]
      },
      "Wheel": {
        "description": "The entire circular assembly that includes the rim and sometimes the tire.\n\nPurpose: Supports the tire and transmits engine power to move the vehicle.",
        "properties": {
          "rim": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/Rim"
              }
            ],
            "default": null,
            "description": "Rim (optional for display wheel)."
          },
          "tire": {
            "$ref": "#/components/schemas/Tire",
            "description": "Tire on this wheel."
          },
          "twin_tires": {
            "default": false,
            "description": "True when this axle/wheel position uses twin/dual tires; False = single tire per position.two tires mounted side-by-side on the same hub (common on trucks/trailers). False = single tire per position (standard for passenger cars).",
            "title": "Twin Tires",
            "type": "boolean"
          }
        },
        "required": [
          "tire"
        ],
        "title": "Wheel",
        "type": "object"
      },
      "WheelPickupOutcome": {
        "description": "Physical pickup outcome independent of the visit completion status.",
        "enum": [
          "cancelled",
          "collected",
          "failed",
          "partial",
          "planned"
        ],
        "title": "WheelPickupOutcome",
        "type": "string",
        "x-enum-descriptions": [
          "Planned",
          "Collected",
          "Unable to collect",
          "Partly collected",
          "Canceled"
        ],
        "x-enum-member-descriptions": [
          "The pickup is still scheduled and the wheels have not been taken. This is not the visit's completion status.",
          "The wheels were taken. This records the pickup itself, not whether the visit is marked complete.",
          "The wheels could not be taken. This is not a called-off pickup and not a partial take.",
          "Only some of the wheels were taken.",
          "The pickup was called off before collection, not failed in the attempt and not partly done."
        ]
      },
      "WheelPickupRecord": {
        "description": "Where stored wheels are collected for a booking.\n\nProvide one of address_pickup or tire_hotel_location.",
        "properties": {
          "address_pickup_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "The pickup address to pick up the wheels from.\n\nThis field uses object lookup: the provided ID(s) will be resolved to the corresponding object(s) on the server.",
            "x-pydantic-alias": "address_pickup_id"
          },
          "declined_tire_hotel_location_suggestion": {
            "default": false,
            "description": "Set after the customer declined a suggested tire hotel location (wheel_pickup_location_suggestion error) to book the pickup at the address without a linked location.",
            "title": "Declined Tire Hotel Location Suggestion",
            "type": "boolean"
          },
          "tire_hotel_location_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "The tire hotel location to pick up the wheels from.\n\nThis field uses object lookup: the provided ID(s) will be resolved to the corresponding object(s) on the server.",
            "x-pydantic-alias": "tire_hotel_location_id"
          },
          "tire_hotel_location_name": {
            "anyOf": [
              {
                "maxLength": 255,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Customer-entered name of the 3rd party tire hotel, sent when declining a suggested location. Forwarded to the internal tire hotel Slack flow so ops knows which hotel to add.",
            "title": "Tire Hotel Location Name"
          }
        },
        "title": "WheelPickupRecord",
        "type": "object"
      },
      "WheelSetGroup": {
        "description": "One allowed wheel combination with explicit axle ids.\n\nMirrors CarAxleSpecificationGroup: groups axle specs that must be used\ntogether (e.g. front + rear). axles ordered by axle_id for front/rear.",
        "properties": {
          "axles": {
            "description": "Wheel per axle (front, rear, etc.) in this group.",
            "items": {
              "$ref": "#/components/schemas/WheelSetGroupAxle"
            },
            "title": "Axles",
            "type": "array"
          }
        },
        "title": "WheelSetGroup",
        "type": "object"
      },
      "WheelSetGroupAxle": {
        "description": "One axle's wheel in a group; axle_id (0=front, 1=rear, …) orders front/rear.",
        "properties": {
          "axle_id": {
            "description": "Axle position: 0=front, 1=rear, 2=middle front, 3=middle rear.",
            "minimum": 0,
            "title": "Axle Id",
            "type": "integer"
          },
          "wheel": {
            "$ref": "#/components/schemas/Wheel",
            "description": "Tire and rim for this axle."
          }
        },
        "required": [
          "axle_id",
          "wheel"
        ],
        "title": "WheelSetGroupAxle",
        "type": "object"
      },
      "WheelSetPickupSignedDocumentRecordPartner": {
        "description": "Signed pickup document with its row ID for partner operations.",
        "properties": {
          "id": {
            "description": "ID of the signed pickup document.",
            "title": "Id",
            "type": "integer"
          },
          "pdf_document": {
            "$ref": "#/components/schemas/PDFDocumentRecordCustomer",
            "description": "Customer-facing PDF of the signed pickup document."
          },
          "signed_at": {
            "description": "When the customer completed the signature.",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Signed At",
            "type": "string"
          }
        },
        "required": [
          "pdf_document",
          "signed_at",
          "id"
        ],
        "title": "WheelSetPickupSignedDocumentRecordPartner",
        "type": "object"
      },
      "WheelSetPickupSigningOrderRecordPartner": {
        "description": "Pickup signing order with order and signed-document IDs for partners.",
        "properties": {
          "documents_signed": {
            "description": "Documents signed for this pickup order, with row IDs.",
            "items": {
              "$ref": "#/components/schemas/WheelSetPickupSignedDocumentRecordPartner"
            },
            "title": "Documents Signed",
            "type": "array"
          },
          "id": {
            "description": "ID of the pickup signing order.",
            "title": "Id",
            "type": "integer"
          },
          "is_signed": {
            "readOnly": true,
            "title": "Is Signed",
            "type": "boolean"
          },
          "pickup_address": {
            "$ref": "#/components/schemas/AddressRecord",
            "description": "The address where the wheels should be picked up."
          },
          "pickup_booking": {
            "$ref": "#/components/schemas/BookingMinimalRecord",
            "description": "Linked pickup visit."
          },
          "pickup_completed_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "When the wheels were picked up. Null until then.",
            "title": "Pickup Completed At"
          },
          "pickup_delivery_window_ends_at": {
            "description": "End of the day's window the wheels are planned picked up in.",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Pickup Delivery Window Ends At",
            "type": "string"
          },
          "pickup_delivery_window_starts_at": {
            "description": "Start of the day's window the wheels are planned picked up in.",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Pickup Delivery Window Starts At",
            "type": "string"
          },
          "pickup_failure_reasons": {
            "description": "Customer-visible reasons for failed pickup work.",
            "items": {
              "$ref": "#/components/schemas/UnableToCompleteCustomerRecord"
            },
            "title": "Pickup Failure Reasons",
            "type": "array"
          },
          "pickup_outcome": {
            "$ref": "#/components/schemas/WheelPickupOutcome",
            "description": "Outcome of the pickup services."
          },
          "pickup_status": {
            "$ref": "#/components/schemas/BookingStatus",
            "description": "Status of the Hente dekk booking that picks up the wheels."
          },
          "signing_url": {
            "description": "The signing url for the wheel storage pickup. Valid until the signing order expires.",
            "title": "Signing Url",
            "type": "string"
          },
          "signing_url_expires_at": {
            "description": "Day the document signing link expire and cannot be used to sign.",
            "format": "date",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}$/",
            "title": "Signing Url Expires At",
            "type": "string"
          },
          "tire_hotel_location": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/TireHotelLocationRecordList"
              }
            ],
            "default": null,
            "description": "The tire hotel location to pick up the wheels from, if any."
          }
        },
        "required": [
          "pickup_address",
          "pickup_booking",
          "pickup_outcome",
          "pickup_failure_reasons",
          "signing_url",
          "signing_url_expires_at",
          "pickup_status",
          "pickup_delivery_window_starts_at",
          "pickup_delivery_window_ends_at",
          "id",
          "documents_signed",
          "is_signed"
        ],
        "title": "WheelSetPickupSigningOrderRecordPartner",
        "type": "object"
      },
      "WheelTorqueUnit": {
        "description": "Unit for wheel fastener tightening torque.",
        "enum": [
          "Nm",
          "lb-ft"
        ],
        "title": "WheelTorqueUnit",
        "type": "string",
        "x-enum-descriptions": [
          "Newton meter",
          "Pound-force foot"
        ],
        "x-enum-member-descriptions": [
          "Tightening torque stored in newton-meters.",
          "Tightening torque stored in pound-force feet."
        ],
        "x-enum-varnames": [
          "NM",
          "LB_FT"
        ]
      },
      "WorkerShiftMode": {
        "description": "What a worker shift is in a department (capacity CONTEXT.md).",
        "enum": [
          "BOOKABLE_TIME",
          "SHIFT_PLANNING"
        ],
        "title": "WorkerShiftMode",
        "type": "string",
        "x-enum-descriptions": [
          "Shift planning",
          "Bookable time only"
        ],
        "x-enum-member-descriptions": [
          "The shift is a workday with planned breaks, bookable in full, in part, or not at all.",
          "The department only sells capacity: one bookable span for the whole shift, with no breaks."
        ]
      },
      "WorkstationRecordList": {
        "description": "List/detail view of a workstation.",
        "properties": {
          "capability_ids": {
            "description": "IDs of capabilities this workstation supports.",
            "items": {
              "type": "integer"
            },
            "title": "Capability Ids",
            "type": "array"
          },
          "created_at": {
            "description": "The date and time the database model was created",
            "format": "date-time",
            "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
            "title": "Created At",
            "type": "string"
          },
          "garage": {
            "$ref": "#/components/schemas/GarageRecordMinimum",
            "description": "Parent garage."
          },
          "garage_id": {
            "description": "ID of the parent garage.",
            "title": "Garage Id",
            "type": "integer"
          },
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "name": {
            "description": "Display name of the station.",
            "title": "Name",
            "type": "string"
          },
          "port_ids": {
            "description": "IDs of site ports reachable from this workstation.",
            "items": {
              "type": "integer"
            },
            "title": "Port Ids",
            "type": "array"
          },
          "status": {
            "$ref": "#/components/schemas/ResourceStatus",
            "description": "Lifecycle status of the workstation."
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})?$/",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The date and time the database model was last updated",
            "title": "Updated At"
          },
          "workstation_type": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/WorkstationType"
              }
            ],
            "default": null,
            "description": "Physical type of the station."
          }
        },
        "required": [
          "id",
          "created_at",
          "name",
          "status",
          "garage_id",
          "garage"
        ],
        "title": "WorkstationRecordList",
        "type": "object"
      },
      "WorkstationRecordListArray": {
        "items": {
          "$ref": "#/components/schemas/WorkstationRecordList"
        },
        "properties": {},
        "type": "array"
      },
      "WorkstationRecordMinimum": {
        "description": "Minimal workstation record with id and name.",
        "properties": {
          "id": {
            "description": "The primary key for the database model",
            "title": "Id",
            "type": "integer"
          },
          "name": {
            "description": "Display name of the station.",
            "title": "Name",
            "type": "string"
          }
        },
        "required": [
          "id",
          "name"
        ],
        "title": "WorkstationRecordMinimum",
        "type": "object"
      },
      "WorkstationType": {
        "description": "Physical type of a service department work station.\n\n``DROP_IN`` is system-owned and sits outside capacity: one hidden\nstation per site that holds walk-in visits, with no schedule or slots.",
        "enum": [
          "BAY",
          "COUNTER",
          "DOCK",
          "DROP_IN",
          "LANE",
          "LIFT"
        ],
        "title": "WorkstationType",
        "type": "string",
        "x-enum-descriptions": [
          "Lane",
          "Bay",
          "Lift",
          "Dock",
          "Drop-off / collect counter",
          "Drop-in"
        ],
        "x-enum-member-descriptions": [
          "A lane workstation on the schedule. Not the hidden walk-in station.",
          "A bay workstation on the schedule. Not the drop-off counter or the hidden walk-in station.",
          "A lift workstation on the schedule. Not the drop-off counter or the hidden walk-in station.",
          "A dock workstation on the schedule. Not the drop-off counter or the hidden walk-in station.",
          "Where customers drop off and collect. The car is not worked on here.",
          "The hidden system-owned station for walk-ins. It has no schedule or slots and sits outside capacity."
        ]
      },
      "ncom__records__language__LanguageCodeRecord": {
        "description": "A single language option (code + display label).\n\nUsed in APIs that expose language choices (e.g. locale selectors, user\npreferences). Wraps ncom LanguageCode so responses are stable and\nself-describing without depending on enum internals.",
        "properties": {
          "label": {
            "description": "Human-readable label for the language.",
            "title": "Label",
            "type": "string"
          },
          "value": {
            "description": "Language code value (e.g. 'en_US', 'nb_NO').",
            "title": "Value",
            "type": "string"
          }
        },
        "required": [
          "value",
          "label"
        ],
        "title": "LanguageCodeRecord",
        "type": "object"
      }
    },
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "description": "Send `Authorization: Api-Key <your key>`. The key is shown once, when it is created."
      }
    }
  }
}
