{
    "openapi": "3.0.3",
    "info": {
        "title": "Romanian Car Hire partner API",
        "version": "v1",
        "contact": {
            "email": "office@romaniancarhire.com"
        },
        "description": "**Partner API** (`POST /api/v1/`): JSON body `{command, language, ...}`, signed with HMAC-SHA256. Headers: `X-Api-Key` (your user name), `X-Api-Timestamp` (Unix seconds, within 5 minutes of ours), `X-Api-Signature` = hex(HMAC-SHA256(secret, timestamp + \"\\n\" + METHOD + \"\\n\" + path + \"\\n\" + hex(sha256(body)))). Test vector: timestamp 1795460000, path /api/v1/, body `{\"command\":\"searchRq\"}`, secret `Secret-123` → `2512b3056edce7ed09006c446d73431d76455431696a797556ea1df07e33e2fc`.\n\nEvery partner response: `{success, version, command, language, data, messages}`. An error stops the request (success false, data null, HTTP code by message); warnings and notes come with the data. Message codes are stable (only added, never changed or removed); texts may change — rely on codes.\n\nCodes:\n- INVALID_JSON (error, HTTP 400): The request is not valid JSON.\n- UNKNOWN_COMMAND (error, HTTP 404): Unknown command: {value}.\n- METHOD_NOT_ALLOWED (error, HTTP 405): Send the request with POST, with the command as JSON in the body.\n- EMPTY_BODY (error, HTTP 400): The request has no body: send the command as JSON, for example {\"command\": \"searchRq\", ...}.\n- AUTH_REQUIRED (error, HTTP 401): Sign the request with the X-Api-Key, X-Api-Timestamp and X-Api-Signature headers.\n- AUTH_INVALID (error, HTTP 401): The partner credentials are not valid.\n- SIGNATURE_INVALID (error, HTTP 401): The request signature is not valid.\n- SIGNATURE_EXPIRED (error, HTTP 401): The request time is too far from ours: sign each request with the current time.\n- FIELD_REQUIRED (error, HTTP 400): This field is required: {value}.\n- FIELD_INVALID (error, HTTP 400): This field has an invalid value: {value}.\n- LOCATION_UNKNOWN (error, HTTP 400): This location does not exist: {value}.\n- PICKUP_IN_PAST (error, HTTP 400): The pick-up date and time must be in the future.\n- DROPOFF_BEFORE_PICKUP (error, HTTP 400): The return must be after the pick-up.\n- AGE_GROUP_UNKNOWN (error, HTTP 400): This driver age group does not exist.\n- CAR_TYPE_NOT_OFFERED (error, HTTP 400): This car is not offered for this search.\n- TOO_MANY_ATTEMPTS (error, HTTP 429): Too many attempts. Please try again in a few minutes.\n- TRY_AGAIN (error, HTTP 503): Another booking for this car is being saved right now. Please try again in a few seconds.\n- EXTRA_NOT_OFFERED (warning): This equipment is not offered with this car, so it was not added: {value}.\n- EXTRA_QTY_REDUCED (warning): The quantity was reduced to the maximum per booking: {value}.\n- CROSS_BORDER_NOT_ALLOWED (warning): This car cannot leave the country to this destination, so it was not added: {value}.\n- NO_RESULTS (info): No car matches your search.\n- BELOW_MIN_DAYS (info): The price is for the minimum rental of {value} days.\n- CONSENT_REQUIRED (error, HTTP 400): Accept the rental conditions and the privacy policy to send the booking.\n- PRICE_CHANGED (error, HTTP 409): The price has changed in the meantime: the new total is {value}. Check it and send the booking again.\n- DUPLICATE_BOOKING (error, HTTP 409): You already have a booking with the same driver, dates and locations. Send it again only if you want one more.\n- OFFER_UNAVAILABLE (error, HTTP 400): The offer without deposit is not available for this car. Choose the offer with deposit.\n- SERVER_ERROR (error, HTTP 500): Something went wrong on our side. Please try again.\n\nFor AI assistants there is a separate, public read-only search without a key: /api/ai-search.openapi.json.\n\nDocumentation: https://romaniancarhire.com/en/api"
    },
    "servers": [
        {
            "url": "https://romaniancarhire.com"
        }
    ],
    "paths": {
        "/api/v1/": {
            "post": {
                "summary": "Partner command (signed)",
                "operationId": "partnerCommand",
                "security": [
                    {
                        "ApiKey": [],
                        "ApiTimestamp": [],
                        "ApiSignature": []
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "oneOf": [
                                    {
                                        "$ref": "#/components/schemas/locationsRqRequest"
                                    },
                                    {
                                        "$ref": "#/components/schemas/categoriesRqRequest"
                                    },
                                    {
                                        "$ref": "#/components/schemas/carTypesRqRequest"
                                    },
                                    {
                                        "$ref": "#/components/schemas/ageGroupsRqRequest"
                                    },
                                    {
                                        "$ref": "#/components/schemas/searchRqRequest"
                                    },
                                    {
                                        "$ref": "#/components/schemas/extrasRqRequest"
                                    },
                                    {
                                        "$ref": "#/components/schemas/crossBordersRqRequest"
                                    },
                                    {
                                        "$ref": "#/components/schemas/searchDetailsRqRequest"
                                    },
                                    {
                                        "$ref": "#/components/schemas/bookRqRequest"
                                    }
                                ],
                                "discriminator": {
                                    "propertyName": "command"
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The command response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "oneOf": [
                                        {
                                            "$ref": "#/components/schemas/locationsRqResponse"
                                        },
                                        {
                                            "$ref": "#/components/schemas/categoriesRqResponse"
                                        },
                                        {
                                            "$ref": "#/components/schemas/carTypesRqResponse"
                                        },
                                        {
                                            "$ref": "#/components/schemas/ageGroupsRqResponse"
                                        },
                                        {
                                            "$ref": "#/components/schemas/searchRqResponse"
                                        },
                                        {
                                            "$ref": "#/components/schemas/extrasRqResponse"
                                        },
                                        {
                                            "$ref": "#/components/schemas/crossBordersRqResponse"
                                        },
                                        {
                                            "$ref": "#/components/schemas/searchDetailsRqResponse"
                                        },
                                        {
                                            "$ref": "#/components/schemas/bookRqResponse"
                                        }
                                    ]
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid request (messages)"
                    },
                    "401": {
                        "description": "Signature missing or invalid"
                    },
                    "404": {
                        "description": "Unknown command"
                    },
                    "409": {
                        "description": "PRICE_CHANGED / DUPLICATE_BOOKING"
                    },
                    "429": {
                        "description": "Too many attempts"
                    },
                    "503": {
                        "description": "TRY_AGAIN"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "Message": {
                "type": "object",
                "properties": {
                    "code": {
                        "type": "string",
                        "description": "Stable code (never changes)."
                    },
                    "level": {
                        "type": "string",
                        "enum": [
                            "error",
                            "warning",
                            "info"
                        ]
                    },
                    "field": {
                        "type": "string"
                    },
                    "text": {
                        "type": "string",
                        "description": "Human text in the request language (may change)."
                    }
                },
                "required": [
                    "code",
                    "level",
                    "text"
                ]
            },
            "locationsRqRequest": {
                "type": "object",
                "description": "Pick-up and return locations.",
                "properties": {
                    "command": {
                        "type": "string",
                        "enum": [
                            "locationsRq"
                        ]
                    },
                    "language": {
                        "type": "string",
                        "enum": [
                            "ro",
                            "en",
                            "fr",
                            "it",
                            "de",
                            "es"
                        ],
                        "description": "Language of names. Default en.",
                        "nullable": true
                    }
                },
                "required": [
                    "command"
                ]
            },
            "locationsRqResponse": {
                "type": "object",
                "properties": {
                    "success": {
                        "type": "boolean"
                    },
                    "version": {
                        "type": "string"
                    },
                    "command": {
                        "type": "string",
                        "enum": [
                            "locationsRq"
                        ]
                    },
                    "language": {
                        "type": "string"
                    },
                    "data": {
                        "type": "object",
                        "description": "null when success is false",
                        "properties": {
                            "siteVersion": {
                                "type": "integer",
                                "description": "Version of our data: reload the list only when it changes."
                            },
                            "locations": {
                                "type": "array",
                                "items": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer",
                                            "description": "Location code (pickup.locationId / dropoff.locationId)."
                                        },
                                        "name": {
                                            "type": "string",
                                            "description": "Name with type, e.g. \"Iași Airport\"."
                                        },
                                        "city": {
                                            "type": "string",
                                            "description": "City."
                                        },
                                        "type": {
                                            "type": "object",
                                            "description": "city|airport|trainStation|office, with name."
                                        },
                                        "iata": {
                                            "type": "string",
                                            "description": "Airport code, or null.",
                                            "nullable": true
                                        },
                                        "kind": {
                                            "type": "object",
                                            "description": "office|fleet|pool|request, with name: own office, local fleet, car brought from the nearest fleet, on request."
                                        },
                                        "lat": {
                                            "type": "number",
                                            "description": "Latitude.",
                                            "nullable": true
                                        },
                                        "lng": {
                                            "type": "number",
                                            "description": "Longitude.",
                                            "nullable": true
                                        }
                                    },
                                    "required": [
                                        "code",
                                        "name",
                                        "city",
                                        "type",
                                        "kind"
                                    ]
                                },
                                "description": "Active locations."
                            }
                        },
                        "required": [
                            "siteVersion",
                            "locations"
                        ],
                        "nullable": true
                    },
                    "messages": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Message"
                        }
                    }
                },
                "required": [
                    "success",
                    "version",
                    "command",
                    "language",
                    "data",
                    "messages"
                ]
            },
            "categoriesRqRequest": {
                "type": "object",
                "description": "Car classes.",
                "properties": {
                    "command": {
                        "type": "string",
                        "enum": [
                            "categoriesRq"
                        ]
                    },
                    "language": {
                        "type": "string",
                        "enum": [
                            "ro",
                            "en",
                            "fr",
                            "it",
                            "de",
                            "es"
                        ],
                        "description": "Language of names. Default en.",
                        "nullable": true
                    }
                },
                "required": [
                    "command"
                ]
            },
            "categoriesRqResponse": {
                "type": "object",
                "properties": {
                    "success": {
                        "type": "boolean"
                    },
                    "version": {
                        "type": "string"
                    },
                    "command": {
                        "type": "string",
                        "enum": [
                            "categoriesRq"
                        ]
                    },
                    "language": {
                        "type": "string"
                    },
                    "data": {
                        "type": "object",
                        "description": "null when success is false",
                        "properties": {
                            "siteVersion": {
                                "type": "integer",
                                "description": "Version of our data: reload the list only when it changes."
                            },
                            "categories": {
                                "type": "array",
                                "items": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer",
                                            "description": "Category code."
                                        },
                                        "name": {
                                            "type": "string",
                                            "description": "Name."
                                        },
                                        "description": {
                                            "type": "string",
                                            "description": "Description, or null.",
                                            "nullable": true
                                        }
                                    },
                                    "required": [
                                        "code",
                                        "name"
                                    ]
                                },
                                "description": "Active classes, in our order."
                            }
                        },
                        "required": [
                            "siteVersion",
                            "categories"
                        ],
                        "nullable": true
                    },
                    "messages": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Message"
                        }
                    }
                },
                "required": [
                    "success",
                    "version",
                    "command",
                    "language",
                    "data",
                    "messages"
                ]
            },
            "carTypesRqRequest": {
                "type": "object",
                "description": "Car types you can sell.",
                "properties": {
                    "command": {
                        "type": "string",
                        "enum": [
                            "carTypesRq"
                        ]
                    },
                    "language": {
                        "type": "string",
                        "enum": [
                            "ro",
                            "en",
                            "fr",
                            "it",
                            "de",
                            "es"
                        ],
                        "description": "Language of names. Default en.",
                        "nullable": true
                    }
                },
                "required": [
                    "command"
                ]
            },
            "carTypesRqResponse": {
                "type": "object",
                "properties": {
                    "success": {
                        "type": "boolean"
                    },
                    "version": {
                        "type": "string"
                    },
                    "command": {
                        "type": "string",
                        "enum": [
                            "carTypesRq"
                        ]
                    },
                    "language": {
                        "type": "string"
                    },
                    "data": {
                        "type": "object",
                        "description": "null when success is false",
                        "properties": {
                            "siteVersion": {
                                "type": "integer",
                                "description": "Version of our data: reload the list only when it changes."
                            },
                            "carTypes": {
                                "type": "array",
                                "items": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer",
                                            "description": "Car type code."
                                        },
                                        "name": {
                                            "type": "string",
                                            "description": "Car type name (the car or a similar one of the same class or higher)."
                                        },
                                        "category": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "integer",
                                                    "description": "Category code (categoriesRq)."
                                                },
                                                "name": {
                                                    "type": "string",
                                                    "description": "Name."
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "name"
                                            ],
                                            "description": "Car class."
                                        },
                                        "acriss": {
                                            "type": "string",
                                            "description": "ACRISS code, or null.",
                                            "nullable": true
                                        },
                                        "specs": {
                                            "type": "object",
                                            "properties": {
                                                "seats": {
                                                    "type": "integer",
                                                    "description": "Seats.",
                                                    "nullable": true
                                                },
                                                "doors": {
                                                    "type": "integer",
                                                    "description": "Doors.",
                                                    "nullable": true
                                                },
                                                "luggage": {
                                                    "type": "integer",
                                                    "description": "Suitcases.",
                                                    "nullable": true
                                                },
                                                "transmission": {
                                                    "type": "object",
                                                    "properties": {
                                                        "code": {
                                                            "type": "string",
                                                            "description": "manual|automatic"
                                                        },
                                                        "name": {
                                                            "type": "string",
                                                            "description": "Name."
                                                        }
                                                    },
                                                    "required": [
                                                        "code",
                                                        "name"
                                                    ],
                                                    "description": "Code (manual|automatic) and name in the request language, or null.",
                                                    "nullable": true
                                                },
                                                "fuel": {
                                                    "type": "object",
                                                    "description": "Fuel {code, name}, or null.",
                                                    "nullable": true
                                                },
                                                "consumption": {
                                                    "type": "number",
                                                    "description": "Litres / 100 km, or null.",
                                                    "nullable": true
                                                },
                                                "airConditioning": {
                                                    "type": "object",
                                                    "properties": {
                                                        "code": {
                                                            "type": "string",
                                                            "description": "automatic|manual"
                                                        },
                                                        "name": {
                                                            "type": "string",
                                                            "description": "Name."
                                                        }
                                                    },
                                                    "required": [
                                                        "code",
                                                        "name"
                                                    ],
                                                    "description": "Code (automatic|manual) and name in the request language, or null.",
                                                    "nullable": true
                                                },
                                                "drive": {
                                                    "type": "object",
                                                    "properties": {
                                                        "code": {
                                                            "type": "string",
                                                            "description": "front|rear|4x4"
                                                        },
                                                        "name": {
                                                            "type": "string",
                                                            "description": "Name."
                                                        }
                                                    },
                                                    "required": [
                                                        "code",
                                                        "name"
                                                    ],
                                                    "description": "Code (front|rear|4x4) and name in the request language, or null.",
                                                    "nullable": true
                                                },
                                                "isofix": {
                                                    "type": "boolean",
                                                    "description": "Isofix."
                                                },
                                                "wagon": {
                                                    "type": "boolean",
                                                    "description": "Estate body."
                                                },
                                                "smartphone": {
                                                    "type": "boolean",
                                                    "description": "Smartphone integration."
                                                }
                                            },
                                            "required": [
                                                "isofix",
                                                "wagon",
                                                "smartphone"
                                            ],
                                            "description": "Features."
                                        },
                                        "pictures": {
                                            "type": "array",
                                            "items": {
                                                "type": "string"
                                            },
                                            "description": "Photo URLs."
                                        },
                                        "minimumDays": {
                                            "type": "integer",
                                            "description": "Minimum rental days of the type."
                                        }
                                    },
                                    "required": [
                                        "code",
                                        "name",
                                        "category",
                                        "specs",
                                        "pictures",
                                        "minimumDays"
                                    ]
                                },
                                "description": "Active car types you have access to."
                            }
                        },
                        "required": [
                            "siteVersion",
                            "carTypes"
                        ],
                        "nullable": true
                    },
                    "messages": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Message"
                        }
                    }
                },
                "required": [
                    "success",
                    "version",
                    "command",
                    "language",
                    "data",
                    "messages"
                ]
            },
            "ageGroupsRqRequest": {
                "type": "object",
                "description": "Driver age groups.",
                "properties": {
                    "command": {
                        "type": "string",
                        "enum": [
                            "ageGroupsRq"
                        ]
                    },
                    "language": {
                        "type": "string",
                        "enum": [
                            "ro",
                            "en",
                            "fr",
                            "it",
                            "de",
                            "es"
                        ],
                        "description": "Language of names. Default en.",
                        "nullable": true
                    }
                },
                "required": [
                    "command"
                ]
            },
            "ageGroupsRqResponse": {
                "type": "object",
                "properties": {
                    "success": {
                        "type": "boolean"
                    },
                    "version": {
                        "type": "string"
                    },
                    "command": {
                        "type": "string",
                        "enum": [
                            "ageGroupsRq"
                        ]
                    },
                    "language": {
                        "type": "string"
                    },
                    "data": {
                        "type": "object",
                        "description": "null when success is false",
                        "properties": {
                            "siteVersion": {
                                "type": "integer",
                                "description": "Version of our data: reload the list only when it changes."
                            },
                            "ageGroups": {
                                "type": "array",
                                "items": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer",
                                            "description": "Age group code (ageGroup)."
                                        },
                                        "fromAge": {
                                            "type": "integer",
                                            "description": "From age."
                                        },
                                        "toAge": {
                                            "type": "integer",
                                            "description": "To age, or null (and over).",
                                            "nullable": true
                                        },
                                        "name": {
                                            "type": "string",
                                            "description": "Name, e.g. \"23–69 years\"."
                                        },
                                        "default": {
                                            "type": "boolean",
                                            "description": "The usual group (no surcharge)."
                                        }
                                    },
                                    "required": [
                                        "code",
                                        "fromAge",
                                        "name",
                                        "default"
                                    ]
                                },
                                "description": "Active age groups."
                            }
                        },
                        "required": [
                            "siteVersion",
                            "ageGroups"
                        ],
                        "nullable": true
                    },
                    "messages": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Message"
                        }
                    }
                },
                "required": [
                    "success",
                    "version",
                    "command",
                    "language",
                    "data",
                    "messages"
                ]
            },
            "searchRqRequest": {
                "type": "object",
                "description": "Available cars and prices for a period.",
                "properties": {
                    "command": {
                        "type": "string",
                        "enum": [
                            "searchRq"
                        ]
                    },
                    "language": {
                        "type": "string",
                        "enum": [
                            "ro",
                            "en",
                            "fr",
                            "it",
                            "de",
                            "es"
                        ],
                        "description": "Language of names and messages. Default en.",
                        "nullable": true
                    },
                    "pickup": {
                        "type": "object",
                        "properties": {
                            "locationId": {
                                "type": "integer",
                                "description": "Location code (locationsRq)."
                            },
                            "dateTime": {
                                "type": "string",
                                "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}$",
                                "example": "2026-12-01T10:00",
                                "description": "Romanian local time, YYYY-MM-DDTHH:MM, in the future."
                            }
                        },
                        "required": [
                            "locationId",
                            "dateTime"
                        ],
                        "description": "The pickup place and moment."
                    },
                    "dropoff": {
                        "type": "object",
                        "properties": {
                            "locationId": {
                                "type": "integer",
                                "description": "Location code (locationsRq)."
                            },
                            "dateTime": {
                                "type": "string",
                                "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}$",
                                "example": "2026-12-01T10:00",
                                "description": "Romanian local time, YYYY-MM-DDTHH:MM, in the future, after the pick-up."
                            }
                        },
                        "required": [
                            "locationId",
                            "dateTime"
                        ],
                        "description": "The dropoff place and moment."
                    },
                    "ageGroup": {
                        "type": "integer",
                        "description": "Main driver age group code (ageGroupsRq)."
                    },
                    "carTypeCode": {
                        "type": "integer",
                        "description": "Optional: a car type to return first (if it is offered for the search).",
                        "nullable": true
                    },
                    "availability": {
                        "type": "string",
                        "enum": [
                            "available",
                            "onRequest",
                            "both"
                        ],
                        "description": "Which cars to return. Default both.",
                        "nullable": true
                    },
                    "filters": {
                        "type": "object",
                        "properties": {
                            "categories": {
                                "type": "array",
                                "items": {
                                    "type": "integer"
                                },
                                "description": "Category codes.",
                                "nullable": true
                            },
                            "seats": {
                                "type": "array",
                                "items": {
                                    "type": "integer"
                                },
                                "description": "Seat counts.",
                                "nullable": true
                            },
                            "luggage": {
                                "type": "integer",
                                "description": "Minimum suitcases.",
                                "nullable": true
                            },
                            "fuel": {
                                "type": "array",
                                "items": {
                                    "type": "integer"
                                },
                                "description": "Fuel codes.",
                                "nullable": true
                            },
                            "transmission": {
                                "type": "array",
                                "items": {
                                    "type": "string"
                                },
                                "description": "manual / automatic.",
                                "nullable": true
                            }
                        },
                        "description": "Filters.",
                        "nullable": true
                    }
                },
                "required": [
                    "command",
                    "pickup",
                    "dropoff",
                    "ageGroup"
                ]
            },
            "searchRqResponse": {
                "type": "object",
                "properties": {
                    "success": {
                        "type": "boolean"
                    },
                    "version": {
                        "type": "string"
                    },
                    "command": {
                        "type": "string",
                        "enum": [
                            "searchRq"
                        ]
                    },
                    "language": {
                        "type": "string"
                    },
                    "data": {
                        "type": "object",
                        "description": "null when success is false",
                        "properties": {
                            "currency": {
                                "type": "string",
                                "description": "Currency of all amounts (ISO 4217, EUR)."
                            },
                            "request": {
                                "type": "object",
                                "description": "The request as understood."
                            },
                            "days": {
                                "type": "integer",
                                "description": "Rental days."
                            },
                            "types": {
                                "type": "array",
                                "items": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer",
                                            "description": "Car type code."
                                        },
                                        "name": {
                                            "type": "string",
                                            "description": "Car type name (the car or a similar one of the same class or higher)."
                                        },
                                        "category": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "integer",
                                                    "description": "Category code (categoriesRq)."
                                                },
                                                "name": {
                                                    "type": "string",
                                                    "description": "Name."
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "name"
                                            ],
                                            "description": "Car class."
                                        },
                                        "acriss": {
                                            "type": "string",
                                            "description": "ACRISS code, or null.",
                                            "nullable": true
                                        },
                                        "specs": {
                                            "type": "object",
                                            "properties": {
                                                "seats": {
                                                    "type": "integer",
                                                    "description": "Seats.",
                                                    "nullable": true
                                                },
                                                "doors": {
                                                    "type": "integer",
                                                    "description": "Doors.",
                                                    "nullable": true
                                                },
                                                "luggage": {
                                                    "type": "integer",
                                                    "description": "Suitcases.",
                                                    "nullable": true
                                                },
                                                "transmission": {
                                                    "type": "object",
                                                    "properties": {
                                                        "code": {
                                                            "type": "string",
                                                            "description": "manual|automatic"
                                                        },
                                                        "name": {
                                                            "type": "string",
                                                            "description": "Name."
                                                        }
                                                    },
                                                    "required": [
                                                        "code",
                                                        "name"
                                                    ],
                                                    "description": "Code (manual|automatic) and name in the request language, or null.",
                                                    "nullable": true
                                                },
                                                "fuel": {
                                                    "type": "object",
                                                    "description": "Fuel {code, name}, or null.",
                                                    "nullable": true
                                                },
                                                "consumption": {
                                                    "type": "number",
                                                    "description": "Litres / 100 km, or null.",
                                                    "nullable": true
                                                },
                                                "airConditioning": {
                                                    "type": "object",
                                                    "properties": {
                                                        "code": {
                                                            "type": "string",
                                                            "description": "automatic|manual"
                                                        },
                                                        "name": {
                                                            "type": "string",
                                                            "description": "Name."
                                                        }
                                                    },
                                                    "required": [
                                                        "code",
                                                        "name"
                                                    ],
                                                    "description": "Code (automatic|manual) and name in the request language, or null.",
                                                    "nullable": true
                                                },
                                                "drive": {
                                                    "type": "object",
                                                    "properties": {
                                                        "code": {
                                                            "type": "string",
                                                            "description": "front|rear|4x4"
                                                        },
                                                        "name": {
                                                            "type": "string",
                                                            "description": "Name."
                                                        }
                                                    },
                                                    "required": [
                                                        "code",
                                                        "name"
                                                    ],
                                                    "description": "Code (front|rear|4x4) and name in the request language, or null.",
                                                    "nullable": true
                                                },
                                                "isofix": {
                                                    "type": "boolean",
                                                    "description": "Isofix."
                                                },
                                                "wagon": {
                                                    "type": "boolean",
                                                    "description": "Estate body."
                                                },
                                                "smartphone": {
                                                    "type": "boolean",
                                                    "description": "Smartphone integration."
                                                }
                                            },
                                            "required": [
                                                "isofix",
                                                "wagon",
                                                "smartphone"
                                            ],
                                            "description": "Features."
                                        },
                                        "pictures": {
                                            "type": "array",
                                            "items": {
                                                "type": "string"
                                            },
                                            "description": "Photo URLs."
                                        },
                                        "requested": {
                                            "type": "boolean",
                                            "description": "This is the carTypeCode from the request."
                                        },
                                        "status": {
                                            "type": "string",
                                            "enum": [
                                                "available",
                                                "onRequest"
                                            ],
                                            "description": "available = can be booked now; onRequest = we confirm it."
                                        },
                                        "instantConfirmation": {
                                            "type": "boolean",
                                            "description": "The booking is confirmed immediately (24 h+ before pick-up, car in the fleet)."
                                        },
                                        "days": {
                                            "type": "integer",
                                            "description": "Rental days."
                                        },
                                        "chargedDays": {
                                            "type": "integer",
                                            "description": "Days charged (the minimum, when the period is shorter)."
                                        },
                                        "minimumDays": {
                                            "type": "integer",
                                            "description": "Minimum days here."
                                        },
                                        "offers": {
                                            "type": "object",
                                            "properties": {
                                                "standard": {
                                                    "type": "object",
                                                    "properties": {
                                                        "total": {
                                                            "type": "integer",
                                                            "description": "Final price for the whole rental, all included (rounded up to whole euro). Never compute it from perDay."
                                                        },
                                                        "perDay": {
                                                            "type": "number",
                                                            "description": "Average price per day (information only). In currency (EUR)."
                                                        },
                                                        "discount": {
                                                            "type": "object",
                                                            "properties": {
                                                                "amount": {
                                                                    "type": "number",
                                                                    "description": "Amount saved. In currency (EUR)."
                                                                },
                                                                "percent": {
                                                                    "type": "number",
                                                                    "description": "Percent saved."
                                                                },
                                                                "totalBefore": {
                                                                    "type": "integer",
                                                                    "description": "Total before the discount."
                                                                }
                                                            },
                                                            "required": [
                                                                "amount",
                                                                "percent",
                                                                "totalBefore"
                                                            ],
                                                            "description": "The discount already applied, or null.",
                                                            "nullable": true
                                                        },
                                                        "deposit": {
                                                            "type": "object",
                                                            "properties": {
                                                                "car": {
                                                                    "type": "number",
                                                                    "description": "Damage deposit (0 with extraProtection). In currency (EUR)."
                                                                },
                                                                "fuel": {
                                                                    "type": "number",
                                                                    "description": "Fuel deposit. In currency (EUR)."
                                                                },
                                                                "extras": {
                                                                    "type": "number",
                                                                    "description": "Equipment deposit. In currency (EUR)."
                                                                },
                                                                "crossBorder": {
                                                                    "type": "number",
                                                                    "description": "Cross-border deposit. In currency (EUR)."
                                                                },
                                                                "age": {
                                                                    "type": "number",
                                                                    "description": "Extra deposit for the driver age group. In currency (EUR)."
                                                                },
                                                                "total": {
                                                                    "type": "number",
                                                                    "description": "Total deposit. 0 = no deposit at all. In currency (EUR)."
                                                                }
                                                            },
                                                            "required": [
                                                                "car",
                                                                "fuel",
                                                                "extras",
                                                                "crossBorder",
                                                                "age",
                                                                "total"
                                                            ],
                                                            "description": "Security deposit at pick-up, by part (all keys always present, 0 when not required)."
                                                        },
                                                        "km": {
                                                            "type": "object",
                                                            "properties": {
                                                                "perDay": {
                                                                    "type": "integer",
                                                                    "description": "Included km per day."
                                                                },
                                                                "included": {
                                                                    "type": "integer",
                                                                    "description": "Total km included for the rental."
                                                                },
                                                                "extraKmPrice": {
                                                                    "type": "number",
                                                                    "description": "Price per extra km, charged at the end over the total included. In currency (EUR)."
                                                                }
                                                            },
                                                            "required": [
                                                                "perDay",
                                                                "included",
                                                                "extraKmPrice"
                                                            ],
                                                            "description": "Kilometres."
                                                        },
                                                        "cancellation": {
                                                            "type": "object",
                                                            "properties": {
                                                                "freeUntil": {
                                                                    "type": "string",
                                                                    "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}$",
                                                                    "example": "2026-12-01T10:00",
                                                                    "description": "Free cancellation until this moment (Romanian time); null = free until pick-up.",
                                                                    "nullable": true
                                                                },
                                                                "stages": {
                                                                    "type": "array",
                                                                    "items": {
                                                                        "type": "object",
                                                                        "properties": {
                                                                            "from": {
                                                                                "type": "string",
                                                                                "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}$",
                                                                                "example": "2026-12-01T10:00",
                                                                                "description": "From this moment."
                                                                            },
                                                                            "amount": {
                                                                                "type": "number",
                                                                                "description": "Cancellation fee. In currency (EUR)."
                                                                            }
                                                                        },
                                                                        "required": [
                                                                            "from",
                                                                            "amount"
                                                                        ]
                                                                    },
                                                                    "description": "Cancellation fees after the free period."
                                                                },
                                                                "noShow": {
                                                                    "type": "number",
                                                                    "description": "No-show fee in EUR, or null.",
                                                                    "nullable": true
                                                                }
                                                            },
                                                            "required": [
                                                                "stages"
                                                            ],
                                                            "description": "Cancellation policy of this offer."
                                                        },
                                                        "advance": {
                                                            "type": "object",
                                                            "properties": {
                                                                "amount": {
                                                                    "type": "number",
                                                                    "description": "Advance amount. In currency (EUR)."
                                                                }
                                                            },
                                                            "required": [
                                                                "amount"
                                                            ],
                                                            "description": "Always null for partners (an advance can be asked only for website bookings).",
                                                            "nullable": true
                                                        }
                                                    },
                                                    "required": [
                                                        "total",
                                                        "perDay",
                                                        "deposit",
                                                        "km",
                                                        "cancellation"
                                                    ],
                                                    "description": "With damage deposit."
                                                },
                                                "extraProtection": {
                                                    "type": "object",
                                                    "properties": {
                                                        "total": {
                                                            "type": "integer",
                                                            "description": "Final price for the whole rental, all included (rounded up to whole euro). Never compute it from perDay."
                                                        },
                                                        "perDay": {
                                                            "type": "number",
                                                            "description": "Average price per day (information only). In currency (EUR)."
                                                        },
                                                        "discount": {
                                                            "type": "object",
                                                            "properties": {
                                                                "amount": {
                                                                    "type": "number",
                                                                    "description": "Amount saved. In currency (EUR)."
                                                                },
                                                                "percent": {
                                                                    "type": "number",
                                                                    "description": "Percent saved."
                                                                },
                                                                "totalBefore": {
                                                                    "type": "integer",
                                                                    "description": "Total before the discount."
                                                                }
                                                            },
                                                            "required": [
                                                                "amount",
                                                                "percent",
                                                                "totalBefore"
                                                            ],
                                                            "description": "The discount already applied, or null.",
                                                            "nullable": true
                                                        },
                                                        "deposit": {
                                                            "type": "object",
                                                            "properties": {
                                                                "car": {
                                                                    "type": "number",
                                                                    "description": "Damage deposit (0 with extraProtection). In currency (EUR)."
                                                                },
                                                                "fuel": {
                                                                    "type": "number",
                                                                    "description": "Fuel deposit. In currency (EUR)."
                                                                },
                                                                "extras": {
                                                                    "type": "number",
                                                                    "description": "Equipment deposit. In currency (EUR)."
                                                                },
                                                                "crossBorder": {
                                                                    "type": "number",
                                                                    "description": "Cross-border deposit. In currency (EUR)."
                                                                },
                                                                "age": {
                                                                    "type": "number",
                                                                    "description": "Extra deposit for the driver age group. In currency (EUR)."
                                                                },
                                                                "total": {
                                                                    "type": "number",
                                                                    "description": "Total deposit. 0 = no deposit at all. In currency (EUR)."
                                                                }
                                                            },
                                                            "required": [
                                                                "car",
                                                                "fuel",
                                                                "extras",
                                                                "crossBorder",
                                                                "age",
                                                                "total"
                                                            ],
                                                            "description": "Security deposit at pick-up, by part (all keys always present, 0 when not required)."
                                                        },
                                                        "km": {
                                                            "type": "object",
                                                            "properties": {
                                                                "perDay": {
                                                                    "type": "integer",
                                                                    "description": "Included km per day."
                                                                },
                                                                "included": {
                                                                    "type": "integer",
                                                                    "description": "Total km included for the rental."
                                                                },
                                                                "extraKmPrice": {
                                                                    "type": "number",
                                                                    "description": "Price per extra km, charged at the end over the total included. In currency (EUR)."
                                                                }
                                                            },
                                                            "required": [
                                                                "perDay",
                                                                "included",
                                                                "extraKmPrice"
                                                            ],
                                                            "description": "Kilometres."
                                                        },
                                                        "cancellation": {
                                                            "type": "object",
                                                            "properties": {
                                                                "freeUntil": {
                                                                    "type": "string",
                                                                    "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}$",
                                                                    "example": "2026-12-01T10:00",
                                                                    "description": "Free cancellation until this moment (Romanian time); null = free until pick-up.",
                                                                    "nullable": true
                                                                },
                                                                "stages": {
                                                                    "type": "array",
                                                                    "items": {
                                                                        "type": "object",
                                                                        "properties": {
                                                                            "from": {
                                                                                "type": "string",
                                                                                "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}$",
                                                                                "example": "2026-12-01T10:00",
                                                                                "description": "From this moment."
                                                                            },
                                                                            "amount": {
                                                                                "type": "number",
                                                                                "description": "Cancellation fee. In currency (EUR)."
                                                                            }
                                                                        },
                                                                        "required": [
                                                                            "from",
                                                                            "amount"
                                                                        ]
                                                                    },
                                                                    "description": "Cancellation fees after the free period."
                                                                },
                                                                "noShow": {
                                                                    "type": "number",
                                                                    "description": "No-show fee in EUR, or null.",
                                                                    "nullable": true
                                                                }
                                                            },
                                                            "required": [
                                                                "stages"
                                                            ],
                                                            "description": "Cancellation policy of this offer."
                                                        },
                                                        "advance": {
                                                            "type": "object",
                                                            "properties": {
                                                                "amount": {
                                                                    "type": "number",
                                                                    "description": "Advance amount. In currency (EUR)."
                                                                }
                                                            },
                                                            "required": [
                                                                "amount"
                                                            ],
                                                            "description": "Always null for partners (an advance can be asked only for website bookings).",
                                                            "nullable": true
                                                        }
                                                    },
                                                    "required": [
                                                        "total",
                                                        "perDay",
                                                        "deposit",
                                                        "km",
                                                        "cancellation"
                                                    ],
                                                    "description": "Without damage deposit (SCDW), or null when the car has no such option. Same fields as standard.",
                                                    "nullable": true
                                                }
                                            },
                                            "required": [
                                                "standard"
                                            ],
                                            "description": "The two offers."
                                        },
                                        "note": {
                                            "type": "string",
                                            "description": "A note on the price (e.g. minimum days).",
                                            "nullable": true
                                        }
                                    },
                                    "required": [
                                        "code",
                                        "name",
                                        "category",
                                        "specs",
                                        "pictures",
                                        "requested",
                                        "status",
                                        "instantConfirmation",
                                        "days",
                                        "chargedDays",
                                        "minimumDays",
                                        "offers"
                                    ]
                                },
                                "description": "Cars that can be rented for the search (the others are not returned)."
                            },
                            "facets": {
                                "type": "object",
                                "description": "Counts per availability, category, transmission, fuel, seats, luggage: [{code, name, count}]."
                            }
                        },
                        "required": [
                            "currency",
                            "request",
                            "days",
                            "types",
                            "facets"
                        ],
                        "nullable": true
                    },
                    "messages": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Message"
                        }
                    }
                },
                "required": [
                    "success",
                    "version",
                    "command",
                    "language",
                    "data",
                    "messages"
                ]
            },
            "extrasRqRequest": {
                "type": "object",
                "description": "Equipment offered with a car.",
                "properties": {
                    "command": {
                        "type": "string",
                        "enum": [
                            "extrasRq"
                        ]
                    },
                    "language": {
                        "type": "string",
                        "enum": [
                            "ro",
                            "en",
                            "fr",
                            "it",
                            "de",
                            "es"
                        ],
                        "description": "Language of names and messages. Default en.",
                        "nullable": true
                    },
                    "pickup": {
                        "type": "object",
                        "properties": {
                            "locationId": {
                                "type": "integer",
                                "description": "Location code (locationsRq)."
                            },
                            "dateTime": {
                                "type": "string",
                                "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}$",
                                "example": "2026-12-01T10:00",
                                "description": "Romanian local time, YYYY-MM-DDTHH:MM, in the future."
                            }
                        },
                        "required": [
                            "locationId",
                            "dateTime"
                        ],
                        "description": "The pickup place and moment."
                    },
                    "dropoff": {
                        "type": "object",
                        "properties": {
                            "locationId": {
                                "type": "integer",
                                "description": "Location code (locationsRq)."
                            },
                            "dateTime": {
                                "type": "string",
                                "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}$",
                                "example": "2026-12-01T10:00",
                                "description": "Romanian local time, YYYY-MM-DDTHH:MM, in the future, after the pick-up."
                            }
                        },
                        "required": [
                            "locationId",
                            "dateTime"
                        ],
                        "description": "The dropoff place and moment."
                    },
                    "ageGroup": {
                        "type": "integer",
                        "description": "Main driver age group code (ageGroupsRq)."
                    },
                    "carTypeCode": {
                        "type": "integer",
                        "description": "The chosen car type (carTypesRq / searchRq)."
                    }
                },
                "required": [
                    "command",
                    "pickup",
                    "dropoff",
                    "ageGroup",
                    "carTypeCode"
                ]
            },
            "extrasRqResponse": {
                "type": "object",
                "properties": {
                    "success": {
                        "type": "boolean"
                    },
                    "version": {
                        "type": "string"
                    },
                    "command": {
                        "type": "string",
                        "enum": [
                            "extrasRq"
                        ]
                    },
                    "language": {
                        "type": "string"
                    },
                    "data": {
                        "type": "object",
                        "description": "null when success is false",
                        "properties": {
                            "currency": {
                                "type": "string",
                                "description": "EUR."
                            },
                            "carTypeCode": {
                                "type": "integer",
                                "description": "The car type."
                            },
                            "chargedDays": {
                                "type": "integer",
                                "description": "Days charged."
                            },
                            "extras": {
                                "type": "array",
                                "items": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer",
                                            "description": "Equipment code."
                                        },
                                        "name": {
                                            "type": "string",
                                            "description": "Name."
                                        },
                                        "description": {
                                            "type": "string",
                                            "description": "Description.",
                                            "nullable": true
                                        },
                                        "photo": {
                                            "type": "string",
                                            "description": "Photo URL.",
                                            "nullable": true
                                        },
                                        "pricePerDay": {
                                            "type": "number",
                                            "description": "Price per day. In currency (EUR)."
                                        },
                                        "maxQuantity": {
                                            "type": "integer",
                                            "description": "Maximum per booking."
                                        },
                                        "deposit": {
                                            "type": "number",
                                            "description": "Deposit per piece. In currency (EUR)."
                                        },
                                        "total": {
                                            "type": "number",
                                            "description": "Price of one piece for the whole rental. In currency (EUR)."
                                        }
                                    },
                                    "required": [
                                        "code",
                                        "name",
                                        "pricePerDay",
                                        "maxQuantity",
                                        "deposit",
                                        "total"
                                    ]
                                },
                                "description": "Equipment."
                            }
                        },
                        "required": [
                            "currency",
                            "carTypeCode",
                            "chargedDays",
                            "extras"
                        ],
                        "nullable": true
                    },
                    "messages": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Message"
                        }
                    }
                },
                "required": [
                    "success",
                    "version",
                    "command",
                    "language",
                    "data",
                    "messages"
                ]
            },
            "crossBordersRqRequest": {
                "type": "object",
                "description": "Countries the car may be driven to.",
                "properties": {
                    "command": {
                        "type": "string",
                        "enum": [
                            "crossBordersRq"
                        ]
                    },
                    "language": {
                        "type": "string",
                        "enum": [
                            "ro",
                            "en",
                            "fr",
                            "it",
                            "de",
                            "es"
                        ],
                        "description": "Language of names and messages. Default en.",
                        "nullable": true
                    },
                    "pickup": {
                        "type": "object",
                        "properties": {
                            "locationId": {
                                "type": "integer",
                                "description": "Location code (locationsRq)."
                            },
                            "dateTime": {
                                "type": "string",
                                "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}$",
                                "example": "2026-12-01T10:00",
                                "description": "Romanian local time, YYYY-MM-DDTHH:MM, in the future."
                            }
                        },
                        "required": [
                            "locationId",
                            "dateTime"
                        ],
                        "description": "The pickup place and moment."
                    },
                    "dropoff": {
                        "type": "object",
                        "properties": {
                            "locationId": {
                                "type": "integer",
                                "description": "Location code (locationsRq)."
                            },
                            "dateTime": {
                                "type": "string",
                                "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}$",
                                "example": "2026-12-01T10:00",
                                "description": "Romanian local time, YYYY-MM-DDTHH:MM, in the future, after the pick-up."
                            }
                        },
                        "required": [
                            "locationId",
                            "dateTime"
                        ],
                        "description": "The dropoff place and moment."
                    },
                    "ageGroup": {
                        "type": "integer",
                        "description": "Main driver age group code (ageGroupsRq)."
                    },
                    "carTypeCode": {
                        "type": "integer",
                        "description": "The chosen car type (carTypesRq / searchRq)."
                    }
                },
                "required": [
                    "command",
                    "pickup",
                    "dropoff",
                    "ageGroup",
                    "carTypeCode"
                ]
            },
            "crossBordersRqResponse": {
                "type": "object",
                "properties": {
                    "success": {
                        "type": "boolean"
                    },
                    "version": {
                        "type": "string"
                    },
                    "command": {
                        "type": "string",
                        "enum": [
                            "crossBordersRq"
                        ]
                    },
                    "language": {
                        "type": "string"
                    },
                    "data": {
                        "type": "object",
                        "description": "null when success is false",
                        "properties": {
                            "currency": {
                                "type": "string",
                                "description": "EUR."
                            },
                            "carTypeCode": {
                                "type": "integer",
                                "description": "The car type."
                            },
                            "chargedDays": {
                                "type": "integer",
                                "description": "Days charged."
                            },
                            "crossBorders": {
                                "type": "array",
                                "items": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer",
                                            "description": "Destination code."
                                        },
                                        "name": {
                                            "type": "string",
                                            "description": "Name."
                                        },
                                        "description": {
                                            "type": "string",
                                            "description": "Documents and rules.",
                                            "nullable": true
                                        },
                                        "pricePerDay": {
                                            "type": "number",
                                            "description": "Price per day. In currency (EUR)."
                                        },
                                        "minTotal": {
                                            "type": "number",
                                            "description": "Minimum per rental (0 = none). In currency (EUR)."
                                        },
                                        "maxTotal": {
                                            "type": "number",
                                            "description": "Maximum per rental (0 = none). In currency (EUR)."
                                        },
                                        "deposit": {
                                            "type": "number",
                                            "description": "Extra deposit. In currency (EUR)."
                                        },
                                        "total": {
                                            "type": "number",
                                            "description": "Price for the whole rental. In currency (EUR)."
                                        }
                                    },
                                    "required": [
                                        "code",
                                        "name",
                                        "pricePerDay",
                                        "minTotal",
                                        "maxTotal",
                                        "deposit",
                                        "total"
                                    ]
                                },
                                "description": "Allowed destinations. Without one, leaving Romania is forbidden."
                            }
                        },
                        "required": [
                            "currency",
                            "carTypeCode",
                            "chargedDays",
                            "crossBorders"
                        ],
                        "nullable": true
                    },
                    "messages": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Message"
                        }
                    }
                },
                "required": [
                    "success",
                    "version",
                    "command",
                    "language",
                    "data",
                    "messages"
                ]
            },
            "searchDetailsRqRequest": {
                "type": "object",
                "description": "Exact price of a selection (car, equipment, cross-border), before booking.",
                "properties": {
                    "command": {
                        "type": "string",
                        "enum": [
                            "searchDetailsRq"
                        ]
                    },
                    "language": {
                        "type": "string",
                        "enum": [
                            "ro",
                            "en",
                            "fr",
                            "it",
                            "de",
                            "es"
                        ],
                        "description": "Language of names and messages. Default en.",
                        "nullable": true
                    },
                    "pickup": {
                        "type": "object",
                        "properties": {
                            "locationId": {
                                "type": "integer",
                                "description": "Location code (locationsRq)."
                            },
                            "dateTime": {
                                "type": "string",
                                "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}$",
                                "example": "2026-12-01T10:00",
                                "description": "Romanian local time, YYYY-MM-DDTHH:MM, in the future."
                            }
                        },
                        "required": [
                            "locationId",
                            "dateTime"
                        ],
                        "description": "The pickup place and moment."
                    },
                    "dropoff": {
                        "type": "object",
                        "properties": {
                            "locationId": {
                                "type": "integer",
                                "description": "Location code (locationsRq)."
                            },
                            "dateTime": {
                                "type": "string",
                                "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}$",
                                "example": "2026-12-01T10:00",
                                "description": "Romanian local time, YYYY-MM-DDTHH:MM, in the future, after the pick-up."
                            }
                        },
                        "required": [
                            "locationId",
                            "dateTime"
                        ],
                        "description": "The dropoff place and moment."
                    },
                    "ageGroup": {
                        "type": "integer",
                        "description": "Main driver age group code (ageGroupsRq)."
                    },
                    "carTypeCode": {
                        "type": "integer",
                        "description": "The chosen car type (carTypesRq / searchRq)."
                    },
                    "extras": {
                        "type": "array",
                        "items": {
                            "type": "object",
                            "properties": {
                                "code": {
                                    "type": "integer",
                                    "description": "Equipment code (extrasRq)."
                                },
                                "qty": {
                                    "type": "integer",
                                    "description": "Quantity, default 1; capped at maxQuantity.",
                                    "nullable": true
                                }
                            },
                            "required": [
                                "code"
                            ]
                        },
                        "description": "Chosen equipment.",
                        "nullable": true
                    },
                    "crossBorders": {
                        "type": "array",
                        "items": {
                            "type": "integer"
                        },
                        "description": "Chosen cross-border destination codes (crossBordersRq).",
                        "nullable": true
                    }
                },
                "required": [
                    "command",
                    "pickup",
                    "dropoff",
                    "ageGroup",
                    "carTypeCode"
                ]
            },
            "searchDetailsRqResponse": {
                "type": "object",
                "properties": {
                    "success": {
                        "type": "boolean"
                    },
                    "version": {
                        "type": "string"
                    },
                    "command": {
                        "type": "string",
                        "enum": [
                            "searchDetailsRq"
                        ]
                    },
                    "language": {
                        "type": "string"
                    },
                    "data": {
                        "type": "object",
                        "description": "null when success is false",
                        "properties": {
                            "currency": {
                                "type": "string",
                                "description": "EUR."
                            },
                            "request": {
                                "type": "object",
                                "description": "The request as understood."
                            },
                            "type": {
                                "type": "object",
                                "properties": {
                                    "code": {
                                        "type": "integer",
                                        "description": "Car type code."
                                    },
                                    "name": {
                                        "type": "string",
                                        "description": "Car type name (the car or a similar one of the same class or higher)."
                                    },
                                    "category": {
                                        "type": "object",
                                        "properties": {
                                            "code": {
                                                "type": "integer",
                                                "description": "Category code (categoriesRq)."
                                            },
                                            "name": {
                                                "type": "string",
                                                "description": "Name."
                                            }
                                        },
                                        "required": [
                                            "code",
                                            "name"
                                        ],
                                        "description": "Car class."
                                    },
                                    "acriss": {
                                        "type": "string",
                                        "description": "ACRISS code, or null.",
                                        "nullable": true
                                    },
                                    "specs": {
                                        "type": "object",
                                        "properties": {
                                            "seats": {
                                                "type": "integer",
                                                "description": "Seats.",
                                                "nullable": true
                                            },
                                            "doors": {
                                                "type": "integer",
                                                "description": "Doors.",
                                                "nullable": true
                                            },
                                            "luggage": {
                                                "type": "integer",
                                                "description": "Suitcases.",
                                                "nullable": true
                                            },
                                            "transmission": {
                                                "type": "object",
                                                "properties": {
                                                    "code": {
                                                        "type": "string",
                                                        "description": "manual|automatic"
                                                    },
                                                    "name": {
                                                        "type": "string",
                                                        "description": "Name."
                                                    }
                                                },
                                                "required": [
                                                    "code",
                                                    "name"
                                                ],
                                                "description": "Code (manual|automatic) and name in the request language, or null.",
                                                "nullable": true
                                            },
                                            "fuel": {
                                                "type": "object",
                                                "description": "Fuel {code, name}, or null.",
                                                "nullable": true
                                            },
                                            "consumption": {
                                                "type": "number",
                                                "description": "Litres / 100 km, or null.",
                                                "nullable": true
                                            },
                                            "airConditioning": {
                                                "type": "object",
                                                "properties": {
                                                    "code": {
                                                        "type": "string",
                                                        "description": "automatic|manual"
                                                    },
                                                    "name": {
                                                        "type": "string",
                                                        "description": "Name."
                                                    }
                                                },
                                                "required": [
                                                    "code",
                                                    "name"
                                                ],
                                                "description": "Code (automatic|manual) and name in the request language, or null.",
                                                "nullable": true
                                            },
                                            "drive": {
                                                "type": "object",
                                                "properties": {
                                                    "code": {
                                                        "type": "string",
                                                        "description": "front|rear|4x4"
                                                    },
                                                    "name": {
                                                        "type": "string",
                                                        "description": "Name."
                                                    }
                                                },
                                                "required": [
                                                    "code",
                                                    "name"
                                                ],
                                                "description": "Code (front|rear|4x4) and name in the request language, or null.",
                                                "nullable": true
                                            },
                                            "isofix": {
                                                "type": "boolean",
                                                "description": "Isofix."
                                            },
                                            "wagon": {
                                                "type": "boolean",
                                                "description": "Estate body."
                                            },
                                            "smartphone": {
                                                "type": "boolean",
                                                "description": "Smartphone integration."
                                            }
                                        },
                                        "required": [
                                            "isofix",
                                            "wagon",
                                            "smartphone"
                                        ],
                                        "description": "Features."
                                    },
                                    "pictures": {
                                        "type": "array",
                                        "items": {
                                            "type": "string"
                                        },
                                        "description": "Photo URLs."
                                    }
                                },
                                "required": [
                                    "code",
                                    "name",
                                    "category",
                                    "specs",
                                    "pictures"
                                ],
                                "description": "The car type with status, days, chargedDays, minimumDays, note."
                            },
                            "extras": {
                                "type": "array",
                                "items": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer",
                                            "description": "Code."
                                        },
                                        "name": {
                                            "type": "string",
                                            "description": "Name."
                                        },
                                        "quantity": {
                                            "type": "integer",
                                            "description": "Quantity."
                                        },
                                        "total": {
                                            "type": "number",
                                            "description": "Total. In currency (EUR)."
                                        }
                                    },
                                    "required": [
                                        "code",
                                        "name",
                                        "quantity",
                                        "total"
                                    ]
                                },
                                "description": "Equipment added."
                            },
                            "crossBorders": {
                                "type": "array",
                                "items": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer",
                                            "description": "Code."
                                        },
                                        "name": {
                                            "type": "string",
                                            "description": "Name."
                                        },
                                        "total": {
                                            "type": "number",
                                            "description": "Total. In currency (EUR)."
                                        }
                                    },
                                    "required": [
                                        "code",
                                        "name",
                                        "total"
                                    ]
                                },
                                "description": "Destinations added."
                            },
                            "offers": {
                                "type": "object",
                                "properties": {
                                    "standard": {
                                        "type": "object",
                                        "properties": {
                                            "total": {
                                                "type": "integer",
                                                "description": "Final price for the whole rental, all included (rounded up to whole euro). Never compute it from perDay."
                                            },
                                            "perDay": {
                                                "type": "number",
                                                "description": "Average price per day (information only). In currency (EUR)."
                                            },
                                            "rentalTotal": {
                                                "type": "number",
                                                "description": "The rental without equipment and cross-border (summary line). In currency (EUR)."
                                            },
                                            "discount": {
                                                "type": "object",
                                                "properties": {
                                                    "amount": {
                                                        "type": "number",
                                                        "description": "Amount saved. In currency (EUR)."
                                                    },
                                                    "percent": {
                                                        "type": "number",
                                                        "description": "Percent saved."
                                                    },
                                                    "totalBefore": {
                                                        "type": "integer",
                                                        "description": "Total before the discount."
                                                    }
                                                },
                                                "required": [
                                                    "amount",
                                                    "percent",
                                                    "totalBefore"
                                                ],
                                                "description": "The discount already applied, or null.",
                                                "nullable": true
                                            },
                                            "deposit": {
                                                "type": "object",
                                                "properties": {
                                                    "car": {
                                                        "type": "number",
                                                        "description": "Damage deposit (0 with extraProtection). In currency (EUR)."
                                                    },
                                                    "fuel": {
                                                        "type": "number",
                                                        "description": "Fuel deposit. In currency (EUR)."
                                                    },
                                                    "extras": {
                                                        "type": "number",
                                                        "description": "Equipment deposit. In currency (EUR)."
                                                    },
                                                    "crossBorder": {
                                                        "type": "number",
                                                        "description": "Cross-border deposit. In currency (EUR)."
                                                    },
                                                    "age": {
                                                        "type": "number",
                                                        "description": "Extra deposit for the driver age group. In currency (EUR)."
                                                    },
                                                    "total": {
                                                        "type": "number",
                                                        "description": "Total deposit. 0 = no deposit at all. In currency (EUR)."
                                                    }
                                                },
                                                "required": [
                                                    "car",
                                                    "fuel",
                                                    "extras",
                                                    "crossBorder",
                                                    "age",
                                                    "total"
                                                ],
                                                "description": "Security deposit at pick-up, by part (all keys always present, 0 when not required)."
                                            },
                                            "km": {
                                                "type": "object",
                                                "properties": {
                                                    "perDay": {
                                                        "type": "integer",
                                                        "description": "Included km per day."
                                                    },
                                                    "included": {
                                                        "type": "integer",
                                                        "description": "Total km included for the rental."
                                                    },
                                                    "extraKmPrice": {
                                                        "type": "number",
                                                        "description": "Price per extra km, charged at the end over the total included. In currency (EUR)."
                                                    }
                                                },
                                                "required": [
                                                    "perDay",
                                                    "included",
                                                    "extraKmPrice"
                                                ],
                                                "description": "Kilometres."
                                            },
                                            "cancellation": {
                                                "type": "object",
                                                "properties": {
                                                    "freeUntil": {
                                                        "type": "string",
                                                        "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}$",
                                                        "example": "2026-12-01T10:00",
                                                        "description": "Free cancellation until this moment (Romanian time); null = free until pick-up.",
                                                        "nullable": true
                                                    },
                                                    "stages": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "object",
                                                            "properties": {
                                                                "from": {
                                                                    "type": "string",
                                                                    "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}$",
                                                                    "example": "2026-12-01T10:00",
                                                                    "description": "From this moment."
                                                                },
                                                                "amount": {
                                                                    "type": "number",
                                                                    "description": "Cancellation fee. In currency (EUR)."
                                                                }
                                                            },
                                                            "required": [
                                                                "from",
                                                                "amount"
                                                            ]
                                                        },
                                                        "description": "Cancellation fees after the free period."
                                                    },
                                                    "noShow": {
                                                        "type": "number",
                                                        "description": "No-show fee in EUR, or null.",
                                                        "nullable": true
                                                    }
                                                },
                                                "required": [
                                                    "stages"
                                                ],
                                                "description": "Cancellation policy of this offer."
                                            },
                                            "advance": {
                                                "type": "object",
                                                "properties": {
                                                    "amount": {
                                                        "type": "number",
                                                        "description": "Advance amount. In currency (EUR)."
                                                    }
                                                },
                                                "required": [
                                                    "amount"
                                                ],
                                                "description": "Always null for partners (an advance can be asked only for website bookings).",
                                                "nullable": true
                                            }
                                        },
                                        "required": [
                                            "total",
                                            "perDay",
                                            "rentalTotal",
                                            "deposit",
                                            "km",
                                            "cancellation"
                                        ],
                                        "description": "With damage deposit."
                                    },
                                    "extraProtection": {
                                        "type": "object",
                                        "properties": {
                                            "total": {
                                                "type": "integer",
                                                "description": "Final price for the whole rental, all included (rounded up to whole euro). Never compute it from perDay."
                                            },
                                            "perDay": {
                                                "type": "number",
                                                "description": "Average price per day (information only). In currency (EUR)."
                                            },
                                            "rentalTotal": {
                                                "type": "number",
                                                "description": "The rental without equipment and cross-border (summary line). In currency (EUR)."
                                            },
                                            "discount": {
                                                "type": "object",
                                                "properties": {
                                                    "amount": {
                                                        "type": "number",
                                                        "description": "Amount saved. In currency (EUR)."
                                                    },
                                                    "percent": {
                                                        "type": "number",
                                                        "description": "Percent saved."
                                                    },
                                                    "totalBefore": {
                                                        "type": "integer",
                                                        "description": "Total before the discount."
                                                    }
                                                },
                                                "required": [
                                                    "amount",
                                                    "percent",
                                                    "totalBefore"
                                                ],
                                                "description": "The discount already applied, or null.",
                                                "nullable": true
                                            },
                                            "deposit": {
                                                "type": "object",
                                                "properties": {
                                                    "car": {
                                                        "type": "number",
                                                        "description": "Damage deposit (0 with extraProtection). In currency (EUR)."
                                                    },
                                                    "fuel": {
                                                        "type": "number",
                                                        "description": "Fuel deposit. In currency (EUR)."
                                                    },
                                                    "extras": {
                                                        "type": "number",
                                                        "description": "Equipment deposit. In currency (EUR)."
                                                    },
                                                    "crossBorder": {
                                                        "type": "number",
                                                        "description": "Cross-border deposit. In currency (EUR)."
                                                    },
                                                    "age": {
                                                        "type": "number",
                                                        "description": "Extra deposit for the driver age group. In currency (EUR)."
                                                    },
                                                    "total": {
                                                        "type": "number",
                                                        "description": "Total deposit. 0 = no deposit at all. In currency (EUR)."
                                                    }
                                                },
                                                "required": [
                                                    "car",
                                                    "fuel",
                                                    "extras",
                                                    "crossBorder",
                                                    "age",
                                                    "total"
                                                ],
                                                "description": "Security deposit at pick-up, by part (all keys always present, 0 when not required)."
                                            },
                                            "km": {
                                                "type": "object",
                                                "properties": {
                                                    "perDay": {
                                                        "type": "integer",
                                                        "description": "Included km per day."
                                                    },
                                                    "included": {
                                                        "type": "integer",
                                                        "description": "Total km included for the rental."
                                                    },
                                                    "extraKmPrice": {
                                                        "type": "number",
                                                        "description": "Price per extra km, charged at the end over the total included. In currency (EUR)."
                                                    }
                                                },
                                                "required": [
                                                    "perDay",
                                                    "included",
                                                    "extraKmPrice"
                                                ],
                                                "description": "Kilometres."
                                            },
                                            "cancellation": {
                                                "type": "object",
                                                "properties": {
                                                    "freeUntil": {
                                                        "type": "string",
                                                        "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}$",
                                                        "example": "2026-12-01T10:00",
                                                        "description": "Free cancellation until this moment (Romanian time); null = free until pick-up.",
                                                        "nullable": true
                                                    },
                                                    "stages": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "object",
                                                            "properties": {
                                                                "from": {
                                                                    "type": "string",
                                                                    "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}$",
                                                                    "example": "2026-12-01T10:00",
                                                                    "description": "From this moment."
                                                                },
                                                                "amount": {
                                                                    "type": "number",
                                                                    "description": "Cancellation fee. In currency (EUR)."
                                                                }
                                                            },
                                                            "required": [
                                                                "from",
                                                                "amount"
                                                            ]
                                                        },
                                                        "description": "Cancellation fees after the free period."
                                                    },
                                                    "noShow": {
                                                        "type": "number",
                                                        "description": "No-show fee in EUR, or null.",
                                                        "nullable": true
                                                    }
                                                },
                                                "required": [
                                                    "stages"
                                                ],
                                                "description": "Cancellation policy of this offer."
                                            },
                                            "advance": {
                                                "type": "object",
                                                "properties": {
                                                    "amount": {
                                                        "type": "number",
                                                        "description": "Advance amount. In currency (EUR)."
                                                    }
                                                },
                                                "required": [
                                                    "amount"
                                                ],
                                                "description": "Always null for partners (an advance can be asked only for website bookings).",
                                                "nullable": true
                                            }
                                        },
                                        "required": [
                                            "total",
                                            "perDay",
                                            "rentalTotal",
                                            "deposit",
                                            "km",
                                            "cancellation"
                                        ],
                                        "description": "Without damage deposit (SCDW), or null when the car has no such option. Same fields as standard.",
                                        "nullable": true
                                    }
                                },
                                "required": [
                                    "standard"
                                ],
                                "description": "The two offers for the selection; send the chosen total as expectedTotal in bookRq."
                            }
                        },
                        "required": [
                            "currency",
                            "request",
                            "type",
                            "extras",
                            "crossBorders",
                            "offers"
                        ],
                        "nullable": true
                    },
                    "messages": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Message"
                        }
                    }
                },
                "required": [
                    "success",
                    "version",
                    "command",
                    "language",
                    "data",
                    "messages"
                ]
            },
            "bookRqRequest": {
                "type": "object",
                "description": "Book the selection.",
                "properties": {
                    "command": {
                        "type": "string",
                        "enum": [
                            "bookRq"
                        ]
                    },
                    "language": {
                        "type": "string",
                        "enum": [
                            "ro",
                            "en",
                            "fr",
                            "it",
                            "de",
                            "es"
                        ],
                        "description": "Language of names and messages. Default en.",
                        "nullable": true
                    },
                    "pickup": {
                        "type": "object",
                        "properties": {
                            "locationId": {
                                "type": "integer",
                                "description": "Location code (locationsRq)."
                            },
                            "dateTime": {
                                "type": "string",
                                "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}$",
                                "example": "2026-12-01T10:00",
                                "description": "Romanian local time, YYYY-MM-DDTHH:MM, in the future."
                            }
                        },
                        "required": [
                            "locationId",
                            "dateTime"
                        ],
                        "description": "The pickup place and moment."
                    },
                    "dropoff": {
                        "type": "object",
                        "properties": {
                            "locationId": {
                                "type": "integer",
                                "description": "Location code (locationsRq)."
                            },
                            "dateTime": {
                                "type": "string",
                                "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}$",
                                "example": "2026-12-01T10:00",
                                "description": "Romanian local time, YYYY-MM-DDTHH:MM, in the future, after the pick-up."
                            }
                        },
                        "required": [
                            "locationId",
                            "dateTime"
                        ],
                        "description": "The dropoff place and moment."
                    },
                    "ageGroup": {
                        "type": "integer",
                        "description": "Main driver age group code (ageGroupsRq)."
                    },
                    "carTypeCode": {
                        "type": "integer",
                        "description": "The chosen car type (carTypesRq / searchRq)."
                    },
                    "extras": {
                        "type": "array",
                        "items": {
                            "type": "object",
                            "properties": {
                                "code": {
                                    "type": "integer",
                                    "description": "Equipment code (extrasRq)."
                                },
                                "qty": {
                                    "type": "integer",
                                    "description": "Quantity, default 1; capped at maxQuantity.",
                                    "nullable": true
                                }
                            },
                            "required": [
                                "code"
                            ]
                        },
                        "description": "Chosen equipment.",
                        "nullable": true
                    },
                    "crossBorders": {
                        "type": "array",
                        "items": {
                            "type": "integer"
                        },
                        "description": "Chosen cross-border destination codes (crossBordersRq).",
                        "nullable": true
                    },
                    "offer": {
                        "type": "string",
                        "enum": [
                            "standard",
                            "extraProtection"
                        ],
                        "description": "The chosen offer."
                    },
                    "expectedTotal": {
                        "type": "number",
                        "description": "The total the customer saw (searchDetailsRq). A different current total gives PRICE_CHANGED with the new total."
                    },
                    "driver": {
                        "type": "object",
                        "properties": {
                            "fullName": {
                                "type": "string",
                                "description": "Full name."
                            },
                            "phone": {
                                "type": "string",
                                "description": "Phone with country code (WhatsApp if possible)."
                            },
                            "email": {
                                "type": "string",
                                "description": "Email (confirmation and booking link)."
                            },
                            "personalId": {
                                "type": "string",
                                "description": "Personal ID number.",
                                "nullable": true
                            },
                            "birthDate": {
                                "type": "string",
                                "description": "YYYY-MM-DD.",
                                "nullable": true
                            },
                            "citizenship": {
                                "type": "string",
                                "description": "Citizenship: ISO 3166-1 alpha-2 code, 2 letters, e.g. RO; a country name gives FIELD_INVALID.",
                                "nullable": true
                            },
                            "addrCountry": {
                                "type": "string",
                                "description": "Address country: ISO 3166-1 alpha-2 code, 2 letters, e.g. RO; a country name gives FIELD_INVALID.",
                                "nullable": true
                            },
                            "addrStateRomania": {
                                "type": "string",
                                "description": "County code, 2 letters, e.g. IS, B (only when addrCountry is RO).",
                                "nullable": true
                            },
                            "addrState": {
                                "type": "string",
                                "description": "Region (other countries).",
                                "nullable": true
                            },
                            "addrCity": {
                                "type": "string",
                                "description": "City.",
                                "nullable": true
                            },
                            "addrStreet": {
                                "type": "string",
                                "description": "Street.",
                                "nullable": true
                            },
                            "idType": {
                                "type": "integer",
                                "enum": [
                                    1,
                                    2,
                                    3
                                ],
                                "description": "ID document type: 1 = identity card, 2 = passport, 3 = residence permit. Default 1; another value gives FIELD_INVALID.",
                                "nullable": true
                            },
                            "idCountry": {
                                "type": "string",
                                "description": "Country that issued the ID document: ISO 3166-1 alpha-2 code, 2 letters, e.g. RO; a country name gives FIELD_INVALID.",
                                "nullable": true
                            },
                            "idNumber": {
                                "type": "string",
                                "description": "ID document number.",
                                "nullable": true
                            },
                            "idExpiresAt": {
                                "type": "string",
                                "description": "YYYY-MM-DD.",
                                "nullable": true
                            },
                            "licCountry": {
                                "type": "string",
                                "description": "Country that issued the driving licence: ISO 3166-1 alpha-2 code, 2 letters, e.g. RO; a country name gives FIELD_INVALID.",
                                "nullable": true
                            },
                            "licNumber": {
                                "type": "string",
                                "description": "Licence number.",
                                "nullable": true
                            },
                            "licIssuedAt": {
                                "type": "string",
                                "description": "YYYY-MM-DD.",
                                "nullable": true
                            },
                            "licExpiresAt": {
                                "type": "string",
                                "description": "YYYY-MM-DD.",
                                "nullable": true
                            }
                        },
                        "required": [
                            "fullName",
                            "phone",
                            "email"
                        ],
                        "description": "Main driver (signs the contract)."
                    },
                    "additionalDriver": {
                        "type": "object",
                        "description": "Second driver, same fields (email not required). Free of charge.",
                        "nullable": true
                    },
                    "billing": {
                        "type": "object",
                        "description": "Invoice to: {type: person} (the main driver, default) or {type: company, name, taxId, vatPayer, tradeRegisterNo, country, stateRomania, state, city, street}; country: ISO 3166-1 alpha-2 code, 2 letters (e.g. RO), stateRomania: county code (e.g. IS, B).",
                        "nullable": true
                    },
                    "flight": {
                        "type": "object",
                        "properties": {
                            "number": {
                                "type": "string",
                                "description": "Flight number.",
                                "nullable": true
                            },
                            "from": {
                                "type": "string",
                                "description": "Departure airport.",
                                "nullable": true
                            }
                        },
                        "description": "Arrival flight, so we can follow delays.",
                        "nullable": true
                    },
                    "message": {
                        "type": "string",
                        "description": "Message for us.",
                        "nullable": true
                    },
                    "consent": {
                        "type": "boolean",
                        "description": "true: the customer accepted the rental conditions and the privacy policy."
                    },
                    "confirmDuplicate": {
                        "type": "boolean",
                        "description": "true: book again after DUPLICATE_BOOKING.",
                        "nullable": true
                    },
                    "partnerVoucher": {
                        "type": "string",
                        "description": "Your own booking reference (up to 60 characters).",
                        "nullable": true
                    }
                },
                "required": [
                    "command",
                    "pickup",
                    "dropoff",
                    "ageGroup",
                    "carTypeCode",
                    "offer",
                    "expectedTotal",
                    "driver",
                    "consent"
                ]
            },
            "bookRqResponse": {
                "type": "object",
                "properties": {
                    "success": {
                        "type": "boolean"
                    },
                    "version": {
                        "type": "string"
                    },
                    "command": {
                        "type": "string",
                        "enum": [
                            "bookRq"
                        ]
                    },
                    "language": {
                        "type": "string"
                    },
                    "data": {
                        "type": "object",
                        "description": "null when success is false",
                        "properties": {
                            "bookingCode": {
                                "type": "integer",
                                "description": "Our booking number."
                            },
                            "status": {
                                "type": "string",
                                "enum": [
                                    "request",
                                    "confirmed"
                                ],
                                "description": "confirmed = instant confirmation; request = we confirm it by email."
                            },
                            "bookingToken": {
                                "type": "string",
                                "description": "Signed proof of the booking."
                            },
                            "total": {
                                "type": "number",
                                "description": "Booked total."
                            },
                            "currency": {
                                "type": "string",
                                "description": "EUR."
                            }
                        },
                        "required": [
                            "bookingCode",
                            "status",
                            "bookingToken",
                            "total",
                            "currency"
                        ],
                        "nullable": true
                    },
                    "messages": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Message"
                        }
                    }
                },
                "required": [
                    "success",
                    "version",
                    "command",
                    "language",
                    "data",
                    "messages"
                ]
            }
        },
        "securitySchemes": {
            "ApiKey": {
                "type": "apiKey",
                "in": "header",
                "name": "X-Api-Key"
            },
            "ApiTimestamp": {
                "type": "apiKey",
                "in": "header",
                "name": "X-Api-Timestamp"
            },
            "ApiSignature": {
                "type": "apiKey",
                "in": "header",
                "name": "X-Api-Signature"
            }
        }
    }
}