{
  "openapi": "3.0.3",
  "info": {
    "title": "HTS Cars API",
    "description": "API for car shopping and booking.",
    "version": "0.1",
    "contact": {
      "name": "HTS API Team",
      "url": "https://hts.hopper.com/contact-us"
    },
    "license": {
      "name": "Hopper 2.0",
      "url": "https://www.hopper.com"
    }
  },
  "servers": [
    {
      "url": "https://travel-distribution.htsapis.com",
      "description": "Production"
    },
    {
      "url": "https://travel-distribution.staging.htsapis.com",
      "description": "Staging"
    }
  ],
  "tags": [
    {
      "name": "booking",
      "description": "Booking or managing a car rental."
    },
    {
      "name": "shopping",
      "description": "Shop vehicle rentals."
    }
  ],
  "paths": {
    "/api/cars/v1/shop": {
      "put": {
        "operationId": "shop",
        "tags": [
          "shopping"
        ],
        "summary": "Shop for available car rental offers.",
        "description": "Designed to retrieve a list of available car rental offers.\nIt takes detailed criteria, including pickup/drop-off locations and dates, driver age, and user preferences, and returns a comprehensive list of matching offers.\nThis endpoint serves as the primary entry point for users to discover and compare car rental options.\n",
        "requestBody": {
          "required": true,
          "description": "Request body for fetching vehicle availability.",
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "title": "ShopRequest",
                "description": "Request body for fetching vehicle availability.",
                "required": [
                  "request_id",
                  "driver_age",
                  "pickup",
                  "dropoff",
                  "user_preferences",
                  "point_of_sale"
                ],
                "properties": {
                  "request_id": {
                    "title": "RequestId",
                    "description": "Unique identifier of the specific request.\nUse this identifier when you need to refer to a specific request, when requiring technical support.\n",
                    "type": "string",
                    "format": "uuid",
                    "example": "123e4567-e89b-12d3-a456-426614174000"
                  },
                  "driver_age": {
                    "type": "integer",
                    "description": "The age of the primary driver.",
                    "minimum": 18,
                    "example": 30
                  },
                  "pickup": {
                    "type": "object",
                    "title": "Pickup",
                    "description": "Details for the vehicle pickup.",
                    "required": [
                      "local_date_time",
                      "location"
                    ],
                    "properties": {
                      "local_date_time": {
                        "title": "LocalDateTime",
                        "type": "string",
                        "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}.*$",
                        "description": "The local date and time in ISO 8601 format.\nNote: Any information after the minutes (e.g., seconds, time zone) will be discarded.\n",
                        "example": "2026-01-21T10:30"
                      },
                      "location": {
                        "type": "object",
                        "title": "LocationRequest",
                        "description": "Represents a physical location for vehicle pick-up or drop-off.",
                        "oneOf": [
                          {
                            "type": "object",
                            "title": "Airport",
                            "required": [
                              "type",
                              "iata"
                            ],
                            "properties": {
                              "type": {
                                "type": "string",
                                "enum": [
                                  "airport"
                                ],
                                "description": "The type of location."
                              },
                              "iata": {
                                "type": "string",
                                "description": "The IATA airport code (e.g., \"JFK\", \"MIA\").",
                                "pattern": "^[A-Z]{3}$",
                                "example": "MIA"
                              }
                            }
                          },
                          {
                            "type": "object",
                            "title": "BoundingBox",
                            "required": [
                              "type",
                              "north_east",
                              "south_west"
                            ],
                            "properties": {
                              "type": {
                                "type": "string",
                                "enum": [
                                  "bounding_box"
                                ],
                                "description": "The type of location."
                              },
                              "north_east": {
                                "type": "object",
                                "title": "Coordinates",
                                "description": "Geographic coordinates of the location.",
                                "required": [
                                  "latitude",
                                  "longitude"
                                ],
                                "properties": {
                                  "latitude": {
                                    "type": "number",
                                    "format": "double",
                                    "description": "The latitude coordinate of the location.",
                                    "example": 34.052235
                                  },
                                  "longitude": {
                                    "type": "number",
                                    "format": "double",
                                    "description": "The longitude coordinate of the location.",
                                    "example": -118.243683
                                  }
                                }
                              },
                              "south_west": {
                                "type": "object",
                                "title": "Coordinates",
                                "description": "Geographic coordinates of the location.",
                                "required": [
                                  "latitude",
                                  "longitude"
                                ],
                                "properties": {
                                  "latitude": {
                                    "type": "number",
                                    "format": "double",
                                    "description": "The latitude coordinate of the location.",
                                    "example": 34.052235
                                  },
                                  "longitude": {
                                    "type": "number",
                                    "format": "double",
                                    "description": "The longitude coordinate of the location.",
                                    "example": -118.243683
                                  }
                                }
                              }
                            }
                          }
                        ],
                        "discriminator": {
                          "propertyName": "type",
                          "mapping": {
                            "airport": "../../openapi.yaml#/components/schemas/airport",
                            "bounding_box": "../../openapi.yaml#/components/schemas/bounding_box"
                          }
                        }
                      }
                    }
                  },
                  "dropoff": {
                    "type": "object",
                    "title": "Dropoff",
                    "description": "Details for the vehicle drop-off.",
                    "required": [
                      "local_date_time",
                      "location"
                    ],
                    "properties": {
                      "local_date_time": {
                        "title": "LocalDateTime",
                        "type": "string",
                        "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}.*$",
                        "description": "The local date and time in ISO 8601 format.\nNote: Any information after the minutes (e.g., seconds, time zone) will be discarded.\n",
                        "example": "2026-01-21T10:30"
                      },
                      "location": {
                        "type": "object",
                        "title": "LocationRequest",
                        "description": "Represents a physical location for vehicle pick-up or drop-off.",
                        "oneOf": [
                          {
                            "type": "object",
                            "title": "Airport",
                            "required": [
                              "type",
                              "iata"
                            ],
                            "properties": {
                              "type": {
                                "type": "string",
                                "enum": [
                                  "airport"
                                ],
                                "description": "The type of location."
                              },
                              "iata": {
                                "type": "string",
                                "description": "The IATA airport code (e.g., \"JFK\", \"MIA\").",
                                "pattern": "^[A-Z]{3}$",
                                "example": "MIA"
                              }
                            }
                          },
                          {
                            "type": "object",
                            "title": "BoundingBox",
                            "required": [
                              "type",
                              "north_east",
                              "south_west"
                            ],
                            "properties": {
                              "type": {
                                "type": "string",
                                "enum": [
                                  "bounding_box"
                                ],
                                "description": "The type of location."
                              },
                              "north_east": {
                                "type": "object",
                                "title": "Coordinates",
                                "description": "Geographic coordinates of the location.",
                                "required": [
                                  "latitude",
                                  "longitude"
                                ],
                                "properties": {
                                  "latitude": {
                                    "type": "number",
                                    "format": "double",
                                    "description": "The latitude coordinate of the location.",
                                    "example": 34.052235
                                  },
                                  "longitude": {
                                    "type": "number",
                                    "format": "double",
                                    "description": "The longitude coordinate of the location.",
                                    "example": -118.243683
                                  }
                                }
                              },
                              "south_west": {
                                "type": "object",
                                "title": "Coordinates",
                                "description": "Geographic coordinates of the location.",
                                "required": [
                                  "latitude",
                                  "longitude"
                                ],
                                "properties": {
                                  "latitude": {
                                    "type": "number",
                                    "format": "double",
                                    "description": "The latitude coordinate of the location.",
                                    "example": 34.052235
                                  },
                                  "longitude": {
                                    "type": "number",
                                    "format": "double",
                                    "description": "The longitude coordinate of the location.",
                                    "example": -118.243683
                                  }
                                }
                              }
                            }
                          }
                        ],
                        "discriminator": {
                          "propertyName": "type",
                          "mapping": {
                            "airport": "../../openapi.yaml#/components/schemas/airport",
                            "bounding_box": "../../openapi.yaml#/components/schemas/bounding_box"
                          }
                        }
                      }
                    }
                  },
                  "user_preferences": {
                    "type": "object",
                    "title": "UserPreferences",
                    "description": "User-specific preferences for the response.",
                    "required": [
                      "currency",
                      "language"
                    ],
                    "properties": {
                      "currency": {
                        "description": "Currency code, in ISO 4217 format.",
                        "type": "string",
                        "pattern": "^[A-Z]{3}$",
                        "example": "USD"
                      },
                      "language": {
                        "type": "string",
                        "description": "The preferred language for the response (e.g., \"en-US\", \"es-ES\").",
                        "pattern": "^[a-z]{2}(-[A-Z]{2})?$",
                        "example": "en-US"
                      }
                    }
                  },
                  "point_of_sale": {
                    "type": "object",
                    "title": "PointOfSale",
                    "description": "Description of the point of sale where the booking is made. This is typically the user's location.",
                    "required": [
                      "country"
                    ],
                    "properties": {
                      "country": {
                        "type": "string",
                        "description": "Country code (ISO 3166-1 alpha-2)",
                        "pattern": "^[A-Z]{2}$",
                        "example": "US"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "List of available vehicle offers.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "ShopResponse",
                  "description": "Response body containing a list of available vehicle offers.",
                  "required": [
                    "offers",
                    "response_id"
                  ],
                  "properties": {
                    "offers": {
                      "type": "array",
                      "description": "A list of available vehicle rental offers.",
                      "items": {
                        "type": "object",
                        "title": "ShopOffer",
                        "description": "A single vehicle rental offer.\nUse the `quote_token` to request a detailed quote for this offer.\nThe `commission` field might be empty at shop time but will always be populated in the quote response.\n",
                        "allOf": [
                          {
                            "type": "object",
                            "title": "Offer",
                            "description": "Represents the vehicle rental offer.",
                            "required": [
                              "rental_company",
                              "pickup",
                              "dropoff",
                              "vehicle",
                              "pricing",
                              "cancellation_policy",
                              "mileage_policy",
                              "age_policy"
                            ],
                            "properties": {
                              "rental_company": {
                                "type": "object",
                                "title": "RentalCompany",
                                "description": "Represents the car rental company or partner providing the vehicle offer.",
                                "required": [
                                  "id",
                                  "name",
                                  "logo_url"
                                ],
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "description": "A unique identifier for the vendor (e.g., internal code, Expedia ID).",
                                    "example": "AVS"
                                  },
                                  "name": {
                                    "type": "string",
                                    "description": "The human-readable name of the vendor (e.g., \"Avis\", \"Amadeus\").",
                                    "example": "Avis Rent a Car"
                                  },
                                  "logo_url": {
                                    "type": "string",
                                    "format": "uri",
                                    "description": "A URL to the rental company's official logo.",
                                    "example": "https://example.com/logos/avis.png"
                                  },
                                  "support_url": {
                                    "type": "string",
                                    "format": "uri",
                                    "description": "A URL to the rental company's customer support or help page.",
                                    "example": "https://www.avis.com/en/help"
                                  }
                                }
                              },
                              "pickup": {
                                "type": "object",
                                "title": "PickupResponse",
                                "description": "Details for the vehicle pickup.",
                                "required": [
                                  "local_date_time",
                                  "location"
                                ],
                                "properties": {
                                  "local_date_time": {
                                    "title": "LocalDateTime",
                                    "type": "string",
                                    "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}.*$",
                                    "description": "The local date and time in ISO 8601 format.\nNote: Any information after the minutes (e.g., seconds, time zone) will be discarded.\n",
                                    "example": "2026-01-21T10:30"
                                  },
                                  "location": {
                                    "type": "object",
                                    "title": "Location",
                                    "description": "Represents a physical location for vehicle pickup or drop-off.",
                                    "required": [
                                      "location_id",
                                      "name",
                                      "address",
                                      "kind"
                                    ],
                                    "properties": {
                                      "location_id": {
                                        "type": "string",
                                        "description": "Reference ID for the location given for the vendor (e.g., \"AVS_JFK01\").",
                                        "example": "AVS_JFK01"
                                      },
                                      "name": {
                                        "type": "string",
                                        "description": "The human-readable name of the location (e.g., \"MIA Airport\").",
                                        "example": "John F. Kennedy International Airport"
                                      },
                                      "address": {
                                        "type": "object",
                                        "title": "Address",
                                        "required": [
                                          "first_line",
                                          "country",
                                          "city"
                                        ],
                                        "properties": {
                                          "first_line": {
                                            "type": "string",
                                            "description": "The first line of the street address.",
                                            "example": "JFK Airport Terminal 4"
                                          },
                                          "second_line": {
                                            "type": "string",
                                            "description": "The second line of the street address, if applicable."
                                          },
                                          "country": {
                                            "type": "string",
                                            "description": "Country code (ISO 3166-1 alpha-2)",
                                            "pattern": "^[A-Z]{2}$",
                                            "example": "US"
                                          },
                                          "city": {
                                            "type": "string",
                                            "description": "The city of the location.",
                                            "example": "New York"
                                          },
                                          "state_province": {
                                            "type": "string",
                                            "pattern": "^[A-Z0-9]{1,3}$",
                                            "description": "The code for the state or province ISO 3166-2 (e.g., \"CA\", \"FL\").",
                                            "example": "CA"
                                          }
                                        }
                                      },
                                      "coordinates": {
                                        "type": "object",
                                        "title": "Coordinates",
                                        "description": "Geographic coordinates of the location.",
                                        "required": [
                                          "latitude",
                                          "longitude"
                                        ],
                                        "properties": {
                                          "latitude": {
                                            "type": "number",
                                            "format": "double",
                                            "description": "The latitude coordinate of the location.",
                                            "example": 34.052235
                                          },
                                          "longitude": {
                                            "type": "number",
                                            "format": "double",
                                            "description": "The longitude coordinate of the location.",
                                            "example": -118.243683
                                          }
                                        }
                                      },
                                      "instructions": {
                                        "type": "string",
                                        "description": "Specific instructions for pickup/drop-off."
                                      },
                                      "kind": {
                                        "type": "string",
                                        "enum": [
                                          "Unspecified",
                                          "Airport",
                                          "Shuttle",
                                          "MeetAndGreet"
                                        ],
                                        "description": "The kind of pickup/drop-off (e.g., \"Shuttle\", \"Airport\", \"Meet and Greet\")."
                                      },
                                      "iata": {
                                        "type": "string",
                                        "description": "The IATA airport code if the location is an airport (e.g., \"JFK\", \"MIA\").",
                                        "pattern": "^[A-Z]{3}$",
                                        "example": "JFK"
                                      }
                                    }
                                  }
                                }
                              },
                              "dropoff": {
                                "type": "object",
                                "title": "DropoffResponse",
                                "description": "Details for the vehicle drop-off.",
                                "required": [
                                  "local_date_time",
                                  "location"
                                ],
                                "properties": {
                                  "local_date_time": {
                                    "title": "LocalDateTime",
                                    "type": "string",
                                    "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}.*$",
                                    "description": "The local date and time in ISO 8601 format.\nNote: Any information after the minutes (e.g., seconds, time zone) will be discarded.\n",
                                    "example": "2026-01-21T10:30"
                                  },
                                  "location": {
                                    "type": "object",
                                    "title": "Location",
                                    "description": "Represents a physical location for vehicle pickup or drop-off.",
                                    "required": [
                                      "location_id",
                                      "name",
                                      "address",
                                      "kind"
                                    ],
                                    "properties": {
                                      "location_id": {
                                        "type": "string",
                                        "description": "Reference ID for the location given for the vendor (e.g., \"AVS_JFK01\").",
                                        "example": "AVS_JFK01"
                                      },
                                      "name": {
                                        "type": "string",
                                        "description": "The human-readable name of the location (e.g., \"MIA Airport\").",
                                        "example": "John F. Kennedy International Airport"
                                      },
                                      "address": {
                                        "type": "object",
                                        "title": "Address",
                                        "required": [
                                          "first_line",
                                          "country",
                                          "city"
                                        ],
                                        "properties": {
                                          "first_line": {
                                            "type": "string",
                                            "description": "The first line of the street address.",
                                            "example": "JFK Airport Terminal 4"
                                          },
                                          "second_line": {
                                            "type": "string",
                                            "description": "The second line of the street address, if applicable."
                                          },
                                          "country": {
                                            "type": "string",
                                            "description": "Country code (ISO 3166-1 alpha-2)",
                                            "pattern": "^[A-Z]{2}$",
                                            "example": "US"
                                          },
                                          "city": {
                                            "type": "string",
                                            "description": "The city of the location.",
                                            "example": "New York"
                                          },
                                          "state_province": {
                                            "type": "string",
                                            "pattern": "^[A-Z0-9]{1,3}$",
                                            "description": "The code for the state or province ISO 3166-2 (e.g., \"CA\", \"FL\").",
                                            "example": "CA"
                                          }
                                        }
                                      },
                                      "coordinates": {
                                        "type": "object",
                                        "title": "Coordinates",
                                        "description": "Geographic coordinates of the location.",
                                        "required": [
                                          "latitude",
                                          "longitude"
                                        ],
                                        "properties": {
                                          "latitude": {
                                            "type": "number",
                                            "format": "double",
                                            "description": "The latitude coordinate of the location.",
                                            "example": 34.052235
                                          },
                                          "longitude": {
                                            "type": "number",
                                            "format": "double",
                                            "description": "The longitude coordinate of the location.",
                                            "example": -118.243683
                                          }
                                        }
                                      },
                                      "instructions": {
                                        "type": "string",
                                        "description": "Specific instructions for pickup/drop-off."
                                      },
                                      "kind": {
                                        "type": "string",
                                        "enum": [
                                          "Unspecified",
                                          "Airport",
                                          "Shuttle",
                                          "MeetAndGreet"
                                        ],
                                        "description": "The kind of pickup/drop-off (e.g., \"Shuttle\", \"Airport\", \"Meet and Greet\")."
                                      },
                                      "iata": {
                                        "type": "string",
                                        "description": "The IATA airport code if the location is an airport (e.g., \"JFK\", \"MIA\").",
                                        "pattern": "^[A-Z]{3}$",
                                        "example": "JFK"
                                      }
                                    }
                                  }
                                }
                              },
                              "vehicle": {
                                "type": "object",
                                "title": "Vehicle",
                                "description": "The primary data structure that contains all the essential information about a car.",
                                "required": [
                                  "description",
                                  "acriss_code",
                                  "luggage",
                                  "transmission",
                                  "air_conditioning"
                                ],
                                "properties": {
                                  "description": {
                                    "type": "string",
                                    "description": "A human-readable description of the vehicle, often including make and model."
                                  },
                                  "acriss_code": {
                                    "type": "string",
                                    "description": "The standardized ACRISS or SIPP code for the vehicle. See https://www.acraorg.com/acriss-sip-codes/ for more details.",
                                    "pattern": "^[A-Z0-9]{4}$",
                                    "example": "CCAR"
                                  },
                                  "max_passengers": {
                                    "type": "integer",
                                    "minimum": 1,
                                    "description": "The maximum number of passengers the vehicle can accommodate."
                                  },
                                  "doors": {
                                    "type": "integer",
                                    "minimum": 1,
                                    "description": "The number of doors on the vehicle."
                                  },
                                  "luggage": {
                                    "type": "object",
                                    "title": "Luggage",
                                    "required": [
                                      "total"
                                    ],
                                    "properties": {
                                      "small": {
                                        "type": "integer",
                                        "description": "The number of small bags the vehicle can hold."
                                      },
                                      "medium": {
                                        "type": "integer",
                                        "description": "The number of medium bags the vehicle can hold."
                                      },
                                      "large": {
                                        "type": "integer",
                                        "description": "The number of large bags the vehicle can hold."
                                      },
                                      "total": {
                                        "type": "integer",
                                        "description": "The total number of bags the vehicle can hold, if a specific breakdown is not available or as a sum of small/large."
                                      }
                                    }
                                  },
                                  "transmission": {
                                    "type": "string",
                                    "description": "The transmission type of the vehicle.",
                                    "enum": [
                                      "Automatic",
                                      "Manual",
                                      "Cvt",
                                      "Unspecified"
                                    ]
                                  },
                                  "air_conditioning": {
                                    "type": "boolean",
                                    "description": "Indicates whether the vehicle has air conditioning."
                                  },
                                  "images": {
                                    "type": "object",
                                    "title": "VehicleImages",
                                    "required": [
                                      "default",
                                      "links"
                                    ],
                                    "properties": {
                                      "default": {
                                        "type": "string",
                                        "format": "uri",
                                        "description": "The URL for the primary display image of the vehicle."
                                      },
                                      "links": {
                                        "type": "array",
                                        "description": "A list of additional image URLs for the vehicle.",
                                        "items": {
                                          "type": "string",
                                          "format": "uri"
                                        }
                                      }
                                    }
                                  }
                                }
                              },
                              "pricing": {
                                "type": "object",
                                "title": "Pricing",
                                "description": "The car rental pricing details.\nThe base + fee_summary.total = total price.\nThe pay_now + pay_later = total price.\nThe fees are not itemized by payments schedule (pay now vs pay later).\n",
                                "required": [
                                  "base",
                                  "fee_summary",
                                  "pay_now",
                                  "pay_later"
                                ],
                                "properties": {
                                  "base": {
                                    "type": "object",
                                    "title": "PriceBase",
                                    "description": "The base rate for the rental, excluding fees and taxes across the payment schedule (both pay now and pay later).",
                                    "required": [
                                      "currency",
                                      "amount"
                                    ],
                                    "properties": {
                                      "currency": {
                                        "description": "Currency code, in ISO 4217 format.",
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$",
                                        "example": "USD"
                                      },
                                      "amount": {
                                        "type": "string",
                                        "description": "Monetary amount value Serialized BigDecimal value",
                                        "example": "123.45"
                                      }
                                    }
                                  },
                                  "fee_summary": {
                                    "type": "object",
                                    "title": "FeeSummary",
                                    "description": "An itemized list of fees and taxes that make up the total price. These fees are included in both the 'pay now' and 'pay later' amounts.",
                                    "required": [
                                      "fees",
                                      "total"
                                    ],
                                    "properties": {
                                      "fees": {
                                        "type": "array",
                                        "items": {
                                          "type": "object",
                                          "title": "FeeSummaryItem",
                                          "description": "A fee or tax that is part of the total price.",
                                          "required": [
                                            "description",
                                            "line_item"
                                          ],
                                          "properties": {
                                            "description": {
                                              "type": "string",
                                              "description": "A description of the fee or tax."
                                            },
                                            "line_item": {
                                              "type": "object",
                                              "title": "LineItem",
                                              "description": "The amount and currency for a chargeable item.",
                                              "required": [
                                                "currency",
                                                "amount"
                                              ],
                                              "properties": {
                                                "currency": {
                                                  "description": "Currency code, in ISO 4217 format.",
                                                  "type": "string",
                                                  "pattern": "^[A-Z]{3}$",
                                                  "example": "USD"
                                                },
                                                "amount": {
                                                  "type": "string",
                                                  "description": "Monetary amount value Serialized BigDecimal value",
                                                  "example": "123.45"
                                                }
                                              }
                                            }
                                          }
                                        }
                                      },
                                      "total": {
                                        "type": "object",
                                        "title": "FeeSummaryTotal",
                                        "description": "The total amount for all fees and taxes.",
                                        "required": [
                                          "currency",
                                          "amount"
                                        ],
                                        "properties": {
                                          "currency": {
                                            "description": "Currency code, in ISO 4217 format.",
                                            "type": "string",
                                            "pattern": "^[A-Z]{3}$",
                                            "example": "USD"
                                          },
                                          "amount": {
                                            "type": "string",
                                            "description": "Monetary amount value Serialized BigDecimal value",
                                            "example": "123.45"
                                          }
                                        }
                                      }
                                    }
                                  },
                                  "pay_now": {
                                    "type": "object",
                                    "title": "PayNow",
                                    "description": "The total amount to be paid at the time of booking.",
                                    "required": [
                                      "currency",
                                      "amount"
                                    ],
                                    "properties": {
                                      "currency": {
                                        "description": "Currency code, in ISO 4217 format.",
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$",
                                        "example": "USD"
                                      },
                                      "amount": {
                                        "type": "string",
                                        "description": "Monetary amount value Serialized BigDecimal value",
                                        "example": "123.45"
                                      }
                                    }
                                  },
                                  "pay_later": {
                                    "type": "object",
                                    "title": "PayLater",
                                    "description": "The total amount to be paid at a later time (usually at the desk).",
                                    "required": [
                                      "currency",
                                      "amount"
                                    ],
                                    "properties": {
                                      "currency": {
                                        "description": "Currency code, in ISO 4217 format.",
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$",
                                        "example": "USD"
                                      },
                                      "amount": {
                                        "type": "string",
                                        "description": "Monetary amount value Serialized BigDecimal value",
                                        "example": "123.45"
                                      }
                                    }
                                  }
                                }
                              },
                              "cancellation_policy": {
                                "type": "object",
                                "description": "Defines the terms and conditions for canceling a vehicle rental.",
                                "required": [
                                  "penalty_ranges"
                                ],
                                "properties": {
                                  "penalty_ranges": {
                                    "type": "array",
                                    "minItems": 1,
                                    "items": {
                                      "type": "object",
                                      "title": "PenaltyRange",
                                      "required": [
                                        "start_time",
                                        "end_time",
                                        "penalty"
                                      ],
                                      "properties": {
                                        "start_time": {
                                          "description": "Start time of the penalty range (Inclusive), in ISO 8601 format.",
                                          "type": "string",
                                          "format": "date-time"
                                        },
                                        "end_time": {
                                          "description": "End time of the penalty range (Exclusive), in ISO 8601 format.",
                                          "type": "string",
                                          "format": "date-time"
                                        },
                                        "penalty": {
                                          "type": "object",
                                          "title": "Penalty",
                                          "description": "Penalty amount withheld form the client upon cancellation.",
                                          "required": [
                                            "amount",
                                            "currency"
                                          ],
                                          "properties": {
                                            "currency": {
                                              "description": "Currency code, in ISO 4217 format.",
                                              "type": "string",
                                              "pattern": "^[A-Z]{3}$",
                                              "example": "USD"
                                            },
                                            "amount": {
                                              "type": "string",
                                              "description": "Monetary amount value Serialized BigDecimal value",
                                              "example": "123.45"
                                            }
                                          }
                                        }
                                      }
                                    }
                                  }
                                },
                                "example": {
                                  "penalty_ranges": [
                                    {
                                      "start_time": "2025-01-21T00:00:00Z",
                                      "end_time": "2025-01-26T00:00:00Z",
                                      "penalty": {
                                        "currency": "USD",
                                        "amount": "0.00"
                                      }
                                    },
                                    {
                                      "start_time": "2025-01-26T00:00:00Z",
                                      "end_time": "2025-01-27T00:00:00Z",
                                      "penalty": {
                                        "currency": "USD",
                                        "amount": "75.00"
                                      }
                                    },
                                    {
                                      "start_time": "2025-01-27T00:00:00Z",
                                      "end_time": "2025-01-28T00:00:00Z",
                                      "penalty": {
                                        "currency": "USD",
                                        "amount": "135.00"
                                      }
                                    }
                                  ]
                                }
                              },
                              "mileage_policy": {
                                "title": "MileagePolicy",
                                "description": "Defines the vehicle's mileage allowance and any associated overage charges.",
                                "oneOf": [
                                  {
                                    "type": "object",
                                    "title": "UnlimitedMileagePolicy",
                                    "required": [
                                      "type"
                                    ],
                                    "properties": {
                                      "type": {
                                        "type": "string",
                                        "enum": [
                                          "unlimited"
                                        ],
                                        "description": "The type of mileage policy."
                                      }
                                    }
                                  },
                                  {
                                    "type": "object",
                                    "title": "LimitedMileagePolicy",
                                    "required": [
                                      "type",
                                      "quantity",
                                      "unit"
                                    ],
                                    "properties": {
                                      "type": {
                                        "type": "string",
                                        "enum": [
                                          "limited"
                                        ],
                                        "description": "The type of mileage policy."
                                      },
                                      "quantity": {
                                        "type": "integer",
                                        "description": "The numerical value of the included mileage."
                                      },
                                      "unit": {
                                        "type": "string",
                                        "enum": [
                                          "mi",
                                          "km"
                                        ],
                                        "description": "The unit of distance for the included mileage."
                                      }
                                    }
                                  },
                                  {
                                    "type": "object",
                                    "title": "LimitedUnspecifiedMileagePolicy",
                                    "required": [
                                      "type"
                                    ],
                                    "properties": {
                                      "type": {
                                        "type": "string",
                                        "enum": [
                                          "limited_unspecified"
                                        ],
                                        "description": "The type of mileage policy when mileage is limited but specifics are not provided."
                                      }
                                    }
                                  }
                                ],
                                "discriminator": {
                                  "propertyName": "type",
                                  "mapping": {
                                    "unlimited": "#/UnlimitedMileagePolicy",
                                    "limited": "#/LimitedMileagePolicy",
                                    "limited_unspecified": "#/LimitedUnspecifiedMileagePolicy"
                                  }
                                }
                              },
                              "age_policy": {
                                "type": "object",
                                "title": "AgePolicy",
                                "description": "The age requirements associated with the rental.",
                                "properties": {
                                  "minimum_age": {
                                    "type": "integer",
                                    "description": "The minimum age required to rent the vehicle.",
                                    "example": 21
                                  }
                                }
                              }
                            }
                          },
                          {
                            "type": "object",
                            "required": [
                              "quote_token",
                              "valid_until"
                            ],
                            "properties": {
                              "commission": {
                                "type": "object",
                                "title": "Commission",
                                "description": "Commission Hopper will pay out at the time of invoicing for a given rental.",
                                "required": [
                                  "amount",
                                  "currency"
                                ],
                                "properties": {
                                  "amount": {
                                    "type": "string",
                                    "description": "Monetary amount value Serialized BigDecimal value",
                                    "example": "123.45"
                                  },
                                  "currency": {
                                    "description": "Currency code, in ISO 4217 format.",
                                    "type": "string",
                                    "pattern": "^[A-Z]{3}$",
                                    "example": "USD"
                                  }
                                }
                              },
                              "quote_token": {
                                "type": "string",
                                "description": "Opaque token used to initiate a quote request for this offer.",
                                "example": "quote_12345"
                              },
                              "valid_until": {
                                "type": "string",
                                "format": "date-time",
                                "description": "ISO 8601 timestamp until which the quote token remains valid.",
                                "example": "2024-12-31T23:59:59Z"
                              }
                            }
                          }
                        ]
                      }
                    },
                    "response_id": {
                      "title": "ResponseId",
                      "description": "Unique identifier of the specific response.\nUse this identifier when you need to refer to a specific response, when requiring technical support.\n",
                      "type": "string",
                      "format": "uuid",
                      "example": "123e4567-e89b-12d3-a456-426614174000"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid Request. There will be an error code in the response detailing the issue.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "ShopFailure",
                  "description": "A standardized schema for API failure responses.",
                  "required": [
                    "error_code",
                    "description",
                    "response_id"
                  ],
                  "properties": {
                    "error_code": {
                      "description": "A specific code identifying the type of error.",
                      "enum": [
                        "invalid_input",
                        "forbidden"
                      ],
                      "type": "string"
                    },
                    "description": {
                      "type": "string",
                      "description": "A human-readable message providing more details about the error."
                    },
                    "response_id": {
                      "title": "ResponseId",
                      "description": "Unique identifier of the specific response.\nUse this identifier when you need to refer to a specific response, when requiring technical support.\n",
                      "type": "string",
                      "format": "uuid",
                      "example": "123e4567-e89b-12d3-a456-426614174000"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "InternalServerError",
                  "required": [
                    "description",
                    "error_code",
                    "response_id"
                  ],
                  "properties": {
                    "error_code": {
                      "description": "Error returned when an internal server error occurs.",
                      "enum": [
                        "internal_server_error"
                      ],
                      "type": "string",
                      "example": "internal_server_error"
                    },
                    "description": {
                      "type": "string",
                      "description": "A human-readable description of the error.",
                      "example": "An unexpected error occurred."
                    },
                    "response_id": {
                      "title": "ResponseId",
                      "description": "Unique identifier of the specific response.\nUse this identifier when you need to refer to a specific response, when requiring technical support.\n",
                      "type": "string",
                      "format": "uuid",
                      "example": "123e4567-e89b-12d3-a456-426614174000"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/cars/v1/quote": {
      "put": {
        "operationId": "quote",
        "summary": "Quote an offer.",
        "description": "Provide a detailed, final quote for a specific car rental offer. \nIt includes comprehensive information such as confirmed pricing, payment schedules, full cancellation and mileage policies, and important disclosures.\nThis endpoint is designed to give users all the necessary details to review and finalize their rental selection.\n",
        "tags": [
          "shopping"
        ],
        "requestBody": {
          "description": "Request body for retrieving a detailed quote for a specific offer.",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "title": "QuoteRequest",
                "description": "Request body for retrieving a detailed quote for a specific offer.",
                "required": [
                  "request_id",
                  "driver_age",
                  "quote_token"
                ],
                "properties": {
                  "request_id": {
                    "title": "RequestId",
                    "description": "Unique identifier of the specific request.\nUse this identifier when you need to refer to a specific request, when requiring technical support.\n",
                    "type": "string",
                    "format": "uuid",
                    "example": "123e4567-e89b-12d3-a456-426614174000"
                  },
                  "driver_age": {
                    "type": "integer",
                    "description": "The driver's age. This age should match the book driver's age at the time of pick-up.",
                    "minimum": 18,
                    "example": 30
                  },
                  "quote_token": {
                    "type": "string",
                    "description": "Opaque token generated at shop time to initiate a quote request.",
                    "example": "quote_12345"
                  },
                  "ancillary_selections": {
                    "type": "array",
                    "description": "Optional list of ancillaries to include in the rental with quantities.",
                    "items": {
                      "type": "object",
                      "title": "AncillarySelection",
                      "description": "A selected ancillary with quantity for a quote request.",
                      "required": [
                        "id",
                        "quantity"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "description": "The ancillary ID from the rental offer response.",
                          "example": "GPS_001"
                        },
                        "quantity": {
                          "type": "integer",
                          "minimum": 1,
                          "description": "Number of this ancillary to include.",
                          "example": 2
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Quote a specific car rental offer, including final pricing, policies, and available extras.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "QuoteResponse",
                  "description": "Detailed response for a specific car rental offer, including final pricing, policies, and available extras.",
                  "allOf": [
                    {
                      "type": "object",
                      "title": "Offer",
                      "description": "Represents the vehicle rental offer.",
                      "required": [
                        "rental_company",
                        "pickup",
                        "dropoff",
                        "vehicle",
                        "pricing",
                        "cancellation_policy",
                        "mileage_policy",
                        "age_policy"
                      ],
                      "properties": {
                        "rental_company": {
                          "type": "object",
                          "title": "RentalCompany",
                          "description": "Represents the car rental company or partner providing the vehicle offer.",
                          "required": [
                            "id",
                            "name",
                            "logo_url"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "description": "A unique identifier for the vendor (e.g., internal code, Expedia ID).",
                              "example": "AVS"
                            },
                            "name": {
                              "type": "string",
                              "description": "The human-readable name of the vendor (e.g., \"Avis\", \"Amadeus\").",
                              "example": "Avis Rent a Car"
                            },
                            "logo_url": {
                              "type": "string",
                              "format": "uri",
                              "description": "A URL to the rental company's official logo.",
                              "example": "https://example.com/logos/avis.png"
                            },
                            "support_url": {
                              "type": "string",
                              "format": "uri",
                              "description": "A URL to the rental company's customer support or help page.",
                              "example": "https://www.avis.com/en/help"
                            }
                          }
                        },
                        "pickup": {
                          "type": "object",
                          "title": "PickupResponse",
                          "description": "Details for the vehicle pickup.",
                          "required": [
                            "local_date_time",
                            "location"
                          ],
                          "properties": {
                            "local_date_time": {
                              "title": "LocalDateTime",
                              "type": "string",
                              "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}.*$",
                              "description": "The local date and time in ISO 8601 format.\nNote: Any information after the minutes (e.g., seconds, time zone) will be discarded.\n",
                              "example": "2026-01-21T10:30"
                            },
                            "location": {
                              "type": "object",
                              "title": "Location",
                              "description": "Represents a physical location for vehicle pickup or drop-off.",
                              "required": [
                                "location_id",
                                "name",
                                "address",
                                "kind"
                              ],
                              "properties": {
                                "location_id": {
                                  "type": "string",
                                  "description": "Reference ID for the location given for the vendor (e.g., \"AVS_JFK01\").",
                                  "example": "AVS_JFK01"
                                },
                                "name": {
                                  "type": "string",
                                  "description": "The human-readable name of the location (e.g., \"MIA Airport\").",
                                  "example": "John F. Kennedy International Airport"
                                },
                                "address": {
                                  "type": "object",
                                  "title": "Address",
                                  "required": [
                                    "first_line",
                                    "country",
                                    "city"
                                  ],
                                  "properties": {
                                    "first_line": {
                                      "type": "string",
                                      "description": "The first line of the street address.",
                                      "example": "JFK Airport Terminal 4"
                                    },
                                    "second_line": {
                                      "type": "string",
                                      "description": "The second line of the street address, if applicable."
                                    },
                                    "country": {
                                      "type": "string",
                                      "description": "Country code (ISO 3166-1 alpha-2)",
                                      "pattern": "^[A-Z]{2}$",
                                      "example": "US"
                                    },
                                    "city": {
                                      "type": "string",
                                      "description": "The city of the location.",
                                      "example": "New York"
                                    },
                                    "state_province": {
                                      "type": "string",
                                      "pattern": "^[A-Z0-9]{1,3}$",
                                      "description": "The code for the state or province ISO 3166-2 (e.g., \"CA\", \"FL\").",
                                      "example": "CA"
                                    }
                                  }
                                },
                                "coordinates": {
                                  "type": "object",
                                  "title": "Coordinates",
                                  "description": "Geographic coordinates of the location.",
                                  "required": [
                                    "latitude",
                                    "longitude"
                                  ],
                                  "properties": {
                                    "latitude": {
                                      "type": "number",
                                      "format": "double",
                                      "description": "The latitude coordinate of the location.",
                                      "example": 34.052235
                                    },
                                    "longitude": {
                                      "type": "number",
                                      "format": "double",
                                      "description": "The longitude coordinate of the location.",
                                      "example": -118.243683
                                    }
                                  }
                                },
                                "instructions": {
                                  "type": "string",
                                  "description": "Specific instructions for pickup/drop-off."
                                },
                                "kind": {
                                  "type": "string",
                                  "enum": [
                                    "Unspecified",
                                    "Airport",
                                    "Shuttle",
                                    "MeetAndGreet"
                                  ],
                                  "description": "The kind of pickup/drop-off (e.g., \"Shuttle\", \"Airport\", \"Meet and Greet\")."
                                },
                                "iata": {
                                  "type": "string",
                                  "description": "The IATA airport code if the location is an airport (e.g., \"JFK\", \"MIA\").",
                                  "pattern": "^[A-Z]{3}$",
                                  "example": "JFK"
                                }
                              }
                            }
                          }
                        },
                        "dropoff": {
                          "type": "object",
                          "title": "DropoffResponse",
                          "description": "Details for the vehicle drop-off.",
                          "required": [
                            "local_date_time",
                            "location"
                          ],
                          "properties": {
                            "local_date_time": {
                              "title": "LocalDateTime",
                              "type": "string",
                              "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}.*$",
                              "description": "The local date and time in ISO 8601 format.\nNote: Any information after the minutes (e.g., seconds, time zone) will be discarded.\n",
                              "example": "2026-01-21T10:30"
                            },
                            "location": {
                              "type": "object",
                              "title": "Location",
                              "description": "Represents a physical location for vehicle pickup or drop-off.",
                              "required": [
                                "location_id",
                                "name",
                                "address",
                                "kind"
                              ],
                              "properties": {
                                "location_id": {
                                  "type": "string",
                                  "description": "Reference ID for the location given for the vendor (e.g., \"AVS_JFK01\").",
                                  "example": "AVS_JFK01"
                                },
                                "name": {
                                  "type": "string",
                                  "description": "The human-readable name of the location (e.g., \"MIA Airport\").",
                                  "example": "John F. Kennedy International Airport"
                                },
                                "address": {
                                  "type": "object",
                                  "title": "Address",
                                  "required": [
                                    "first_line",
                                    "country",
                                    "city"
                                  ],
                                  "properties": {
                                    "first_line": {
                                      "type": "string",
                                      "description": "The first line of the street address.",
                                      "example": "JFK Airport Terminal 4"
                                    },
                                    "second_line": {
                                      "type": "string",
                                      "description": "The second line of the street address, if applicable."
                                    },
                                    "country": {
                                      "type": "string",
                                      "description": "Country code (ISO 3166-1 alpha-2)",
                                      "pattern": "^[A-Z]{2}$",
                                      "example": "US"
                                    },
                                    "city": {
                                      "type": "string",
                                      "description": "The city of the location.",
                                      "example": "New York"
                                    },
                                    "state_province": {
                                      "type": "string",
                                      "pattern": "^[A-Z0-9]{1,3}$",
                                      "description": "The code for the state or province ISO 3166-2 (e.g., \"CA\", \"FL\").",
                                      "example": "CA"
                                    }
                                  }
                                },
                                "coordinates": {
                                  "type": "object",
                                  "title": "Coordinates",
                                  "description": "Geographic coordinates of the location.",
                                  "required": [
                                    "latitude",
                                    "longitude"
                                  ],
                                  "properties": {
                                    "latitude": {
                                      "type": "number",
                                      "format": "double",
                                      "description": "The latitude coordinate of the location.",
                                      "example": 34.052235
                                    },
                                    "longitude": {
                                      "type": "number",
                                      "format": "double",
                                      "description": "The longitude coordinate of the location.",
                                      "example": -118.243683
                                    }
                                  }
                                },
                                "instructions": {
                                  "type": "string",
                                  "description": "Specific instructions for pickup/drop-off."
                                },
                                "kind": {
                                  "type": "string",
                                  "enum": [
                                    "Unspecified",
                                    "Airport",
                                    "Shuttle",
                                    "MeetAndGreet"
                                  ],
                                  "description": "The kind of pickup/drop-off (e.g., \"Shuttle\", \"Airport\", \"Meet and Greet\")."
                                },
                                "iata": {
                                  "type": "string",
                                  "description": "The IATA airport code if the location is an airport (e.g., \"JFK\", \"MIA\").",
                                  "pattern": "^[A-Z]{3}$",
                                  "example": "JFK"
                                }
                              }
                            }
                          }
                        },
                        "vehicle": {
                          "type": "object",
                          "title": "Vehicle",
                          "description": "The primary data structure that contains all the essential information about a car.",
                          "required": [
                            "description",
                            "acriss_code",
                            "luggage",
                            "transmission",
                            "air_conditioning"
                          ],
                          "properties": {
                            "description": {
                              "type": "string",
                              "description": "A human-readable description of the vehicle, often including make and model."
                            },
                            "acriss_code": {
                              "type": "string",
                              "description": "The standardized ACRISS or SIPP code for the vehicle. See https://www.acraorg.com/acriss-sip-codes/ for more details.",
                              "pattern": "^[A-Z0-9]{4}$",
                              "example": "CCAR"
                            },
                            "max_passengers": {
                              "type": "integer",
                              "minimum": 1,
                              "description": "The maximum number of passengers the vehicle can accommodate."
                            },
                            "doors": {
                              "type": "integer",
                              "minimum": 1,
                              "description": "The number of doors on the vehicle."
                            },
                            "luggage": {
                              "type": "object",
                              "title": "Luggage",
                              "required": [
                                "total"
                              ],
                              "properties": {
                                "small": {
                                  "type": "integer",
                                  "description": "The number of small bags the vehicle can hold."
                                },
                                "medium": {
                                  "type": "integer",
                                  "description": "The number of medium bags the vehicle can hold."
                                },
                                "large": {
                                  "type": "integer",
                                  "description": "The number of large bags the vehicle can hold."
                                },
                                "total": {
                                  "type": "integer",
                                  "description": "The total number of bags the vehicle can hold, if a specific breakdown is not available or as a sum of small/large."
                                }
                              }
                            },
                            "transmission": {
                              "type": "string",
                              "description": "The transmission type of the vehicle.",
                              "enum": [
                                "Automatic",
                                "Manual",
                                "Cvt",
                                "Unspecified"
                              ]
                            },
                            "air_conditioning": {
                              "type": "boolean",
                              "description": "Indicates whether the vehicle has air conditioning."
                            },
                            "images": {
                              "type": "object",
                              "title": "VehicleImages",
                              "required": [
                                "default",
                                "links"
                              ],
                              "properties": {
                                "default": {
                                  "type": "string",
                                  "format": "uri",
                                  "description": "The URL for the primary display image of the vehicle."
                                },
                                "links": {
                                  "type": "array",
                                  "description": "A list of additional image URLs for the vehicle.",
                                  "items": {
                                    "type": "string",
                                    "format": "uri"
                                  }
                                }
                              }
                            }
                          }
                        },
                        "pricing": {
                          "type": "object",
                          "title": "Pricing",
                          "description": "The car rental pricing details.\nThe base + fee_summary.total = total price.\nThe pay_now + pay_later = total price.\nThe fees are not itemized by payments schedule (pay now vs pay later).\n",
                          "required": [
                            "base",
                            "fee_summary",
                            "pay_now",
                            "pay_later"
                          ],
                          "properties": {
                            "base": {
                              "type": "object",
                              "title": "PriceBase",
                              "description": "The base rate for the rental, excluding fees and taxes across the payment schedule (both pay now and pay later).",
                              "required": [
                                "currency",
                                "amount"
                              ],
                              "properties": {
                                "currency": {
                                  "description": "Currency code, in ISO 4217 format.",
                                  "type": "string",
                                  "pattern": "^[A-Z]{3}$",
                                  "example": "USD"
                                },
                                "amount": {
                                  "type": "string",
                                  "description": "Monetary amount value Serialized BigDecimal value",
                                  "example": "123.45"
                                }
                              }
                            },
                            "fee_summary": {
                              "type": "object",
                              "title": "FeeSummary",
                              "description": "An itemized list of fees and taxes that make up the total price. These fees are included in both the 'pay now' and 'pay later' amounts.",
                              "required": [
                                "fees",
                                "total"
                              ],
                              "properties": {
                                "fees": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "title": "FeeSummaryItem",
                                    "description": "A fee or tax that is part of the total price.",
                                    "required": [
                                      "description",
                                      "line_item"
                                    ],
                                    "properties": {
                                      "description": {
                                        "type": "string",
                                        "description": "A description of the fee or tax."
                                      },
                                      "line_item": {
                                        "type": "object",
                                        "title": "LineItem",
                                        "description": "The amount and currency for a chargeable item.",
                                        "required": [
                                          "currency",
                                          "amount"
                                        ],
                                        "properties": {
                                          "currency": {
                                            "description": "Currency code, in ISO 4217 format.",
                                            "type": "string",
                                            "pattern": "^[A-Z]{3}$",
                                            "example": "USD"
                                          },
                                          "amount": {
                                            "type": "string",
                                            "description": "Monetary amount value Serialized BigDecimal value",
                                            "example": "123.45"
                                          }
                                        }
                                      }
                                    }
                                  }
                                },
                                "total": {
                                  "type": "object",
                                  "title": "FeeSummaryTotal",
                                  "description": "The total amount for all fees and taxes.",
                                  "required": [
                                    "currency",
                                    "amount"
                                  ],
                                  "properties": {
                                    "currency": {
                                      "description": "Currency code, in ISO 4217 format.",
                                      "type": "string",
                                      "pattern": "^[A-Z]{3}$",
                                      "example": "USD"
                                    },
                                    "amount": {
                                      "type": "string",
                                      "description": "Monetary amount value Serialized BigDecimal value",
                                      "example": "123.45"
                                    }
                                  }
                                }
                              }
                            },
                            "pay_now": {
                              "type": "object",
                              "title": "PayNow",
                              "description": "The total amount to be paid at the time of booking.",
                              "required": [
                                "currency",
                                "amount"
                              ],
                              "properties": {
                                "currency": {
                                  "description": "Currency code, in ISO 4217 format.",
                                  "type": "string",
                                  "pattern": "^[A-Z]{3}$",
                                  "example": "USD"
                                },
                                "amount": {
                                  "type": "string",
                                  "description": "Monetary amount value Serialized BigDecimal value",
                                  "example": "123.45"
                                }
                              }
                            },
                            "pay_later": {
                              "type": "object",
                              "title": "PayLater",
                              "description": "The total amount to be paid at a later time (usually at the desk).",
                              "required": [
                                "currency",
                                "amount"
                              ],
                              "properties": {
                                "currency": {
                                  "description": "Currency code, in ISO 4217 format.",
                                  "type": "string",
                                  "pattern": "^[A-Z]{3}$",
                                  "example": "USD"
                                },
                                "amount": {
                                  "type": "string",
                                  "description": "Monetary amount value Serialized BigDecimal value",
                                  "example": "123.45"
                                }
                              }
                            }
                          }
                        },
                        "cancellation_policy": {
                          "type": "object",
                          "description": "Defines the terms and conditions for canceling a vehicle rental.",
                          "required": [
                            "penalty_ranges"
                          ],
                          "properties": {
                            "penalty_ranges": {
                              "type": "array",
                              "minItems": 1,
                              "items": {
                                "type": "object",
                                "title": "PenaltyRange",
                                "required": [
                                  "start_time",
                                  "end_time",
                                  "penalty"
                                ],
                                "properties": {
                                  "start_time": {
                                    "description": "Start time of the penalty range (Inclusive), in ISO 8601 format.",
                                    "type": "string",
                                    "format": "date-time"
                                  },
                                  "end_time": {
                                    "description": "End time of the penalty range (Exclusive), in ISO 8601 format.",
                                    "type": "string",
                                    "format": "date-time"
                                  },
                                  "penalty": {
                                    "type": "object",
                                    "title": "Penalty",
                                    "description": "Penalty amount withheld form the client upon cancellation.",
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "properties": {
                                      "currency": {
                                        "description": "Currency code, in ISO 4217 format.",
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$",
                                        "example": "USD"
                                      },
                                      "amount": {
                                        "type": "string",
                                        "description": "Monetary amount value Serialized BigDecimal value",
                                        "example": "123.45"
                                      }
                                    }
                                  }
                                }
                              }
                            }
                          },
                          "example": {
                            "penalty_ranges": [
                              {
                                "start_time": "2025-01-21T00:00:00Z",
                                "end_time": "2025-01-26T00:00:00Z",
                                "penalty": {
                                  "currency": "USD",
                                  "amount": "0.00"
                                }
                              },
                              {
                                "start_time": "2025-01-26T00:00:00Z",
                                "end_time": "2025-01-27T00:00:00Z",
                                "penalty": {
                                  "currency": "USD",
                                  "amount": "75.00"
                                }
                              },
                              {
                                "start_time": "2025-01-27T00:00:00Z",
                                "end_time": "2025-01-28T00:00:00Z",
                                "penalty": {
                                  "currency": "USD",
                                  "amount": "135.00"
                                }
                              }
                            ]
                          }
                        },
                        "mileage_policy": {
                          "title": "MileagePolicy",
                          "description": "Defines the vehicle's mileage allowance and any associated overage charges.",
                          "oneOf": [
                            {
                              "type": "object",
                              "title": "UnlimitedMileagePolicy",
                              "required": [
                                "type"
                              ],
                              "properties": {
                                "type": {
                                  "type": "string",
                                  "enum": [
                                    "unlimited"
                                  ],
                                  "description": "The type of mileage policy."
                                }
                              }
                            },
                            {
                              "type": "object",
                              "title": "LimitedMileagePolicy",
                              "required": [
                                "type",
                                "quantity",
                                "unit"
                              ],
                              "properties": {
                                "type": {
                                  "type": "string",
                                  "enum": [
                                    "limited"
                                  ],
                                  "description": "The type of mileage policy."
                                },
                                "quantity": {
                                  "type": "integer",
                                  "description": "The numerical value of the included mileage."
                                },
                                "unit": {
                                  "type": "string",
                                  "enum": [
                                    "mi",
                                    "km"
                                  ],
                                  "description": "The unit of distance for the included mileage."
                                }
                              }
                            },
                            {
                              "type": "object",
                              "title": "LimitedUnspecifiedMileagePolicy",
                              "required": [
                                "type"
                              ],
                              "properties": {
                                "type": {
                                  "type": "string",
                                  "enum": [
                                    "limited_unspecified"
                                  ],
                                  "description": "The type of mileage policy when mileage is limited but specifics are not provided."
                                }
                              }
                            }
                          ],
                          "discriminator": {
                            "propertyName": "type",
                            "mapping": {
                              "unlimited": "#/UnlimitedMileagePolicy",
                              "limited": "#/LimitedMileagePolicy",
                              "limited_unspecified": "#/LimitedUnspecifiedMileagePolicy"
                            }
                          }
                        },
                        "age_policy": {
                          "type": "object",
                          "title": "AgePolicy",
                          "description": "The age requirements associated with the rental.",
                          "properties": {
                            "minimum_age": {
                              "type": "integer",
                              "description": "The minimum age required to rent the vehicle.",
                              "example": 21
                            }
                          }
                        }
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "commission",
                        "book_token",
                        "valid_until",
                        "disclosures",
                        "response_id"
                      ],
                      "properties": {
                        "commission": {
                          "type": "object",
                          "title": "Commission",
                          "description": "Commission Hopper will pay out at the time of invoicing for a given rental.",
                          "required": [
                            "amount",
                            "currency"
                          ],
                          "properties": {
                            "amount": {
                              "type": "string",
                              "description": "Monetary amount value Serialized BigDecimal value",
                              "example": "123.45"
                            },
                            "currency": {
                              "description": "Currency code, in ISO 4217 format.",
                              "type": "string",
                              "pattern": "^[A-Z]{3}$",
                              "example": "USD"
                            }
                          }
                        },
                        "book_token": {
                          "type": "string",
                          "description": "Opaque token used to initiate a book request for this quote.",
                          "example": "book_12345"
                        },
                        "valid_until": {
                          "type": "string",
                          "format": "date-time",
                          "description": "ISO 8601 timestamp until which the quote remains valid.",
                          "example": "2024-12-31T23:59:59Z"
                        },
                        "disclosures": {
                          "type": "array",
                          "description": "Important notices, booking conditions, or legal disclosures.",
                          "items": {
                            "type": "object",
                            "title": "Disclosure",
                            "description": "An important notice, booking condition, or legal disclosure.",
                            "required": [
                              "kind",
                              "content"
                            ],
                            "properties": {
                              "kind": {
                                "type": "string",
                                "description": "Type of disclosure.",
                                "enum": [
                                  "unspecified",
                                  "booking_conditions",
                                  "customer_support",
                                  "dropoff_instructions",
                                  "emergency_procedures",
                                  "faq",
                                  "finalize_booking",
                                  "how_it_works",
                                  "important_information",
                                  "next_steps",
                                  "payment_and_fees",
                                  "pickup_instructions",
                                  "terms_of_service",
                                  "vehicle_features_and_policies",
                                  "car_rental_policy",
                                  "payment_conditions",
                                  "security_deposit",
                                  "security_deposit_method",
                                  "payment_methods",
                                  "required_documents",
                                  "minimum_license_period_year",
                                  "payment_and_charges",
                                  "driver_information"
                                ],
                                "example": "payment_and_fees"
                              },
                              "description": {
                                "type": "string",
                                "description": "A brief summary of the disclosure.",
                                "example": "Payment is due upon return of the vehicle."
                              },
                              "content": {
                                "type": "array",
                                "description": "The content of the disclosure.",
                                "items": {
                                  "type": "object",
                                  "title": "DisclosureContent",
                                  "required": [
                                    "text",
                                    "title"
                                  ],
                                  "properties": {
                                    "title": {
                                      "type": "string",
                                      "description": "Short description of the disclosure.",
                                      "example": "Payment Terms"
                                    },
                                    "text": {
                                      "type": "string",
                                      "description": "The detailed text of the disclosure.",
                                      "example": "Payment for this order is due when the car is returned and will be charged by Thrifty Car Rental."
                                    }
                                  }
                                }
                              }
                            }
                          }
                        },
                        "response_id": {
                          "title": "ResponseId",
                          "description": "Unique identifier of the specific response.\nUse this identifier when you need to refer to a specific response, when requiring technical support.\n",
                          "type": "string",
                          "format": "uuid",
                          "example": "123e4567-e89b-12d3-a456-426614174000"
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Invalid Request. There will be an error code in the response detailing the issue.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "QuoteFailure",
                  "description": "A standardized schema for API failure responses.",
                  "required": [
                    "error_code",
                    "description",
                    "response_id"
                  ],
                  "properties": {
                    "error_code": {
                      "description": "A specific code identifying the type of error.",
                      "enum": [
                        "invalid_input",
                        "invalid_quote_token",
                        "rate_unavailable",
                        "advance_lead_time_not_met"
                      ],
                      "type": "string"
                    },
                    "description": {
                      "type": "string",
                      "description": "A human-readable message providing more details about the error."
                    },
                    "response_id": {
                      "title": "ResponseId",
                      "description": "Unique identifier of the specific response.\nUse this identifier when you need to refer to a specific response, when requiring technical support.\n",
                      "type": "string",
                      "format": "uuid",
                      "example": "123e4567-e89b-12d3-a456-426614174000"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "InternalServerError",
                  "required": [
                    "description",
                    "error_code",
                    "response_id"
                  ],
                  "properties": {
                    "error_code": {
                      "description": "Error returned when an internal server error occurs.",
                      "enum": [
                        "internal_server_error"
                      ],
                      "type": "string",
                      "example": "internal_server_error"
                    },
                    "description": {
                      "type": "string",
                      "description": "A human-readable description of the error.",
                      "example": "An unexpected error occurred."
                    },
                    "response_id": {
                      "title": "ResponseId",
                      "description": "Unique identifier of the specific response.\nUse this identifier when you need to refer to a specific response, when requiring technical support.\n",
                      "type": "string",
                      "format": "uuid",
                      "example": "123e4567-e89b-12d3-a456-426614174000"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/cars/v1/book": {
      "post": {
        "operationId": "book",
        "summary": "Book an offer.",
        "description": "Create a car rental order for a chosen offer, using the offer_id and any necessary driver details.\nIt finalizes the booking process with the provider and, if applicable, initiates the sending of an itinerary or confirmation email to the customer.\n",
        "tags": [
          "booking"
        ],
        "requestBody": {
          "description": "Request body for finalizing a car rental order.",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "title": "BookRequest",
                "description": "Request body for finalizing a car rental order.",
                "required": [
                  "request_id",
                  "book_token",
                  "partner_reference_id",
                  "driver"
                ],
                "properties": {
                  "request_id": {
                    "title": "RequestId",
                    "description": "Unique identifier of the specific request.\nUse this identifier when you need to refer to a specific request, when requiring technical support.\n",
                    "type": "string",
                    "format": "uuid",
                    "example": "123e4567-e89b-12d3-a456-426614174000"
                  },
                  "book_token": {
                    "type": "string",
                    "description": "Opaque token generated at quote time to initiate a book request.",
                    "example": "book_12345"
                  },
                  "partner_reference_id": {
                    "type": "string",
                    "description": "An client determined id for the given booking for potential reconciliation.",
                    "example": "123e4567-e89b-12d3-a456-426614174000"
                  },
                  "driver": {
                    "type": "object",
                    "title": "DriverDetails",
                    "description": "Details of the primary driver for the booking.",
                    "required": [
                      "email",
                      "first_name",
                      "last_name",
                      "date_of_birth"
                    ],
                    "properties": {
                      "email": {
                        "type": "string",
                        "format": "email",
                        "description": "The email address of the primary driver.",
                        "example": "john.doe@example.com"
                      },
                      "first_name": {
                        "type": "string",
                        "description": "The first name of the primary driver.",
                        "example": "John"
                      },
                      "last_name": {
                        "type": "string",
                        "description": "The last name of the primary driver.",
                        "example": "Doe"
                      },
                      "date_of_birth": {
                        "type": "string",
                        "format": "date",
                        "description": "The date of birth of the primary driver in ISO 8601 format. The driver age must match the age provided in the shop request.",
                        "example": "1990-05-20"
                      },
                      "phone": {
                        "type": "string",
                        "description": "Phone number of the driver.",
                        "pattern": "^\\+?[0-9]{7,15}$",
                        "example": "+18339334671"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Book a order successfully.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "BookResponse",
                  "description": "A response confirming a successful car rental order.",
                  "required": [
                    "order_id",
                    "response_id"
                  ],
                  "properties": {
                    "order_id": {
                      "type": "string",
                      "description": "The unique identifier of the confirmed order.",
                      "example": "ORD-987654321"
                    },
                    "response_id": {
                      "title": "ResponseId",
                      "description": "Unique identifier of the specific response.\nUse this identifier when you need to refer to a specific response, when requiring technical support.\n",
                      "type": "string",
                      "format": "uuid",
                      "example": "123e4567-e89b-12d3-a456-426614174000"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid Request. There will be an error code in the response detailing the issue.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "BookFailure",
                  "required": [
                    "error_code",
                    "description",
                    "response_id"
                  ],
                  "properties": {
                    "error_code": {
                      "description": "A specific code identifying the type of error.",
                      "enum": [
                        "invalid_input",
                        "invalid_book_token",
                        "rate_unavailable",
                        "driver_age_changed",
                        "age_restriction_not_met",
                        "price_changed",
                        "booking_conflict",
                        "advance_lead_time_not_met"
                      ],
                      "type": "string"
                    },
                    "description": {
                      "type": "string",
                      "description": "A human-readable message providing more details about the error."
                    },
                    "response_id": {
                      "title": "ResponseId",
                      "description": "Unique identifier of the specific response.\nUse this identifier when you need to refer to a specific response, when requiring technical support.\n",
                      "type": "string",
                      "format": "uuid",
                      "example": "123e4567-e89b-12d3-a456-426614174000"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "InternalServerError",
                  "required": [
                    "description",
                    "error_code",
                    "response_id"
                  ],
                  "properties": {
                    "error_code": {
                      "description": "Error returned when an internal server error occurs.",
                      "enum": [
                        "internal_server_error"
                      ],
                      "type": "string",
                      "example": "internal_server_error"
                    },
                    "description": {
                      "type": "string",
                      "description": "A human-readable description of the error.",
                      "example": "An unexpected error occurred."
                    },
                    "response_id": {
                      "title": "ResponseId",
                      "description": "Unique identifier of the specific response.\nUse this identifier when you need to refer to a specific response, when requiring technical support.\n",
                      "type": "string",
                      "format": "uuid",
                      "example": "123e4567-e89b-12d3-a456-426614174000"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/cars/v1/orders/{order_id}": {
      "get": {
        "operationId": "getOrderByOrderId",
        "summary": "Retrieve a specific car rental order.",
        "description": "Retrieves the details of a single, confirmed car rental order using its unique order ID.\n",
        "tags": [
          "booking"
        ],
        "parameters": [
          {
            "name": "order_id",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the order to retrieve.",
            "schema": {
              "type": "string",
              "example": "ORD-987654321"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The complete details of car rental order.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "GetOrderResponse",
                  "description": "The complete details of car rental order.",
                  "required": [
                    "order_id",
                    "status",
                    "driver",
                    "offer",
                    "commission",
                    "disclosures",
                    "response_id"
                  ],
                  "properties": {
                    "order_id": {
                      "description": "The unique identifier of the confirmed order.",
                      "type": "string",
                      "example": "ORD-987654321"
                    },
                    "status": {
                      "description": "Describes the status of a order.\n* `confirmed` - order was booked successfully\n* `cancelled` - order was cancelled successfully\n* `pending` - order is pending\n* `failed` - order processing has failed\n\nThis is a non-exhaustive list of enum values, which will be extended in the future.\"\n",
                      "oneOf": [
                        {
                          "type": "object",
                          "title": "StatusCancelled",
                          "required": [
                            "type",
                            "cancellation_info"
                          ],
                          "properties": {
                            "type": {
                              "type": "string",
                              "enum": [
                                "cancelled"
                              ],
                              "example": "cancelled"
                            },
                            "cancellation_info": {
                              "type": "object",
                              "title": "CancellationInfo",
                              "description": "Information on a cancelled order",
                              "required": [
                                "cancellation_datetime"
                              ],
                              "properties": {
                                "cancellation_datetime": {
                                  "description": "The ISO 8601 datetime of when this order is cancelled.",
                                  "type": "string",
                                  "format": "date-time",
                                  "example": "2017-08-17T13:31:15.523Z"
                                }
                              },
                              "example": {
                                "cancellation_datetime": "2025-02-17T18:31:15.523Z"
                              }
                            }
                          }
                        },
                        {
                          "type": "object",
                          "title": "StatusConfirmed",
                          "required": [
                            "type"
                          ],
                          "properties": {
                            "type": {
                              "type": "string",
                              "enum": [
                                "confirmed"
                              ],
                              "example": "confirmed"
                            }
                          },
                          "example": {
                            "type": "confirmed"
                          }
                        },
                        {
                          "type": "object",
                          "title": "StatusPending",
                          "required": [
                            "type"
                          ],
                          "properties": {
                            "type": {
                              "type": "string",
                              "enum": [
                                "pending"
                              ],
                              "example": "pending"
                            }
                          },
                          "example": {
                            "type": "pending"
                          }
                        },
                        {
                          "type": "object",
                          "title": "StatusFailed",
                          "description": "Represents a failed status for an order. This status is vended when the order \ncannot be processed or completed due to an unrecoverable error. Examples include:\n* Invalid order details or corrupted data\n* System errors during processing\n",
                          "required": [
                            "type"
                          ],
                          "properties": {
                            "type": {
                              "type": "string",
                              "enum": [
                                "failed"
                              ],
                              "example": "failed"
                            }
                          },
                          "example": {
                            "type": "failed"
                          }
                        }
                      ],
                      "discriminator": {
                        "propertyName": "type",
                        "mapping": {
                          "cancelled": "#/StatusCancelled",
                          "confirmed": "#/StatusConfirmed",
                          "pending": "#/StatusPending",
                          "failed": "#/StatusFailed"
                        }
                      }
                    },
                    "confirmation_number": {
                      "type": "string",
                      "description": "The unique confirmation number provided by the car rental vendor.",
                      "example": "ABC-123-DEF"
                    },
                    "offer": {
                      "type": "object",
                      "title": "Offer",
                      "description": "Represents the vehicle rental offer.",
                      "required": [
                        "rental_company",
                        "pickup",
                        "dropoff",
                        "vehicle",
                        "pricing",
                        "cancellation_policy",
                        "mileage_policy",
                        "age_policy"
                      ],
                      "properties": {
                        "rental_company": {
                          "type": "object",
                          "title": "RentalCompany",
                          "description": "Represents the car rental company or partner providing the vehicle offer.",
                          "required": [
                            "id",
                            "name",
                            "logo_url"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "description": "A unique identifier for the vendor (e.g., internal code, Expedia ID).",
                              "example": "AVS"
                            },
                            "name": {
                              "type": "string",
                              "description": "The human-readable name of the vendor (e.g., \"Avis\", \"Amadeus\").",
                              "example": "Avis Rent a Car"
                            },
                            "logo_url": {
                              "type": "string",
                              "format": "uri",
                              "description": "A URL to the rental company's official logo.",
                              "example": "https://example.com/logos/avis.png"
                            },
                            "support_url": {
                              "type": "string",
                              "format": "uri",
                              "description": "A URL to the rental company's customer support or help page.",
                              "example": "https://www.avis.com/en/help"
                            }
                          }
                        },
                        "pickup": {
                          "type": "object",
                          "title": "PickupResponse",
                          "description": "Details for the vehicle pickup.",
                          "required": [
                            "local_date_time",
                            "location"
                          ],
                          "properties": {
                            "local_date_time": {
                              "title": "LocalDateTime",
                              "type": "string",
                              "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}.*$",
                              "description": "The local date and time in ISO 8601 format.\nNote: Any information after the minutes (e.g., seconds, time zone) will be discarded.\n",
                              "example": "2026-01-21T10:30"
                            },
                            "location": {
                              "type": "object",
                              "title": "Location",
                              "description": "Represents a physical location for vehicle pickup or drop-off.",
                              "required": [
                                "location_id",
                                "name",
                                "address",
                                "kind"
                              ],
                              "properties": {
                                "location_id": {
                                  "type": "string",
                                  "description": "Reference ID for the location given for the vendor (e.g., \"AVS_JFK01\").",
                                  "example": "AVS_JFK01"
                                },
                                "name": {
                                  "type": "string",
                                  "description": "The human-readable name of the location (e.g., \"MIA Airport\").",
                                  "example": "John F. Kennedy International Airport"
                                },
                                "address": {
                                  "type": "object",
                                  "title": "Address",
                                  "required": [
                                    "first_line",
                                    "country",
                                    "city"
                                  ],
                                  "properties": {
                                    "first_line": {
                                      "type": "string",
                                      "description": "The first line of the street address.",
                                      "example": "JFK Airport Terminal 4"
                                    },
                                    "second_line": {
                                      "type": "string",
                                      "description": "The second line of the street address, if applicable."
                                    },
                                    "country": {
                                      "type": "string",
                                      "description": "Country code (ISO 3166-1 alpha-2)",
                                      "pattern": "^[A-Z]{2}$",
                                      "example": "US"
                                    },
                                    "city": {
                                      "type": "string",
                                      "description": "The city of the location.",
                                      "example": "New York"
                                    },
                                    "state_province": {
                                      "type": "string",
                                      "pattern": "^[A-Z0-9]{1,3}$",
                                      "description": "The code for the state or province ISO 3166-2 (e.g., \"CA\", \"FL\").",
                                      "example": "CA"
                                    }
                                  }
                                },
                                "coordinates": {
                                  "type": "object",
                                  "title": "Coordinates",
                                  "description": "Geographic coordinates of the location.",
                                  "required": [
                                    "latitude",
                                    "longitude"
                                  ],
                                  "properties": {
                                    "latitude": {
                                      "type": "number",
                                      "format": "double",
                                      "description": "The latitude coordinate of the location.",
                                      "example": 34.052235
                                    },
                                    "longitude": {
                                      "type": "number",
                                      "format": "double",
                                      "description": "The longitude coordinate of the location.",
                                      "example": -118.243683
                                    }
                                  }
                                },
                                "instructions": {
                                  "type": "string",
                                  "description": "Specific instructions for pickup/drop-off."
                                },
                                "kind": {
                                  "type": "string",
                                  "enum": [
                                    "Unspecified",
                                    "Airport",
                                    "Shuttle",
                                    "MeetAndGreet"
                                  ],
                                  "description": "The kind of pickup/drop-off (e.g., \"Shuttle\", \"Airport\", \"Meet and Greet\")."
                                },
                                "iata": {
                                  "type": "string",
                                  "description": "The IATA airport code if the location is an airport (e.g., \"JFK\", \"MIA\").",
                                  "pattern": "^[A-Z]{3}$",
                                  "example": "JFK"
                                }
                              }
                            }
                          }
                        },
                        "dropoff": {
                          "type": "object",
                          "title": "DropoffResponse",
                          "description": "Details for the vehicle drop-off.",
                          "required": [
                            "local_date_time",
                            "location"
                          ],
                          "properties": {
                            "local_date_time": {
                              "title": "LocalDateTime",
                              "type": "string",
                              "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}.*$",
                              "description": "The local date and time in ISO 8601 format.\nNote: Any information after the minutes (e.g., seconds, time zone) will be discarded.\n",
                              "example": "2026-01-21T10:30"
                            },
                            "location": {
                              "type": "object",
                              "title": "Location",
                              "description": "Represents a physical location for vehicle pickup or drop-off.",
                              "required": [
                                "location_id",
                                "name",
                                "address",
                                "kind"
                              ],
                              "properties": {
                                "location_id": {
                                  "type": "string",
                                  "description": "Reference ID for the location given for the vendor (e.g., \"AVS_JFK01\").",
                                  "example": "AVS_JFK01"
                                },
                                "name": {
                                  "type": "string",
                                  "description": "The human-readable name of the location (e.g., \"MIA Airport\").",
                                  "example": "John F. Kennedy International Airport"
                                },
                                "address": {
                                  "type": "object",
                                  "title": "Address",
                                  "required": [
                                    "first_line",
                                    "country",
                                    "city"
                                  ],
                                  "properties": {
                                    "first_line": {
                                      "type": "string",
                                      "description": "The first line of the street address.",
                                      "example": "JFK Airport Terminal 4"
                                    },
                                    "second_line": {
                                      "type": "string",
                                      "description": "The second line of the street address, if applicable."
                                    },
                                    "country": {
                                      "type": "string",
                                      "description": "Country code (ISO 3166-1 alpha-2)",
                                      "pattern": "^[A-Z]{2}$",
                                      "example": "US"
                                    },
                                    "city": {
                                      "type": "string",
                                      "description": "The city of the location.",
                                      "example": "New York"
                                    },
                                    "state_province": {
                                      "type": "string",
                                      "pattern": "^[A-Z0-9]{1,3}$",
                                      "description": "The code for the state or province ISO 3166-2 (e.g., \"CA\", \"FL\").",
                                      "example": "CA"
                                    }
                                  }
                                },
                                "coordinates": {
                                  "type": "object",
                                  "title": "Coordinates",
                                  "description": "Geographic coordinates of the location.",
                                  "required": [
                                    "latitude",
                                    "longitude"
                                  ],
                                  "properties": {
                                    "latitude": {
                                      "type": "number",
                                      "format": "double",
                                      "description": "The latitude coordinate of the location.",
                                      "example": 34.052235
                                    },
                                    "longitude": {
                                      "type": "number",
                                      "format": "double",
                                      "description": "The longitude coordinate of the location.",
                                      "example": -118.243683
                                    }
                                  }
                                },
                                "instructions": {
                                  "type": "string",
                                  "description": "Specific instructions for pickup/drop-off."
                                },
                                "kind": {
                                  "type": "string",
                                  "enum": [
                                    "Unspecified",
                                    "Airport",
                                    "Shuttle",
                                    "MeetAndGreet"
                                  ],
                                  "description": "The kind of pickup/drop-off (e.g., \"Shuttle\", \"Airport\", \"Meet and Greet\")."
                                },
                                "iata": {
                                  "type": "string",
                                  "description": "The IATA airport code if the location is an airport (e.g., \"JFK\", \"MIA\").",
                                  "pattern": "^[A-Z]{3}$",
                                  "example": "JFK"
                                }
                              }
                            }
                          }
                        },
                        "vehicle": {
                          "type": "object",
                          "title": "Vehicle",
                          "description": "The primary data structure that contains all the essential information about a car.",
                          "required": [
                            "description",
                            "acriss_code",
                            "luggage",
                            "transmission",
                            "air_conditioning"
                          ],
                          "properties": {
                            "description": {
                              "type": "string",
                              "description": "A human-readable description of the vehicle, often including make and model."
                            },
                            "acriss_code": {
                              "type": "string",
                              "description": "The standardized ACRISS or SIPP code for the vehicle. See https://www.acraorg.com/acriss-sip-codes/ for more details.",
                              "pattern": "^[A-Z0-9]{4}$",
                              "example": "CCAR"
                            },
                            "max_passengers": {
                              "type": "integer",
                              "minimum": 1,
                              "description": "The maximum number of passengers the vehicle can accommodate."
                            },
                            "doors": {
                              "type": "integer",
                              "minimum": 1,
                              "description": "The number of doors on the vehicle."
                            },
                            "luggage": {
                              "type": "object",
                              "title": "Luggage",
                              "required": [
                                "total"
                              ],
                              "properties": {
                                "small": {
                                  "type": "integer",
                                  "description": "The number of small bags the vehicle can hold."
                                },
                                "medium": {
                                  "type": "integer",
                                  "description": "The number of medium bags the vehicle can hold."
                                },
                                "large": {
                                  "type": "integer",
                                  "description": "The number of large bags the vehicle can hold."
                                },
                                "total": {
                                  "type": "integer",
                                  "description": "The total number of bags the vehicle can hold, if a specific breakdown is not available or as a sum of small/large."
                                }
                              }
                            },
                            "transmission": {
                              "type": "string",
                              "description": "The transmission type of the vehicle.",
                              "enum": [
                                "Automatic",
                                "Manual",
                                "Cvt",
                                "Unspecified"
                              ]
                            },
                            "air_conditioning": {
                              "type": "boolean",
                              "description": "Indicates whether the vehicle has air conditioning."
                            },
                            "images": {
                              "type": "object",
                              "title": "VehicleImages",
                              "required": [
                                "default",
                                "links"
                              ],
                              "properties": {
                                "default": {
                                  "type": "string",
                                  "format": "uri",
                                  "description": "The URL for the primary display image of the vehicle."
                                },
                                "links": {
                                  "type": "array",
                                  "description": "A list of additional image URLs for the vehicle.",
                                  "items": {
                                    "type": "string",
                                    "format": "uri"
                                  }
                                }
                              }
                            }
                          }
                        },
                        "pricing": {
                          "type": "object",
                          "title": "Pricing",
                          "description": "The car rental pricing details.\nThe base + fee_summary.total = total price.\nThe pay_now + pay_later = total price.\nThe fees are not itemized by payments schedule (pay now vs pay later).\n",
                          "required": [
                            "base",
                            "fee_summary",
                            "pay_now",
                            "pay_later"
                          ],
                          "properties": {
                            "base": {
                              "type": "object",
                              "title": "PriceBase",
                              "description": "The base rate for the rental, excluding fees and taxes across the payment schedule (both pay now and pay later).",
                              "required": [
                                "currency",
                                "amount"
                              ],
                              "properties": {
                                "currency": {
                                  "description": "Currency code, in ISO 4217 format.",
                                  "type": "string",
                                  "pattern": "^[A-Z]{3}$",
                                  "example": "USD"
                                },
                                "amount": {
                                  "type": "string",
                                  "description": "Monetary amount value Serialized BigDecimal value",
                                  "example": "123.45"
                                }
                              }
                            },
                            "fee_summary": {
                              "type": "object",
                              "title": "FeeSummary",
                              "description": "An itemized list of fees and taxes that make up the total price. These fees are included in both the 'pay now' and 'pay later' amounts.",
                              "required": [
                                "fees",
                                "total"
                              ],
                              "properties": {
                                "fees": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "title": "FeeSummaryItem",
                                    "description": "A fee or tax that is part of the total price.",
                                    "required": [
                                      "description",
                                      "line_item"
                                    ],
                                    "properties": {
                                      "description": {
                                        "type": "string",
                                        "description": "A description of the fee or tax."
                                      },
                                      "line_item": {
                                        "type": "object",
                                        "title": "LineItem",
                                        "description": "The amount and currency for a chargeable item.",
                                        "required": [
                                          "currency",
                                          "amount"
                                        ],
                                        "properties": {
                                          "currency": {
                                            "description": "Currency code, in ISO 4217 format.",
                                            "type": "string",
                                            "pattern": "^[A-Z]{3}$",
                                            "example": "USD"
                                          },
                                          "amount": {
                                            "type": "string",
                                            "description": "Monetary amount value Serialized BigDecimal value",
                                            "example": "123.45"
                                          }
                                        }
                                      }
                                    }
                                  }
                                },
                                "total": {
                                  "type": "object",
                                  "title": "FeeSummaryTotal",
                                  "description": "The total amount for all fees and taxes.",
                                  "required": [
                                    "currency",
                                    "amount"
                                  ],
                                  "properties": {
                                    "currency": {
                                      "description": "Currency code, in ISO 4217 format.",
                                      "type": "string",
                                      "pattern": "^[A-Z]{3}$",
                                      "example": "USD"
                                    },
                                    "amount": {
                                      "type": "string",
                                      "description": "Monetary amount value Serialized BigDecimal value",
                                      "example": "123.45"
                                    }
                                  }
                                }
                              }
                            },
                            "pay_now": {
                              "type": "object",
                              "title": "PayNow",
                              "description": "The total amount to be paid at the time of booking.",
                              "required": [
                                "currency",
                                "amount"
                              ],
                              "properties": {
                                "currency": {
                                  "description": "Currency code, in ISO 4217 format.",
                                  "type": "string",
                                  "pattern": "^[A-Z]{3}$",
                                  "example": "USD"
                                },
                                "amount": {
                                  "type": "string",
                                  "description": "Monetary amount value Serialized BigDecimal value",
                                  "example": "123.45"
                                }
                              }
                            },
                            "pay_later": {
                              "type": "object",
                              "title": "PayLater",
                              "description": "The total amount to be paid at a later time (usually at the desk).",
                              "required": [
                                "currency",
                                "amount"
                              ],
                              "properties": {
                                "currency": {
                                  "description": "Currency code, in ISO 4217 format.",
                                  "type": "string",
                                  "pattern": "^[A-Z]{3}$",
                                  "example": "USD"
                                },
                                "amount": {
                                  "type": "string",
                                  "description": "Monetary amount value Serialized BigDecimal value",
                                  "example": "123.45"
                                }
                              }
                            }
                          }
                        },
                        "cancellation_policy": {
                          "type": "object",
                          "description": "Defines the terms and conditions for canceling a vehicle rental.",
                          "required": [
                            "penalty_ranges"
                          ],
                          "properties": {
                            "penalty_ranges": {
                              "type": "array",
                              "minItems": 1,
                              "items": {
                                "type": "object",
                                "title": "PenaltyRange",
                                "required": [
                                  "start_time",
                                  "end_time",
                                  "penalty"
                                ],
                                "properties": {
                                  "start_time": {
                                    "description": "Start time of the penalty range (Inclusive), in ISO 8601 format.",
                                    "type": "string",
                                    "format": "date-time"
                                  },
                                  "end_time": {
                                    "description": "End time of the penalty range (Exclusive), in ISO 8601 format.",
                                    "type": "string",
                                    "format": "date-time"
                                  },
                                  "penalty": {
                                    "type": "object",
                                    "title": "Penalty",
                                    "description": "Penalty amount withheld form the client upon cancellation.",
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "properties": {
                                      "currency": {
                                        "description": "Currency code, in ISO 4217 format.",
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$",
                                        "example": "USD"
                                      },
                                      "amount": {
                                        "type": "string",
                                        "description": "Monetary amount value Serialized BigDecimal value",
                                        "example": "123.45"
                                      }
                                    }
                                  }
                                }
                              }
                            }
                          },
                          "example": {
                            "penalty_ranges": [
                              {
                                "start_time": "2025-01-21T00:00:00Z",
                                "end_time": "2025-01-26T00:00:00Z",
                                "penalty": {
                                  "currency": "USD",
                                  "amount": "0.00"
                                }
                              },
                              {
                                "start_time": "2025-01-26T00:00:00Z",
                                "end_time": "2025-01-27T00:00:00Z",
                                "penalty": {
                                  "currency": "USD",
                                  "amount": "75.00"
                                }
                              },
                              {
                                "start_time": "2025-01-27T00:00:00Z",
                                "end_time": "2025-01-28T00:00:00Z",
                                "penalty": {
                                  "currency": "USD",
                                  "amount": "135.00"
                                }
                              }
                            ]
                          }
                        },
                        "mileage_policy": {
                          "title": "MileagePolicy",
                          "description": "Defines the vehicle's mileage allowance and any associated overage charges.",
                          "oneOf": [
                            {
                              "type": "object",
                              "title": "UnlimitedMileagePolicy",
                              "required": [
                                "type"
                              ],
                              "properties": {
                                "type": {
                                  "type": "string",
                                  "enum": [
                                    "unlimited"
                                  ],
                                  "description": "The type of mileage policy."
                                }
                              }
                            },
                            {
                              "type": "object",
                              "title": "LimitedMileagePolicy",
                              "required": [
                                "type",
                                "quantity",
                                "unit"
                              ],
                              "properties": {
                                "type": {
                                  "type": "string",
                                  "enum": [
                                    "limited"
                                  ],
                                  "description": "The type of mileage policy."
                                },
                                "quantity": {
                                  "type": "integer",
                                  "description": "The numerical value of the included mileage."
                                },
                                "unit": {
                                  "type": "string",
                                  "enum": [
                                    "mi",
                                    "km"
                                  ],
                                  "description": "The unit of distance for the included mileage."
                                }
                              }
                            },
                            {
                              "type": "object",
                              "title": "LimitedUnspecifiedMileagePolicy",
                              "required": [
                                "type"
                              ],
                              "properties": {
                                "type": {
                                  "type": "string",
                                  "enum": [
                                    "limited_unspecified"
                                  ],
                                  "description": "The type of mileage policy when mileage is limited but specifics are not provided."
                                }
                              }
                            }
                          ],
                          "discriminator": {
                            "propertyName": "type",
                            "mapping": {
                              "unlimited": "#/UnlimitedMileagePolicy",
                              "limited": "#/LimitedMileagePolicy",
                              "limited_unspecified": "#/LimitedUnspecifiedMileagePolicy"
                            }
                          }
                        },
                        "age_policy": {
                          "type": "object",
                          "title": "AgePolicy",
                          "description": "The age requirements associated with the rental.",
                          "properties": {
                            "minimum_age": {
                              "type": "integer",
                              "description": "The minimum age required to rent the vehicle.",
                              "example": 21
                            }
                          }
                        }
                      }
                    },
                    "commission": {
                      "type": "object",
                      "title": "Commission",
                      "description": "Commission Hopper will pay out at the time of invoicing for a given rental.",
                      "required": [
                        "amount",
                        "currency"
                      ],
                      "properties": {
                        "amount": {
                          "type": "string",
                          "description": "Monetary amount value Serialized BigDecimal value",
                          "example": "123.45"
                        },
                        "currency": {
                          "description": "Currency code, in ISO 4217 format.",
                          "type": "string",
                          "pattern": "^[A-Z]{3}$",
                          "example": "USD"
                        }
                      }
                    },
                    "disclosures": {
                      "type": "array",
                      "description": "Important notices, booking conditions, or legal disclosures.",
                      "items": {
                        "type": "object",
                        "title": "Disclosure",
                        "description": "An important notice, booking condition, or legal disclosure.",
                        "required": [
                          "kind",
                          "content"
                        ],
                        "properties": {
                          "kind": {
                            "type": "string",
                            "description": "Type of disclosure.",
                            "enum": [
                              "unspecified",
                              "booking_conditions",
                              "customer_support",
                              "dropoff_instructions",
                              "emergency_procedures",
                              "faq",
                              "finalize_booking",
                              "how_it_works",
                              "important_information",
                              "next_steps",
                              "payment_and_fees",
                              "pickup_instructions",
                              "terms_of_service",
                              "vehicle_features_and_policies",
                              "car_rental_policy",
                              "payment_conditions",
                              "security_deposit",
                              "security_deposit_method",
                              "payment_methods",
                              "required_documents",
                              "minimum_license_period_year",
                              "payment_and_charges",
                              "driver_information"
                            ],
                            "example": "payment_and_fees"
                          },
                          "description": {
                            "type": "string",
                            "description": "A brief summary of the disclosure.",
                            "example": "Payment is due upon return of the vehicle."
                          },
                          "content": {
                            "type": "array",
                            "description": "The content of the disclosure.",
                            "items": {
                              "type": "object",
                              "title": "DisclosureContent",
                              "required": [
                                "text",
                                "title"
                              ],
                              "properties": {
                                "title": {
                                  "type": "string",
                                  "description": "Short description of the disclosure.",
                                  "example": "Payment Terms"
                                },
                                "text": {
                                  "type": "string",
                                  "description": "The detailed text of the disclosure.",
                                  "example": "Payment for this order is due when the car is returned and will be charged by Thrifty Car Rental."
                                }
                              }
                            }
                          }
                        }
                      }
                    },
                    "ancillaries": {
                      "type": "array",
                      "description": "Booked ancillaries (extras) included in the rental.",
                      "items": {
                        "type": "object",
                        "title": "Ancillary",
                        "description": "A car rental extra or add-on available for the booking.",
                        "required": [
                          "id",
                          "type",
                          "category",
                          "name",
                          "pricing",
                          "payment"
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "description": "Unique identifier for this ancillary option from the supplier.",
                            "example": "GPS_001"
                          },
                          "type": {
                            "type": "string",
                            "description": "The type of ancillary.",
                            "enum": [
                              "InfantSeat",
                              "ToddlerSeat",
                              "BoosterSeat",
                              "ChildSeat",
                              "Gps",
                              "SatNav",
                              "RoadsideAssistance",
                              "AdditionalDriver",
                              "SatelliteRadio",
                              "SnowChains",
                              "SnowTires",
                              "WinterKit",
                              "SkiRack",
                              "BikeRack",
                              "LuggageRack",
                              "YoungDriver",
                              "PrepaidFuel",
                              "Wifi",
                              "Cdw",
                              "Ldw",
                              "Pai",
                              "Pec",
                              "Sli"
                            ]
                          },
                          "category": {
                            "type": "string",
                            "description": "The broad category of the ancillary.",
                            "enum": [
                              "Equipment",
                              "AddOn"
                            ]
                          },
                          "name": {
                            "type": "string",
                            "description": "Human-readable display name for the ancillary.",
                            "example": "GPS Navigation"
                          },
                          "description": {
                            "type": "string",
                            "description": "Detailed description of the ancillary.",
                            "example": "Portable GPS navigation device for your rental."
                          },
                          "pricing": {
                            "type": "object",
                            "title": "AncillaryPricing",
                            "description": "Pricing details for an ancillary item.",
                            "required": [
                              "amount",
                              "currency",
                              "unit"
                            ],
                            "properties": {
                              "amount": {
                                "type": "string",
                                "description": "Monetary amount value Serialized BigDecimal value",
                                "example": "123.45"
                              },
                              "currency": {
                                "description": "Currency code, in ISO 4217 format.",
                                "type": "string",
                                "pattern": "^[A-Z]{3}$",
                                "example": "USD"
                              },
                              "unit": {
                                "type": "string",
                                "description": "How the price is applied.",
                                "enum": [
                                  "PerBooking",
                                  "PerDay",
                                  "PerDriver"
                                ]
                              }
                            }
                          },
                          "payment": {
                            "type": "string",
                            "description": "When payment is collected for this ancillary.",
                            "enum": [
                              "PayNow",
                              "PayAtCounter"
                            ]
                          },
                          "constraints": {
                            "type": "object",
                            "title": "AncillaryConstraints",
                            "description": "Constraints on ancillary selection.",
                            "properties": {
                              "max_quantity": {
                                "type": "integer",
                                "minimum": 1,
                                "description": "Maximum number of this ancillary that can be selected.",
                                "example": 3
                              },
                              "included_quantity": {
                                "type": "integer",
                                "minimum": 0,
                                "description": "Number of this ancillary already included in the base rental at no extra cost.",
                                "example": 0
                              }
                            }
                          }
                        }
                      }
                    },
                    "response_id": {
                      "title": "ResponseId",
                      "description": "Unique identifier of the specific response.\nUse this identifier when you need to refer to a specific response, when requiring technical support.\n",
                      "type": "string",
                      "format": "uuid",
                      "example": "123e4567-e89b-12d3-a456-426614174000"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid Request. There will be an error code in the response detailing the issue.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "GetOrderFailure",
                  "description": "A standardized schema for API failure responses.",
                  "required": [
                    "error_code",
                    "description",
                    "response_id"
                  ],
                  "properties": {
                    "error_code": {
                      "description": "A specific code identifying the type of error.",
                      "enum": [
                        "invalid_input",
                        "order_not_found"
                      ],
                      "type": "string"
                    },
                    "description": {
                      "type": "string",
                      "description": "A human-readable message providing more details about the error."
                    },
                    "response_id": {
                      "title": "ResponseId",
                      "description": "Unique identifier of the specific response.\nUse this identifier when you need to refer to a specific response, when requiring technical support.\n",
                      "type": "string",
                      "format": "uuid",
                      "example": "123e4567-e89b-12d3-a456-426614174000"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "InternalServerError",
                  "required": [
                    "description",
                    "error_code",
                    "response_id"
                  ],
                  "properties": {
                    "error_code": {
                      "description": "Error returned when an internal server error occurs.",
                      "enum": [
                        "internal_server_error"
                      ],
                      "type": "string",
                      "example": "internal_server_error"
                    },
                    "description": {
                      "type": "string",
                      "description": "A human-readable description of the error.",
                      "example": "An unexpected error occurred."
                    },
                    "response_id": {
                      "title": "ResponseId",
                      "description": "Unique identifier of the specific response.\nUse this identifier when you need to refer to a specific response, when requiring technical support.\n",
                      "type": "string",
                      "format": "uuid",
                      "example": "123e4567-e89b-12d3-a456-426614174000"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/cars/v1/offers/{quote_token}": {
      "get": {
        "operationId": "getRentalOffer",
        "summary": "Retrieve a rental offer using quote token.",
        "description": "Retrieves the details of a rental offer using a quote token, including the offer details and disclosures.\n",
        "tags": [
          "shopping"
        ],
        "parameters": [
          {
            "name": "quote_token",
            "in": "path",
            "required": true,
            "description": "The quote token used to retrieve the rental offer. Each rental offer returned from the shop endpoint includes a unique quote token.\n\nNote: This method does not confirm availability or pricing; it simply retrieves the offer details associated with the provided quote token.\nNote: The quote token should be URLEncoded as it might contain special characters like '\\'.\n",
            "schema": {
              "type": "string",
              "example": "quote_12345%2F67890"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The complete details of the rental offer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "GetRentalOfferResponse",
                  "description": "Response containing rental offer details with disclosures but without commission and valid_until fields.",
                  "allOf": [
                    {
                      "type": "object",
                      "title": "Offer",
                      "description": "Represents the vehicle rental offer.",
                      "required": [
                        "rental_company",
                        "pickup",
                        "dropoff",
                        "vehicle",
                        "pricing",
                        "cancellation_policy",
                        "mileage_policy",
                        "age_policy"
                      ],
                      "properties": {
                        "rental_company": {
                          "type": "object",
                          "title": "RentalCompany",
                          "description": "Represents the car rental company or partner providing the vehicle offer.",
                          "required": [
                            "id",
                            "name",
                            "logo_url"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "description": "A unique identifier for the vendor (e.g., internal code, Expedia ID).",
                              "example": "AVS"
                            },
                            "name": {
                              "type": "string",
                              "description": "The human-readable name of the vendor (e.g., \"Avis\", \"Amadeus\").",
                              "example": "Avis Rent a Car"
                            },
                            "logo_url": {
                              "type": "string",
                              "format": "uri",
                              "description": "A URL to the rental company's official logo.",
                              "example": "https://example.com/logos/avis.png"
                            },
                            "support_url": {
                              "type": "string",
                              "format": "uri",
                              "description": "A URL to the rental company's customer support or help page.",
                              "example": "https://www.avis.com/en/help"
                            }
                          }
                        },
                        "pickup": {
                          "type": "object",
                          "title": "PickupResponse",
                          "description": "Details for the vehicle pickup.",
                          "required": [
                            "local_date_time",
                            "location"
                          ],
                          "properties": {
                            "local_date_time": {
                              "title": "LocalDateTime",
                              "type": "string",
                              "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}.*$",
                              "description": "The local date and time in ISO 8601 format.\nNote: Any information after the minutes (e.g., seconds, time zone) will be discarded.\n",
                              "example": "2026-01-21T10:30"
                            },
                            "location": {
                              "type": "object",
                              "title": "Location",
                              "description": "Represents a physical location for vehicle pickup or drop-off.",
                              "required": [
                                "location_id",
                                "name",
                                "address",
                                "kind"
                              ],
                              "properties": {
                                "location_id": {
                                  "type": "string",
                                  "description": "Reference ID for the location given for the vendor (e.g., \"AVS_JFK01\").",
                                  "example": "AVS_JFK01"
                                },
                                "name": {
                                  "type": "string",
                                  "description": "The human-readable name of the location (e.g., \"MIA Airport\").",
                                  "example": "John F. Kennedy International Airport"
                                },
                                "address": {
                                  "type": "object",
                                  "title": "Address",
                                  "required": [
                                    "first_line",
                                    "country",
                                    "city"
                                  ],
                                  "properties": {
                                    "first_line": {
                                      "type": "string",
                                      "description": "The first line of the street address.",
                                      "example": "JFK Airport Terminal 4"
                                    },
                                    "second_line": {
                                      "type": "string",
                                      "description": "The second line of the street address, if applicable."
                                    },
                                    "country": {
                                      "type": "string",
                                      "description": "Country code (ISO 3166-1 alpha-2)",
                                      "pattern": "^[A-Z]{2}$",
                                      "example": "US"
                                    },
                                    "city": {
                                      "type": "string",
                                      "description": "The city of the location.",
                                      "example": "New York"
                                    },
                                    "state_province": {
                                      "type": "string",
                                      "pattern": "^[A-Z0-9]{1,3}$",
                                      "description": "The code for the state or province ISO 3166-2 (e.g., \"CA\", \"FL\").",
                                      "example": "CA"
                                    }
                                  }
                                },
                                "coordinates": {
                                  "type": "object",
                                  "title": "Coordinates",
                                  "description": "Geographic coordinates of the location.",
                                  "required": [
                                    "latitude",
                                    "longitude"
                                  ],
                                  "properties": {
                                    "latitude": {
                                      "type": "number",
                                      "format": "double",
                                      "description": "The latitude coordinate of the location.",
                                      "example": 34.052235
                                    },
                                    "longitude": {
                                      "type": "number",
                                      "format": "double",
                                      "description": "The longitude coordinate of the location.",
                                      "example": -118.243683
                                    }
                                  }
                                },
                                "instructions": {
                                  "type": "string",
                                  "description": "Specific instructions for pickup/drop-off."
                                },
                                "kind": {
                                  "type": "string",
                                  "enum": [
                                    "Unspecified",
                                    "Airport",
                                    "Shuttle",
                                    "MeetAndGreet"
                                  ],
                                  "description": "The kind of pickup/drop-off (e.g., \"Shuttle\", \"Airport\", \"Meet and Greet\")."
                                },
                                "iata": {
                                  "type": "string",
                                  "description": "The IATA airport code if the location is an airport (e.g., \"JFK\", \"MIA\").",
                                  "pattern": "^[A-Z]{3}$",
                                  "example": "JFK"
                                }
                              }
                            }
                          }
                        },
                        "dropoff": {
                          "type": "object",
                          "title": "DropoffResponse",
                          "description": "Details for the vehicle drop-off.",
                          "required": [
                            "local_date_time",
                            "location"
                          ],
                          "properties": {
                            "local_date_time": {
                              "title": "LocalDateTime",
                              "type": "string",
                              "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}.*$",
                              "description": "The local date and time in ISO 8601 format.\nNote: Any information after the minutes (e.g., seconds, time zone) will be discarded.\n",
                              "example": "2026-01-21T10:30"
                            },
                            "location": {
                              "type": "object",
                              "title": "Location",
                              "description": "Represents a physical location for vehicle pickup or drop-off.",
                              "required": [
                                "location_id",
                                "name",
                                "address",
                                "kind"
                              ],
                              "properties": {
                                "location_id": {
                                  "type": "string",
                                  "description": "Reference ID for the location given for the vendor (e.g., \"AVS_JFK01\").",
                                  "example": "AVS_JFK01"
                                },
                                "name": {
                                  "type": "string",
                                  "description": "The human-readable name of the location (e.g., \"MIA Airport\").",
                                  "example": "John F. Kennedy International Airport"
                                },
                                "address": {
                                  "type": "object",
                                  "title": "Address",
                                  "required": [
                                    "first_line",
                                    "country",
                                    "city"
                                  ],
                                  "properties": {
                                    "first_line": {
                                      "type": "string",
                                      "description": "The first line of the street address.",
                                      "example": "JFK Airport Terminal 4"
                                    },
                                    "second_line": {
                                      "type": "string",
                                      "description": "The second line of the street address, if applicable."
                                    },
                                    "country": {
                                      "type": "string",
                                      "description": "Country code (ISO 3166-1 alpha-2)",
                                      "pattern": "^[A-Z]{2}$",
                                      "example": "US"
                                    },
                                    "city": {
                                      "type": "string",
                                      "description": "The city of the location.",
                                      "example": "New York"
                                    },
                                    "state_province": {
                                      "type": "string",
                                      "pattern": "^[A-Z0-9]{1,3}$",
                                      "description": "The code for the state or province ISO 3166-2 (e.g., \"CA\", \"FL\").",
                                      "example": "CA"
                                    }
                                  }
                                },
                                "coordinates": {
                                  "type": "object",
                                  "title": "Coordinates",
                                  "description": "Geographic coordinates of the location.",
                                  "required": [
                                    "latitude",
                                    "longitude"
                                  ],
                                  "properties": {
                                    "latitude": {
                                      "type": "number",
                                      "format": "double",
                                      "description": "The latitude coordinate of the location.",
                                      "example": 34.052235
                                    },
                                    "longitude": {
                                      "type": "number",
                                      "format": "double",
                                      "description": "The longitude coordinate of the location.",
                                      "example": -118.243683
                                    }
                                  }
                                },
                                "instructions": {
                                  "type": "string",
                                  "description": "Specific instructions for pickup/drop-off."
                                },
                                "kind": {
                                  "type": "string",
                                  "enum": [
                                    "Unspecified",
                                    "Airport",
                                    "Shuttle",
                                    "MeetAndGreet"
                                  ],
                                  "description": "The kind of pickup/drop-off (e.g., \"Shuttle\", \"Airport\", \"Meet and Greet\")."
                                },
                                "iata": {
                                  "type": "string",
                                  "description": "The IATA airport code if the location is an airport (e.g., \"JFK\", \"MIA\").",
                                  "pattern": "^[A-Z]{3}$",
                                  "example": "JFK"
                                }
                              }
                            }
                          }
                        },
                        "vehicle": {
                          "type": "object",
                          "title": "Vehicle",
                          "description": "The primary data structure that contains all the essential information about a car.",
                          "required": [
                            "description",
                            "acriss_code",
                            "luggage",
                            "transmission",
                            "air_conditioning"
                          ],
                          "properties": {
                            "description": {
                              "type": "string",
                              "description": "A human-readable description of the vehicle, often including make and model."
                            },
                            "acriss_code": {
                              "type": "string",
                              "description": "The standardized ACRISS or SIPP code for the vehicle. See https://www.acraorg.com/acriss-sip-codes/ for more details.",
                              "pattern": "^[A-Z0-9]{4}$",
                              "example": "CCAR"
                            },
                            "max_passengers": {
                              "type": "integer",
                              "minimum": 1,
                              "description": "The maximum number of passengers the vehicle can accommodate."
                            },
                            "doors": {
                              "type": "integer",
                              "minimum": 1,
                              "description": "The number of doors on the vehicle."
                            },
                            "luggage": {
                              "type": "object",
                              "title": "Luggage",
                              "required": [
                                "total"
                              ],
                              "properties": {
                                "small": {
                                  "type": "integer",
                                  "description": "The number of small bags the vehicle can hold."
                                },
                                "medium": {
                                  "type": "integer",
                                  "description": "The number of medium bags the vehicle can hold."
                                },
                                "large": {
                                  "type": "integer",
                                  "description": "The number of large bags the vehicle can hold."
                                },
                                "total": {
                                  "type": "integer",
                                  "description": "The total number of bags the vehicle can hold, if a specific breakdown is not available or as a sum of small/large."
                                }
                              }
                            },
                            "transmission": {
                              "type": "string",
                              "description": "The transmission type of the vehicle.",
                              "enum": [
                                "Automatic",
                                "Manual",
                                "Cvt",
                                "Unspecified"
                              ]
                            },
                            "air_conditioning": {
                              "type": "boolean",
                              "description": "Indicates whether the vehicle has air conditioning."
                            },
                            "images": {
                              "type": "object",
                              "title": "VehicleImages",
                              "required": [
                                "default",
                                "links"
                              ],
                              "properties": {
                                "default": {
                                  "type": "string",
                                  "format": "uri",
                                  "description": "The URL for the primary display image of the vehicle."
                                },
                                "links": {
                                  "type": "array",
                                  "description": "A list of additional image URLs for the vehicle.",
                                  "items": {
                                    "type": "string",
                                    "format": "uri"
                                  }
                                }
                              }
                            }
                          }
                        },
                        "pricing": {
                          "type": "object",
                          "title": "Pricing",
                          "description": "The car rental pricing details.\nThe base + fee_summary.total = total price.\nThe pay_now + pay_later = total price.\nThe fees are not itemized by payments schedule (pay now vs pay later).\n",
                          "required": [
                            "base",
                            "fee_summary",
                            "pay_now",
                            "pay_later"
                          ],
                          "properties": {
                            "base": {
                              "type": "object",
                              "title": "PriceBase",
                              "description": "The base rate for the rental, excluding fees and taxes across the payment schedule (both pay now and pay later).",
                              "required": [
                                "currency",
                                "amount"
                              ],
                              "properties": {
                                "currency": {
                                  "description": "Currency code, in ISO 4217 format.",
                                  "type": "string",
                                  "pattern": "^[A-Z]{3}$",
                                  "example": "USD"
                                },
                                "amount": {
                                  "type": "string",
                                  "description": "Monetary amount value Serialized BigDecimal value",
                                  "example": "123.45"
                                }
                              }
                            },
                            "fee_summary": {
                              "type": "object",
                              "title": "FeeSummary",
                              "description": "An itemized list of fees and taxes that make up the total price. These fees are included in both the 'pay now' and 'pay later' amounts.",
                              "required": [
                                "fees",
                                "total"
                              ],
                              "properties": {
                                "fees": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "title": "FeeSummaryItem",
                                    "description": "A fee or tax that is part of the total price.",
                                    "required": [
                                      "description",
                                      "line_item"
                                    ],
                                    "properties": {
                                      "description": {
                                        "type": "string",
                                        "description": "A description of the fee or tax."
                                      },
                                      "line_item": {
                                        "type": "object",
                                        "title": "LineItem",
                                        "description": "The amount and currency for a chargeable item.",
                                        "required": [
                                          "currency",
                                          "amount"
                                        ],
                                        "properties": {
                                          "currency": {
                                            "description": "Currency code, in ISO 4217 format.",
                                            "type": "string",
                                            "pattern": "^[A-Z]{3}$",
                                            "example": "USD"
                                          },
                                          "amount": {
                                            "type": "string",
                                            "description": "Monetary amount value Serialized BigDecimal value",
                                            "example": "123.45"
                                          }
                                        }
                                      }
                                    }
                                  }
                                },
                                "total": {
                                  "type": "object",
                                  "title": "FeeSummaryTotal",
                                  "description": "The total amount for all fees and taxes.",
                                  "required": [
                                    "currency",
                                    "amount"
                                  ],
                                  "properties": {
                                    "currency": {
                                      "description": "Currency code, in ISO 4217 format.",
                                      "type": "string",
                                      "pattern": "^[A-Z]{3}$",
                                      "example": "USD"
                                    },
                                    "amount": {
                                      "type": "string",
                                      "description": "Monetary amount value Serialized BigDecimal value",
                                      "example": "123.45"
                                    }
                                  }
                                }
                              }
                            },
                            "pay_now": {
                              "type": "object",
                              "title": "PayNow",
                              "description": "The total amount to be paid at the time of booking.",
                              "required": [
                                "currency",
                                "amount"
                              ],
                              "properties": {
                                "currency": {
                                  "description": "Currency code, in ISO 4217 format.",
                                  "type": "string",
                                  "pattern": "^[A-Z]{3}$",
                                  "example": "USD"
                                },
                                "amount": {
                                  "type": "string",
                                  "description": "Monetary amount value Serialized BigDecimal value",
                                  "example": "123.45"
                                }
                              }
                            },
                            "pay_later": {
                              "type": "object",
                              "title": "PayLater",
                              "description": "The total amount to be paid at a later time (usually at the desk).",
                              "required": [
                                "currency",
                                "amount"
                              ],
                              "properties": {
                                "currency": {
                                  "description": "Currency code, in ISO 4217 format.",
                                  "type": "string",
                                  "pattern": "^[A-Z]{3}$",
                                  "example": "USD"
                                },
                                "amount": {
                                  "type": "string",
                                  "description": "Monetary amount value Serialized BigDecimal value",
                                  "example": "123.45"
                                }
                              }
                            }
                          }
                        },
                        "cancellation_policy": {
                          "type": "object",
                          "description": "Defines the terms and conditions for canceling a vehicle rental.",
                          "required": [
                            "penalty_ranges"
                          ],
                          "properties": {
                            "penalty_ranges": {
                              "type": "array",
                              "minItems": 1,
                              "items": {
                                "type": "object",
                                "title": "PenaltyRange",
                                "required": [
                                  "start_time",
                                  "end_time",
                                  "penalty"
                                ],
                                "properties": {
                                  "start_time": {
                                    "description": "Start time of the penalty range (Inclusive), in ISO 8601 format.",
                                    "type": "string",
                                    "format": "date-time"
                                  },
                                  "end_time": {
                                    "description": "End time of the penalty range (Exclusive), in ISO 8601 format.",
                                    "type": "string",
                                    "format": "date-time"
                                  },
                                  "penalty": {
                                    "type": "object",
                                    "title": "Penalty",
                                    "description": "Penalty amount withheld form the client upon cancellation.",
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "properties": {
                                      "currency": {
                                        "description": "Currency code, in ISO 4217 format.",
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$",
                                        "example": "USD"
                                      },
                                      "amount": {
                                        "type": "string",
                                        "description": "Monetary amount value Serialized BigDecimal value",
                                        "example": "123.45"
                                      }
                                    }
                                  }
                                }
                              }
                            }
                          },
                          "example": {
                            "penalty_ranges": [
                              {
                                "start_time": "2025-01-21T00:00:00Z",
                                "end_time": "2025-01-26T00:00:00Z",
                                "penalty": {
                                  "currency": "USD",
                                  "amount": "0.00"
                                }
                              },
                              {
                                "start_time": "2025-01-26T00:00:00Z",
                                "end_time": "2025-01-27T00:00:00Z",
                                "penalty": {
                                  "currency": "USD",
                                  "amount": "75.00"
                                }
                              },
                              {
                                "start_time": "2025-01-27T00:00:00Z",
                                "end_time": "2025-01-28T00:00:00Z",
                                "penalty": {
                                  "currency": "USD",
                                  "amount": "135.00"
                                }
                              }
                            ]
                          }
                        },
                        "mileage_policy": {
                          "title": "MileagePolicy",
                          "description": "Defines the vehicle's mileage allowance and any associated overage charges.",
                          "oneOf": [
                            {
                              "type": "object",
                              "title": "UnlimitedMileagePolicy",
                              "required": [
                                "type"
                              ],
                              "properties": {
                                "type": {
                                  "type": "string",
                                  "enum": [
                                    "unlimited"
                                  ],
                                  "description": "The type of mileage policy."
                                }
                              }
                            },
                            {
                              "type": "object",
                              "title": "LimitedMileagePolicy",
                              "required": [
                                "type",
                                "quantity",
                                "unit"
                              ],
                              "properties": {
                                "type": {
                                  "type": "string",
                                  "enum": [
                                    "limited"
                                  ],
                                  "description": "The type of mileage policy."
                                },
                                "quantity": {
                                  "type": "integer",
                                  "description": "The numerical value of the included mileage."
                                },
                                "unit": {
                                  "type": "string",
                                  "enum": [
                                    "mi",
                                    "km"
                                  ],
                                  "description": "The unit of distance for the included mileage."
                                }
                              }
                            },
                            {
                              "type": "object",
                              "title": "LimitedUnspecifiedMileagePolicy",
                              "required": [
                                "type"
                              ],
                              "properties": {
                                "type": {
                                  "type": "string",
                                  "enum": [
                                    "limited_unspecified"
                                  ],
                                  "description": "The type of mileage policy when mileage is limited but specifics are not provided."
                                }
                              }
                            }
                          ],
                          "discriminator": {
                            "propertyName": "type",
                            "mapping": {
                              "unlimited": "#/UnlimitedMileagePolicy",
                              "limited": "#/LimitedMileagePolicy",
                              "limited_unspecified": "#/LimitedUnspecifiedMileagePolicy"
                            }
                          }
                        },
                        "age_policy": {
                          "type": "object",
                          "title": "AgePolicy",
                          "description": "The age requirements associated with the rental.",
                          "properties": {
                            "minimum_age": {
                              "type": "integer",
                              "description": "The minimum age required to rent the vehicle.",
                              "example": 21
                            }
                          }
                        }
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "disclosures",
                        "response_id"
                      ],
                      "properties": {
                        "disclosures": {
                          "type": "array",
                          "description": "Important notices, booking conditions, or legal disclosures.",
                          "items": {
                            "type": "object",
                            "title": "Disclosure",
                            "description": "An important notice, booking condition, or legal disclosure.",
                            "required": [
                              "kind",
                              "content"
                            ],
                            "properties": {
                              "kind": {
                                "type": "string",
                                "description": "Type of disclosure.",
                                "enum": [
                                  "unspecified",
                                  "booking_conditions",
                                  "customer_support",
                                  "dropoff_instructions",
                                  "emergency_procedures",
                                  "faq",
                                  "finalize_booking",
                                  "how_it_works",
                                  "important_information",
                                  "next_steps",
                                  "payment_and_fees",
                                  "pickup_instructions",
                                  "terms_of_service",
                                  "vehicle_features_and_policies",
                                  "car_rental_policy",
                                  "payment_conditions",
                                  "security_deposit",
                                  "security_deposit_method",
                                  "payment_methods",
                                  "required_documents",
                                  "minimum_license_period_year",
                                  "payment_and_charges",
                                  "driver_information"
                                ],
                                "example": "payment_and_fees"
                              },
                              "description": {
                                "type": "string",
                                "description": "A brief summary of the disclosure.",
                                "example": "Payment is due upon return of the vehicle."
                              },
                              "content": {
                                "type": "array",
                                "description": "The content of the disclosure.",
                                "items": {
                                  "type": "object",
                                  "title": "DisclosureContent",
                                  "required": [
                                    "text",
                                    "title"
                                  ],
                                  "properties": {
                                    "title": {
                                      "type": "string",
                                      "description": "Short description of the disclosure.",
                                      "example": "Payment Terms"
                                    },
                                    "text": {
                                      "type": "string",
                                      "description": "The detailed text of the disclosure.",
                                      "example": "Payment for this order is due when the car is returned and will be charged by Thrifty Car Rental."
                                    }
                                  }
                                }
                              }
                            }
                          }
                        },
                        "ancillaries": {
                          "type": "array",
                          "description": "Available extras and add-ons for the rental.",
                          "items": {
                            "type": "object",
                            "title": "Ancillary",
                            "description": "A car rental extra or add-on available for the booking.",
                            "required": [
                              "id",
                              "type",
                              "category",
                              "name",
                              "pricing",
                              "payment"
                            ],
                            "properties": {
                              "id": {
                                "type": "string",
                                "description": "Unique identifier for this ancillary option from the supplier.",
                                "example": "GPS_001"
                              },
                              "type": {
                                "type": "string",
                                "description": "The type of ancillary.",
                                "enum": [
                                  "InfantSeat",
                                  "ToddlerSeat",
                                  "BoosterSeat",
                                  "ChildSeat",
                                  "Gps",
                                  "SatNav",
                                  "RoadsideAssistance",
                                  "AdditionalDriver",
                                  "SatelliteRadio",
                                  "SnowChains",
                                  "SnowTires",
                                  "WinterKit",
                                  "SkiRack",
                                  "BikeRack",
                                  "LuggageRack",
                                  "YoungDriver",
                                  "PrepaidFuel",
                                  "Wifi",
                                  "Cdw",
                                  "Ldw",
                                  "Pai",
                                  "Pec",
                                  "Sli"
                                ]
                              },
                              "category": {
                                "type": "string",
                                "description": "The broad category of the ancillary.",
                                "enum": [
                                  "Equipment",
                                  "AddOn"
                                ]
                              },
                              "name": {
                                "type": "string",
                                "description": "Human-readable display name for the ancillary.",
                                "example": "GPS Navigation"
                              },
                              "description": {
                                "type": "string",
                                "description": "Detailed description of the ancillary.",
                                "example": "Portable GPS navigation device for your rental."
                              },
                              "pricing": {
                                "type": "object",
                                "title": "AncillaryPricing",
                                "description": "Pricing details for an ancillary item.",
                                "required": [
                                  "amount",
                                  "currency",
                                  "unit"
                                ],
                                "properties": {
                                  "amount": {
                                    "type": "string",
                                    "description": "Monetary amount value Serialized BigDecimal value",
                                    "example": "123.45"
                                  },
                                  "currency": {
                                    "description": "Currency code, in ISO 4217 format.",
                                    "type": "string",
                                    "pattern": "^[A-Z]{3}$",
                                    "example": "USD"
                                  },
                                  "unit": {
                                    "type": "string",
                                    "description": "How the price is applied.",
                                    "enum": [
                                      "PerBooking",
                                      "PerDay",
                                      "PerDriver"
                                    ]
                                  }
                                }
                              },
                              "payment": {
                                "type": "string",
                                "description": "When payment is collected for this ancillary.",
                                "enum": [
                                  "PayNow",
                                  "PayAtCounter"
                                ]
                              },
                              "constraints": {
                                "type": "object",
                                "title": "AncillaryConstraints",
                                "description": "Constraints on ancillary selection.",
                                "properties": {
                                  "max_quantity": {
                                    "type": "integer",
                                    "minimum": 1,
                                    "description": "Maximum number of this ancillary that can be selected.",
                                    "example": 3
                                  },
                                  "included_quantity": {
                                    "type": "integer",
                                    "minimum": 0,
                                    "description": "Number of this ancillary already included in the base rental at no extra cost.",
                                    "example": 0
                                  }
                                }
                              }
                            }
                          }
                        },
                        "response_id": {
                          "title": "ResponseId",
                          "description": "Unique identifier of the specific response.\nUse this identifier when you need to refer to a specific response, when requiring technical support.\n",
                          "type": "string",
                          "format": "uuid",
                          "example": "123e4567-e89b-12d3-a456-426614174000"
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Invalid Request. There will be an error code in the response detailing the issue.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "GetRentalOfferFailure",
                  "description": "A standardized schema for API failure responses when retrieving rental offers.",
                  "required": [
                    "error_code",
                    "description",
                    "response_id"
                  ],
                  "properties": {
                    "error_code": {
                      "description": "A specific code identifying the type of error.",
                      "enum": [
                        "invalid_input",
                        "invalid_quote_token",
                        "offer_not_found",
                        "offer_expired"
                      ],
                      "type": "string"
                    },
                    "description": {
                      "type": "string",
                      "description": "A human-readable message providing more details about the error."
                    },
                    "response_id": {
                      "title": "ResponseId",
                      "description": "Unique identifier of the specific response.\nUse this identifier when you need to refer to a specific response, when requiring technical support.\n",
                      "type": "string",
                      "format": "uuid",
                      "example": "123e4567-e89b-12d3-a456-426614174000"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "InternalServerError",
                  "required": [
                    "description",
                    "error_code",
                    "response_id"
                  ],
                  "properties": {
                    "error_code": {
                      "description": "Error returned when an internal server error occurs.",
                      "enum": [
                        "internal_server_error"
                      ],
                      "type": "string",
                      "example": "internal_server_error"
                    },
                    "description": {
                      "type": "string",
                      "description": "A human-readable description of the error.",
                      "example": "An unexpected error occurred."
                    },
                    "response_id": {
                      "title": "ResponseId",
                      "description": "Unique identifier of the specific response.\nUse this identifier when you need to refer to a specific response, when requiring technical support.\n",
                      "type": "string",
                      "format": "uuid",
                      "example": "123e4567-e89b-12d3-a456-426614174000"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/cars/v1/preCancel": {
      "put": {
        "operationId": "preCancel",
        "summary": "Get a cancellation quote for an order",
        "description": "Quote the cancellation for given order id.\nWe determine whether a product in the order is within the cancellation policy, and if it is what the appropriate sell refund value are for the product.\nCalling precancel does not change the state of the booking order.\nIt is only at the time of cancel that the booking order is actually cancelled.\n",
        "tags": [
          "booking"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "title": "PreCancelRequest",
                "type": "object",
                "description": "The order to be quoted for cancellation.",
                "required": [
                  "request_id",
                  "order_id"
                ],
                "properties": {
                  "request_id": {
                    "title": "RequestId",
                    "description": "Unique identifier of the specific request.\nUse this identifier when you need to refer to a specific request, when requiring technical support.\n",
                    "type": "string",
                    "format": "uuid",
                    "example": "123e4567-e89b-12d3-a456-426614174000"
                  },
                  "order_id": {
                    "description": "The unique identifier of the confirmed order.",
                    "type": "string",
                    "example": "RES-987654321"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Pre-cancel a booking order by order id successfully.",
            "content": {
              "application/json": {
                "schema": {
                  "title": "PreCancelResponse",
                  "type": "object",
                  "description": "Response for the cancellation quote operation.",
                  "required": [
                    "cancellation_penalty",
                    "refund_amount",
                    "cancellation_token",
                    "valid_until",
                    "response_id"
                  ],
                  "properties": {
                    "cancellation_penalty": {
                      "type": "object",
                      "description": "Defines the terms and conditions for canceling a vehicle rental.",
                      "required": [
                        "penalty_ranges"
                      ],
                      "properties": {
                        "penalty_ranges": {
                          "type": "array",
                          "minItems": 1,
                          "items": {
                            "type": "object",
                            "title": "PenaltyRange",
                            "required": [
                              "start_time",
                              "end_time",
                              "penalty"
                            ],
                            "properties": {
                              "start_time": {
                                "description": "Start time of the penalty range (Inclusive), in ISO 8601 format.",
                                "type": "string",
                                "format": "date-time"
                              },
                              "end_time": {
                                "description": "End time of the penalty range (Exclusive), in ISO 8601 format.",
                                "type": "string",
                                "format": "date-time"
                              },
                              "penalty": {
                                "type": "object",
                                "title": "Penalty",
                                "description": "Penalty amount withheld form the client upon cancellation.",
                                "required": [
                                  "amount",
                                  "currency"
                                ],
                                "properties": {
                                  "currency": {
                                    "description": "Currency code, in ISO 4217 format.",
                                    "type": "string",
                                    "pattern": "^[A-Z]{3}$",
                                    "example": "USD"
                                  },
                                  "amount": {
                                    "type": "string",
                                    "description": "Monetary amount value Serialized BigDecimal value",
                                    "example": "123.45"
                                  }
                                }
                              }
                            }
                          }
                        }
                      },
                      "example": {
                        "penalty_ranges": [
                          {
                            "start_time": "2025-01-21T00:00:00Z",
                            "end_time": "2025-01-26T00:00:00Z",
                            "penalty": {
                              "currency": "USD",
                              "amount": "0.00"
                            }
                          },
                          {
                            "start_time": "2025-01-26T00:00:00Z",
                            "end_time": "2025-01-27T00:00:00Z",
                            "penalty": {
                              "currency": "USD",
                              "amount": "75.00"
                            }
                          },
                          {
                            "start_time": "2025-01-27T00:00:00Z",
                            "end_time": "2025-01-28T00:00:00Z",
                            "penalty": {
                              "currency": "USD",
                              "amount": "135.00"
                            }
                          }
                        ]
                      }
                    },
                    "refund_amount": {
                      "title": "Refund",
                      "type": "object",
                      "description": "The amount that will be refunded to the client.",
                      "required": [
                        "amount",
                        "currency"
                      ],
                      "properties": {
                        "amount": {
                          "type": "string",
                          "description": "Monetary amount value Serialized BigDecimal value",
                          "example": "123.45"
                        },
                        "currency": {
                          "description": "Currency code, in ISO 4217 format.",
                          "type": "string",
                          "pattern": "^[A-Z]{3}$",
                          "example": "USD"
                        }
                      }
                    },
                    "cancellation_token": {
                      "description": "Token to use to complete the cancellation, using the cancel operation.",
                      "type": "string",
                      "example": "string"
                    },
                    "valid_until": {
                      "description": "ISO 8601 timestamp until which the cancellation quote remains valid.",
                      "type": "string",
                      "format": "date-time",
                      "example": "2025-01-13T13:45:15.523Z"
                    },
                    "response_id": {
                      "title": "ResponseId",
                      "description": "Unique identifier of the specific response.\nUse this identifier when you need to refer to a specific response, when requiring technical support.\n",
                      "type": "string",
                      "format": "uuid",
                      "example": "123e4567-e89b-12d3-a456-426614174000"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid Request. There will be an error code in the response detailing the issue.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "PreCancelFailure",
                  "description": "A standardized schema for API failure responses.",
                  "required": [
                    "error_code",
                    "description",
                    "response_id"
                  ],
                  "properties": {
                    "error_code": {
                      "description": "A specific code identifying the type of error.",
                      "enum": [
                        "invalid_input",
                        "order_already_cancelled",
                        "order_not_found",
                        "order_not_cancellable"
                      ],
                      "type": "string"
                    },
                    "description": {
                      "type": "string",
                      "description": "A human-readable message providing more details about the error."
                    },
                    "response_id": {
                      "title": "ResponseId",
                      "description": "Unique identifier of the specific response.\nUse this identifier when you need to refer to a specific response, when requiring technical support.\n",
                      "type": "string",
                      "format": "uuid",
                      "example": "123e4567-e89b-12d3-a456-426614174000"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal server error.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "InternalServerError",
                  "required": [
                    "description",
                    "error_code",
                    "response_id"
                  ],
                  "properties": {
                    "error_code": {
                      "description": "Error returned when an internal server error occurs.",
                      "enum": [
                        "internal_server_error"
                      ],
                      "type": "string",
                      "example": "internal_server_error"
                    },
                    "description": {
                      "type": "string",
                      "description": "A human-readable description of the error.",
                      "example": "An unexpected error occurred."
                    },
                    "response_id": {
                      "title": "ResponseId",
                      "description": "Unique identifier of the specific response.\nUse this identifier when you need to refer to a specific response, when requiring technical support.\n",
                      "type": "string",
                      "format": "uuid",
                      "example": "123e4567-e89b-12d3-a456-426614174000"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/cars/v1/cancel": {
      "post": {
        "operationId": "cancel",
        "summary": "Cancel a booking.",
        "description": "Completes the cancellation of an order, which was previously pre-canceled.\nYou must first use the precancel operation to obtain a cancellation token, which is then used to complete the cancellation.\n\nNote that this endpoint is idempotent, and the client can safely retry the request with the same cancellation token if the connection is lost.\n",
        "tags": [
          "booking"
        ],
        "requestBody": {
          "description": "Cancel a confirmed booking using token generated at precancel stage.",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "title": "CancellationRequest",
                "description": "Cancel a confirmed booking using token generated at precancel stage.",
                "type": "object",
                "required": [
                  "request_id",
                  "cancellation_token"
                ],
                "properties": {
                  "request_id": {
                    "title": "RequestId",
                    "description": "Unique identifier of the specific request.\nUse this identifier when you need to refer to a specific request, when requiring technical support.\n",
                    "type": "string",
                    "format": "uuid",
                    "example": "123e4567-e89b-12d3-a456-426614174000"
                  },
                  "cancellation_token": {
                    "description": "Opaque token generated at cancellation quote time (pre-cancel).",
                    "type": "string",
                    "example": "CANCEL-TOKEN-XYZ-12345"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Cancel a booking by order id successfully",
            "content": {
              "application/json": {
                "schema": {
                  "title": "CancellationResponse",
                  "type": "object",
                  "description": "Response for the cancellation operation",
                  "required": [
                    "status",
                    "response_id"
                  ],
                  "properties": {
                    "status": {
                      "description": "Describes the status of a order.\n* `confirmed` - order was booked successfully\n* `cancelled` - order was cancelled successfully\n* `pending` - order is pending\n* `failed` - order processing has failed\n\nThis is a non-exhaustive list of enum values, which will be extended in the future.\"\n",
                      "oneOf": [
                        {
                          "type": "object",
                          "title": "StatusCancelled",
                          "required": [
                            "type",
                            "cancellation_info"
                          ],
                          "properties": {
                            "type": {
                              "type": "string",
                              "enum": [
                                "cancelled"
                              ],
                              "example": "cancelled"
                            },
                            "cancellation_info": {
                              "type": "object",
                              "title": "CancellationInfo",
                              "description": "Information on a cancelled order",
                              "required": [
                                "cancellation_datetime"
                              ],
                              "properties": {
                                "cancellation_datetime": {
                                  "description": "The ISO 8601 datetime of when this order is cancelled.",
                                  "type": "string",
                                  "format": "date-time",
                                  "example": "2017-08-17T13:31:15.523Z"
                                }
                              },
                              "example": {
                                "cancellation_datetime": "2025-02-17T18:31:15.523Z"
                              }
                            }
                          }
                        },
                        {
                          "type": "object",
                          "title": "StatusConfirmed",
                          "required": [
                            "type"
                          ],
                          "properties": {
                            "type": {
                              "type": "string",
                              "enum": [
                                "confirmed"
                              ],
                              "example": "confirmed"
                            }
                          },
                          "example": {
                            "type": "confirmed"
                          }
                        },
                        {
                          "type": "object",
                          "title": "StatusPending",
                          "required": [
                            "type"
                          ],
                          "properties": {
                            "type": {
                              "type": "string",
                              "enum": [
                                "pending"
                              ],
                              "example": "pending"
                            }
                          },
                          "example": {
                            "type": "pending"
                          }
                        },
                        {
                          "type": "object",
                          "title": "StatusFailed",
                          "description": "Represents a failed status for an order. This status is vended when the order \ncannot be processed or completed due to an unrecoverable error. Examples include:\n* Invalid order details or corrupted data\n* System errors during processing\n",
                          "required": [
                            "type"
                          ],
                          "properties": {
                            "type": {
                              "type": "string",
                              "enum": [
                                "failed"
                              ],
                              "example": "failed"
                            }
                          },
                          "example": {
                            "type": "failed"
                          }
                        }
                      ],
                      "discriminator": {
                        "propertyName": "type",
                        "mapping": {
                          "cancelled": "#/StatusCancelled",
                          "confirmed": "#/StatusConfirmed",
                          "pending": "#/StatusPending",
                          "failed": "#/StatusFailed"
                        }
                      }
                    },
                    "response_id": {
                      "title": "ResponseId",
                      "description": "Unique identifier of the specific response.\nUse this identifier when you need to refer to a specific response, when requiring technical support.\n",
                      "type": "string",
                      "format": "uuid",
                      "example": "123e4567-e89b-12d3-a456-426614174000"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid Request. There will be an error code in the response detailing the issue.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "CancellationFailure",
                  "description": "A standardized schema for API failure responses.",
                  "required": [
                    "error_code",
                    "description",
                    "response_id"
                  ],
                  "properties": {
                    "error_code": {
                      "description": "A specific code identifying the type of error.",
                      "enum": [
                        "invalid_input",
                        "invalid_cancel_token",
                        "order_already_cancelled",
                        "order_not_found",
                        "pick_up_in_the_past",
                        "rental_already_picked_up",
                        "order_not_cancellable"
                      ],
                      "type": "string"
                    },
                    "description": {
                      "type": "string",
                      "description": "A human-readable message providing more details about the error."
                    },
                    "response_id": {
                      "title": "ResponseId",
                      "description": "Unique identifier of the specific response.\nUse this identifier when you need to refer to a specific response, when requiring technical support.\n",
                      "type": "string",
                      "format": "uuid",
                      "example": "123e4567-e89b-12d3-a456-426614174000"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "InternalServerError",
                  "required": [
                    "description",
                    "error_code",
                    "response_id"
                  ],
                  "properties": {
                    "error_code": {
                      "description": "Error returned when an internal server error occurs.",
                      "enum": [
                        "internal_server_error"
                      ],
                      "type": "string",
                      "example": "internal_server_error"
                    },
                    "description": {
                      "type": "string",
                      "description": "A human-readable description of the error.",
                      "example": "An unexpected error occurred."
                    },
                    "response_id": {
                      "title": "ResponseId",
                      "description": "Unique identifier of the specific response.\nUse this identifier when you need to refer to a specific response, when requiring technical support.\n",
                      "type": "string",
                      "format": "uuid",
                      "example": "123e4567-e89b-12d3-a456-426614174000"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "security": [
    {
      "hts_api_key": []
    }
  ],
  "components": {
    "securitySchemes": {
      "hts_api_key": {
        "type": "apiKey",
        "in": "header",
        "name": "HTS-API-KEY"
      }
    },
    "schemas": {
      "internal_server_error": {
        "type": "object",
        "title": "InternalServerError",
        "required": [
          "description",
          "error_code",
          "response_id"
        ],
        "properties": {
          "error_code": {
            "description": "Error returned when an internal server error occurs.",
            "enum": [
              "internal_server_error"
            ],
            "type": "string",
            "example": "internal_server_error"
          },
          "description": {
            "type": "string",
            "description": "A human-readable description of the error.",
            "example": "An unexpected error occurred."
          },
          "response_id": {
            "title": "ResponseId",
            "description": "Unique identifier of the specific response.\nUse this identifier when you need to refer to a specific response, when requiring technical support.\n",
            "type": "string",
            "format": "uuid",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          }
        }
      },
      "location_request": {
        "type": "object",
        "title": "LocationRequest",
        "description": "Represents a physical location for vehicle pick-up or drop-off.",
        "oneOf": [
          {
            "type": "object",
            "title": "Airport",
            "required": [
              "type",
              "iata"
            ],
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "airport"
                ],
                "description": "The type of location."
              },
              "iata": {
                "type": "string",
                "description": "The IATA airport code (e.g., \"JFK\", \"MIA\").",
                "pattern": "^[A-Z]{3}$",
                "example": "MIA"
              }
            }
          },
          {
            "type": "object",
            "title": "BoundingBox",
            "required": [
              "type",
              "north_east",
              "south_west"
            ],
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "bounding_box"
                ],
                "description": "The type of location."
              },
              "north_east": {
                "type": "object",
                "title": "Coordinates",
                "description": "Geographic coordinates of the location.",
                "required": [
                  "latitude",
                  "longitude"
                ],
                "properties": {
                  "latitude": {
                    "type": "number",
                    "format": "double",
                    "description": "The latitude coordinate of the location.",
                    "example": 34.052235
                  },
                  "longitude": {
                    "type": "number",
                    "format": "double",
                    "description": "The longitude coordinate of the location.",
                    "example": -118.243683
                  }
                }
              },
              "south_west": {
                "type": "object",
                "title": "Coordinates",
                "description": "Geographic coordinates of the location.",
                "required": [
                  "latitude",
                  "longitude"
                ],
                "properties": {
                  "latitude": {
                    "type": "number",
                    "format": "double",
                    "description": "The latitude coordinate of the location.",
                    "example": 34.052235
                  },
                  "longitude": {
                    "type": "number",
                    "format": "double",
                    "description": "The longitude coordinate of the location.",
                    "example": -118.243683
                  }
                }
              }
            }
          }
        ],
        "discriminator": {
          "propertyName": "type",
          "mapping": {
            "airport": "../../openapi.yaml#/components/schemas/airport",
            "bounding_box": "../../openapi.yaml#/components/schemas/bounding_box"
          }
        }
      },
      "airport": {
        "type": "object",
        "title": "Airport",
        "required": [
          "type",
          "iata"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "airport"
            ],
            "description": "The type of location."
          },
          "iata": {
            "type": "string",
            "description": "The IATA airport code (e.g., \"JFK\", \"MIA\").",
            "pattern": "^[A-Z]{3}$",
            "example": "MIA"
          }
        }
      },
      "bounding_box": {
        "type": "object",
        "title": "BoundingBox",
        "required": [
          "type",
          "north_east",
          "south_west"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "bounding_box"
            ],
            "description": "The type of location."
          },
          "north_east": {
            "type": "object",
            "title": "Coordinates",
            "description": "Geographic coordinates of the location.",
            "required": [
              "latitude",
              "longitude"
            ],
            "properties": {
              "latitude": {
                "type": "number",
                "format": "double",
                "description": "The latitude coordinate of the location.",
                "example": 34.052235
              },
              "longitude": {
                "type": "number",
                "format": "double",
                "description": "The longitude coordinate of the location.",
                "example": -118.243683
              }
            }
          },
          "south_west": {
            "type": "object",
            "title": "Coordinates",
            "description": "Geographic coordinates of the location.",
            "required": [
              "latitude",
              "longitude"
            ],
            "properties": {
              "latitude": {
                "type": "number",
                "format": "double",
                "description": "The latitude coordinate of the location.",
                "example": 34.052235
              },
              "longitude": {
                "type": "number",
                "format": "double",
                "description": "The longitude coordinate of the location.",
                "example": -118.243683
              }
            }
          }
        }
      },
      "shop_failure": {
        "type": "object",
        "title": "ShopFailure",
        "description": "A standardized schema for API failure responses.",
        "required": [
          "error_code",
          "description",
          "response_id"
        ],
        "properties": {
          "error_code": {
            "description": "A specific code identifying the type of error.",
            "enum": [
              "invalid_input",
              "forbidden"
            ],
            "type": "string"
          },
          "description": {
            "type": "string",
            "description": "A human-readable message providing more details about the error."
          },
          "response_id": {
            "title": "ResponseId",
            "description": "Unique identifier of the specific response.\nUse this identifier when you need to refer to a specific response, when requiring technical support.\n",
            "type": "string",
            "format": "uuid",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          }
        }
      },
      "shop_request": {
        "type": "object",
        "title": "ShopRequest",
        "description": "Request body for fetching vehicle availability.",
        "required": [
          "request_id",
          "driver_age",
          "pickup",
          "dropoff",
          "user_preferences",
          "point_of_sale"
        ],
        "properties": {
          "request_id": {
            "title": "RequestId",
            "description": "Unique identifier of the specific request.\nUse this identifier when you need to refer to a specific request, when requiring technical support.\n",
            "type": "string",
            "format": "uuid",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          },
          "driver_age": {
            "type": "integer",
            "description": "The age of the primary driver.",
            "minimum": 18,
            "example": 30
          },
          "pickup": {
            "type": "object",
            "title": "Pickup",
            "description": "Details for the vehicle pickup.",
            "required": [
              "local_date_time",
              "location"
            ],
            "properties": {
              "local_date_time": {
                "title": "LocalDateTime",
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}.*$",
                "description": "The local date and time in ISO 8601 format.\nNote: Any information after the minutes (e.g., seconds, time zone) will be discarded.\n",
                "example": "2026-01-21T10:30"
              },
              "location": {
                "type": "object",
                "title": "LocationRequest",
                "description": "Represents a physical location for vehicle pick-up or drop-off.",
                "oneOf": [
                  {
                    "type": "object",
                    "title": "Airport",
                    "required": [
                      "type",
                      "iata"
                    ],
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "airport"
                        ],
                        "description": "The type of location."
                      },
                      "iata": {
                        "type": "string",
                        "description": "The IATA airport code (e.g., \"JFK\", \"MIA\").",
                        "pattern": "^[A-Z]{3}$",
                        "example": "MIA"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "title": "BoundingBox",
                    "required": [
                      "type",
                      "north_east",
                      "south_west"
                    ],
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "bounding_box"
                        ],
                        "description": "The type of location."
                      },
                      "north_east": {
                        "type": "object",
                        "title": "Coordinates",
                        "description": "Geographic coordinates of the location.",
                        "required": [
                          "latitude",
                          "longitude"
                        ],
                        "properties": {
                          "latitude": {
                            "type": "number",
                            "format": "double",
                            "description": "The latitude coordinate of the location.",
                            "example": 34.052235
                          },
                          "longitude": {
                            "type": "number",
                            "format": "double",
                            "description": "The longitude coordinate of the location.",
                            "example": -118.243683
                          }
                        }
                      },
                      "south_west": {
                        "type": "object",
                        "title": "Coordinates",
                        "description": "Geographic coordinates of the location.",
                        "required": [
                          "latitude",
                          "longitude"
                        ],
                        "properties": {
                          "latitude": {
                            "type": "number",
                            "format": "double",
                            "description": "The latitude coordinate of the location.",
                            "example": 34.052235
                          },
                          "longitude": {
                            "type": "number",
                            "format": "double",
                            "description": "The longitude coordinate of the location.",
                            "example": -118.243683
                          }
                        }
                      }
                    }
                  }
                ],
                "discriminator": {
                  "propertyName": "type",
                  "mapping": {
                    "airport": "../../openapi.yaml#/components/schemas/airport",
                    "bounding_box": "../../openapi.yaml#/components/schemas/bounding_box"
                  }
                }
              }
            }
          },
          "dropoff": {
            "type": "object",
            "title": "Dropoff",
            "description": "Details for the vehicle drop-off.",
            "required": [
              "local_date_time",
              "location"
            ],
            "properties": {
              "local_date_time": {
                "title": "LocalDateTime",
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}.*$",
                "description": "The local date and time in ISO 8601 format.\nNote: Any information after the minutes (e.g., seconds, time zone) will be discarded.\n",
                "example": "2026-01-21T10:30"
              },
              "location": {
                "type": "object",
                "title": "LocationRequest",
                "description": "Represents a physical location for vehicle pick-up or drop-off.",
                "oneOf": [
                  {
                    "type": "object",
                    "title": "Airport",
                    "required": [
                      "type",
                      "iata"
                    ],
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "airport"
                        ],
                        "description": "The type of location."
                      },
                      "iata": {
                        "type": "string",
                        "description": "The IATA airport code (e.g., \"JFK\", \"MIA\").",
                        "pattern": "^[A-Z]{3}$",
                        "example": "MIA"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "title": "BoundingBox",
                    "required": [
                      "type",
                      "north_east",
                      "south_west"
                    ],
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "bounding_box"
                        ],
                        "description": "The type of location."
                      },
                      "north_east": {
                        "type": "object",
                        "title": "Coordinates",
                        "description": "Geographic coordinates of the location.",
                        "required": [
                          "latitude",
                          "longitude"
                        ],
                        "properties": {
                          "latitude": {
                            "type": "number",
                            "format": "double",
                            "description": "The latitude coordinate of the location.",
                            "example": 34.052235
                          },
                          "longitude": {
                            "type": "number",
                            "format": "double",
                            "description": "The longitude coordinate of the location.",
                            "example": -118.243683
                          }
                        }
                      },
                      "south_west": {
                        "type": "object",
                        "title": "Coordinates",
                        "description": "Geographic coordinates of the location.",
                        "required": [
                          "latitude",
                          "longitude"
                        ],
                        "properties": {
                          "latitude": {
                            "type": "number",
                            "format": "double",
                            "description": "The latitude coordinate of the location.",
                            "example": 34.052235
                          },
                          "longitude": {
                            "type": "number",
                            "format": "double",
                            "description": "The longitude coordinate of the location.",
                            "example": -118.243683
                          }
                        }
                      }
                    }
                  }
                ],
                "discriminator": {
                  "propertyName": "type",
                  "mapping": {
                    "airport": "../../openapi.yaml#/components/schemas/airport",
                    "bounding_box": "../../openapi.yaml#/components/schemas/bounding_box"
                  }
                }
              }
            }
          },
          "user_preferences": {
            "type": "object",
            "title": "UserPreferences",
            "description": "User-specific preferences for the response.",
            "required": [
              "currency",
              "language"
            ],
            "properties": {
              "currency": {
                "description": "Currency code, in ISO 4217 format.",
                "type": "string",
                "pattern": "^[A-Z]{3}$",
                "example": "USD"
              },
              "language": {
                "type": "string",
                "description": "The preferred language for the response (e.g., \"en-US\", \"es-ES\").",
                "pattern": "^[a-z]{2}(-[A-Z]{2})?$",
                "example": "en-US"
              }
            }
          },
          "point_of_sale": {
            "type": "object",
            "title": "PointOfSale",
            "description": "Description of the point of sale where the booking is made. This is typically the user's location.",
            "required": [
              "country"
            ],
            "properties": {
              "country": {
                "type": "string",
                "description": "Country code (ISO 3166-1 alpha-2)",
                "pattern": "^[A-Z]{2}$",
                "example": "US"
              }
            }
          }
        }
      },
      "shop_response": {
        "type": "object",
        "title": "ShopResponse",
        "description": "Response body containing a list of available vehicle offers.",
        "required": [
          "offers",
          "response_id"
        ],
        "properties": {
          "offers": {
            "type": "array",
            "description": "A list of available vehicle rental offers.",
            "items": {
              "type": "object",
              "title": "ShopOffer",
              "description": "A single vehicle rental offer.\nUse the `quote_token` to request a detailed quote for this offer.\nThe `commission` field might be empty at shop time but will always be populated in the quote response.\n",
              "allOf": [
                {
                  "type": "object",
                  "title": "Offer",
                  "description": "Represents the vehicle rental offer.",
                  "required": [
                    "rental_company",
                    "pickup",
                    "dropoff",
                    "vehicle",
                    "pricing",
                    "cancellation_policy",
                    "mileage_policy",
                    "age_policy"
                  ],
                  "properties": {
                    "rental_company": {
                      "type": "object",
                      "title": "RentalCompany",
                      "description": "Represents the car rental company or partner providing the vehicle offer.",
                      "required": [
                        "id",
                        "name",
                        "logo_url"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "description": "A unique identifier for the vendor (e.g., internal code, Expedia ID).",
                          "example": "AVS"
                        },
                        "name": {
                          "type": "string",
                          "description": "The human-readable name of the vendor (e.g., \"Avis\", \"Amadeus\").",
                          "example": "Avis Rent a Car"
                        },
                        "logo_url": {
                          "type": "string",
                          "format": "uri",
                          "description": "A URL to the rental company's official logo.",
                          "example": "https://example.com/logos/avis.png"
                        },
                        "support_url": {
                          "type": "string",
                          "format": "uri",
                          "description": "A URL to the rental company's customer support or help page.",
                          "example": "https://www.avis.com/en/help"
                        }
                      }
                    },
                    "pickup": {
                      "type": "object",
                      "title": "PickupResponse",
                      "description": "Details for the vehicle pickup.",
                      "required": [
                        "local_date_time",
                        "location"
                      ],
                      "properties": {
                        "local_date_time": {
                          "title": "LocalDateTime",
                          "type": "string",
                          "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}.*$",
                          "description": "The local date and time in ISO 8601 format.\nNote: Any information after the minutes (e.g., seconds, time zone) will be discarded.\n",
                          "example": "2026-01-21T10:30"
                        },
                        "location": {
                          "type": "object",
                          "title": "Location",
                          "description": "Represents a physical location for vehicle pickup or drop-off.",
                          "required": [
                            "location_id",
                            "name",
                            "address",
                            "kind"
                          ],
                          "properties": {
                            "location_id": {
                              "type": "string",
                              "description": "Reference ID for the location given for the vendor (e.g., \"AVS_JFK01\").",
                              "example": "AVS_JFK01"
                            },
                            "name": {
                              "type": "string",
                              "description": "The human-readable name of the location (e.g., \"MIA Airport\").",
                              "example": "John F. Kennedy International Airport"
                            },
                            "address": {
                              "type": "object",
                              "title": "Address",
                              "required": [
                                "first_line",
                                "country",
                                "city"
                              ],
                              "properties": {
                                "first_line": {
                                  "type": "string",
                                  "description": "The first line of the street address.",
                                  "example": "JFK Airport Terminal 4"
                                },
                                "second_line": {
                                  "type": "string",
                                  "description": "The second line of the street address, if applicable."
                                },
                                "country": {
                                  "type": "string",
                                  "description": "Country code (ISO 3166-1 alpha-2)",
                                  "pattern": "^[A-Z]{2}$",
                                  "example": "US"
                                },
                                "city": {
                                  "type": "string",
                                  "description": "The city of the location.",
                                  "example": "New York"
                                },
                                "state_province": {
                                  "type": "string",
                                  "pattern": "^[A-Z0-9]{1,3}$",
                                  "description": "The code for the state or province ISO 3166-2 (e.g., \"CA\", \"FL\").",
                                  "example": "CA"
                                }
                              }
                            },
                            "coordinates": {
                              "type": "object",
                              "title": "Coordinates",
                              "description": "Geographic coordinates of the location.",
                              "required": [
                                "latitude",
                                "longitude"
                              ],
                              "properties": {
                                "latitude": {
                                  "type": "number",
                                  "format": "double",
                                  "description": "The latitude coordinate of the location.",
                                  "example": 34.052235
                                },
                                "longitude": {
                                  "type": "number",
                                  "format": "double",
                                  "description": "The longitude coordinate of the location.",
                                  "example": -118.243683
                                }
                              }
                            },
                            "instructions": {
                              "type": "string",
                              "description": "Specific instructions for pickup/drop-off."
                            },
                            "kind": {
                              "type": "string",
                              "enum": [
                                "Unspecified",
                                "Airport",
                                "Shuttle",
                                "MeetAndGreet"
                              ],
                              "description": "The kind of pickup/drop-off (e.g., \"Shuttle\", \"Airport\", \"Meet and Greet\")."
                            },
                            "iata": {
                              "type": "string",
                              "description": "The IATA airport code if the location is an airport (e.g., \"JFK\", \"MIA\").",
                              "pattern": "^[A-Z]{3}$",
                              "example": "JFK"
                            }
                          }
                        }
                      }
                    },
                    "dropoff": {
                      "type": "object",
                      "title": "DropoffResponse",
                      "description": "Details for the vehicle drop-off.",
                      "required": [
                        "local_date_time",
                        "location"
                      ],
                      "properties": {
                        "local_date_time": {
                          "title": "LocalDateTime",
                          "type": "string",
                          "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}.*$",
                          "description": "The local date and time in ISO 8601 format.\nNote: Any information after the minutes (e.g., seconds, time zone) will be discarded.\n",
                          "example": "2026-01-21T10:30"
                        },
                        "location": {
                          "type": "object",
                          "title": "Location",
                          "description": "Represents a physical location for vehicle pickup or drop-off.",
                          "required": [
                            "location_id",
                            "name",
                            "address",
                            "kind"
                          ],
                          "properties": {
                            "location_id": {
                              "type": "string",
                              "description": "Reference ID for the location given for the vendor (e.g., \"AVS_JFK01\").",
                              "example": "AVS_JFK01"
                            },
                            "name": {
                              "type": "string",
                              "description": "The human-readable name of the location (e.g., \"MIA Airport\").",
                              "example": "John F. Kennedy International Airport"
                            },
                            "address": {
                              "type": "object",
                              "title": "Address",
                              "required": [
                                "first_line",
                                "country",
                                "city"
                              ],
                              "properties": {
                                "first_line": {
                                  "type": "string",
                                  "description": "The first line of the street address.",
                                  "example": "JFK Airport Terminal 4"
                                },
                                "second_line": {
                                  "type": "string",
                                  "description": "The second line of the street address, if applicable."
                                },
                                "country": {
                                  "type": "string",
                                  "description": "Country code (ISO 3166-1 alpha-2)",
                                  "pattern": "^[A-Z]{2}$",
                                  "example": "US"
                                },
                                "city": {
                                  "type": "string",
                                  "description": "The city of the location.",
                                  "example": "New York"
                                },
                                "state_province": {
                                  "type": "string",
                                  "pattern": "^[A-Z0-9]{1,3}$",
                                  "description": "The code for the state or province ISO 3166-2 (e.g., \"CA\", \"FL\").",
                                  "example": "CA"
                                }
                              }
                            },
                            "coordinates": {
                              "type": "object",
                              "title": "Coordinates",
                              "description": "Geographic coordinates of the location.",
                              "required": [
                                "latitude",
                                "longitude"
                              ],
                              "properties": {
                                "latitude": {
                                  "type": "number",
                                  "format": "double",
                                  "description": "The latitude coordinate of the location.",
                                  "example": 34.052235
                                },
                                "longitude": {
                                  "type": "number",
                                  "format": "double",
                                  "description": "The longitude coordinate of the location.",
                                  "example": -118.243683
                                }
                              }
                            },
                            "instructions": {
                              "type": "string",
                              "description": "Specific instructions for pickup/drop-off."
                            },
                            "kind": {
                              "type": "string",
                              "enum": [
                                "Unspecified",
                                "Airport",
                                "Shuttle",
                                "MeetAndGreet"
                              ],
                              "description": "The kind of pickup/drop-off (e.g., \"Shuttle\", \"Airport\", \"Meet and Greet\")."
                            },
                            "iata": {
                              "type": "string",
                              "description": "The IATA airport code if the location is an airport (e.g., \"JFK\", \"MIA\").",
                              "pattern": "^[A-Z]{3}$",
                              "example": "JFK"
                            }
                          }
                        }
                      }
                    },
                    "vehicle": {
                      "type": "object",
                      "title": "Vehicle",
                      "description": "The primary data structure that contains all the essential information about a car.",
                      "required": [
                        "description",
                        "acriss_code",
                        "luggage",
                        "transmission",
                        "air_conditioning"
                      ],
                      "properties": {
                        "description": {
                          "type": "string",
                          "description": "A human-readable description of the vehicle, often including make and model."
                        },
                        "acriss_code": {
                          "type": "string",
                          "description": "The standardized ACRISS or SIPP code for the vehicle. See https://www.acraorg.com/acriss-sip-codes/ for more details.",
                          "pattern": "^[A-Z0-9]{4}$",
                          "example": "CCAR"
                        },
                        "max_passengers": {
                          "type": "integer",
                          "minimum": 1,
                          "description": "The maximum number of passengers the vehicle can accommodate."
                        },
                        "doors": {
                          "type": "integer",
                          "minimum": 1,
                          "description": "The number of doors on the vehicle."
                        },
                        "luggage": {
                          "type": "object",
                          "title": "Luggage",
                          "required": [
                            "total"
                          ],
                          "properties": {
                            "small": {
                              "type": "integer",
                              "description": "The number of small bags the vehicle can hold."
                            },
                            "medium": {
                              "type": "integer",
                              "description": "The number of medium bags the vehicle can hold."
                            },
                            "large": {
                              "type": "integer",
                              "description": "The number of large bags the vehicle can hold."
                            },
                            "total": {
                              "type": "integer",
                              "description": "The total number of bags the vehicle can hold, if a specific breakdown is not available or as a sum of small/large."
                            }
                          }
                        },
                        "transmission": {
                          "type": "string",
                          "description": "The transmission type of the vehicle.",
                          "enum": [
                            "Automatic",
                            "Manual",
                            "Cvt",
                            "Unspecified"
                          ]
                        },
                        "air_conditioning": {
                          "type": "boolean",
                          "description": "Indicates whether the vehicle has air conditioning."
                        },
                        "images": {
                          "type": "object",
                          "title": "VehicleImages",
                          "required": [
                            "default",
                            "links"
                          ],
                          "properties": {
                            "default": {
                              "type": "string",
                              "format": "uri",
                              "description": "The URL for the primary display image of the vehicle."
                            },
                            "links": {
                              "type": "array",
                              "description": "A list of additional image URLs for the vehicle.",
                              "items": {
                                "type": "string",
                                "format": "uri"
                              }
                            }
                          }
                        }
                      }
                    },
                    "pricing": {
                      "type": "object",
                      "title": "Pricing",
                      "description": "The car rental pricing details.\nThe base + fee_summary.total = total price.\nThe pay_now + pay_later = total price.\nThe fees are not itemized by payments schedule (pay now vs pay later).\n",
                      "required": [
                        "base",
                        "fee_summary",
                        "pay_now",
                        "pay_later"
                      ],
                      "properties": {
                        "base": {
                          "type": "object",
                          "title": "PriceBase",
                          "description": "The base rate for the rental, excluding fees and taxes across the payment schedule (both pay now and pay later).",
                          "required": [
                            "currency",
                            "amount"
                          ],
                          "properties": {
                            "currency": {
                              "description": "Currency code, in ISO 4217 format.",
                              "type": "string",
                              "pattern": "^[A-Z]{3}$",
                              "example": "USD"
                            },
                            "amount": {
                              "type": "string",
                              "description": "Monetary amount value Serialized BigDecimal value",
                              "example": "123.45"
                            }
                          }
                        },
                        "fee_summary": {
                          "type": "object",
                          "title": "FeeSummary",
                          "description": "An itemized list of fees and taxes that make up the total price. These fees are included in both the 'pay now' and 'pay later' amounts.",
                          "required": [
                            "fees",
                            "total"
                          ],
                          "properties": {
                            "fees": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "title": "FeeSummaryItem",
                                "description": "A fee or tax that is part of the total price.",
                                "required": [
                                  "description",
                                  "line_item"
                                ],
                                "properties": {
                                  "description": {
                                    "type": "string",
                                    "description": "A description of the fee or tax."
                                  },
                                  "line_item": {
                                    "type": "object",
                                    "title": "LineItem",
                                    "description": "The amount and currency for a chargeable item.",
                                    "required": [
                                      "currency",
                                      "amount"
                                    ],
                                    "properties": {
                                      "currency": {
                                        "description": "Currency code, in ISO 4217 format.",
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$",
                                        "example": "USD"
                                      },
                                      "amount": {
                                        "type": "string",
                                        "description": "Monetary amount value Serialized BigDecimal value",
                                        "example": "123.45"
                                      }
                                    }
                                  }
                                }
                              }
                            },
                            "total": {
                              "type": "object",
                              "title": "FeeSummaryTotal",
                              "description": "The total amount for all fees and taxes.",
                              "required": [
                                "currency",
                                "amount"
                              ],
                              "properties": {
                                "currency": {
                                  "description": "Currency code, in ISO 4217 format.",
                                  "type": "string",
                                  "pattern": "^[A-Z]{3}$",
                                  "example": "USD"
                                },
                                "amount": {
                                  "type": "string",
                                  "description": "Monetary amount value Serialized BigDecimal value",
                                  "example": "123.45"
                                }
                              }
                            }
                          }
                        },
                        "pay_now": {
                          "type": "object",
                          "title": "PayNow",
                          "description": "The total amount to be paid at the time of booking.",
                          "required": [
                            "currency",
                            "amount"
                          ],
                          "properties": {
                            "currency": {
                              "description": "Currency code, in ISO 4217 format.",
                              "type": "string",
                              "pattern": "^[A-Z]{3}$",
                              "example": "USD"
                            },
                            "amount": {
                              "type": "string",
                              "description": "Monetary amount value Serialized BigDecimal value",
                              "example": "123.45"
                            }
                          }
                        },
                        "pay_later": {
                          "type": "object",
                          "title": "PayLater",
                          "description": "The total amount to be paid at a later time (usually at the desk).",
                          "required": [
                            "currency",
                            "amount"
                          ],
                          "properties": {
                            "currency": {
                              "description": "Currency code, in ISO 4217 format.",
                              "type": "string",
                              "pattern": "^[A-Z]{3}$",
                              "example": "USD"
                            },
                            "amount": {
                              "type": "string",
                              "description": "Monetary amount value Serialized BigDecimal value",
                              "example": "123.45"
                            }
                          }
                        }
                      }
                    },
                    "cancellation_policy": {
                      "type": "object",
                      "description": "Defines the terms and conditions for canceling a vehicle rental.",
                      "required": [
                        "penalty_ranges"
                      ],
                      "properties": {
                        "penalty_ranges": {
                          "type": "array",
                          "minItems": 1,
                          "items": {
                            "type": "object",
                            "title": "PenaltyRange",
                            "required": [
                              "start_time",
                              "end_time",
                              "penalty"
                            ],
                            "properties": {
                              "start_time": {
                                "description": "Start time of the penalty range (Inclusive), in ISO 8601 format.",
                                "type": "string",
                                "format": "date-time"
                              },
                              "end_time": {
                                "description": "End time of the penalty range (Exclusive), in ISO 8601 format.",
                                "type": "string",
                                "format": "date-time"
                              },
                              "penalty": {
                                "type": "object",
                                "title": "Penalty",
                                "description": "Penalty amount withheld form the client upon cancellation.",
                                "required": [
                                  "amount",
                                  "currency"
                                ],
                                "properties": {
                                  "currency": {
                                    "description": "Currency code, in ISO 4217 format.",
                                    "type": "string",
                                    "pattern": "^[A-Z]{3}$",
                                    "example": "USD"
                                  },
                                  "amount": {
                                    "type": "string",
                                    "description": "Monetary amount value Serialized BigDecimal value",
                                    "example": "123.45"
                                  }
                                }
                              }
                            }
                          }
                        }
                      },
                      "example": {
                        "penalty_ranges": [
                          {
                            "start_time": "2025-01-21T00:00:00Z",
                            "end_time": "2025-01-26T00:00:00Z",
                            "penalty": {
                              "currency": "USD",
                              "amount": "0.00"
                            }
                          },
                          {
                            "start_time": "2025-01-26T00:00:00Z",
                            "end_time": "2025-01-27T00:00:00Z",
                            "penalty": {
                              "currency": "USD",
                              "amount": "75.00"
                            }
                          },
                          {
                            "start_time": "2025-01-27T00:00:00Z",
                            "end_time": "2025-01-28T00:00:00Z",
                            "penalty": {
                              "currency": "USD",
                              "amount": "135.00"
                            }
                          }
                        ]
                      }
                    },
                    "mileage_policy": {
                      "title": "MileagePolicy",
                      "description": "Defines the vehicle's mileage allowance and any associated overage charges.",
                      "oneOf": [
                        {
                          "type": "object",
                          "title": "UnlimitedMileagePolicy",
                          "required": [
                            "type"
                          ],
                          "properties": {
                            "type": {
                              "type": "string",
                              "enum": [
                                "unlimited"
                              ],
                              "description": "The type of mileage policy."
                            }
                          }
                        },
                        {
                          "type": "object",
                          "title": "LimitedMileagePolicy",
                          "required": [
                            "type",
                            "quantity",
                            "unit"
                          ],
                          "properties": {
                            "type": {
                              "type": "string",
                              "enum": [
                                "limited"
                              ],
                              "description": "The type of mileage policy."
                            },
                            "quantity": {
                              "type": "integer",
                              "description": "The numerical value of the included mileage."
                            },
                            "unit": {
                              "type": "string",
                              "enum": [
                                "mi",
                                "km"
                              ],
                              "description": "The unit of distance for the included mileage."
                            }
                          }
                        },
                        {
                          "type": "object",
                          "title": "LimitedUnspecifiedMileagePolicy",
                          "required": [
                            "type"
                          ],
                          "properties": {
                            "type": {
                              "type": "string",
                              "enum": [
                                "limited_unspecified"
                              ],
                              "description": "The type of mileage policy when mileage is limited but specifics are not provided."
                            }
                          }
                        }
                      ],
                      "discriminator": {
                        "propertyName": "type",
                        "mapping": {
                          "unlimited": "#/UnlimitedMileagePolicy",
                          "limited": "#/LimitedMileagePolicy",
                          "limited_unspecified": "#/LimitedUnspecifiedMileagePolicy"
                        }
                      }
                    },
                    "age_policy": {
                      "type": "object",
                      "title": "AgePolicy",
                      "description": "The age requirements associated with the rental.",
                      "properties": {
                        "minimum_age": {
                          "type": "integer",
                          "description": "The minimum age required to rent the vehicle.",
                          "example": 21
                        }
                      }
                    }
                  }
                },
                {
                  "type": "object",
                  "required": [
                    "quote_token",
                    "valid_until"
                  ],
                  "properties": {
                    "commission": {
                      "type": "object",
                      "title": "Commission",
                      "description": "Commission Hopper will pay out at the time of invoicing for a given rental.",
                      "required": [
                        "amount",
                        "currency"
                      ],
                      "properties": {
                        "amount": {
                          "type": "string",
                          "description": "Monetary amount value Serialized BigDecimal value",
                          "example": "123.45"
                        },
                        "currency": {
                          "description": "Currency code, in ISO 4217 format.",
                          "type": "string",
                          "pattern": "^[A-Z]{3}$",
                          "example": "USD"
                        }
                      }
                    },
                    "quote_token": {
                      "type": "string",
                      "description": "Opaque token used to initiate a quote request for this offer.",
                      "example": "quote_12345"
                    },
                    "valid_until": {
                      "type": "string",
                      "format": "date-time",
                      "description": "ISO 8601 timestamp until which the quote token remains valid.",
                      "example": "2024-12-31T23:59:59Z"
                    }
                  }
                }
              ]
            }
          },
          "response_id": {
            "title": "ResponseId",
            "description": "Unique identifier of the specific response.\nUse this identifier when you need to refer to a specific response, when requiring technical support.\n",
            "type": "string",
            "format": "uuid",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          }
        }
      },
      "quote_failure": {
        "type": "object",
        "title": "QuoteFailure",
        "description": "A standardized schema for API failure responses.",
        "required": [
          "error_code",
          "description",
          "response_id"
        ],
        "properties": {
          "error_code": {
            "description": "A specific code identifying the type of error.",
            "enum": [
              "invalid_input",
              "invalid_quote_token",
              "rate_unavailable",
              "advance_lead_time_not_met"
            ],
            "type": "string"
          },
          "description": {
            "type": "string",
            "description": "A human-readable message providing more details about the error."
          },
          "response_id": {
            "title": "ResponseId",
            "description": "Unique identifier of the specific response.\nUse this identifier when you need to refer to a specific response, when requiring technical support.\n",
            "type": "string",
            "format": "uuid",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          }
        }
      },
      "quote_request": {
        "type": "object",
        "title": "QuoteRequest",
        "description": "Request body for retrieving a detailed quote for a specific offer.",
        "required": [
          "request_id",
          "driver_age",
          "quote_token"
        ],
        "properties": {
          "request_id": {
            "title": "RequestId",
            "description": "Unique identifier of the specific request.\nUse this identifier when you need to refer to a specific request, when requiring technical support.\n",
            "type": "string",
            "format": "uuid",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          },
          "driver_age": {
            "type": "integer",
            "description": "The driver's age. This age should match the book driver's age at the time of pick-up.",
            "minimum": 18,
            "example": 30
          },
          "quote_token": {
            "type": "string",
            "description": "Opaque token generated at shop time to initiate a quote request.",
            "example": "quote_12345"
          },
          "ancillary_selections": {
            "type": "array",
            "description": "Optional list of ancillaries to include in the rental with quantities.",
            "items": {
              "type": "object",
              "title": "AncillarySelection",
              "description": "A selected ancillary with quantity for a quote request.",
              "required": [
                "id",
                "quantity"
              ],
              "properties": {
                "id": {
                  "type": "string",
                  "description": "The ancillary ID from the rental offer response.",
                  "example": "GPS_001"
                },
                "quantity": {
                  "type": "integer",
                  "minimum": 1,
                  "description": "Number of this ancillary to include.",
                  "example": 2
                }
              }
            }
          }
        }
      },
      "quote_response": {
        "type": "object",
        "title": "QuoteResponse",
        "description": "Detailed response for a specific car rental offer, including final pricing, policies, and available extras.",
        "allOf": [
          {
            "type": "object",
            "title": "Offer",
            "description": "Represents the vehicle rental offer.",
            "required": [
              "rental_company",
              "pickup",
              "dropoff",
              "vehicle",
              "pricing",
              "cancellation_policy",
              "mileage_policy",
              "age_policy"
            ],
            "properties": {
              "rental_company": {
                "type": "object",
                "title": "RentalCompany",
                "description": "Represents the car rental company or partner providing the vehicle offer.",
                "required": [
                  "id",
                  "name",
                  "logo_url"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "description": "A unique identifier for the vendor (e.g., internal code, Expedia ID).",
                    "example": "AVS"
                  },
                  "name": {
                    "type": "string",
                    "description": "The human-readable name of the vendor (e.g., \"Avis\", \"Amadeus\").",
                    "example": "Avis Rent a Car"
                  },
                  "logo_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "A URL to the rental company's official logo.",
                    "example": "https://example.com/logos/avis.png"
                  },
                  "support_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "A URL to the rental company's customer support or help page.",
                    "example": "https://www.avis.com/en/help"
                  }
                }
              },
              "pickup": {
                "type": "object",
                "title": "PickupResponse",
                "description": "Details for the vehicle pickup.",
                "required": [
                  "local_date_time",
                  "location"
                ],
                "properties": {
                  "local_date_time": {
                    "title": "LocalDateTime",
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}.*$",
                    "description": "The local date and time in ISO 8601 format.\nNote: Any information after the minutes (e.g., seconds, time zone) will be discarded.\n",
                    "example": "2026-01-21T10:30"
                  },
                  "location": {
                    "type": "object",
                    "title": "Location",
                    "description": "Represents a physical location for vehicle pickup or drop-off.",
                    "required": [
                      "location_id",
                      "name",
                      "address",
                      "kind"
                    ],
                    "properties": {
                      "location_id": {
                        "type": "string",
                        "description": "Reference ID for the location given for the vendor (e.g., \"AVS_JFK01\").",
                        "example": "AVS_JFK01"
                      },
                      "name": {
                        "type": "string",
                        "description": "The human-readable name of the location (e.g., \"MIA Airport\").",
                        "example": "John F. Kennedy International Airport"
                      },
                      "address": {
                        "type": "object",
                        "title": "Address",
                        "required": [
                          "first_line",
                          "country",
                          "city"
                        ],
                        "properties": {
                          "first_line": {
                            "type": "string",
                            "description": "The first line of the street address.",
                            "example": "JFK Airport Terminal 4"
                          },
                          "second_line": {
                            "type": "string",
                            "description": "The second line of the street address, if applicable."
                          },
                          "country": {
                            "type": "string",
                            "description": "Country code (ISO 3166-1 alpha-2)",
                            "pattern": "^[A-Z]{2}$",
                            "example": "US"
                          },
                          "city": {
                            "type": "string",
                            "description": "The city of the location.",
                            "example": "New York"
                          },
                          "state_province": {
                            "type": "string",
                            "pattern": "^[A-Z0-9]{1,3}$",
                            "description": "The code for the state or province ISO 3166-2 (e.g., \"CA\", \"FL\").",
                            "example": "CA"
                          }
                        }
                      },
                      "coordinates": {
                        "type": "object",
                        "title": "Coordinates",
                        "description": "Geographic coordinates of the location.",
                        "required": [
                          "latitude",
                          "longitude"
                        ],
                        "properties": {
                          "latitude": {
                            "type": "number",
                            "format": "double",
                            "description": "The latitude coordinate of the location.",
                            "example": 34.052235
                          },
                          "longitude": {
                            "type": "number",
                            "format": "double",
                            "description": "The longitude coordinate of the location.",
                            "example": -118.243683
                          }
                        }
                      },
                      "instructions": {
                        "type": "string",
                        "description": "Specific instructions for pickup/drop-off."
                      },
                      "kind": {
                        "type": "string",
                        "enum": [
                          "Unspecified",
                          "Airport",
                          "Shuttle",
                          "MeetAndGreet"
                        ],
                        "description": "The kind of pickup/drop-off (e.g., \"Shuttle\", \"Airport\", \"Meet and Greet\")."
                      },
                      "iata": {
                        "type": "string",
                        "description": "The IATA airport code if the location is an airport (e.g., \"JFK\", \"MIA\").",
                        "pattern": "^[A-Z]{3}$",
                        "example": "JFK"
                      }
                    }
                  }
                }
              },
              "dropoff": {
                "type": "object",
                "title": "DropoffResponse",
                "description": "Details for the vehicle drop-off.",
                "required": [
                  "local_date_time",
                  "location"
                ],
                "properties": {
                  "local_date_time": {
                    "title": "LocalDateTime",
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}.*$",
                    "description": "The local date and time in ISO 8601 format.\nNote: Any information after the minutes (e.g., seconds, time zone) will be discarded.\n",
                    "example": "2026-01-21T10:30"
                  },
                  "location": {
                    "type": "object",
                    "title": "Location",
                    "description": "Represents a physical location for vehicle pickup or drop-off.",
                    "required": [
                      "location_id",
                      "name",
                      "address",
                      "kind"
                    ],
                    "properties": {
                      "location_id": {
                        "type": "string",
                        "description": "Reference ID for the location given for the vendor (e.g., \"AVS_JFK01\").",
                        "example": "AVS_JFK01"
                      },
                      "name": {
                        "type": "string",
                        "description": "The human-readable name of the location (e.g., \"MIA Airport\").",
                        "example": "John F. Kennedy International Airport"
                      },
                      "address": {
                        "type": "object",
                        "title": "Address",
                        "required": [
                          "first_line",
                          "country",
                          "city"
                        ],
                        "properties": {
                          "first_line": {
                            "type": "string",
                            "description": "The first line of the street address.",
                            "example": "JFK Airport Terminal 4"
                          },
                          "second_line": {
                            "type": "string",
                            "description": "The second line of the street address, if applicable."
                          },
                          "country": {
                            "type": "string",
                            "description": "Country code (ISO 3166-1 alpha-2)",
                            "pattern": "^[A-Z]{2}$",
                            "example": "US"
                          },
                          "city": {
                            "type": "string",
                            "description": "The city of the location.",
                            "example": "New York"
                          },
                          "state_province": {
                            "type": "string",
                            "pattern": "^[A-Z0-9]{1,3}$",
                            "description": "The code for the state or province ISO 3166-2 (e.g., \"CA\", \"FL\").",
                            "example": "CA"
                          }
                        }
                      },
                      "coordinates": {
                        "type": "object",
                        "title": "Coordinates",
                        "description": "Geographic coordinates of the location.",
                        "required": [
                          "latitude",
                          "longitude"
                        ],
                        "properties": {
                          "latitude": {
                            "type": "number",
                            "format": "double",
                            "description": "The latitude coordinate of the location.",
                            "example": 34.052235
                          },
                          "longitude": {
                            "type": "number",
                            "format": "double",
                            "description": "The longitude coordinate of the location.",
                            "example": -118.243683
                          }
                        }
                      },
                      "instructions": {
                        "type": "string",
                        "description": "Specific instructions for pickup/drop-off."
                      },
                      "kind": {
                        "type": "string",
                        "enum": [
                          "Unspecified",
                          "Airport",
                          "Shuttle",
                          "MeetAndGreet"
                        ],
                        "description": "The kind of pickup/drop-off (e.g., \"Shuttle\", \"Airport\", \"Meet and Greet\")."
                      },
                      "iata": {
                        "type": "string",
                        "description": "The IATA airport code if the location is an airport (e.g., \"JFK\", \"MIA\").",
                        "pattern": "^[A-Z]{3}$",
                        "example": "JFK"
                      }
                    }
                  }
                }
              },
              "vehicle": {
                "type": "object",
                "title": "Vehicle",
                "description": "The primary data structure that contains all the essential information about a car.",
                "required": [
                  "description",
                  "acriss_code",
                  "luggage",
                  "transmission",
                  "air_conditioning"
                ],
                "properties": {
                  "description": {
                    "type": "string",
                    "description": "A human-readable description of the vehicle, often including make and model."
                  },
                  "acriss_code": {
                    "type": "string",
                    "description": "The standardized ACRISS or SIPP code for the vehicle. See https://www.acraorg.com/acriss-sip-codes/ for more details.",
                    "pattern": "^[A-Z0-9]{4}$",
                    "example": "CCAR"
                  },
                  "max_passengers": {
                    "type": "integer",
                    "minimum": 1,
                    "description": "The maximum number of passengers the vehicle can accommodate."
                  },
                  "doors": {
                    "type": "integer",
                    "minimum": 1,
                    "description": "The number of doors on the vehicle."
                  },
                  "luggage": {
                    "type": "object",
                    "title": "Luggage",
                    "required": [
                      "total"
                    ],
                    "properties": {
                      "small": {
                        "type": "integer",
                        "description": "The number of small bags the vehicle can hold."
                      },
                      "medium": {
                        "type": "integer",
                        "description": "The number of medium bags the vehicle can hold."
                      },
                      "large": {
                        "type": "integer",
                        "description": "The number of large bags the vehicle can hold."
                      },
                      "total": {
                        "type": "integer",
                        "description": "The total number of bags the vehicle can hold, if a specific breakdown is not available or as a sum of small/large."
                      }
                    }
                  },
                  "transmission": {
                    "type": "string",
                    "description": "The transmission type of the vehicle.",
                    "enum": [
                      "Automatic",
                      "Manual",
                      "Cvt",
                      "Unspecified"
                    ]
                  },
                  "air_conditioning": {
                    "type": "boolean",
                    "description": "Indicates whether the vehicle has air conditioning."
                  },
                  "images": {
                    "type": "object",
                    "title": "VehicleImages",
                    "required": [
                      "default",
                      "links"
                    ],
                    "properties": {
                      "default": {
                        "type": "string",
                        "format": "uri",
                        "description": "The URL for the primary display image of the vehicle."
                      },
                      "links": {
                        "type": "array",
                        "description": "A list of additional image URLs for the vehicle.",
                        "items": {
                          "type": "string",
                          "format": "uri"
                        }
                      }
                    }
                  }
                }
              },
              "pricing": {
                "type": "object",
                "title": "Pricing",
                "description": "The car rental pricing details.\nThe base + fee_summary.total = total price.\nThe pay_now + pay_later = total price.\nThe fees are not itemized by payments schedule (pay now vs pay later).\n",
                "required": [
                  "base",
                  "fee_summary",
                  "pay_now",
                  "pay_later"
                ],
                "properties": {
                  "base": {
                    "type": "object",
                    "title": "PriceBase",
                    "description": "The base rate for the rental, excluding fees and taxes across the payment schedule (both pay now and pay later).",
                    "required": [
                      "currency",
                      "amount"
                    ],
                    "properties": {
                      "currency": {
                        "description": "Currency code, in ISO 4217 format.",
                        "type": "string",
                        "pattern": "^[A-Z]{3}$",
                        "example": "USD"
                      },
                      "amount": {
                        "type": "string",
                        "description": "Monetary amount value Serialized BigDecimal value",
                        "example": "123.45"
                      }
                    }
                  },
                  "fee_summary": {
                    "type": "object",
                    "title": "FeeSummary",
                    "description": "An itemized list of fees and taxes that make up the total price. These fees are included in both the 'pay now' and 'pay later' amounts.",
                    "required": [
                      "fees",
                      "total"
                    ],
                    "properties": {
                      "fees": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "title": "FeeSummaryItem",
                          "description": "A fee or tax that is part of the total price.",
                          "required": [
                            "description",
                            "line_item"
                          ],
                          "properties": {
                            "description": {
                              "type": "string",
                              "description": "A description of the fee or tax."
                            },
                            "line_item": {
                              "type": "object",
                              "title": "LineItem",
                              "description": "The amount and currency for a chargeable item.",
                              "required": [
                                "currency",
                                "amount"
                              ],
                              "properties": {
                                "currency": {
                                  "description": "Currency code, in ISO 4217 format.",
                                  "type": "string",
                                  "pattern": "^[A-Z]{3}$",
                                  "example": "USD"
                                },
                                "amount": {
                                  "type": "string",
                                  "description": "Monetary amount value Serialized BigDecimal value",
                                  "example": "123.45"
                                }
                              }
                            }
                          }
                        }
                      },
                      "total": {
                        "type": "object",
                        "title": "FeeSummaryTotal",
                        "description": "The total amount for all fees and taxes.",
                        "required": [
                          "currency",
                          "amount"
                        ],
                        "properties": {
                          "currency": {
                            "description": "Currency code, in ISO 4217 format.",
                            "type": "string",
                            "pattern": "^[A-Z]{3}$",
                            "example": "USD"
                          },
                          "amount": {
                            "type": "string",
                            "description": "Monetary amount value Serialized BigDecimal value",
                            "example": "123.45"
                          }
                        }
                      }
                    }
                  },
                  "pay_now": {
                    "type": "object",
                    "title": "PayNow",
                    "description": "The total amount to be paid at the time of booking.",
                    "required": [
                      "currency",
                      "amount"
                    ],
                    "properties": {
                      "currency": {
                        "description": "Currency code, in ISO 4217 format.",
                        "type": "string",
                        "pattern": "^[A-Z]{3}$",
                        "example": "USD"
                      },
                      "amount": {
                        "type": "string",
                        "description": "Monetary amount value Serialized BigDecimal value",
                        "example": "123.45"
                      }
                    }
                  },
                  "pay_later": {
                    "type": "object",
                    "title": "PayLater",
                    "description": "The total amount to be paid at a later time (usually at the desk).",
                    "required": [
                      "currency",
                      "amount"
                    ],
                    "properties": {
                      "currency": {
                        "description": "Currency code, in ISO 4217 format.",
                        "type": "string",
                        "pattern": "^[A-Z]{3}$",
                        "example": "USD"
                      },
                      "amount": {
                        "type": "string",
                        "description": "Monetary amount value Serialized BigDecimal value",
                        "example": "123.45"
                      }
                    }
                  }
                }
              },
              "cancellation_policy": {
                "type": "object",
                "description": "Defines the terms and conditions for canceling a vehicle rental.",
                "required": [
                  "penalty_ranges"
                ],
                "properties": {
                  "penalty_ranges": {
                    "type": "array",
                    "minItems": 1,
                    "items": {
                      "type": "object",
                      "title": "PenaltyRange",
                      "required": [
                        "start_time",
                        "end_time",
                        "penalty"
                      ],
                      "properties": {
                        "start_time": {
                          "description": "Start time of the penalty range (Inclusive), in ISO 8601 format.",
                          "type": "string",
                          "format": "date-time"
                        },
                        "end_time": {
                          "description": "End time of the penalty range (Exclusive), in ISO 8601 format.",
                          "type": "string",
                          "format": "date-time"
                        },
                        "penalty": {
                          "type": "object",
                          "title": "Penalty",
                          "description": "Penalty amount withheld form the client upon cancellation.",
                          "required": [
                            "amount",
                            "currency"
                          ],
                          "properties": {
                            "currency": {
                              "description": "Currency code, in ISO 4217 format.",
                              "type": "string",
                              "pattern": "^[A-Z]{3}$",
                              "example": "USD"
                            },
                            "amount": {
                              "type": "string",
                              "description": "Monetary amount value Serialized BigDecimal value",
                              "example": "123.45"
                            }
                          }
                        }
                      }
                    }
                  }
                },
                "example": {
                  "penalty_ranges": [
                    {
                      "start_time": "2025-01-21T00:00:00Z",
                      "end_time": "2025-01-26T00:00:00Z",
                      "penalty": {
                        "currency": "USD",
                        "amount": "0.00"
                      }
                    },
                    {
                      "start_time": "2025-01-26T00:00:00Z",
                      "end_time": "2025-01-27T00:00:00Z",
                      "penalty": {
                        "currency": "USD",
                        "amount": "75.00"
                      }
                    },
                    {
                      "start_time": "2025-01-27T00:00:00Z",
                      "end_time": "2025-01-28T00:00:00Z",
                      "penalty": {
                        "currency": "USD",
                        "amount": "135.00"
                      }
                    }
                  ]
                }
              },
              "mileage_policy": {
                "title": "MileagePolicy",
                "description": "Defines the vehicle's mileage allowance and any associated overage charges.",
                "oneOf": [
                  {
                    "type": "object",
                    "title": "UnlimitedMileagePolicy",
                    "required": [
                      "type"
                    ],
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "unlimited"
                        ],
                        "description": "The type of mileage policy."
                      }
                    }
                  },
                  {
                    "type": "object",
                    "title": "LimitedMileagePolicy",
                    "required": [
                      "type",
                      "quantity",
                      "unit"
                    ],
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "limited"
                        ],
                        "description": "The type of mileage policy."
                      },
                      "quantity": {
                        "type": "integer",
                        "description": "The numerical value of the included mileage."
                      },
                      "unit": {
                        "type": "string",
                        "enum": [
                          "mi",
                          "km"
                        ],
                        "description": "The unit of distance for the included mileage."
                      }
                    }
                  },
                  {
                    "type": "object",
                    "title": "LimitedUnspecifiedMileagePolicy",
                    "required": [
                      "type"
                    ],
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "limited_unspecified"
                        ],
                        "description": "The type of mileage policy when mileage is limited but specifics are not provided."
                      }
                    }
                  }
                ],
                "discriminator": {
                  "propertyName": "type",
                  "mapping": {
                    "unlimited": "#/UnlimitedMileagePolicy",
                    "limited": "#/LimitedMileagePolicy",
                    "limited_unspecified": "#/LimitedUnspecifiedMileagePolicy"
                  }
                }
              },
              "age_policy": {
                "type": "object",
                "title": "AgePolicy",
                "description": "The age requirements associated with the rental.",
                "properties": {
                  "minimum_age": {
                    "type": "integer",
                    "description": "The minimum age required to rent the vehicle.",
                    "example": 21
                  }
                }
              }
            }
          },
          {
            "type": "object",
            "required": [
              "commission",
              "book_token",
              "valid_until",
              "disclosures",
              "response_id"
            ],
            "properties": {
              "commission": {
                "type": "object",
                "title": "Commission",
                "description": "Commission Hopper will pay out at the time of invoicing for a given rental.",
                "required": [
                  "amount",
                  "currency"
                ],
                "properties": {
                  "amount": {
                    "type": "string",
                    "description": "Monetary amount value Serialized BigDecimal value",
                    "example": "123.45"
                  },
                  "currency": {
                    "description": "Currency code, in ISO 4217 format.",
                    "type": "string",
                    "pattern": "^[A-Z]{3}$",
                    "example": "USD"
                  }
                }
              },
              "book_token": {
                "type": "string",
                "description": "Opaque token used to initiate a book request for this quote.",
                "example": "book_12345"
              },
              "valid_until": {
                "type": "string",
                "format": "date-time",
                "description": "ISO 8601 timestamp until which the quote remains valid.",
                "example": "2024-12-31T23:59:59Z"
              },
              "disclosures": {
                "type": "array",
                "description": "Important notices, booking conditions, or legal disclosures.",
                "items": {
                  "type": "object",
                  "title": "Disclosure",
                  "description": "An important notice, booking condition, or legal disclosure.",
                  "required": [
                    "kind",
                    "content"
                  ],
                  "properties": {
                    "kind": {
                      "type": "string",
                      "description": "Type of disclosure.",
                      "enum": [
                        "unspecified",
                        "booking_conditions",
                        "customer_support",
                        "dropoff_instructions",
                        "emergency_procedures",
                        "faq",
                        "finalize_booking",
                        "how_it_works",
                        "important_information",
                        "next_steps",
                        "payment_and_fees",
                        "pickup_instructions",
                        "terms_of_service",
                        "vehicle_features_and_policies",
                        "car_rental_policy",
                        "payment_conditions",
                        "security_deposit",
                        "security_deposit_method",
                        "payment_methods",
                        "required_documents",
                        "minimum_license_period_year",
                        "payment_and_charges",
                        "driver_information"
                      ],
                      "example": "payment_and_fees"
                    },
                    "description": {
                      "type": "string",
                      "description": "A brief summary of the disclosure.",
                      "example": "Payment is due upon return of the vehicle."
                    },
                    "content": {
                      "type": "array",
                      "description": "The content of the disclosure.",
                      "items": {
                        "type": "object",
                        "title": "DisclosureContent",
                        "required": [
                          "text",
                          "title"
                        ],
                        "properties": {
                          "title": {
                            "type": "string",
                            "description": "Short description of the disclosure.",
                            "example": "Payment Terms"
                          },
                          "text": {
                            "type": "string",
                            "description": "The detailed text of the disclosure.",
                            "example": "Payment for this order is due when the car is returned and will be charged by Thrifty Car Rental."
                          }
                        }
                      }
                    }
                  }
                }
              },
              "response_id": {
                "title": "ResponseId",
                "description": "Unique identifier of the specific response.\nUse this identifier when you need to refer to a specific response, when requiring technical support.\n",
                "type": "string",
                "format": "uuid",
                "example": "123e4567-e89b-12d3-a456-426614174000"
              }
            }
          }
        ]
      },
      "book_failure": {
        "type": "object",
        "title": "BookFailure",
        "required": [
          "error_code",
          "description",
          "response_id"
        ],
        "properties": {
          "error_code": {
            "description": "A specific code identifying the type of error.",
            "enum": [
              "invalid_input",
              "invalid_book_token",
              "rate_unavailable",
              "driver_age_changed",
              "age_restriction_not_met",
              "price_changed",
              "booking_conflict",
              "advance_lead_time_not_met"
            ],
            "type": "string"
          },
          "description": {
            "type": "string",
            "description": "A human-readable message providing more details about the error."
          },
          "response_id": {
            "title": "ResponseId",
            "description": "Unique identifier of the specific response.\nUse this identifier when you need to refer to a specific response, when requiring technical support.\n",
            "type": "string",
            "format": "uuid",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          }
        }
      },
      "book_request": {
        "type": "object",
        "title": "BookRequest",
        "description": "Request body for finalizing a car rental order.",
        "required": [
          "request_id",
          "book_token",
          "partner_reference_id",
          "driver"
        ],
        "properties": {
          "request_id": {
            "title": "RequestId",
            "description": "Unique identifier of the specific request.\nUse this identifier when you need to refer to a specific request, when requiring technical support.\n",
            "type": "string",
            "format": "uuid",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          },
          "book_token": {
            "type": "string",
            "description": "Opaque token generated at quote time to initiate a book request.",
            "example": "book_12345"
          },
          "partner_reference_id": {
            "type": "string",
            "description": "An client determined id for the given booking for potential reconciliation.",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          },
          "driver": {
            "type": "object",
            "title": "DriverDetails",
            "description": "Details of the primary driver for the booking.",
            "required": [
              "email",
              "first_name",
              "last_name",
              "date_of_birth"
            ],
            "properties": {
              "email": {
                "type": "string",
                "format": "email",
                "description": "The email address of the primary driver.",
                "example": "john.doe@example.com"
              },
              "first_name": {
                "type": "string",
                "description": "The first name of the primary driver.",
                "example": "John"
              },
              "last_name": {
                "type": "string",
                "description": "The last name of the primary driver.",
                "example": "Doe"
              },
              "date_of_birth": {
                "type": "string",
                "format": "date",
                "description": "The date of birth of the primary driver in ISO 8601 format. The driver age must match the age provided in the shop request.",
                "example": "1990-05-20"
              },
              "phone": {
                "type": "string",
                "description": "Phone number of the driver.",
                "pattern": "^\\+?[0-9]{7,15}$",
                "example": "+18339334671"
              }
            }
          }
        }
      },
      "book_response": {
        "type": "object",
        "title": "BookResponse",
        "description": "A response confirming a successful car rental order.",
        "required": [
          "order_id",
          "response_id"
        ],
        "properties": {
          "order_id": {
            "type": "string",
            "description": "The unique identifier of the confirmed order.",
            "example": "ORD-987654321"
          },
          "response_id": {
            "title": "ResponseId",
            "description": "Unique identifier of the specific response.\nUse this identifier when you need to refer to a specific response, when requiring technical support.\n",
            "type": "string",
            "format": "uuid",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          }
        }
      },
      "get_order_failure": {
        "type": "object",
        "title": "GetOrderFailure",
        "description": "A standardized schema for API failure responses.",
        "required": [
          "error_code",
          "description",
          "response_id"
        ],
        "properties": {
          "error_code": {
            "description": "A specific code identifying the type of error.",
            "enum": [
              "invalid_input",
              "order_not_found"
            ],
            "type": "string"
          },
          "description": {
            "type": "string",
            "description": "A human-readable message providing more details about the error."
          },
          "response_id": {
            "title": "ResponseId",
            "description": "Unique identifier of the specific response.\nUse this identifier when you need to refer to a specific response, when requiring technical support.\n",
            "type": "string",
            "format": "uuid",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          }
        }
      },
      "get_order_response": {
        "type": "object",
        "title": "GetOrderResponse",
        "description": "The complete details of car rental order.",
        "required": [
          "order_id",
          "status",
          "driver",
          "offer",
          "commission",
          "disclosures",
          "response_id"
        ],
        "properties": {
          "order_id": {
            "description": "The unique identifier of the confirmed order.",
            "type": "string",
            "example": "ORD-987654321"
          },
          "status": {
            "description": "Describes the status of a order.\n* `confirmed` - order was booked successfully\n* `cancelled` - order was cancelled successfully\n* `pending` - order is pending\n* `failed` - order processing has failed\n\nThis is a non-exhaustive list of enum values, which will be extended in the future.\"\n",
            "oneOf": [
              {
                "type": "object",
                "title": "StatusCancelled",
                "required": [
                  "type",
                  "cancellation_info"
                ],
                "properties": {
                  "type": {
                    "type": "string",
                    "enum": [
                      "cancelled"
                    ],
                    "example": "cancelled"
                  },
                  "cancellation_info": {
                    "type": "object",
                    "title": "CancellationInfo",
                    "description": "Information on a cancelled order",
                    "required": [
                      "cancellation_datetime"
                    ],
                    "properties": {
                      "cancellation_datetime": {
                        "description": "The ISO 8601 datetime of when this order is cancelled.",
                        "type": "string",
                        "format": "date-time",
                        "example": "2017-08-17T13:31:15.523Z"
                      }
                    },
                    "example": {
                      "cancellation_datetime": "2025-02-17T18:31:15.523Z"
                    }
                  }
                }
              },
              {
                "type": "object",
                "title": "StatusConfirmed",
                "required": [
                  "type"
                ],
                "properties": {
                  "type": {
                    "type": "string",
                    "enum": [
                      "confirmed"
                    ],
                    "example": "confirmed"
                  }
                },
                "example": {
                  "type": "confirmed"
                }
              },
              {
                "type": "object",
                "title": "StatusPending",
                "required": [
                  "type"
                ],
                "properties": {
                  "type": {
                    "type": "string",
                    "enum": [
                      "pending"
                    ],
                    "example": "pending"
                  }
                },
                "example": {
                  "type": "pending"
                }
              },
              {
                "type": "object",
                "title": "StatusFailed",
                "description": "Represents a failed status for an order. This status is vended when the order \ncannot be processed or completed due to an unrecoverable error. Examples include:\n* Invalid order details or corrupted data\n* System errors during processing\n",
                "required": [
                  "type"
                ],
                "properties": {
                  "type": {
                    "type": "string",
                    "enum": [
                      "failed"
                    ],
                    "example": "failed"
                  }
                },
                "example": {
                  "type": "failed"
                }
              }
            ],
            "discriminator": {
              "propertyName": "type",
              "mapping": {
                "cancelled": "#/StatusCancelled",
                "confirmed": "#/StatusConfirmed",
                "pending": "#/StatusPending",
                "failed": "#/StatusFailed"
              }
            }
          },
          "confirmation_number": {
            "type": "string",
            "description": "The unique confirmation number provided by the car rental vendor.",
            "example": "ABC-123-DEF"
          },
          "offer": {
            "type": "object",
            "title": "Offer",
            "description": "Represents the vehicle rental offer.",
            "required": [
              "rental_company",
              "pickup",
              "dropoff",
              "vehicle",
              "pricing",
              "cancellation_policy",
              "mileage_policy",
              "age_policy"
            ],
            "properties": {
              "rental_company": {
                "type": "object",
                "title": "RentalCompany",
                "description": "Represents the car rental company or partner providing the vehicle offer.",
                "required": [
                  "id",
                  "name",
                  "logo_url"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "description": "A unique identifier for the vendor (e.g., internal code, Expedia ID).",
                    "example": "AVS"
                  },
                  "name": {
                    "type": "string",
                    "description": "The human-readable name of the vendor (e.g., \"Avis\", \"Amadeus\").",
                    "example": "Avis Rent a Car"
                  },
                  "logo_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "A URL to the rental company's official logo.",
                    "example": "https://example.com/logos/avis.png"
                  },
                  "support_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "A URL to the rental company's customer support or help page.",
                    "example": "https://www.avis.com/en/help"
                  }
                }
              },
              "pickup": {
                "type": "object",
                "title": "PickupResponse",
                "description": "Details for the vehicle pickup.",
                "required": [
                  "local_date_time",
                  "location"
                ],
                "properties": {
                  "local_date_time": {
                    "title": "LocalDateTime",
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}.*$",
                    "description": "The local date and time in ISO 8601 format.\nNote: Any information after the minutes (e.g., seconds, time zone) will be discarded.\n",
                    "example": "2026-01-21T10:30"
                  },
                  "location": {
                    "type": "object",
                    "title": "Location",
                    "description": "Represents a physical location for vehicle pickup or drop-off.",
                    "required": [
                      "location_id",
                      "name",
                      "address",
                      "kind"
                    ],
                    "properties": {
                      "location_id": {
                        "type": "string",
                        "description": "Reference ID for the location given for the vendor (e.g., \"AVS_JFK01\").",
                        "example": "AVS_JFK01"
                      },
                      "name": {
                        "type": "string",
                        "description": "The human-readable name of the location (e.g., \"MIA Airport\").",
                        "example": "John F. Kennedy International Airport"
                      },
                      "address": {
                        "type": "object",
                        "title": "Address",
                        "required": [
                          "first_line",
                          "country",
                          "city"
                        ],
                        "properties": {
                          "first_line": {
                            "type": "string",
                            "description": "The first line of the street address.",
                            "example": "JFK Airport Terminal 4"
                          },
                          "second_line": {
                            "type": "string",
                            "description": "The second line of the street address, if applicable."
                          },
                          "country": {
                            "type": "string",
                            "description": "Country code (ISO 3166-1 alpha-2)",
                            "pattern": "^[A-Z]{2}$",
                            "example": "US"
                          },
                          "city": {
                            "type": "string",
                            "description": "The city of the location.",
                            "example": "New York"
                          },
                          "state_province": {
                            "type": "string",
                            "pattern": "^[A-Z0-9]{1,3}$",
                            "description": "The code for the state or province ISO 3166-2 (e.g., \"CA\", \"FL\").",
                            "example": "CA"
                          }
                        }
                      },
                      "coordinates": {
                        "type": "object",
                        "title": "Coordinates",
                        "description": "Geographic coordinates of the location.",
                        "required": [
                          "latitude",
                          "longitude"
                        ],
                        "properties": {
                          "latitude": {
                            "type": "number",
                            "format": "double",
                            "description": "The latitude coordinate of the location.",
                            "example": 34.052235
                          },
                          "longitude": {
                            "type": "number",
                            "format": "double",
                            "description": "The longitude coordinate of the location.",
                            "example": -118.243683
                          }
                        }
                      },
                      "instructions": {
                        "type": "string",
                        "description": "Specific instructions for pickup/drop-off."
                      },
                      "kind": {
                        "type": "string",
                        "enum": [
                          "Unspecified",
                          "Airport",
                          "Shuttle",
                          "MeetAndGreet"
                        ],
                        "description": "The kind of pickup/drop-off (e.g., \"Shuttle\", \"Airport\", \"Meet and Greet\")."
                      },
                      "iata": {
                        "type": "string",
                        "description": "The IATA airport code if the location is an airport (e.g., \"JFK\", \"MIA\").",
                        "pattern": "^[A-Z]{3}$",
                        "example": "JFK"
                      }
                    }
                  }
                }
              },
              "dropoff": {
                "type": "object",
                "title": "DropoffResponse",
                "description": "Details for the vehicle drop-off.",
                "required": [
                  "local_date_time",
                  "location"
                ],
                "properties": {
                  "local_date_time": {
                    "title": "LocalDateTime",
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}.*$",
                    "description": "The local date and time in ISO 8601 format.\nNote: Any information after the minutes (e.g., seconds, time zone) will be discarded.\n",
                    "example": "2026-01-21T10:30"
                  },
                  "location": {
                    "type": "object",
                    "title": "Location",
                    "description": "Represents a physical location for vehicle pickup or drop-off.",
                    "required": [
                      "location_id",
                      "name",
                      "address",
                      "kind"
                    ],
                    "properties": {
                      "location_id": {
                        "type": "string",
                        "description": "Reference ID for the location given for the vendor (e.g., \"AVS_JFK01\").",
                        "example": "AVS_JFK01"
                      },
                      "name": {
                        "type": "string",
                        "description": "The human-readable name of the location (e.g., \"MIA Airport\").",
                        "example": "John F. Kennedy International Airport"
                      },
                      "address": {
                        "type": "object",
                        "title": "Address",
                        "required": [
                          "first_line",
                          "country",
                          "city"
                        ],
                        "properties": {
                          "first_line": {
                            "type": "string",
                            "description": "The first line of the street address.",
                            "example": "JFK Airport Terminal 4"
                          },
                          "second_line": {
                            "type": "string",
                            "description": "The second line of the street address, if applicable."
                          },
                          "country": {
                            "type": "string",
                            "description": "Country code (ISO 3166-1 alpha-2)",
                            "pattern": "^[A-Z]{2}$",
                            "example": "US"
                          },
                          "city": {
                            "type": "string",
                            "description": "The city of the location.",
                            "example": "New York"
                          },
                          "state_province": {
                            "type": "string",
                            "pattern": "^[A-Z0-9]{1,3}$",
                            "description": "The code for the state or province ISO 3166-2 (e.g., \"CA\", \"FL\").",
                            "example": "CA"
                          }
                        }
                      },
                      "coordinates": {
                        "type": "object",
                        "title": "Coordinates",
                        "description": "Geographic coordinates of the location.",
                        "required": [
                          "latitude",
                          "longitude"
                        ],
                        "properties": {
                          "latitude": {
                            "type": "number",
                            "format": "double",
                            "description": "The latitude coordinate of the location.",
                            "example": 34.052235
                          },
                          "longitude": {
                            "type": "number",
                            "format": "double",
                            "description": "The longitude coordinate of the location.",
                            "example": -118.243683
                          }
                        }
                      },
                      "instructions": {
                        "type": "string",
                        "description": "Specific instructions for pickup/drop-off."
                      },
                      "kind": {
                        "type": "string",
                        "enum": [
                          "Unspecified",
                          "Airport",
                          "Shuttle",
                          "MeetAndGreet"
                        ],
                        "description": "The kind of pickup/drop-off (e.g., \"Shuttle\", \"Airport\", \"Meet and Greet\")."
                      },
                      "iata": {
                        "type": "string",
                        "description": "The IATA airport code if the location is an airport (e.g., \"JFK\", \"MIA\").",
                        "pattern": "^[A-Z]{3}$",
                        "example": "JFK"
                      }
                    }
                  }
                }
              },
              "vehicle": {
                "type": "object",
                "title": "Vehicle",
                "description": "The primary data structure that contains all the essential information about a car.",
                "required": [
                  "description",
                  "acriss_code",
                  "luggage",
                  "transmission",
                  "air_conditioning"
                ],
                "properties": {
                  "description": {
                    "type": "string",
                    "description": "A human-readable description of the vehicle, often including make and model."
                  },
                  "acriss_code": {
                    "type": "string",
                    "description": "The standardized ACRISS or SIPP code for the vehicle. See https://www.acraorg.com/acriss-sip-codes/ for more details.",
                    "pattern": "^[A-Z0-9]{4}$",
                    "example": "CCAR"
                  },
                  "max_passengers": {
                    "type": "integer",
                    "minimum": 1,
                    "description": "The maximum number of passengers the vehicle can accommodate."
                  },
                  "doors": {
                    "type": "integer",
                    "minimum": 1,
                    "description": "The number of doors on the vehicle."
                  },
                  "luggage": {
                    "type": "object",
                    "title": "Luggage",
                    "required": [
                      "total"
                    ],
                    "properties": {
                      "small": {
                        "type": "integer",
                        "description": "The number of small bags the vehicle can hold."
                      },
                      "medium": {
                        "type": "integer",
                        "description": "The number of medium bags the vehicle can hold."
                      },
                      "large": {
                        "type": "integer",
                        "description": "The number of large bags the vehicle can hold."
                      },
                      "total": {
                        "type": "integer",
                        "description": "The total number of bags the vehicle can hold, if a specific breakdown is not available or as a sum of small/large."
                      }
                    }
                  },
                  "transmission": {
                    "type": "string",
                    "description": "The transmission type of the vehicle.",
                    "enum": [
                      "Automatic",
                      "Manual",
                      "Cvt",
                      "Unspecified"
                    ]
                  },
                  "air_conditioning": {
                    "type": "boolean",
                    "description": "Indicates whether the vehicle has air conditioning."
                  },
                  "images": {
                    "type": "object",
                    "title": "VehicleImages",
                    "required": [
                      "default",
                      "links"
                    ],
                    "properties": {
                      "default": {
                        "type": "string",
                        "format": "uri",
                        "description": "The URL for the primary display image of the vehicle."
                      },
                      "links": {
                        "type": "array",
                        "description": "A list of additional image URLs for the vehicle.",
                        "items": {
                          "type": "string",
                          "format": "uri"
                        }
                      }
                    }
                  }
                }
              },
              "pricing": {
                "type": "object",
                "title": "Pricing",
                "description": "The car rental pricing details.\nThe base + fee_summary.total = total price.\nThe pay_now + pay_later = total price.\nThe fees are not itemized by payments schedule (pay now vs pay later).\n",
                "required": [
                  "base",
                  "fee_summary",
                  "pay_now",
                  "pay_later"
                ],
                "properties": {
                  "base": {
                    "type": "object",
                    "title": "PriceBase",
                    "description": "The base rate for the rental, excluding fees and taxes across the payment schedule (both pay now and pay later).",
                    "required": [
                      "currency",
                      "amount"
                    ],
                    "properties": {
                      "currency": {
                        "description": "Currency code, in ISO 4217 format.",
                        "type": "string",
                        "pattern": "^[A-Z]{3}$",
                        "example": "USD"
                      },
                      "amount": {
                        "type": "string",
                        "description": "Monetary amount value Serialized BigDecimal value",
                        "example": "123.45"
                      }
                    }
                  },
                  "fee_summary": {
                    "type": "object",
                    "title": "FeeSummary",
                    "description": "An itemized list of fees and taxes that make up the total price. These fees are included in both the 'pay now' and 'pay later' amounts.",
                    "required": [
                      "fees",
                      "total"
                    ],
                    "properties": {
                      "fees": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "title": "FeeSummaryItem",
                          "description": "A fee or tax that is part of the total price.",
                          "required": [
                            "description",
                            "line_item"
                          ],
                          "properties": {
                            "description": {
                              "type": "string",
                              "description": "A description of the fee or tax."
                            },
                            "line_item": {
                              "type": "object",
                              "title": "LineItem",
                              "description": "The amount and currency for a chargeable item.",
                              "required": [
                                "currency",
                                "amount"
                              ],
                              "properties": {
                                "currency": {
                                  "description": "Currency code, in ISO 4217 format.",
                                  "type": "string",
                                  "pattern": "^[A-Z]{3}$",
                                  "example": "USD"
                                },
                                "amount": {
                                  "type": "string",
                                  "description": "Monetary amount value Serialized BigDecimal value",
                                  "example": "123.45"
                                }
                              }
                            }
                          }
                        }
                      },
                      "total": {
                        "type": "object",
                        "title": "FeeSummaryTotal",
                        "description": "The total amount for all fees and taxes.",
                        "required": [
                          "currency",
                          "amount"
                        ],
                        "properties": {
                          "currency": {
                            "description": "Currency code, in ISO 4217 format.",
                            "type": "string",
                            "pattern": "^[A-Z]{3}$",
                            "example": "USD"
                          },
                          "amount": {
                            "type": "string",
                            "description": "Monetary amount value Serialized BigDecimal value",
                            "example": "123.45"
                          }
                        }
                      }
                    }
                  },
                  "pay_now": {
                    "type": "object",
                    "title": "PayNow",
                    "description": "The total amount to be paid at the time of booking.",
                    "required": [
                      "currency",
                      "amount"
                    ],
                    "properties": {
                      "currency": {
                        "description": "Currency code, in ISO 4217 format.",
                        "type": "string",
                        "pattern": "^[A-Z]{3}$",
                        "example": "USD"
                      },
                      "amount": {
                        "type": "string",
                        "description": "Monetary amount value Serialized BigDecimal value",
                        "example": "123.45"
                      }
                    }
                  },
                  "pay_later": {
                    "type": "object",
                    "title": "PayLater",
                    "description": "The total amount to be paid at a later time (usually at the desk).",
                    "required": [
                      "currency",
                      "amount"
                    ],
                    "properties": {
                      "currency": {
                        "description": "Currency code, in ISO 4217 format.",
                        "type": "string",
                        "pattern": "^[A-Z]{3}$",
                        "example": "USD"
                      },
                      "amount": {
                        "type": "string",
                        "description": "Monetary amount value Serialized BigDecimal value",
                        "example": "123.45"
                      }
                    }
                  }
                }
              },
              "cancellation_policy": {
                "type": "object",
                "description": "Defines the terms and conditions for canceling a vehicle rental.",
                "required": [
                  "penalty_ranges"
                ],
                "properties": {
                  "penalty_ranges": {
                    "type": "array",
                    "minItems": 1,
                    "items": {
                      "type": "object",
                      "title": "PenaltyRange",
                      "required": [
                        "start_time",
                        "end_time",
                        "penalty"
                      ],
                      "properties": {
                        "start_time": {
                          "description": "Start time of the penalty range (Inclusive), in ISO 8601 format.",
                          "type": "string",
                          "format": "date-time"
                        },
                        "end_time": {
                          "description": "End time of the penalty range (Exclusive), in ISO 8601 format.",
                          "type": "string",
                          "format": "date-time"
                        },
                        "penalty": {
                          "type": "object",
                          "title": "Penalty",
                          "description": "Penalty amount withheld form the client upon cancellation.",
                          "required": [
                            "amount",
                            "currency"
                          ],
                          "properties": {
                            "currency": {
                              "description": "Currency code, in ISO 4217 format.",
                              "type": "string",
                              "pattern": "^[A-Z]{3}$",
                              "example": "USD"
                            },
                            "amount": {
                              "type": "string",
                              "description": "Monetary amount value Serialized BigDecimal value",
                              "example": "123.45"
                            }
                          }
                        }
                      }
                    }
                  }
                },
                "example": {
                  "penalty_ranges": [
                    {
                      "start_time": "2025-01-21T00:00:00Z",
                      "end_time": "2025-01-26T00:00:00Z",
                      "penalty": {
                        "currency": "USD",
                        "amount": "0.00"
                      }
                    },
                    {
                      "start_time": "2025-01-26T00:00:00Z",
                      "end_time": "2025-01-27T00:00:00Z",
                      "penalty": {
                        "currency": "USD",
                        "amount": "75.00"
                      }
                    },
                    {
                      "start_time": "2025-01-27T00:00:00Z",
                      "end_time": "2025-01-28T00:00:00Z",
                      "penalty": {
                        "currency": "USD",
                        "amount": "135.00"
                      }
                    }
                  ]
                }
              },
              "mileage_policy": {
                "title": "MileagePolicy",
                "description": "Defines the vehicle's mileage allowance and any associated overage charges.",
                "oneOf": [
                  {
                    "type": "object",
                    "title": "UnlimitedMileagePolicy",
                    "required": [
                      "type"
                    ],
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "unlimited"
                        ],
                        "description": "The type of mileage policy."
                      }
                    }
                  },
                  {
                    "type": "object",
                    "title": "LimitedMileagePolicy",
                    "required": [
                      "type",
                      "quantity",
                      "unit"
                    ],
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "limited"
                        ],
                        "description": "The type of mileage policy."
                      },
                      "quantity": {
                        "type": "integer",
                        "description": "The numerical value of the included mileage."
                      },
                      "unit": {
                        "type": "string",
                        "enum": [
                          "mi",
                          "km"
                        ],
                        "description": "The unit of distance for the included mileage."
                      }
                    }
                  },
                  {
                    "type": "object",
                    "title": "LimitedUnspecifiedMileagePolicy",
                    "required": [
                      "type"
                    ],
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "limited_unspecified"
                        ],
                        "description": "The type of mileage policy when mileage is limited but specifics are not provided."
                      }
                    }
                  }
                ],
                "discriminator": {
                  "propertyName": "type",
                  "mapping": {
                    "unlimited": "#/UnlimitedMileagePolicy",
                    "limited": "#/LimitedMileagePolicy",
                    "limited_unspecified": "#/LimitedUnspecifiedMileagePolicy"
                  }
                }
              },
              "age_policy": {
                "type": "object",
                "title": "AgePolicy",
                "description": "The age requirements associated with the rental.",
                "properties": {
                  "minimum_age": {
                    "type": "integer",
                    "description": "The minimum age required to rent the vehicle.",
                    "example": 21
                  }
                }
              }
            }
          },
          "commission": {
            "type": "object",
            "title": "Commission",
            "description": "Commission Hopper will pay out at the time of invoicing for a given rental.",
            "required": [
              "amount",
              "currency"
            ],
            "properties": {
              "amount": {
                "type": "string",
                "description": "Monetary amount value Serialized BigDecimal value",
                "example": "123.45"
              },
              "currency": {
                "description": "Currency code, in ISO 4217 format.",
                "type": "string",
                "pattern": "^[A-Z]{3}$",
                "example": "USD"
              }
            }
          },
          "disclosures": {
            "type": "array",
            "description": "Important notices, booking conditions, or legal disclosures.",
            "items": {
              "type": "object",
              "title": "Disclosure",
              "description": "An important notice, booking condition, or legal disclosure.",
              "required": [
                "kind",
                "content"
              ],
              "properties": {
                "kind": {
                  "type": "string",
                  "description": "Type of disclosure.",
                  "enum": [
                    "unspecified",
                    "booking_conditions",
                    "customer_support",
                    "dropoff_instructions",
                    "emergency_procedures",
                    "faq",
                    "finalize_booking",
                    "how_it_works",
                    "important_information",
                    "next_steps",
                    "payment_and_fees",
                    "pickup_instructions",
                    "terms_of_service",
                    "vehicle_features_and_policies",
                    "car_rental_policy",
                    "payment_conditions",
                    "security_deposit",
                    "security_deposit_method",
                    "payment_methods",
                    "required_documents",
                    "minimum_license_period_year",
                    "payment_and_charges",
                    "driver_information"
                  ],
                  "example": "payment_and_fees"
                },
                "description": {
                  "type": "string",
                  "description": "A brief summary of the disclosure.",
                  "example": "Payment is due upon return of the vehicle."
                },
                "content": {
                  "type": "array",
                  "description": "The content of the disclosure.",
                  "items": {
                    "type": "object",
                    "title": "DisclosureContent",
                    "required": [
                      "text",
                      "title"
                    ],
                    "properties": {
                      "title": {
                        "type": "string",
                        "description": "Short description of the disclosure.",
                        "example": "Payment Terms"
                      },
                      "text": {
                        "type": "string",
                        "description": "The detailed text of the disclosure.",
                        "example": "Payment for this order is due when the car is returned and will be charged by Thrifty Car Rental."
                      }
                    }
                  }
                }
              }
            }
          },
          "ancillaries": {
            "type": "array",
            "description": "Booked ancillaries (extras) included in the rental.",
            "items": {
              "type": "object",
              "title": "Ancillary",
              "description": "A car rental extra or add-on available for the booking.",
              "required": [
                "id",
                "type",
                "category",
                "name",
                "pricing",
                "payment"
              ],
              "properties": {
                "id": {
                  "type": "string",
                  "description": "Unique identifier for this ancillary option from the supplier.",
                  "example": "GPS_001"
                },
                "type": {
                  "type": "string",
                  "description": "The type of ancillary.",
                  "enum": [
                    "InfantSeat",
                    "ToddlerSeat",
                    "BoosterSeat",
                    "ChildSeat",
                    "Gps",
                    "SatNav",
                    "RoadsideAssistance",
                    "AdditionalDriver",
                    "SatelliteRadio",
                    "SnowChains",
                    "SnowTires",
                    "WinterKit",
                    "SkiRack",
                    "BikeRack",
                    "LuggageRack",
                    "YoungDriver",
                    "PrepaidFuel",
                    "Wifi",
                    "Cdw",
                    "Ldw",
                    "Pai",
                    "Pec",
                    "Sli"
                  ]
                },
                "category": {
                  "type": "string",
                  "description": "The broad category of the ancillary.",
                  "enum": [
                    "Equipment",
                    "AddOn"
                  ]
                },
                "name": {
                  "type": "string",
                  "description": "Human-readable display name for the ancillary.",
                  "example": "GPS Navigation"
                },
                "description": {
                  "type": "string",
                  "description": "Detailed description of the ancillary.",
                  "example": "Portable GPS navigation device for your rental."
                },
                "pricing": {
                  "type": "object",
                  "title": "AncillaryPricing",
                  "description": "Pricing details for an ancillary item.",
                  "required": [
                    "amount",
                    "currency",
                    "unit"
                  ],
                  "properties": {
                    "amount": {
                      "type": "string",
                      "description": "Monetary amount value Serialized BigDecimal value",
                      "example": "123.45"
                    },
                    "currency": {
                      "description": "Currency code, in ISO 4217 format.",
                      "type": "string",
                      "pattern": "^[A-Z]{3}$",
                      "example": "USD"
                    },
                    "unit": {
                      "type": "string",
                      "description": "How the price is applied.",
                      "enum": [
                        "PerBooking",
                        "PerDay",
                        "PerDriver"
                      ]
                    }
                  }
                },
                "payment": {
                  "type": "string",
                  "description": "When payment is collected for this ancillary.",
                  "enum": [
                    "PayNow",
                    "PayAtCounter"
                  ]
                },
                "constraints": {
                  "type": "object",
                  "title": "AncillaryConstraints",
                  "description": "Constraints on ancillary selection.",
                  "properties": {
                    "max_quantity": {
                      "type": "integer",
                      "minimum": 1,
                      "description": "Maximum number of this ancillary that can be selected.",
                      "example": 3
                    },
                    "included_quantity": {
                      "type": "integer",
                      "minimum": 0,
                      "description": "Number of this ancillary already included in the base rental at no extra cost.",
                      "example": 0
                    }
                  }
                }
              }
            }
          },
          "response_id": {
            "title": "ResponseId",
            "description": "Unique identifier of the specific response.\nUse this identifier when you need to refer to a specific response, when requiring technical support.\n",
            "type": "string",
            "format": "uuid",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          }
        }
      },
      "get_rental_offer_failure": {
        "type": "object",
        "title": "GetRentalOfferFailure",
        "description": "A standardized schema for API failure responses when retrieving rental offers.",
        "required": [
          "error_code",
          "description",
          "response_id"
        ],
        "properties": {
          "error_code": {
            "description": "A specific code identifying the type of error.",
            "enum": [
              "invalid_input",
              "invalid_quote_token",
              "offer_not_found",
              "offer_expired"
            ],
            "type": "string"
          },
          "description": {
            "type": "string",
            "description": "A human-readable message providing more details about the error."
          },
          "response_id": {
            "title": "ResponseId",
            "description": "Unique identifier of the specific response.\nUse this identifier when you need to refer to a specific response, when requiring technical support.\n",
            "type": "string",
            "format": "uuid",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          }
        }
      },
      "get_rental_offer_response": {
        "type": "object",
        "title": "GetRentalOfferResponse",
        "description": "Response containing rental offer details with disclosures but without commission and valid_until fields.",
        "allOf": [
          {
            "type": "object",
            "title": "Offer",
            "description": "Represents the vehicle rental offer.",
            "required": [
              "rental_company",
              "pickup",
              "dropoff",
              "vehicle",
              "pricing",
              "cancellation_policy",
              "mileage_policy",
              "age_policy"
            ],
            "properties": {
              "rental_company": {
                "type": "object",
                "title": "RentalCompany",
                "description": "Represents the car rental company or partner providing the vehicle offer.",
                "required": [
                  "id",
                  "name",
                  "logo_url"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "description": "A unique identifier for the vendor (e.g., internal code, Expedia ID).",
                    "example": "AVS"
                  },
                  "name": {
                    "type": "string",
                    "description": "The human-readable name of the vendor (e.g., \"Avis\", \"Amadeus\").",
                    "example": "Avis Rent a Car"
                  },
                  "logo_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "A URL to the rental company's official logo.",
                    "example": "https://example.com/logos/avis.png"
                  },
                  "support_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "A URL to the rental company's customer support or help page.",
                    "example": "https://www.avis.com/en/help"
                  }
                }
              },
              "pickup": {
                "type": "object",
                "title": "PickupResponse",
                "description": "Details for the vehicle pickup.",
                "required": [
                  "local_date_time",
                  "location"
                ],
                "properties": {
                  "local_date_time": {
                    "title": "LocalDateTime",
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}.*$",
                    "description": "The local date and time in ISO 8601 format.\nNote: Any information after the minutes (e.g., seconds, time zone) will be discarded.\n",
                    "example": "2026-01-21T10:30"
                  },
                  "location": {
                    "type": "object",
                    "title": "Location",
                    "description": "Represents a physical location for vehicle pickup or drop-off.",
                    "required": [
                      "location_id",
                      "name",
                      "address",
                      "kind"
                    ],
                    "properties": {
                      "location_id": {
                        "type": "string",
                        "description": "Reference ID for the location given for the vendor (e.g., \"AVS_JFK01\").",
                        "example": "AVS_JFK01"
                      },
                      "name": {
                        "type": "string",
                        "description": "The human-readable name of the location (e.g., \"MIA Airport\").",
                        "example": "John F. Kennedy International Airport"
                      },
                      "address": {
                        "type": "object",
                        "title": "Address",
                        "required": [
                          "first_line",
                          "country",
                          "city"
                        ],
                        "properties": {
                          "first_line": {
                            "type": "string",
                            "description": "The first line of the street address.",
                            "example": "JFK Airport Terminal 4"
                          },
                          "second_line": {
                            "type": "string",
                            "description": "The second line of the street address, if applicable."
                          },
                          "country": {
                            "type": "string",
                            "description": "Country code (ISO 3166-1 alpha-2)",
                            "pattern": "^[A-Z]{2}$",
                            "example": "US"
                          },
                          "city": {
                            "type": "string",
                            "description": "The city of the location.",
                            "example": "New York"
                          },
                          "state_province": {
                            "type": "string",
                            "pattern": "^[A-Z0-9]{1,3}$",
                            "description": "The code for the state or province ISO 3166-2 (e.g., \"CA\", \"FL\").",
                            "example": "CA"
                          }
                        }
                      },
                      "coordinates": {
                        "type": "object",
                        "title": "Coordinates",
                        "description": "Geographic coordinates of the location.",
                        "required": [
                          "latitude",
                          "longitude"
                        ],
                        "properties": {
                          "latitude": {
                            "type": "number",
                            "format": "double",
                            "description": "The latitude coordinate of the location.",
                            "example": 34.052235
                          },
                          "longitude": {
                            "type": "number",
                            "format": "double",
                            "description": "The longitude coordinate of the location.",
                            "example": -118.243683
                          }
                        }
                      },
                      "instructions": {
                        "type": "string",
                        "description": "Specific instructions for pickup/drop-off."
                      },
                      "kind": {
                        "type": "string",
                        "enum": [
                          "Unspecified",
                          "Airport",
                          "Shuttle",
                          "MeetAndGreet"
                        ],
                        "description": "The kind of pickup/drop-off (e.g., \"Shuttle\", \"Airport\", \"Meet and Greet\")."
                      },
                      "iata": {
                        "type": "string",
                        "description": "The IATA airport code if the location is an airport (e.g., \"JFK\", \"MIA\").",
                        "pattern": "^[A-Z]{3}$",
                        "example": "JFK"
                      }
                    }
                  }
                }
              },
              "dropoff": {
                "type": "object",
                "title": "DropoffResponse",
                "description": "Details for the vehicle drop-off.",
                "required": [
                  "local_date_time",
                  "location"
                ],
                "properties": {
                  "local_date_time": {
                    "title": "LocalDateTime",
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}.*$",
                    "description": "The local date and time in ISO 8601 format.\nNote: Any information after the minutes (e.g., seconds, time zone) will be discarded.\n",
                    "example": "2026-01-21T10:30"
                  },
                  "location": {
                    "type": "object",
                    "title": "Location",
                    "description": "Represents a physical location for vehicle pickup or drop-off.",
                    "required": [
                      "location_id",
                      "name",
                      "address",
                      "kind"
                    ],
                    "properties": {
                      "location_id": {
                        "type": "string",
                        "description": "Reference ID for the location given for the vendor (e.g., \"AVS_JFK01\").",
                        "example": "AVS_JFK01"
                      },
                      "name": {
                        "type": "string",
                        "description": "The human-readable name of the location (e.g., \"MIA Airport\").",
                        "example": "John F. Kennedy International Airport"
                      },
                      "address": {
                        "type": "object",
                        "title": "Address",
                        "required": [
                          "first_line",
                          "country",
                          "city"
                        ],
                        "properties": {
                          "first_line": {
                            "type": "string",
                            "description": "The first line of the street address.",
                            "example": "JFK Airport Terminal 4"
                          },
                          "second_line": {
                            "type": "string",
                            "description": "The second line of the street address, if applicable."
                          },
                          "country": {
                            "type": "string",
                            "description": "Country code (ISO 3166-1 alpha-2)",
                            "pattern": "^[A-Z]{2}$",
                            "example": "US"
                          },
                          "city": {
                            "type": "string",
                            "description": "The city of the location.",
                            "example": "New York"
                          },
                          "state_province": {
                            "type": "string",
                            "pattern": "^[A-Z0-9]{1,3}$",
                            "description": "The code for the state or province ISO 3166-2 (e.g., \"CA\", \"FL\").",
                            "example": "CA"
                          }
                        }
                      },
                      "coordinates": {
                        "type": "object",
                        "title": "Coordinates",
                        "description": "Geographic coordinates of the location.",
                        "required": [
                          "latitude",
                          "longitude"
                        ],
                        "properties": {
                          "latitude": {
                            "type": "number",
                            "format": "double",
                            "description": "The latitude coordinate of the location.",
                            "example": 34.052235
                          },
                          "longitude": {
                            "type": "number",
                            "format": "double",
                            "description": "The longitude coordinate of the location.",
                            "example": -118.243683
                          }
                        }
                      },
                      "instructions": {
                        "type": "string",
                        "description": "Specific instructions for pickup/drop-off."
                      },
                      "kind": {
                        "type": "string",
                        "enum": [
                          "Unspecified",
                          "Airport",
                          "Shuttle",
                          "MeetAndGreet"
                        ],
                        "description": "The kind of pickup/drop-off (e.g., \"Shuttle\", \"Airport\", \"Meet and Greet\")."
                      },
                      "iata": {
                        "type": "string",
                        "description": "The IATA airport code if the location is an airport (e.g., \"JFK\", \"MIA\").",
                        "pattern": "^[A-Z]{3}$",
                        "example": "JFK"
                      }
                    }
                  }
                }
              },
              "vehicle": {
                "type": "object",
                "title": "Vehicle",
                "description": "The primary data structure that contains all the essential information about a car.",
                "required": [
                  "description",
                  "acriss_code",
                  "luggage",
                  "transmission",
                  "air_conditioning"
                ],
                "properties": {
                  "description": {
                    "type": "string",
                    "description": "A human-readable description of the vehicle, often including make and model."
                  },
                  "acriss_code": {
                    "type": "string",
                    "description": "The standardized ACRISS or SIPP code for the vehicle. See https://www.acraorg.com/acriss-sip-codes/ for more details.",
                    "pattern": "^[A-Z0-9]{4}$",
                    "example": "CCAR"
                  },
                  "max_passengers": {
                    "type": "integer",
                    "minimum": 1,
                    "description": "The maximum number of passengers the vehicle can accommodate."
                  },
                  "doors": {
                    "type": "integer",
                    "minimum": 1,
                    "description": "The number of doors on the vehicle."
                  },
                  "luggage": {
                    "type": "object",
                    "title": "Luggage",
                    "required": [
                      "total"
                    ],
                    "properties": {
                      "small": {
                        "type": "integer",
                        "description": "The number of small bags the vehicle can hold."
                      },
                      "medium": {
                        "type": "integer",
                        "description": "The number of medium bags the vehicle can hold."
                      },
                      "large": {
                        "type": "integer",
                        "description": "The number of large bags the vehicle can hold."
                      },
                      "total": {
                        "type": "integer",
                        "description": "The total number of bags the vehicle can hold, if a specific breakdown is not available or as a sum of small/large."
                      }
                    }
                  },
                  "transmission": {
                    "type": "string",
                    "description": "The transmission type of the vehicle.",
                    "enum": [
                      "Automatic",
                      "Manual",
                      "Cvt",
                      "Unspecified"
                    ]
                  },
                  "air_conditioning": {
                    "type": "boolean",
                    "description": "Indicates whether the vehicle has air conditioning."
                  },
                  "images": {
                    "type": "object",
                    "title": "VehicleImages",
                    "required": [
                      "default",
                      "links"
                    ],
                    "properties": {
                      "default": {
                        "type": "string",
                        "format": "uri",
                        "description": "The URL for the primary display image of the vehicle."
                      },
                      "links": {
                        "type": "array",
                        "description": "A list of additional image URLs for the vehicle.",
                        "items": {
                          "type": "string",
                          "format": "uri"
                        }
                      }
                    }
                  }
                }
              },
              "pricing": {
                "type": "object",
                "title": "Pricing",
                "description": "The car rental pricing details.\nThe base + fee_summary.total = total price.\nThe pay_now + pay_later = total price.\nThe fees are not itemized by payments schedule (pay now vs pay later).\n",
                "required": [
                  "base",
                  "fee_summary",
                  "pay_now",
                  "pay_later"
                ],
                "properties": {
                  "base": {
                    "type": "object",
                    "title": "PriceBase",
                    "description": "The base rate for the rental, excluding fees and taxes across the payment schedule (both pay now and pay later).",
                    "required": [
                      "currency",
                      "amount"
                    ],
                    "properties": {
                      "currency": {
                        "description": "Currency code, in ISO 4217 format.",
                        "type": "string",
                        "pattern": "^[A-Z]{3}$",
                        "example": "USD"
                      },
                      "amount": {
                        "type": "string",
                        "description": "Monetary amount value Serialized BigDecimal value",
                        "example": "123.45"
                      }
                    }
                  },
                  "fee_summary": {
                    "type": "object",
                    "title": "FeeSummary",
                    "description": "An itemized list of fees and taxes that make up the total price. These fees are included in both the 'pay now' and 'pay later' amounts.",
                    "required": [
                      "fees",
                      "total"
                    ],
                    "properties": {
                      "fees": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "title": "FeeSummaryItem",
                          "description": "A fee or tax that is part of the total price.",
                          "required": [
                            "description",
                            "line_item"
                          ],
                          "properties": {
                            "description": {
                              "type": "string",
                              "description": "A description of the fee or tax."
                            },
                            "line_item": {
                              "type": "object",
                              "title": "LineItem",
                              "description": "The amount and currency for a chargeable item.",
                              "required": [
                                "currency",
                                "amount"
                              ],
                              "properties": {
                                "currency": {
                                  "description": "Currency code, in ISO 4217 format.",
                                  "type": "string",
                                  "pattern": "^[A-Z]{3}$",
                                  "example": "USD"
                                },
                                "amount": {
                                  "type": "string",
                                  "description": "Monetary amount value Serialized BigDecimal value",
                                  "example": "123.45"
                                }
                              }
                            }
                          }
                        }
                      },
                      "total": {
                        "type": "object",
                        "title": "FeeSummaryTotal",
                        "description": "The total amount for all fees and taxes.",
                        "required": [
                          "currency",
                          "amount"
                        ],
                        "properties": {
                          "currency": {
                            "description": "Currency code, in ISO 4217 format.",
                            "type": "string",
                            "pattern": "^[A-Z]{3}$",
                            "example": "USD"
                          },
                          "amount": {
                            "type": "string",
                            "description": "Monetary amount value Serialized BigDecimal value",
                            "example": "123.45"
                          }
                        }
                      }
                    }
                  },
                  "pay_now": {
                    "type": "object",
                    "title": "PayNow",
                    "description": "The total amount to be paid at the time of booking.",
                    "required": [
                      "currency",
                      "amount"
                    ],
                    "properties": {
                      "currency": {
                        "description": "Currency code, in ISO 4217 format.",
                        "type": "string",
                        "pattern": "^[A-Z]{3}$",
                        "example": "USD"
                      },
                      "amount": {
                        "type": "string",
                        "description": "Monetary amount value Serialized BigDecimal value",
                        "example": "123.45"
                      }
                    }
                  },
                  "pay_later": {
                    "type": "object",
                    "title": "PayLater",
                    "description": "The total amount to be paid at a later time (usually at the desk).",
                    "required": [
                      "currency",
                      "amount"
                    ],
                    "properties": {
                      "currency": {
                        "description": "Currency code, in ISO 4217 format.",
                        "type": "string",
                        "pattern": "^[A-Z]{3}$",
                        "example": "USD"
                      },
                      "amount": {
                        "type": "string",
                        "description": "Monetary amount value Serialized BigDecimal value",
                        "example": "123.45"
                      }
                    }
                  }
                }
              },
              "cancellation_policy": {
                "type": "object",
                "description": "Defines the terms and conditions for canceling a vehicle rental.",
                "required": [
                  "penalty_ranges"
                ],
                "properties": {
                  "penalty_ranges": {
                    "type": "array",
                    "minItems": 1,
                    "items": {
                      "type": "object",
                      "title": "PenaltyRange",
                      "required": [
                        "start_time",
                        "end_time",
                        "penalty"
                      ],
                      "properties": {
                        "start_time": {
                          "description": "Start time of the penalty range (Inclusive), in ISO 8601 format.",
                          "type": "string",
                          "format": "date-time"
                        },
                        "end_time": {
                          "description": "End time of the penalty range (Exclusive), in ISO 8601 format.",
                          "type": "string",
                          "format": "date-time"
                        },
                        "penalty": {
                          "type": "object",
                          "title": "Penalty",
                          "description": "Penalty amount withheld form the client upon cancellation.",
                          "required": [
                            "amount",
                            "currency"
                          ],
                          "properties": {
                            "currency": {
                              "description": "Currency code, in ISO 4217 format.",
                              "type": "string",
                              "pattern": "^[A-Z]{3}$",
                              "example": "USD"
                            },
                            "amount": {
                              "type": "string",
                              "description": "Monetary amount value Serialized BigDecimal value",
                              "example": "123.45"
                            }
                          }
                        }
                      }
                    }
                  }
                },
                "example": {
                  "penalty_ranges": [
                    {
                      "start_time": "2025-01-21T00:00:00Z",
                      "end_time": "2025-01-26T00:00:00Z",
                      "penalty": {
                        "currency": "USD",
                        "amount": "0.00"
                      }
                    },
                    {
                      "start_time": "2025-01-26T00:00:00Z",
                      "end_time": "2025-01-27T00:00:00Z",
                      "penalty": {
                        "currency": "USD",
                        "amount": "75.00"
                      }
                    },
                    {
                      "start_time": "2025-01-27T00:00:00Z",
                      "end_time": "2025-01-28T00:00:00Z",
                      "penalty": {
                        "currency": "USD",
                        "amount": "135.00"
                      }
                    }
                  ]
                }
              },
              "mileage_policy": {
                "title": "MileagePolicy",
                "description": "Defines the vehicle's mileage allowance and any associated overage charges.",
                "oneOf": [
                  {
                    "type": "object",
                    "title": "UnlimitedMileagePolicy",
                    "required": [
                      "type"
                    ],
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "unlimited"
                        ],
                        "description": "The type of mileage policy."
                      }
                    }
                  },
                  {
                    "type": "object",
                    "title": "LimitedMileagePolicy",
                    "required": [
                      "type",
                      "quantity",
                      "unit"
                    ],
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "limited"
                        ],
                        "description": "The type of mileage policy."
                      },
                      "quantity": {
                        "type": "integer",
                        "description": "The numerical value of the included mileage."
                      },
                      "unit": {
                        "type": "string",
                        "enum": [
                          "mi",
                          "km"
                        ],
                        "description": "The unit of distance for the included mileage."
                      }
                    }
                  },
                  {
                    "type": "object",
                    "title": "LimitedUnspecifiedMileagePolicy",
                    "required": [
                      "type"
                    ],
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "limited_unspecified"
                        ],
                        "description": "The type of mileage policy when mileage is limited but specifics are not provided."
                      }
                    }
                  }
                ],
                "discriminator": {
                  "propertyName": "type",
                  "mapping": {
                    "unlimited": "#/UnlimitedMileagePolicy",
                    "limited": "#/LimitedMileagePolicy",
                    "limited_unspecified": "#/LimitedUnspecifiedMileagePolicy"
                  }
                }
              },
              "age_policy": {
                "type": "object",
                "title": "AgePolicy",
                "description": "The age requirements associated with the rental.",
                "properties": {
                  "minimum_age": {
                    "type": "integer",
                    "description": "The minimum age required to rent the vehicle.",
                    "example": 21
                  }
                }
              }
            }
          },
          {
            "type": "object",
            "required": [
              "disclosures",
              "response_id"
            ],
            "properties": {
              "disclosures": {
                "type": "array",
                "description": "Important notices, booking conditions, or legal disclosures.",
                "items": {
                  "type": "object",
                  "title": "Disclosure",
                  "description": "An important notice, booking condition, or legal disclosure.",
                  "required": [
                    "kind",
                    "content"
                  ],
                  "properties": {
                    "kind": {
                      "type": "string",
                      "description": "Type of disclosure.",
                      "enum": [
                        "unspecified",
                        "booking_conditions",
                        "customer_support",
                        "dropoff_instructions",
                        "emergency_procedures",
                        "faq",
                        "finalize_booking",
                        "how_it_works",
                        "important_information",
                        "next_steps",
                        "payment_and_fees",
                        "pickup_instructions",
                        "terms_of_service",
                        "vehicle_features_and_policies",
                        "car_rental_policy",
                        "payment_conditions",
                        "security_deposit",
                        "security_deposit_method",
                        "payment_methods",
                        "required_documents",
                        "minimum_license_period_year",
                        "payment_and_charges",
                        "driver_information"
                      ],
                      "example": "payment_and_fees"
                    },
                    "description": {
                      "type": "string",
                      "description": "A brief summary of the disclosure.",
                      "example": "Payment is due upon return of the vehicle."
                    },
                    "content": {
                      "type": "array",
                      "description": "The content of the disclosure.",
                      "items": {
                        "type": "object",
                        "title": "DisclosureContent",
                        "required": [
                          "text",
                          "title"
                        ],
                        "properties": {
                          "title": {
                            "type": "string",
                            "description": "Short description of the disclosure.",
                            "example": "Payment Terms"
                          },
                          "text": {
                            "type": "string",
                            "description": "The detailed text of the disclosure.",
                            "example": "Payment for this order is due when the car is returned and will be charged by Thrifty Car Rental."
                          }
                        }
                      }
                    }
                  }
                }
              },
              "ancillaries": {
                "type": "array",
                "description": "Available extras and add-ons for the rental.",
                "items": {
                  "type": "object",
                  "title": "Ancillary",
                  "description": "A car rental extra or add-on available for the booking.",
                  "required": [
                    "id",
                    "type",
                    "category",
                    "name",
                    "pricing",
                    "payment"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "Unique identifier for this ancillary option from the supplier.",
                      "example": "GPS_001"
                    },
                    "type": {
                      "type": "string",
                      "description": "The type of ancillary.",
                      "enum": [
                        "InfantSeat",
                        "ToddlerSeat",
                        "BoosterSeat",
                        "ChildSeat",
                        "Gps",
                        "SatNav",
                        "RoadsideAssistance",
                        "AdditionalDriver",
                        "SatelliteRadio",
                        "SnowChains",
                        "SnowTires",
                        "WinterKit",
                        "SkiRack",
                        "BikeRack",
                        "LuggageRack",
                        "YoungDriver",
                        "PrepaidFuel",
                        "Wifi",
                        "Cdw",
                        "Ldw",
                        "Pai",
                        "Pec",
                        "Sli"
                      ]
                    },
                    "category": {
                      "type": "string",
                      "description": "The broad category of the ancillary.",
                      "enum": [
                        "Equipment",
                        "AddOn"
                      ]
                    },
                    "name": {
                      "type": "string",
                      "description": "Human-readable display name for the ancillary.",
                      "example": "GPS Navigation"
                    },
                    "description": {
                      "type": "string",
                      "description": "Detailed description of the ancillary.",
                      "example": "Portable GPS navigation device for your rental."
                    },
                    "pricing": {
                      "type": "object",
                      "title": "AncillaryPricing",
                      "description": "Pricing details for an ancillary item.",
                      "required": [
                        "amount",
                        "currency",
                        "unit"
                      ],
                      "properties": {
                        "amount": {
                          "type": "string",
                          "description": "Monetary amount value Serialized BigDecimal value",
                          "example": "123.45"
                        },
                        "currency": {
                          "description": "Currency code, in ISO 4217 format.",
                          "type": "string",
                          "pattern": "^[A-Z]{3}$",
                          "example": "USD"
                        },
                        "unit": {
                          "type": "string",
                          "description": "How the price is applied.",
                          "enum": [
                            "PerBooking",
                            "PerDay",
                            "PerDriver"
                          ]
                        }
                      }
                    },
                    "payment": {
                      "type": "string",
                      "description": "When payment is collected for this ancillary.",
                      "enum": [
                        "PayNow",
                        "PayAtCounter"
                      ]
                    },
                    "constraints": {
                      "type": "object",
                      "title": "AncillaryConstraints",
                      "description": "Constraints on ancillary selection.",
                      "properties": {
                        "max_quantity": {
                          "type": "integer",
                          "minimum": 1,
                          "description": "Maximum number of this ancillary that can be selected.",
                          "example": 3
                        },
                        "included_quantity": {
                          "type": "integer",
                          "minimum": 0,
                          "description": "Number of this ancillary already included in the base rental at no extra cost.",
                          "example": 0
                        }
                      }
                    }
                  }
                }
              },
              "response_id": {
                "title": "ResponseId",
                "description": "Unique identifier of the specific response.\nUse this identifier when you need to refer to a specific response, when requiring technical support.\n",
                "type": "string",
                "format": "uuid",
                "example": "123e4567-e89b-12d3-a456-426614174000"
              }
            }
          }
        ]
      },
      "pre_cancel_failure": {
        "type": "object",
        "title": "PreCancelFailure",
        "description": "A standardized schema for API failure responses.",
        "required": [
          "error_code",
          "description",
          "response_id"
        ],
        "properties": {
          "error_code": {
            "description": "A specific code identifying the type of error.",
            "enum": [
              "invalid_input",
              "order_already_cancelled",
              "order_not_found",
              "order_not_cancellable"
            ],
            "type": "string"
          },
          "description": {
            "type": "string",
            "description": "A human-readable message providing more details about the error."
          },
          "response_id": {
            "title": "ResponseId",
            "description": "Unique identifier of the specific response.\nUse this identifier when you need to refer to a specific response, when requiring technical support.\n",
            "type": "string",
            "format": "uuid",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          }
        }
      },
      "pre_cancel_request": {
        "title": "PreCancelRequest",
        "type": "object",
        "description": "The order to be quoted for cancellation.",
        "required": [
          "request_id",
          "order_id"
        ],
        "properties": {
          "request_id": {
            "title": "RequestId",
            "description": "Unique identifier of the specific request.\nUse this identifier when you need to refer to a specific request, when requiring technical support.\n",
            "type": "string",
            "format": "uuid",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          },
          "order_id": {
            "description": "The unique identifier of the confirmed order.",
            "type": "string",
            "example": "RES-987654321"
          }
        }
      },
      "pre_cancel_response": {
        "title": "PreCancelResponse",
        "type": "object",
        "description": "Response for the cancellation quote operation.",
        "required": [
          "cancellation_penalty",
          "refund_amount",
          "cancellation_token",
          "valid_until",
          "response_id"
        ],
        "properties": {
          "cancellation_penalty": {
            "type": "object",
            "description": "Defines the terms and conditions for canceling a vehicle rental.",
            "required": [
              "penalty_ranges"
            ],
            "properties": {
              "penalty_ranges": {
                "type": "array",
                "minItems": 1,
                "items": {
                  "type": "object",
                  "title": "PenaltyRange",
                  "required": [
                    "start_time",
                    "end_time",
                    "penalty"
                  ],
                  "properties": {
                    "start_time": {
                      "description": "Start time of the penalty range (Inclusive), in ISO 8601 format.",
                      "type": "string",
                      "format": "date-time"
                    },
                    "end_time": {
                      "description": "End time of the penalty range (Exclusive), in ISO 8601 format.",
                      "type": "string",
                      "format": "date-time"
                    },
                    "penalty": {
                      "type": "object",
                      "title": "Penalty",
                      "description": "Penalty amount withheld form the client upon cancellation.",
                      "required": [
                        "amount",
                        "currency"
                      ],
                      "properties": {
                        "currency": {
                          "description": "Currency code, in ISO 4217 format.",
                          "type": "string",
                          "pattern": "^[A-Z]{3}$",
                          "example": "USD"
                        },
                        "amount": {
                          "type": "string",
                          "description": "Monetary amount value Serialized BigDecimal value",
                          "example": "123.45"
                        }
                      }
                    }
                  }
                }
              }
            },
            "example": {
              "penalty_ranges": [
                {
                  "start_time": "2025-01-21T00:00:00Z",
                  "end_time": "2025-01-26T00:00:00Z",
                  "penalty": {
                    "currency": "USD",
                    "amount": "0.00"
                  }
                },
                {
                  "start_time": "2025-01-26T00:00:00Z",
                  "end_time": "2025-01-27T00:00:00Z",
                  "penalty": {
                    "currency": "USD",
                    "amount": "75.00"
                  }
                },
                {
                  "start_time": "2025-01-27T00:00:00Z",
                  "end_time": "2025-01-28T00:00:00Z",
                  "penalty": {
                    "currency": "USD",
                    "amount": "135.00"
                  }
                }
              ]
            }
          },
          "refund_amount": {
            "title": "Refund",
            "type": "object",
            "description": "The amount that will be refunded to the client.",
            "required": [
              "amount",
              "currency"
            ],
            "properties": {
              "amount": {
                "type": "string",
                "description": "Monetary amount value Serialized BigDecimal value",
                "example": "123.45"
              },
              "currency": {
                "description": "Currency code, in ISO 4217 format.",
                "type": "string",
                "pattern": "^[A-Z]{3}$",
                "example": "USD"
              }
            }
          },
          "cancellation_token": {
            "description": "Token to use to complete the cancellation, using the cancel operation.",
            "type": "string",
            "example": "string"
          },
          "valid_until": {
            "description": "ISO 8601 timestamp until which the cancellation quote remains valid.",
            "type": "string",
            "format": "date-time",
            "example": "2025-01-13T13:45:15.523Z"
          },
          "response_id": {
            "title": "ResponseId",
            "description": "Unique identifier of the specific response.\nUse this identifier when you need to refer to a specific response, when requiring technical support.\n",
            "type": "string",
            "format": "uuid",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          }
        }
      },
      "cancellation_failure": {
        "type": "object",
        "title": "CancellationFailure",
        "description": "A standardized schema for API failure responses.",
        "required": [
          "error_code",
          "description",
          "response_id"
        ],
        "properties": {
          "error_code": {
            "description": "A specific code identifying the type of error.",
            "enum": [
              "invalid_input",
              "invalid_cancel_token",
              "order_already_cancelled",
              "order_not_found",
              "pick_up_in_the_past",
              "rental_already_picked_up",
              "order_not_cancellable"
            ],
            "type": "string"
          },
          "description": {
            "type": "string",
            "description": "A human-readable message providing more details about the error."
          },
          "response_id": {
            "title": "ResponseId",
            "description": "Unique identifier of the specific response.\nUse this identifier when you need to refer to a specific response, when requiring technical support.\n",
            "type": "string",
            "format": "uuid",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          }
        }
      },
      "cancellation_request": {
        "title": "CancellationRequest",
        "description": "Cancel a confirmed booking using token generated at precancel stage.",
        "type": "object",
        "required": [
          "request_id",
          "cancellation_token"
        ],
        "properties": {
          "request_id": {
            "title": "RequestId",
            "description": "Unique identifier of the specific request.\nUse this identifier when you need to refer to a specific request, when requiring technical support.\n",
            "type": "string",
            "format": "uuid",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          },
          "cancellation_token": {
            "description": "Opaque token generated at cancellation quote time (pre-cancel).",
            "type": "string",
            "example": "CANCEL-TOKEN-XYZ-12345"
          }
        }
      },
      "cancellation_response": {
        "title": "CancellationResponse",
        "type": "object",
        "description": "Response for the cancellation operation",
        "required": [
          "status",
          "response_id"
        ],
        "properties": {
          "status": {
            "description": "Describes the status of a order.\n* `confirmed` - order was booked successfully\n* `cancelled` - order was cancelled successfully\n* `pending` - order is pending\n* `failed` - order processing has failed\n\nThis is a non-exhaustive list of enum values, which will be extended in the future.\"\n",
            "oneOf": [
              {
                "type": "object",
                "title": "StatusCancelled",
                "required": [
                  "type",
                  "cancellation_info"
                ],
                "properties": {
                  "type": {
                    "type": "string",
                    "enum": [
                      "cancelled"
                    ],
                    "example": "cancelled"
                  },
                  "cancellation_info": {
                    "type": "object",
                    "title": "CancellationInfo",
                    "description": "Information on a cancelled order",
                    "required": [
                      "cancellation_datetime"
                    ],
                    "properties": {
                      "cancellation_datetime": {
                        "description": "The ISO 8601 datetime of when this order is cancelled.",
                        "type": "string",
                        "format": "date-time",
                        "example": "2017-08-17T13:31:15.523Z"
                      }
                    },
                    "example": {
                      "cancellation_datetime": "2025-02-17T18:31:15.523Z"
                    }
                  }
                }
              },
              {
                "type": "object",
                "title": "StatusConfirmed",
                "required": [
                  "type"
                ],
                "properties": {
                  "type": {
                    "type": "string",
                    "enum": [
                      "confirmed"
                    ],
                    "example": "confirmed"
                  }
                },
                "example": {
                  "type": "confirmed"
                }
              },
              {
                "type": "object",
                "title": "StatusPending",
                "required": [
                  "type"
                ],
                "properties": {
                  "type": {
                    "type": "string",
                    "enum": [
                      "pending"
                    ],
                    "example": "pending"
                  }
                },
                "example": {
                  "type": "pending"
                }
              },
              {
                "type": "object",
                "title": "StatusFailed",
                "description": "Represents a failed status for an order. This status is vended when the order \ncannot be processed or completed due to an unrecoverable error. Examples include:\n* Invalid order details or corrupted data\n* System errors during processing\n",
                "required": [
                  "type"
                ],
                "properties": {
                  "type": {
                    "type": "string",
                    "enum": [
                      "failed"
                    ],
                    "example": "failed"
                  }
                },
                "example": {
                  "type": "failed"
                }
              }
            ],
            "discriminator": {
              "propertyName": "type",
              "mapping": {
                "cancelled": "#/StatusCancelled",
                "confirmed": "#/StatusConfirmed",
                "pending": "#/StatusPending",
                "failed": "#/StatusFailed"
              }
            }
          },
          "response_id": {
            "title": "ResponseId",
            "description": "Unique identifier of the specific response.\nUse this identifier when you need to refer to a specific response, when requiring technical support.\n",
            "type": "string",
            "format": "uuid",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          }
        }
      },
      "address": {
        "type": "object",
        "title": "Address",
        "required": [
          "first_line",
          "country",
          "city"
        ],
        "properties": {
          "first_line": {
            "type": "string",
            "description": "The first line of the street address.",
            "example": "JFK Airport Terminal 4"
          },
          "second_line": {
            "type": "string",
            "description": "The second line of the street address, if applicable."
          },
          "country": {
            "type": "string",
            "description": "Country code (ISO 3166-1 alpha-2)",
            "pattern": "^[A-Z]{2}$",
            "example": "US"
          },
          "city": {
            "type": "string",
            "description": "The city of the location.",
            "example": "New York"
          },
          "state_province": {
            "type": "string",
            "pattern": "^[A-Z0-9]{1,3}$",
            "description": "The code for the state or province ISO 3166-2 (e.g., \"CA\", \"FL\").",
            "example": "CA"
          }
        }
      },
      "amount": {
        "type": "string",
        "description": "Monetary amount value Serialized BigDecimal value",
        "example": "123.45"
      },
      "cancellation_policy": {
        "type": "object",
        "description": "Defines the terms and conditions for canceling a vehicle rental.",
        "required": [
          "penalty_ranges"
        ],
        "properties": {
          "penalty_ranges": {
            "type": "array",
            "minItems": 1,
            "items": {
              "type": "object",
              "title": "PenaltyRange",
              "required": [
                "start_time",
                "end_time",
                "penalty"
              ],
              "properties": {
                "start_time": {
                  "description": "Start time of the penalty range (Inclusive), in ISO 8601 format.",
                  "type": "string",
                  "format": "date-time"
                },
                "end_time": {
                  "description": "End time of the penalty range (Exclusive), in ISO 8601 format.",
                  "type": "string",
                  "format": "date-time"
                },
                "penalty": {
                  "type": "object",
                  "title": "Penalty",
                  "description": "Penalty amount withheld form the client upon cancellation.",
                  "required": [
                    "amount",
                    "currency"
                  ],
                  "properties": {
                    "currency": {
                      "description": "Currency code, in ISO 4217 format.",
                      "type": "string",
                      "pattern": "^[A-Z]{3}$",
                      "example": "USD"
                    },
                    "amount": {
                      "type": "string",
                      "description": "Monetary amount value Serialized BigDecimal value",
                      "example": "123.45"
                    }
                  }
                }
              }
            }
          }
        },
        "example": {
          "penalty_ranges": [
            {
              "start_time": "2025-01-21T00:00:00Z",
              "end_time": "2025-01-26T00:00:00Z",
              "penalty": {
                "currency": "USD",
                "amount": "0.00"
              }
            },
            {
              "start_time": "2025-01-26T00:00:00Z",
              "end_time": "2025-01-27T00:00:00Z",
              "penalty": {
                "currency": "USD",
                "amount": "75.00"
              }
            },
            {
              "start_time": "2025-01-27T00:00:00Z",
              "end_time": "2025-01-28T00:00:00Z",
              "penalty": {
                "currency": "USD",
                "amount": "135.00"
              }
            }
          ]
        }
      },
      "commission": {
        "type": "object",
        "title": "Commission",
        "description": "Commission Hopper will pay out at the time of invoicing for a given rental.",
        "required": [
          "amount",
          "currency"
        ],
        "properties": {
          "amount": {
            "type": "string",
            "description": "Monetary amount value Serialized BigDecimal value",
            "example": "123.45"
          },
          "currency": {
            "description": "Currency code, in ISO 4217 format.",
            "type": "string",
            "pattern": "^[A-Z]{3}$",
            "example": "USD"
          }
        }
      },
      "coordinates": {
        "type": "object",
        "title": "Coordinates",
        "description": "Geographic coordinates of the location.",
        "required": [
          "latitude",
          "longitude"
        ],
        "properties": {
          "latitude": {
            "type": "number",
            "format": "double",
            "description": "The latitude coordinate of the location.",
            "example": 34.052235
          },
          "longitude": {
            "type": "number",
            "format": "double",
            "description": "The longitude coordinate of the location.",
            "example": -118.243683
          }
        }
      },
      "country": {
        "type": "string",
        "description": "Country code (ISO 3166-1 alpha-2)",
        "pattern": "^[A-Z]{2}$",
        "example": "US"
      },
      "currency": {
        "description": "Currency code, in ISO 4217 format.",
        "type": "string",
        "pattern": "^[A-Z]{3}$",
        "example": "USD"
      },
      "disclosure": {
        "type": "object",
        "title": "Disclosure",
        "description": "An important notice, booking condition, or legal disclosure.",
        "required": [
          "kind",
          "content"
        ],
        "properties": {
          "kind": {
            "type": "string",
            "description": "Type of disclosure.",
            "enum": [
              "unspecified",
              "booking_conditions",
              "customer_support",
              "dropoff_instructions",
              "emergency_procedures",
              "faq",
              "finalize_booking",
              "how_it_works",
              "important_information",
              "next_steps",
              "payment_and_fees",
              "pickup_instructions",
              "terms_of_service",
              "vehicle_features_and_policies",
              "car_rental_policy",
              "payment_conditions",
              "security_deposit",
              "security_deposit_method",
              "payment_methods",
              "required_documents",
              "minimum_license_period_year",
              "payment_and_charges",
              "driver_information"
            ],
            "example": "payment_and_fees"
          },
          "description": {
            "type": "string",
            "description": "A brief summary of the disclosure.",
            "example": "Payment is due upon return of the vehicle."
          },
          "content": {
            "type": "array",
            "description": "The content of the disclosure.",
            "items": {
              "type": "object",
              "title": "DisclosureContent",
              "required": [
                "text",
                "title"
              ],
              "properties": {
                "title": {
                  "type": "string",
                  "description": "Short description of the disclosure.",
                  "example": "Payment Terms"
                },
                "text": {
                  "type": "string",
                  "description": "The detailed text of the disclosure.",
                  "example": "Payment for this order is due when the car is returned and will be charged by Thrifty Car Rental."
                }
              }
            }
          }
        }
      },
      "driver_details": {
        "type": "object",
        "title": "DriverDetails",
        "description": "Details of the primary driver for the booking.",
        "required": [
          "email",
          "first_name",
          "last_name",
          "date_of_birth"
        ],
        "properties": {
          "email": {
            "type": "string",
            "format": "email",
            "description": "The email address of the primary driver.",
            "example": "john.doe@example.com"
          },
          "first_name": {
            "type": "string",
            "description": "The first name of the primary driver.",
            "example": "John"
          },
          "last_name": {
            "type": "string",
            "description": "The last name of the primary driver.",
            "example": "Doe"
          },
          "date_of_birth": {
            "type": "string",
            "format": "date",
            "description": "The date of birth of the primary driver in ISO 8601 format. The driver age must match the age provided in the shop request.",
            "example": "1990-05-20"
          },
          "phone": {
            "type": "string",
            "description": "Phone number of the driver.",
            "pattern": "^\\+?[0-9]{7,15}$",
            "example": "+18339334671"
          }
        }
      },
      "location": {
        "type": "object",
        "title": "Location",
        "description": "Represents a physical location for vehicle pickup or drop-off.",
        "required": [
          "location_id",
          "name",
          "address",
          "kind"
        ],
        "properties": {
          "location_id": {
            "type": "string",
            "description": "Reference ID for the location given for the vendor (e.g., \"AVS_JFK01\").",
            "example": "AVS_JFK01"
          },
          "name": {
            "type": "string",
            "description": "The human-readable name of the location (e.g., \"MIA Airport\").",
            "example": "John F. Kennedy International Airport"
          },
          "address": {
            "type": "object",
            "title": "Address",
            "required": [
              "first_line",
              "country",
              "city"
            ],
            "properties": {
              "first_line": {
                "type": "string",
                "description": "The first line of the street address.",
                "example": "JFK Airport Terminal 4"
              },
              "second_line": {
                "type": "string",
                "description": "The second line of the street address, if applicable."
              },
              "country": {
                "type": "string",
                "description": "Country code (ISO 3166-1 alpha-2)",
                "pattern": "^[A-Z]{2}$",
                "example": "US"
              },
              "city": {
                "type": "string",
                "description": "The city of the location.",
                "example": "New York"
              },
              "state_province": {
                "type": "string",
                "pattern": "^[A-Z0-9]{1,3}$",
                "description": "The code for the state or province ISO 3166-2 (e.g., \"CA\", \"FL\").",
                "example": "CA"
              }
            }
          },
          "coordinates": {
            "type": "object",
            "title": "Coordinates",
            "description": "Geographic coordinates of the location.",
            "required": [
              "latitude",
              "longitude"
            ],
            "properties": {
              "latitude": {
                "type": "number",
                "format": "double",
                "description": "The latitude coordinate of the location.",
                "example": 34.052235
              },
              "longitude": {
                "type": "number",
                "format": "double",
                "description": "The longitude coordinate of the location.",
                "example": -118.243683
              }
            }
          },
          "instructions": {
            "type": "string",
            "description": "Specific instructions for pickup/drop-off."
          },
          "kind": {
            "type": "string",
            "enum": [
              "Unspecified",
              "Airport",
              "Shuttle",
              "MeetAndGreet"
            ],
            "description": "The kind of pickup/drop-off (e.g., \"Shuttle\", \"Airport\", \"Meet and Greet\")."
          },
          "iata": {
            "type": "string",
            "description": "The IATA airport code if the location is an airport (e.g., \"JFK\", \"MIA\").",
            "pattern": "^[A-Z]{3}$",
            "example": "JFK"
          }
        }
      },
      "local_date_time": {
        "title": "LocalDateTime",
        "type": "string",
        "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}.*$",
        "description": "The local date and time in ISO 8601 format.\nNote: Any information after the minutes (e.g., seconds, time zone) will be discarded.\n",
        "example": "2026-01-21T10:30"
      },
      "mileage_policy": {
        "title": "MileagePolicy",
        "description": "Defines the vehicle's mileage allowance and any associated overage charges.",
        "oneOf": [
          {
            "type": "object",
            "title": "UnlimitedMileagePolicy",
            "required": [
              "type"
            ],
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "unlimited"
                ],
                "description": "The type of mileage policy."
              }
            }
          },
          {
            "type": "object",
            "title": "LimitedMileagePolicy",
            "required": [
              "type",
              "quantity",
              "unit"
            ],
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "limited"
                ],
                "description": "The type of mileage policy."
              },
              "quantity": {
                "type": "integer",
                "description": "The numerical value of the included mileage."
              },
              "unit": {
                "type": "string",
                "enum": [
                  "mi",
                  "km"
                ],
                "description": "The unit of distance for the included mileage."
              }
            }
          },
          {
            "type": "object",
            "title": "LimitedUnspecifiedMileagePolicy",
            "required": [
              "type"
            ],
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "limited_unspecified"
                ],
                "description": "The type of mileage policy when mileage is limited but specifics are not provided."
              }
            }
          }
        ],
        "discriminator": {
          "propertyName": "type",
          "mapping": {
            "unlimited": "#/UnlimitedMileagePolicy",
            "limited": "#/LimitedMileagePolicy",
            "limited_unspecified": "#/LimitedUnspecifiedMileagePolicy"
          }
        }
      },
      "offer": {
        "type": "object",
        "title": "Offer",
        "description": "Represents the vehicle rental offer.",
        "required": [
          "rental_company",
          "pickup",
          "dropoff",
          "vehicle",
          "pricing",
          "cancellation_policy",
          "mileage_policy",
          "age_policy"
        ],
        "properties": {
          "rental_company": {
            "type": "object",
            "title": "RentalCompany",
            "description": "Represents the car rental company or partner providing the vehicle offer.",
            "required": [
              "id",
              "name",
              "logo_url"
            ],
            "properties": {
              "id": {
                "type": "string",
                "description": "A unique identifier for the vendor (e.g., internal code, Expedia ID).",
                "example": "AVS"
              },
              "name": {
                "type": "string",
                "description": "The human-readable name of the vendor (e.g., \"Avis\", \"Amadeus\").",
                "example": "Avis Rent a Car"
              },
              "logo_url": {
                "type": "string",
                "format": "uri",
                "description": "A URL to the rental company's official logo.",
                "example": "https://example.com/logos/avis.png"
              },
              "support_url": {
                "type": "string",
                "format": "uri",
                "description": "A URL to the rental company's customer support or help page.",
                "example": "https://www.avis.com/en/help"
              }
            }
          },
          "pickup": {
            "type": "object",
            "title": "PickupResponse",
            "description": "Details for the vehicle pickup.",
            "required": [
              "local_date_time",
              "location"
            ],
            "properties": {
              "local_date_time": {
                "title": "LocalDateTime",
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}.*$",
                "description": "The local date and time in ISO 8601 format.\nNote: Any information after the minutes (e.g., seconds, time zone) will be discarded.\n",
                "example": "2026-01-21T10:30"
              },
              "location": {
                "type": "object",
                "title": "Location",
                "description": "Represents a physical location for vehicle pickup or drop-off.",
                "required": [
                  "location_id",
                  "name",
                  "address",
                  "kind"
                ],
                "properties": {
                  "location_id": {
                    "type": "string",
                    "description": "Reference ID for the location given for the vendor (e.g., \"AVS_JFK01\").",
                    "example": "AVS_JFK01"
                  },
                  "name": {
                    "type": "string",
                    "description": "The human-readable name of the location (e.g., \"MIA Airport\").",
                    "example": "John F. Kennedy International Airport"
                  },
                  "address": {
                    "type": "object",
                    "title": "Address",
                    "required": [
                      "first_line",
                      "country",
                      "city"
                    ],
                    "properties": {
                      "first_line": {
                        "type": "string",
                        "description": "The first line of the street address.",
                        "example": "JFK Airport Terminal 4"
                      },
                      "second_line": {
                        "type": "string",
                        "description": "The second line of the street address, if applicable."
                      },
                      "country": {
                        "type": "string",
                        "description": "Country code (ISO 3166-1 alpha-2)",
                        "pattern": "^[A-Z]{2}$",
                        "example": "US"
                      },
                      "city": {
                        "type": "string",
                        "description": "The city of the location.",
                        "example": "New York"
                      },
                      "state_province": {
                        "type": "string",
                        "pattern": "^[A-Z0-9]{1,3}$",
                        "description": "The code for the state or province ISO 3166-2 (e.g., \"CA\", \"FL\").",
                        "example": "CA"
                      }
                    }
                  },
                  "coordinates": {
                    "type": "object",
                    "title": "Coordinates",
                    "description": "Geographic coordinates of the location.",
                    "required": [
                      "latitude",
                      "longitude"
                    ],
                    "properties": {
                      "latitude": {
                        "type": "number",
                        "format": "double",
                        "description": "The latitude coordinate of the location.",
                        "example": 34.052235
                      },
                      "longitude": {
                        "type": "number",
                        "format": "double",
                        "description": "The longitude coordinate of the location.",
                        "example": -118.243683
                      }
                    }
                  },
                  "instructions": {
                    "type": "string",
                    "description": "Specific instructions for pickup/drop-off."
                  },
                  "kind": {
                    "type": "string",
                    "enum": [
                      "Unspecified",
                      "Airport",
                      "Shuttle",
                      "MeetAndGreet"
                    ],
                    "description": "The kind of pickup/drop-off (e.g., \"Shuttle\", \"Airport\", \"Meet and Greet\")."
                  },
                  "iata": {
                    "type": "string",
                    "description": "The IATA airport code if the location is an airport (e.g., \"JFK\", \"MIA\").",
                    "pattern": "^[A-Z]{3}$",
                    "example": "JFK"
                  }
                }
              }
            }
          },
          "dropoff": {
            "type": "object",
            "title": "DropoffResponse",
            "description": "Details for the vehicle drop-off.",
            "required": [
              "local_date_time",
              "location"
            ],
            "properties": {
              "local_date_time": {
                "title": "LocalDateTime",
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}.*$",
                "description": "The local date and time in ISO 8601 format.\nNote: Any information after the minutes (e.g., seconds, time zone) will be discarded.\n",
                "example": "2026-01-21T10:30"
              },
              "location": {
                "type": "object",
                "title": "Location",
                "description": "Represents a physical location for vehicle pickup or drop-off.",
                "required": [
                  "location_id",
                  "name",
                  "address",
                  "kind"
                ],
                "properties": {
                  "location_id": {
                    "type": "string",
                    "description": "Reference ID for the location given for the vendor (e.g., \"AVS_JFK01\").",
                    "example": "AVS_JFK01"
                  },
                  "name": {
                    "type": "string",
                    "description": "The human-readable name of the location (e.g., \"MIA Airport\").",
                    "example": "John F. Kennedy International Airport"
                  },
                  "address": {
                    "type": "object",
                    "title": "Address",
                    "required": [
                      "first_line",
                      "country",
                      "city"
                    ],
                    "properties": {
                      "first_line": {
                        "type": "string",
                        "description": "The first line of the street address.",
                        "example": "JFK Airport Terminal 4"
                      },
                      "second_line": {
                        "type": "string",
                        "description": "The second line of the street address, if applicable."
                      },
                      "country": {
                        "type": "string",
                        "description": "Country code (ISO 3166-1 alpha-2)",
                        "pattern": "^[A-Z]{2}$",
                        "example": "US"
                      },
                      "city": {
                        "type": "string",
                        "description": "The city of the location.",
                        "example": "New York"
                      },
                      "state_province": {
                        "type": "string",
                        "pattern": "^[A-Z0-9]{1,3}$",
                        "description": "The code for the state or province ISO 3166-2 (e.g., \"CA\", \"FL\").",
                        "example": "CA"
                      }
                    }
                  },
                  "coordinates": {
                    "type": "object",
                    "title": "Coordinates",
                    "description": "Geographic coordinates of the location.",
                    "required": [
                      "latitude",
                      "longitude"
                    ],
                    "properties": {
                      "latitude": {
                        "type": "number",
                        "format": "double",
                        "description": "The latitude coordinate of the location.",
                        "example": 34.052235
                      },
                      "longitude": {
                        "type": "number",
                        "format": "double",
                        "description": "The longitude coordinate of the location.",
                        "example": -118.243683
                      }
                    }
                  },
                  "instructions": {
                    "type": "string",
                    "description": "Specific instructions for pickup/drop-off."
                  },
                  "kind": {
                    "type": "string",
                    "enum": [
                      "Unspecified",
                      "Airport",
                      "Shuttle",
                      "MeetAndGreet"
                    ],
                    "description": "The kind of pickup/drop-off (e.g., \"Shuttle\", \"Airport\", \"Meet and Greet\")."
                  },
                  "iata": {
                    "type": "string",
                    "description": "The IATA airport code if the location is an airport (e.g., \"JFK\", \"MIA\").",
                    "pattern": "^[A-Z]{3}$",
                    "example": "JFK"
                  }
                }
              }
            }
          },
          "vehicle": {
            "type": "object",
            "title": "Vehicle",
            "description": "The primary data structure that contains all the essential information about a car.",
            "required": [
              "description",
              "acriss_code",
              "luggage",
              "transmission",
              "air_conditioning"
            ],
            "properties": {
              "description": {
                "type": "string",
                "description": "A human-readable description of the vehicle, often including make and model."
              },
              "acriss_code": {
                "type": "string",
                "description": "The standardized ACRISS or SIPP code for the vehicle. See https://www.acraorg.com/acriss-sip-codes/ for more details.",
                "pattern": "^[A-Z0-9]{4}$",
                "example": "CCAR"
              },
              "max_passengers": {
                "type": "integer",
                "minimum": 1,
                "description": "The maximum number of passengers the vehicle can accommodate."
              },
              "doors": {
                "type": "integer",
                "minimum": 1,
                "description": "The number of doors on the vehicle."
              },
              "luggage": {
                "type": "object",
                "title": "Luggage",
                "required": [
                  "total"
                ],
                "properties": {
                  "small": {
                    "type": "integer",
                    "description": "The number of small bags the vehicle can hold."
                  },
                  "medium": {
                    "type": "integer",
                    "description": "The number of medium bags the vehicle can hold."
                  },
                  "large": {
                    "type": "integer",
                    "description": "The number of large bags the vehicle can hold."
                  },
                  "total": {
                    "type": "integer",
                    "description": "The total number of bags the vehicle can hold, if a specific breakdown is not available or as a sum of small/large."
                  }
                }
              },
              "transmission": {
                "type": "string",
                "description": "The transmission type of the vehicle.",
                "enum": [
                  "Automatic",
                  "Manual",
                  "Cvt",
                  "Unspecified"
                ]
              },
              "air_conditioning": {
                "type": "boolean",
                "description": "Indicates whether the vehicle has air conditioning."
              },
              "images": {
                "type": "object",
                "title": "VehicleImages",
                "required": [
                  "default",
                  "links"
                ],
                "properties": {
                  "default": {
                    "type": "string",
                    "format": "uri",
                    "description": "The URL for the primary display image of the vehicle."
                  },
                  "links": {
                    "type": "array",
                    "description": "A list of additional image URLs for the vehicle.",
                    "items": {
                      "type": "string",
                      "format": "uri"
                    }
                  }
                }
              }
            }
          },
          "pricing": {
            "type": "object",
            "title": "Pricing",
            "description": "The car rental pricing details.\nThe base + fee_summary.total = total price.\nThe pay_now + pay_later = total price.\nThe fees are not itemized by payments schedule (pay now vs pay later).\n",
            "required": [
              "base",
              "fee_summary",
              "pay_now",
              "pay_later"
            ],
            "properties": {
              "base": {
                "type": "object",
                "title": "PriceBase",
                "description": "The base rate for the rental, excluding fees and taxes across the payment schedule (both pay now and pay later).",
                "required": [
                  "currency",
                  "amount"
                ],
                "properties": {
                  "currency": {
                    "description": "Currency code, in ISO 4217 format.",
                    "type": "string",
                    "pattern": "^[A-Z]{3}$",
                    "example": "USD"
                  },
                  "amount": {
                    "type": "string",
                    "description": "Monetary amount value Serialized BigDecimal value",
                    "example": "123.45"
                  }
                }
              },
              "fee_summary": {
                "type": "object",
                "title": "FeeSummary",
                "description": "An itemized list of fees and taxes that make up the total price. These fees are included in both the 'pay now' and 'pay later' amounts.",
                "required": [
                  "fees",
                  "total"
                ],
                "properties": {
                  "fees": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "title": "FeeSummaryItem",
                      "description": "A fee or tax that is part of the total price.",
                      "required": [
                        "description",
                        "line_item"
                      ],
                      "properties": {
                        "description": {
                          "type": "string",
                          "description": "A description of the fee or tax."
                        },
                        "line_item": {
                          "type": "object",
                          "title": "LineItem",
                          "description": "The amount and currency for a chargeable item.",
                          "required": [
                            "currency",
                            "amount"
                          ],
                          "properties": {
                            "currency": {
                              "description": "Currency code, in ISO 4217 format.",
                              "type": "string",
                              "pattern": "^[A-Z]{3}$",
                              "example": "USD"
                            },
                            "amount": {
                              "type": "string",
                              "description": "Monetary amount value Serialized BigDecimal value",
                              "example": "123.45"
                            }
                          }
                        }
                      }
                    }
                  },
                  "total": {
                    "type": "object",
                    "title": "FeeSummaryTotal",
                    "description": "The total amount for all fees and taxes.",
                    "required": [
                      "currency",
                      "amount"
                    ],
                    "properties": {
                      "currency": {
                        "description": "Currency code, in ISO 4217 format.",
                        "type": "string",
                        "pattern": "^[A-Z]{3}$",
                        "example": "USD"
                      },
                      "amount": {
                        "type": "string",
                        "description": "Monetary amount value Serialized BigDecimal value",
                        "example": "123.45"
                      }
                    }
                  }
                }
              },
              "pay_now": {
                "type": "object",
                "title": "PayNow",
                "description": "The total amount to be paid at the time of booking.",
                "required": [
                  "currency",
                  "amount"
                ],
                "properties": {
                  "currency": {
                    "description": "Currency code, in ISO 4217 format.",
                    "type": "string",
                    "pattern": "^[A-Z]{3}$",
                    "example": "USD"
                  },
                  "amount": {
                    "type": "string",
                    "description": "Monetary amount value Serialized BigDecimal value",
                    "example": "123.45"
                  }
                }
              },
              "pay_later": {
                "type": "object",
                "title": "PayLater",
                "description": "The total amount to be paid at a later time (usually at the desk).",
                "required": [
                  "currency",
                  "amount"
                ],
                "properties": {
                  "currency": {
                    "description": "Currency code, in ISO 4217 format.",
                    "type": "string",
                    "pattern": "^[A-Z]{3}$",
                    "example": "USD"
                  },
                  "amount": {
                    "type": "string",
                    "description": "Monetary amount value Serialized BigDecimal value",
                    "example": "123.45"
                  }
                }
              }
            }
          },
          "cancellation_policy": {
            "type": "object",
            "description": "Defines the terms and conditions for canceling a vehicle rental.",
            "required": [
              "penalty_ranges"
            ],
            "properties": {
              "penalty_ranges": {
                "type": "array",
                "minItems": 1,
                "items": {
                  "type": "object",
                  "title": "PenaltyRange",
                  "required": [
                    "start_time",
                    "end_time",
                    "penalty"
                  ],
                  "properties": {
                    "start_time": {
                      "description": "Start time of the penalty range (Inclusive), in ISO 8601 format.",
                      "type": "string",
                      "format": "date-time"
                    },
                    "end_time": {
                      "description": "End time of the penalty range (Exclusive), in ISO 8601 format.",
                      "type": "string",
                      "format": "date-time"
                    },
                    "penalty": {
                      "type": "object",
                      "title": "Penalty",
                      "description": "Penalty amount withheld form the client upon cancellation.",
                      "required": [
                        "amount",
                        "currency"
                      ],
                      "properties": {
                        "currency": {
                          "description": "Currency code, in ISO 4217 format.",
                          "type": "string",
                          "pattern": "^[A-Z]{3}$",
                          "example": "USD"
                        },
                        "amount": {
                          "type": "string",
                          "description": "Monetary amount value Serialized BigDecimal value",
                          "example": "123.45"
                        }
                      }
                    }
                  }
                }
              }
            },
            "example": {
              "penalty_ranges": [
                {
                  "start_time": "2025-01-21T00:00:00Z",
                  "end_time": "2025-01-26T00:00:00Z",
                  "penalty": {
                    "currency": "USD",
                    "amount": "0.00"
                  }
                },
                {
                  "start_time": "2025-01-26T00:00:00Z",
                  "end_time": "2025-01-27T00:00:00Z",
                  "penalty": {
                    "currency": "USD",
                    "amount": "75.00"
                  }
                },
                {
                  "start_time": "2025-01-27T00:00:00Z",
                  "end_time": "2025-01-28T00:00:00Z",
                  "penalty": {
                    "currency": "USD",
                    "amount": "135.00"
                  }
                }
              ]
            }
          },
          "mileage_policy": {
            "title": "MileagePolicy",
            "description": "Defines the vehicle's mileage allowance and any associated overage charges.",
            "oneOf": [
              {
                "type": "object",
                "title": "UnlimitedMileagePolicy",
                "required": [
                  "type"
                ],
                "properties": {
                  "type": {
                    "type": "string",
                    "enum": [
                      "unlimited"
                    ],
                    "description": "The type of mileage policy."
                  }
                }
              },
              {
                "type": "object",
                "title": "LimitedMileagePolicy",
                "required": [
                  "type",
                  "quantity",
                  "unit"
                ],
                "properties": {
                  "type": {
                    "type": "string",
                    "enum": [
                      "limited"
                    ],
                    "description": "The type of mileage policy."
                  },
                  "quantity": {
                    "type": "integer",
                    "description": "The numerical value of the included mileage."
                  },
                  "unit": {
                    "type": "string",
                    "enum": [
                      "mi",
                      "km"
                    ],
                    "description": "The unit of distance for the included mileage."
                  }
                }
              },
              {
                "type": "object",
                "title": "LimitedUnspecifiedMileagePolicy",
                "required": [
                  "type"
                ],
                "properties": {
                  "type": {
                    "type": "string",
                    "enum": [
                      "limited_unspecified"
                    ],
                    "description": "The type of mileage policy when mileage is limited but specifics are not provided."
                  }
                }
              }
            ],
            "discriminator": {
              "propertyName": "type",
              "mapping": {
                "unlimited": "#/UnlimitedMileagePolicy",
                "limited": "#/LimitedMileagePolicy",
                "limited_unspecified": "#/LimitedUnspecifiedMileagePolicy"
              }
            }
          },
          "age_policy": {
            "type": "object",
            "title": "AgePolicy",
            "description": "The age requirements associated with the rental.",
            "properties": {
              "minimum_age": {
                "type": "integer",
                "description": "The minimum age required to rent the vehicle.",
                "example": 21
              }
            }
          }
        }
      },
      "pricing": {
        "type": "object",
        "title": "Pricing",
        "description": "The car rental pricing details.\nThe base + fee_summary.total = total price.\nThe pay_now + pay_later = total price.\nThe fees are not itemized by payments schedule (pay now vs pay later).\n",
        "required": [
          "base",
          "fee_summary",
          "pay_now",
          "pay_later"
        ],
        "properties": {
          "base": {
            "type": "object",
            "title": "PriceBase",
            "description": "The base rate for the rental, excluding fees and taxes across the payment schedule (both pay now and pay later).",
            "required": [
              "currency",
              "amount"
            ],
            "properties": {
              "currency": {
                "description": "Currency code, in ISO 4217 format.",
                "type": "string",
                "pattern": "^[A-Z]{3}$",
                "example": "USD"
              },
              "amount": {
                "type": "string",
                "description": "Monetary amount value Serialized BigDecimal value",
                "example": "123.45"
              }
            }
          },
          "fee_summary": {
            "type": "object",
            "title": "FeeSummary",
            "description": "An itemized list of fees and taxes that make up the total price. These fees are included in both the 'pay now' and 'pay later' amounts.",
            "required": [
              "fees",
              "total"
            ],
            "properties": {
              "fees": {
                "type": "array",
                "items": {
                  "type": "object",
                  "title": "FeeSummaryItem",
                  "description": "A fee or tax that is part of the total price.",
                  "required": [
                    "description",
                    "line_item"
                  ],
                  "properties": {
                    "description": {
                      "type": "string",
                      "description": "A description of the fee or tax."
                    },
                    "line_item": {
                      "type": "object",
                      "title": "LineItem",
                      "description": "The amount and currency for a chargeable item.",
                      "required": [
                        "currency",
                        "amount"
                      ],
                      "properties": {
                        "currency": {
                          "description": "Currency code, in ISO 4217 format.",
                          "type": "string",
                          "pattern": "^[A-Z]{3}$",
                          "example": "USD"
                        },
                        "amount": {
                          "type": "string",
                          "description": "Monetary amount value Serialized BigDecimal value",
                          "example": "123.45"
                        }
                      }
                    }
                  }
                }
              },
              "total": {
                "type": "object",
                "title": "FeeSummaryTotal",
                "description": "The total amount for all fees and taxes.",
                "required": [
                  "currency",
                  "amount"
                ],
                "properties": {
                  "currency": {
                    "description": "Currency code, in ISO 4217 format.",
                    "type": "string",
                    "pattern": "^[A-Z]{3}$",
                    "example": "USD"
                  },
                  "amount": {
                    "type": "string",
                    "description": "Monetary amount value Serialized BigDecimal value",
                    "example": "123.45"
                  }
                }
              }
            }
          },
          "pay_now": {
            "type": "object",
            "title": "PayNow",
            "description": "The total amount to be paid at the time of booking.",
            "required": [
              "currency",
              "amount"
            ],
            "properties": {
              "currency": {
                "description": "Currency code, in ISO 4217 format.",
                "type": "string",
                "pattern": "^[A-Z]{3}$",
                "example": "USD"
              },
              "amount": {
                "type": "string",
                "description": "Monetary amount value Serialized BigDecimal value",
                "example": "123.45"
              }
            }
          },
          "pay_later": {
            "type": "object",
            "title": "PayLater",
            "description": "The total amount to be paid at a later time (usually at the desk).",
            "required": [
              "currency",
              "amount"
            ],
            "properties": {
              "currency": {
                "description": "Currency code, in ISO 4217 format.",
                "type": "string",
                "pattern": "^[A-Z]{3}$",
                "example": "USD"
              },
              "amount": {
                "type": "string",
                "description": "Monetary amount value Serialized BigDecimal value",
                "example": "123.45"
              }
            }
          }
        }
      },
      "request_id": {
        "title": "RequestId",
        "description": "Unique identifier of the specific request.\nUse this identifier when you need to refer to a specific request, when requiring technical support.\n",
        "type": "string",
        "format": "uuid",
        "example": "123e4567-e89b-12d3-a456-426614174000"
      },
      "response_id": {
        "title": "ResponseId",
        "description": "Unique identifier of the specific response.\nUse this identifier when you need to refer to a specific response, when requiring technical support.\n",
        "type": "string",
        "format": "uuid",
        "example": "123e4567-e89b-12d3-a456-426614174000"
      },
      "order_status": {
        "description": "Describes the status of a order.\n* `confirmed` - order was booked successfully\n* `cancelled` - order was cancelled successfully\n* `pending` - order is pending\n* `failed` - order processing has failed\n\nThis is a non-exhaustive list of enum values, which will be extended in the future.\"\n",
        "oneOf": [
          {
            "type": "object",
            "title": "StatusCancelled",
            "required": [
              "type",
              "cancellation_info"
            ],
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "cancelled"
                ],
                "example": "cancelled"
              },
              "cancellation_info": {
                "type": "object",
                "title": "CancellationInfo",
                "description": "Information on a cancelled order",
                "required": [
                  "cancellation_datetime"
                ],
                "properties": {
                  "cancellation_datetime": {
                    "description": "The ISO 8601 datetime of when this order is cancelled.",
                    "type": "string",
                    "format": "date-time",
                    "example": "2017-08-17T13:31:15.523Z"
                  }
                },
                "example": {
                  "cancellation_datetime": "2025-02-17T18:31:15.523Z"
                }
              }
            }
          },
          {
            "type": "object",
            "title": "StatusConfirmed",
            "required": [
              "type"
            ],
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "confirmed"
                ],
                "example": "confirmed"
              }
            },
            "example": {
              "type": "confirmed"
            }
          },
          {
            "type": "object",
            "title": "StatusPending",
            "required": [
              "type"
            ],
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "pending"
                ],
                "example": "pending"
              }
            },
            "example": {
              "type": "pending"
            }
          },
          {
            "type": "object",
            "title": "StatusFailed",
            "description": "Represents a failed status for an order. This status is vended when the order \ncannot be processed or completed due to an unrecoverable error. Examples include:\n* Invalid order details or corrupted data\n* System errors during processing\n",
            "required": [
              "type"
            ],
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "failed"
                ],
                "example": "failed"
              }
            },
            "example": {
              "type": "failed"
            }
          }
        ],
        "discriminator": {
          "propertyName": "type",
          "mapping": {
            "cancelled": "#/StatusCancelled",
            "confirmed": "#/StatusConfirmed",
            "pending": "#/StatusPending",
            "failed": "#/StatusFailed"
          }
        }
      },
      "rental_company": {
        "type": "object",
        "title": "RentalCompany",
        "description": "Represents the car rental company or partner providing the vehicle offer.",
        "required": [
          "id",
          "name",
          "logo_url"
        ],
        "properties": {
          "id": {
            "type": "string",
            "description": "A unique identifier for the vendor (e.g., internal code, Expedia ID).",
            "example": "AVS"
          },
          "name": {
            "type": "string",
            "description": "The human-readable name of the vendor (e.g., \"Avis\", \"Amadeus\").",
            "example": "Avis Rent a Car"
          },
          "logo_url": {
            "type": "string",
            "format": "uri",
            "description": "A URL to the rental company's official logo.",
            "example": "https://example.com/logos/avis.png"
          },
          "support_url": {
            "type": "string",
            "format": "uri",
            "description": "A URL to the rental company's customer support or help page.",
            "example": "https://www.avis.com/en/help"
          }
        }
      },
      "vehicle": {
        "type": "object",
        "title": "Vehicle",
        "description": "The primary data structure that contains all the essential information about a car.",
        "required": [
          "description",
          "acriss_code",
          "luggage",
          "transmission",
          "air_conditioning"
        ],
        "properties": {
          "description": {
            "type": "string",
            "description": "A human-readable description of the vehicle, often including make and model."
          },
          "acriss_code": {
            "type": "string",
            "description": "The standardized ACRISS or SIPP code for the vehicle. See https://www.acraorg.com/acriss-sip-codes/ for more details.",
            "pattern": "^[A-Z0-9]{4}$",
            "example": "CCAR"
          },
          "max_passengers": {
            "type": "integer",
            "minimum": 1,
            "description": "The maximum number of passengers the vehicle can accommodate."
          },
          "doors": {
            "type": "integer",
            "minimum": 1,
            "description": "The number of doors on the vehicle."
          },
          "luggage": {
            "type": "object",
            "title": "Luggage",
            "required": [
              "total"
            ],
            "properties": {
              "small": {
                "type": "integer",
                "description": "The number of small bags the vehicle can hold."
              },
              "medium": {
                "type": "integer",
                "description": "The number of medium bags the vehicle can hold."
              },
              "large": {
                "type": "integer",
                "description": "The number of large bags the vehicle can hold."
              },
              "total": {
                "type": "integer",
                "description": "The total number of bags the vehicle can hold, if a specific breakdown is not available or as a sum of small/large."
              }
            }
          },
          "transmission": {
            "type": "string",
            "description": "The transmission type of the vehicle.",
            "enum": [
              "Automatic",
              "Manual",
              "Cvt",
              "Unspecified"
            ]
          },
          "air_conditioning": {
            "type": "boolean",
            "description": "Indicates whether the vehicle has air conditioning."
          },
          "images": {
            "type": "object",
            "title": "VehicleImages",
            "required": [
              "default",
              "links"
            ],
            "properties": {
              "default": {
                "type": "string",
                "format": "uri",
                "description": "The URL for the primary display image of the vehicle."
              },
              "links": {
                "type": "array",
                "description": "A list of additional image URLs for the vehicle.",
                "items": {
                  "type": "string",
                  "format": "uri"
                }
              }
            }
          }
        }
      },
      "ancillary": {
        "type": "object",
        "title": "Ancillary",
        "description": "A car rental extra or add-on available for the booking.",
        "required": [
          "id",
          "type",
          "category",
          "name",
          "pricing",
          "payment"
        ],
        "properties": {
          "id": {
            "type": "string",
            "description": "Unique identifier for this ancillary option from the supplier.",
            "example": "GPS_001"
          },
          "type": {
            "type": "string",
            "description": "The type of ancillary.",
            "enum": [
              "InfantSeat",
              "ToddlerSeat",
              "BoosterSeat",
              "ChildSeat",
              "Gps",
              "SatNav",
              "RoadsideAssistance",
              "AdditionalDriver",
              "SatelliteRadio",
              "SnowChains",
              "SnowTires",
              "WinterKit",
              "SkiRack",
              "BikeRack",
              "LuggageRack",
              "YoungDriver",
              "PrepaidFuel",
              "Wifi",
              "Cdw",
              "Ldw",
              "Pai",
              "Pec",
              "Sli"
            ]
          },
          "category": {
            "type": "string",
            "description": "The broad category of the ancillary.",
            "enum": [
              "Equipment",
              "AddOn"
            ]
          },
          "name": {
            "type": "string",
            "description": "Human-readable display name for the ancillary.",
            "example": "GPS Navigation"
          },
          "description": {
            "type": "string",
            "description": "Detailed description of the ancillary.",
            "example": "Portable GPS navigation device for your rental."
          },
          "pricing": {
            "type": "object",
            "title": "AncillaryPricing",
            "description": "Pricing details for an ancillary item.",
            "required": [
              "amount",
              "currency",
              "unit"
            ],
            "properties": {
              "amount": {
                "type": "string",
                "description": "Monetary amount value Serialized BigDecimal value",
                "example": "123.45"
              },
              "currency": {
                "description": "Currency code, in ISO 4217 format.",
                "type": "string",
                "pattern": "^[A-Z]{3}$",
                "example": "USD"
              },
              "unit": {
                "type": "string",
                "description": "How the price is applied.",
                "enum": [
                  "PerBooking",
                  "PerDay",
                  "PerDriver"
                ]
              }
            }
          },
          "payment": {
            "type": "string",
            "description": "When payment is collected for this ancillary.",
            "enum": [
              "PayNow",
              "PayAtCounter"
            ]
          },
          "constraints": {
            "type": "object",
            "title": "AncillaryConstraints",
            "description": "Constraints on ancillary selection.",
            "properties": {
              "max_quantity": {
                "type": "integer",
                "minimum": 1,
                "description": "Maximum number of this ancillary that can be selected.",
                "example": 3
              },
              "included_quantity": {
                "type": "integer",
                "minimum": 0,
                "description": "Number of this ancillary already included in the base rental at no extra cost.",
                "example": 0
              }
            }
          }
        }
      },
      "ancillary_pricing": {
        "type": "object",
        "title": "AncillaryPricing",
        "description": "Pricing details for an ancillary item.",
        "required": [
          "amount",
          "currency",
          "unit"
        ],
        "properties": {
          "amount": {
            "type": "string",
            "description": "Monetary amount value Serialized BigDecimal value",
            "example": "123.45"
          },
          "currency": {
            "description": "Currency code, in ISO 4217 format.",
            "type": "string",
            "pattern": "^[A-Z]{3}$",
            "example": "USD"
          },
          "unit": {
            "type": "string",
            "description": "How the price is applied.",
            "enum": [
              "PerBooking",
              "PerDay",
              "PerDriver"
            ]
          }
        }
      },
      "ancillary_constraints": {
        "type": "object",
        "title": "AncillaryConstraints",
        "description": "Constraints on ancillary selection.",
        "properties": {
          "max_quantity": {
            "type": "integer",
            "minimum": 1,
            "description": "Maximum number of this ancillary that can be selected.",
            "example": 3
          },
          "included_quantity": {
            "type": "integer",
            "minimum": 0,
            "description": "Number of this ancillary already included in the base rental at no extra cost.",
            "example": 0
          }
        }
      },
      "ancillary_selection": {
        "type": "object",
        "title": "AncillarySelection",
        "description": "A selected ancillary with quantity for a quote request.",
        "required": [
          "id",
          "quantity"
        ],
        "properties": {
          "id": {
            "type": "string",
            "description": "The ancillary ID from the rental offer response.",
            "example": "GPS_001"
          },
          "quantity": {
            "type": "integer",
            "minimum": 1,
            "description": "Number of this ancillary to include.",
            "example": 2
          }
        }
      }
    }
  }
}
