{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/HotelReservationResponse",
  "title": "HotelReservationResponse",
  "type": "object",
  "properties": {
    "ConfirmationNumber": {
      "type": "string"
    },
    "HotelConfirmationNumber": {
      "type": "string"
    },
    "Status": {
      "type": "string",
      "enum": [
        "CONFIRMED",
        "PENDING",
        "CANCELLED"
      ]
    },
    "HotelCode": {
      "type": "string"
    },
    "CheckIn": {
      "type": "string",
      "format": "date"
    },
    "CheckOut": {
      "type": "string",
      "format": "date"
    },
    "TotalCost": {
      "$ref": "#/components/schemas/Rate"
    },
    "GuestInfo": {
      "$ref": "#/components/schemas/GuestInfo"
    }
  }
}