Amadeus · JSON Structure

Hotel Booking Guest Structure

This modele represent a guest, his name, his loyalty programs, his age when it is a child...

Type: object Properties: 7
TravelTravel TechnologyReservationsFlightsHotelsAirlinesHospitalityTours and ActivitiesCars and TransfersDestination ContentItinerary ManagementTrip PlanningArtificial IntelligenceMarket Insights

Hotel Booking Guest Structure is a JSON Structure definition published by Amadeus, describing 7 properties. It conforms to the https://json-structure.org/draft/v0/schema meta-schema.

Properties

frequentTraveler phone email title firstName lastName childAge

Meta-schema: https://json-structure.org/draft/v0/schema

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/draft/v0/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amadeus/refs/heads/main/json-structure/hotel-booking-guest-structure.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."
    },
    "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)"
    },
    "email": {
      "type": "string",
      "format": "email",
      "description": "Email Adress of the guest"
    },
    "title": {
      "type": "string",
      "description": "Title/gender of the guest"
    },
    "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"
    },
    "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}-]*$' "
    },
    "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"
    }
  }
}