CreateHotelBooking

This model allows the creation of an hotel order.

BookingFlightsHotelsReservationsTravel

Properties

Name Type Description
arrivalInformation object Optional information on the way the guest is arriving to the hotel. Today the application only supports Flight details.
payment object
roomAssociations array Is to correlate a room to a guest and an offer.
travelAgent object Travel Agent details
View JSON Schema on GitHub

JSON Schema

hotel-booking-create-hotel-booking-schema.json Raw ↑
{
  "$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-create-hotel-booking-schema.json",
  "title": "CreateHotelBooking",
  "description": "This model allows the creation of an hotel order.",
  "type": "object",
  "properties": {
    "arrivalInformation": {
      "type": "object",
      "description": "Optional information on the way the guest is arriving to the hotel. Today the application only supports Flight details.",
      "properties": {
        "arrivalFlightDetails": {
          "$ref": "#/definitions/ArrivalFlightDetails"
        }
      }
    },
    "payment": {
      "$ref": "#/definitions/PaymentInput"
    },
    "roomAssociations": {
      "type": "array",
      "description": "Is to correlate a room to a guest and an offer.",
      "maxItems": 9,
      "minItems": 1,
      "items": {
        "$ref": "#/definitions/roomAssociation"
      }
    },
    "travelAgent": {
      "type": "object",
      "description": "Travel Agent details",
      "required": [
        "contact"
      ],
      "properties": {
        "contact": {
          "type": "object",
          "required": [
            "email"
          ],
          "properties": {
            "email": {
              "type": "string",
              "example": "travelAgent@agency.com",
              "minLength": 3,
              "maxLength": 90,
              "pattern": "^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+.[a-zA-Z0-9-.]+$",
              "description": "travel agency email"
            },
            "fax": {
              "type": "string",
              "example": "+33985632145",
              "minLength": 2,
              "maxLength": 90,
              "pattern": "^[+][1-9][0-9]{4,18}$",
              "description": "Even if this field is not mandatory it is recommended to fill it. This information is passed to the hotel provider. (When it is not provided in input, it is taken from the Office Profile of the Travel Agency)."
            },
            "phone": {
              "type": "string",
              "example": "+33679278416",
              "minLength": 2,
              "maxLength": 199,
              "description": "Even if this field is not mandatory it is recommended to fill it. This information is always passed to the hotel provider. (When it is not provided in input, it is taken from the Office Profile of the Travel Agency)."
            }
          }
        },
        "travelAgentId": {
          "type": "string",
          "description": "Travel Agent ID also called Booking source or IATA number.\nWhen received in request, it indicates that the travel agent wants to override the booking source receiving the commission.\nIf not provided, it is by default set to the IATA Number of the office profile the agent is connected to and who makes the booking. (the commission is given to that office) "
        }
      }
    }
  },
  "required": [
    "travelAgent"
  ]
}

Work with this as data

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-create-hotel-booking"
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.