Guest
This modele represent a guest, his name, his loyalty programs, his age when it is a child...
BookingFlightsHotelsReservationsTravel
{
"$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-guest-schema.json",
"title": "Guest",
"description": "This modele represent a guest, his name, his loyalty programs, his age when it is a child...",
"type": "object",
"properties": {
"frequentTraveler": {
"type": "array",
"description": "Airline frequent flyer of the guest \n/!\\ In case of creation of a new hotel booking, only the first element of the array will be transmitted to the hotel provier. Please only provider one.\nIn case of retrieve of an hotel order, when a guest is having several frequent flyer numbers used in different hotel bookings, they will all be listed here.",
"items": {
"type": "object",
"properties": {
"airlineCode": {
"type": "string",
"description": "Code of the Airline",
"example": "AF",
"minLength": 2,
"maxLength": 3
},
"frequentTravelerId": {
"type": "string",
"example": "32546971326"
}
},
"required": [
"airlineCode",
"frequentTravelerId"
]
}
},
"phone": {
"type": "string",
"description": "Phone number of the guest\n\nIt is recommanded to use the standard E.123 (https://en.wikipedia.org/wiki/E.123)",
"maxLength": 199,
"minLength": 2,
"example": "+33679278416"
},
"email": {
"type": "string",
"description": "Email Adress of the guest",
"pattern": "^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\\.[a-zA-Z0-9-.]+$",
"example": "test.test@test.com",
"maxLength": 90,
"minLength": 3,
"format": "email"
},
"title": {
"type": "string",
"description": "Title/gender of the guest",
"example": "MR",
"minLength": 1,
"maxLength": 54,
"pattern": "^[A-Za-z -]*$"
},
"firstName": {
"type": "string",
"description": "First Name (and middle name) of the guest. It is mandatory at create order but not mandatory at booking creation.\n- Complex pattern '^[A-Za-z \\p{Han}\\p{Katakana}\\p{Hiragana}\\p{Hangul}-]*$' \n",
"example": "TEST",
"maxLength": 56,
"minLength": 1
},
"lastName": {
"type": "string",
"description": "Last name of the guest - \nIt is mandatory at create order but not mandatory at booking creation.\nComplex pattern: '^[A-Za-z \\p{Han}\\p{Katakana}\\p{Hiragana}\\p{Hangul}-]*$' ",
"example": "TEST",
"maxLength": 57,
"minLength": 1
},
"childAge": {
"type": "integer",
"description": "if the guest is a child, it is mandatory to provide a child age. Else the system will consider him as an adult"
}
}
}
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.
apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
resolveTurn a domain, URL or GitHub org into the provider it belongs to.
find_cohortsEvery scored population of providers in the catalog.
All 92 tools
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/hotel-booking-guest"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no email required.
A second provider on the same verified email joins the account you already have.