Amadeus Solutions · JSON Structure

Flight Offers Price Identity Document Structure

documents of the traveler

Type: Properties: 0
AirlinesBookingFlightsGDSHotelsTravelTravel Technology

IdentityDocument is a JSON Structure definition published by Amadeus Solutions. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amadeus-solutions/refs/heads/main/json-structure/flight-offers-price-identity-document-structure.json",
  "name": "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
        }
      }
    }
  ]
}