{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "schema:RentalCarReservation",
  "title": "RentalCarReservation",
  "description": "A reservation for a rental car.\\n\\nNote: This type is for information about actual reservations, e.g. in confirmation emails or HTML pages with individual confirmations of reservations.",
  "type": "object",
  "allOf": [
    {
      "description": "Describes a reservation for travel, dining or an event. Some reservations require tickets. \\n\\nNote: This type is for information about actual reservations, e.g. in confirmation emails or HTML pages with individual confirmations of reservations. For offers of tickets, restaurant reservations, flights, or rental cars, use [[Offer]].",
      "$ref": "schema:Reservation"
    }
  ],
  "properties": {
    "dropoffLocation": {
      "description": "Where a rental car can be dropped off.",
      "oneOf": [
        { "$ref": "schema:Place" },
        { "type": "array", "items": { "$ref": "schema:Place" } }
      ]
    },
    "dropoffTime": {
      "description": "When a rental car can be dropped off.",
      "oneOf": [
        { "type": "string", "format": "date-time" },
        {
          "type": "array",
          "items": { "type": "string", "format": "date-time" }
        }
      ]
    },
    "pickupLocation": {
      "description": "Where a taxi will pick up a passenger or a rental car can be picked up.",
      "oneOf": [
        { "$ref": "schema:Place" },
        { "type": "array", "items": { "$ref": "schema:Place" } }
      ]
    },
    "pickupTime": {
      "description": "When a taxi will pick up a passenger or a rental car can be picked up.",
      "oneOf": [
        { "type": "string", "format": "date-time" },
        {
          "type": "array",
          "items": { "type": "string", "format": "date-time" }
        }
      ]
    }
  }
}
