Amadeus · Schema

HotelProduct_RoomDetails

HotelProduct_RoomDetails schema from Hotel Search API

TravelTravel TechnologyReservationsFlightsHotelsAirlinesHospitalityTours and ActivitiesCars and TransfersDestination ContentItinerary ManagementTrip PlanningArtificial IntelligenceMarket Insights

Properties

Name Type Description
type string Room type code, 3 character identifier of the room. The first character identifies the room type category. The second numeric character identifies the number of beds. The third character identifies th
typeEstimated object estimated room category, bed type and number of beds in the room. This information has been parsed from the room description, and is thus only provided for informational purposes
description object Specific type to convey a list of string for specific information type ( via qualifier) in specific character set, or language
View JSON Schema on GitHub

JSON Schema

hotel-search-hotel-product-room-details-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amadeus/refs/heads/main/json-schema/hotel-search-hotel-product-room-details-schema.json",
  "title": "HotelProduct_RoomDetails",
  "description": "HotelProduct_RoomDetails schema from Hotel Search API",
  "type": "object",
  "properties": {
    "type": {
      "description": "Room type code, 3 character identifier of the room.\nThe first character identifies the room type category. \nThe second numeric character identifies the number of beds. \nThe third character identifies the bed type. \nThere is a special case where ROH is returned, this value stands for Run Of House.",
      "type": "string",
      "pattern": "^[A-Z0-9*]{3}$",
      "example": "string-value"
    },
    "typeEstimated": {
      "title": "HotelProduct_EstimatedRoomType",
      "description": "estimated room category, bed type and number of beds in the room. This information has been parsed from the room description, and is thus only provided for informational purposes",
      "type": "object",
      "properties": {
        "category": {
          "description": "Category code",
          "type": "string",
          "example": "string-value"
        },
        "beds": {
          "description": "Number of beds in the room (1-9)",
          "type": "integer",
          "format": "int32",
          "example": 1
        },
        "bedType": {
          "description": "Type of the bed",
          "type": "string",
          "example": "string-value"
        }
      }
    },
    "description": {
      "title": "QualifiedFreeText",
      "description": "Specific type to convey a list of string for specific information type ( via qualifier) in specific character set, or language",
      "type": "object",
      "properties": {
        "text": {
          "description": "Free Text",
          "example": "A description",
          "type": "string"
        },
        "lang": {
          "description": "see RFC 5646",
          "example": "fr-FR",
          "type": "string"
        }
      }
    }
  }
}