Sabre · Schema

HotelSummary

TravelGDSAirlinesHotelsCar RentalBooking

Properties

Name Type Description
HotelCode string
Name string
ChainCode string
StarRating integer
Address object
LowestRate object
Amenities array
Images array
View JSON Schema on GitHub

JSON Schema

sabre-hotelsummary-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/HotelSummary",
  "title": "HotelSummary",
  "type": "object",
  "properties": {
    "HotelCode": {
      "type": "string"
    },
    "Name": {
      "type": "string"
    },
    "ChainCode": {
      "type": "string"
    },
    "StarRating": {
      "type": "integer",
      "minimum": 1,
      "maximum": 5
    },
    "Address": {
      "$ref": "#/components/schemas/Address"
    },
    "LowestRate": {
      "$ref": "#/components/schemas/Rate"
    },
    "Amenities": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "Images": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "Url": {
            "type": "string"
          },
          "Category": {
            "type": "string"
          }
        }
      }
    }
  }
}