Amadeus · Schema

Address

Address information

TravelTravel TechnologyReservationsFlightsHotelsAirlinesHospitalityTours and ActivitiesCars and TransfersDestination ContentItinerary ManagementTrip PlanningArtificial IntelligenceMarket Insights

Properties

Name Type Description
lines array Line 1 = Street address, Line 2 = Apartment, suite, unit, building, floor, etc
postalCode string Example: 74130
countryCode string ISO 3166-1 country code
cityName string Full city name. Example: Dublin
stateCode string State code (two character standard IATA state code)
View JSON Schema on GitHub

JSON Schema

hotel-booking-address-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amadeus/refs/heads/main/json-schema/hotel-booking-address-schema.json",
  "title": "Address",
  "description": "Address information",
  "type": "object",
  "properties": {
    "lines": {
      "type": "array",
      "description": "Line 1 = Street address, Line 2 = Apartment, suite, unit, building, floor, etc",
      "items": {
        "type": "string"
      }
    },
    "postalCode": {
      "type": "string",
      "description": "Example: 74130",
      "example": "string-value"
    },
    "countryCode": {
      "type": "string",
      "description": "ISO 3166-1 country code",
      "pattern": "[a-zA-Z]{2}",
      "example": "FR"
    },
    "cityName": {
      "type": "string",
      "description": "Full city name. Example: Dublin",
      "pattern": "[a-zA-Z -]{1,35}",
      "example": "Paris"
    },
    "stateCode": {
      "type": "string",
      "description": "State code (two character standard IATA state code)",
      "pattern": "[a-zA-Z0-9]{1,2}",
      "example": "string-value"
    }
  },
  "required": [
    "postalCode",
    "countryCode",
    "cityName"
  ]
}

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-address"
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.