{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/amadeus-reservations/refs/heads/main/json-schema/hotel-booking-guests-schema.json",
"title": "guests",
"description": "guests schema",
"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."
}
}
}