Amadeus · Schema

guests

guests schema from Hotel Booking API

TravelTravel TechnologyReservationsFlightsHotelsAirlinesHospitalityTours and ActivitiesCars and TransfersDestination ContentItinerary ManagementTrip PlanningArtificial IntelligenceMarket Insights

Properties

Name Type Description
adults integer number of adult guests (1-9) per room
childAges array Comma separated list of ages of each child at the time of check-out from the hotel. If several children have the same age, the ages will be repeated.
View JSON Schema on GitHub

JSON Schema

hotel-booking-guests-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-booking-guests-schema.json",
  "title": "guests",
  "description": "guests schema from Hotel Booking API",
  "type": "object",
  "properties": {
    "adults": {
      "type": "integer",
      "minimum": 1,
      "maximum": 9,
      "example": 2,
      "description": "number of adult guests (1-9) per room"
    },
    "childAges": {
      "type": "array",
      "items": {
        "type": "integer",
        "minimum": 0,
        "maximum": 20
      },
      "description": "Comma separated list of ages of each child at the time of check-out from the hotel. If several children have the same age, the ages will be repeated."
    }
  }
}