roomAssociation

Room Association represents a room booked in an hotel, the guests sleeping in this room, the hotel loyalty program if any, plus special request if any.

BookingFlightsHotelsReservationsTravel

Properties

Name Type Description
guestReferences array Array of guest references listing all the guests occupying the room. For each guest, the reference provided is the id also provided in guest section, except at booking creation time (in this only case
specialRequest string special request to send to the reception (optional)
hotelOfferId string Hotel offerID received in availability response, identifying the product to book.
View JSON Schema on GitHub

JSON Schema

hotel-booking-room-association-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-room-association-schema.json",
  "title": "roomAssociation",
  "description": "Room Association represents a room booked in an hotel, the guests sleeping in this room, the hotel loyalty program if any, plus special request if any. ",
  "type": "object",
  "properties": {
    "guestReferences": {
      "type": "array",
      "description": "Array of guest references listing all the guests occupying the room.\nFor each guest, the reference provided is the id also provided in guest section, except at booking creation time (in this only case, it will be a temporary id provided by the client called tid).\nThe order of this list is important. The first one is the main guest, the one holding the reservation (and the form of payment).\nThe following references are the ones of the accompagnants, if any.",
      "items": {
        "type": "object",
        "properties": {
          "guestReference": {
            "type": "string"
          },
          "hotelLoyaltyId": {
            "type": "string",
            "description": "Hotel Chain Rewards Program Membership ID of the guest.\nTo receive your Rewards Points, access online check in, fast check out. An error is returned by the Chain if the number is invalid.\nExample Rewards Programs:\n* Marriott Bonvoy\n* Hilton Honors\n* Hyatt Rewards\n* IHG Rewards\n* Wyndham Rewards\n* Accor Live Limitless ALL\n* Best Western Rewards\n* Choice Privileges\n* Radisson Rewards\n",
            "pattern": "^[A-Z0-9-]{1,21}$",
            "minLength": 1,
            "maxLength": 21,
            "example": "3081031320523260"
          }
        },
        "required": [
          "guestReference"
        ]
      }
    },
    "specialRequest": {
      "type": "string",
      "minLength": 2,
      "description": "special request to send to the reception (optional)",
      "example": "TEST I will arrive at midnight",
      "maxLength": 120
    },
    "hotelOfferId": {
      "type": "string",
      "description": "Hotel offerID received in availability response, identifying the product to book.",
      "example": "63A93695B58821ABB0EC2B33FE9FAB24D72BF34B1BD7D707293763D8D9378FC3",
      "maxLength": 100,
      "minLength": 2,
      "pattern": "^[A-Z0-9]*$"
    }
  },
  "required": [
    "guestReferences",
    "hotelOfferId"
  ]
}

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-room-association"
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.