IdentityDocument

documents of the traveler

BookingFlightsHotelsReservationsTravel
View JSON Schema on GitHub

JSON Schema

flight-create-orders-identity-document-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/flight-create-orders-identity-document-schema.json",
  "title": "IdentityDocument",
  "description": "documents of the traveler",
  "allOf": [
    {
      "$ref": "#/definitions/Document"
    },
    {
      "type": "object",
      "properties": {
        "documentType": {
          "$ref": "#/definitions/DocumentType"
        },
        "validityCountry": {
          "type": "string",
          "description": "[ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) of the country where the document is valid",
          "example": "IN",
          "pattern": "[a-zA-Z]{2}"
        },
        "birthCountry": {
          "type": "string",
          "description": "[ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) of the country of birth",
          "example": "FR",
          "pattern": "[a-zA-Z]{2}"
        },
        "holder": {
          "type": "boolean",
          "description": "boolean to specify if the traveler is the holder of the document",
          "example": true
        }
      }
    }
  ]
}

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/flight-create-orders-identity-document"
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.