Amadeus · JSON Structure

Hotel Booking Warning Structure

The Warning Definition

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

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

Properties

code title detail source documentation sources relationships

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-warning-structure.json",
  "title": "Warning",
  "description": "The Warning Definition",
  "type": "object",
  "properties": {
    "code": {
      "type": "integer",
      "description": "A machine-readable error code from the Canned Messages table, that will enable the API Consumers code to handle this type of error"
    },
    "title": {
      "type": "string",
      "description": "An error title from the Canned Messages table with a 1:1 correspondence to the error code. This may be localized"
    },
    "detail": {
      "type": "string",
      "description": "An easy-to-read explanation specific to this occurrence of the problem. It should give the API consumer an idea of what went wrong and how to recover from it. Like the title, this field\u2019s value can be localized."
    },
    "source": {
      "type": "object",
      "description": "The Warning Source Definition"
    },
    "documentation": {
      "type": "string",
      "format": "url",
      "description": "A link to a web page or file with further documentation to help the API consumer resolve this error"
    },
    "sources": {
      "type": "array"
    },
    "relationships": {
      "type": "object",
      "description": "Indicate relationships from one entity to many other entities of any kind (e.g. from one passenger to their flight segments)."
    }
  },
  "required": [
    "code",
    "title"
  ]
}

Work with this as data

Every JSON Structure 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 json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure 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 Structure
curl "https://apis.io/api/v1/json-structures/hotel-booking-warning-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.