Mews · Schema

Identity document parameters

HospitalityHotelsPMSProperty Management

Properties

Name Type Description
CustomerId string Identifier of the `Customer`.
Type object Type of the document. IdentityCard Passport Visa DriversLicense
Number string Number of the document (e.g. passport number). If the number is not collected in certain regions, such as The Netherlands, use an empty string. In all other cases, a value should be supplied.
ExpirationDate string Expiration date in ISO 8601 format.
IssuanceDate string Date of issuance in ISO 8601 format.
IssuingCountryCode string ISO 3166-1 code of the `Country`).
IssuingCountrySubdivisionCode string Identifier of the country subdivision where the document was issued (province, state or region).
IssuingCity string City where the document was issued.
IdentityDocumentSupportNumber string Identity document support number. Only required for Spanish identity cards in Spanish hotels.
View JSON Schema on GitHub

JSON Schema

mews-identitydocumentsadddata-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/IdentityDocumentsAddData",
  "title": "Identity document parameters",
  "required": [
    "CustomerId",
    "Number",
    "Type"
  ],
  "type": "object",
  "properties": {
    "CustomerId": {
      "type": "string",
      "description": "Identifier of the `Customer`.",
      "format": "uuid"
    },
    "Type": {
      "title": "Document type",
      "allOf": [
        {
          "$ref": "#/components/schemas/IdentityDocumentTypeEnum"
        }
      ],
      "description": "Type of the document.\n\nIdentityCard\n\nPassport\n\nVisa\n\nDriversLicense",
      "x-enumNames": [
        "IdentityCard",
        "Passport",
        "Visa",
        "DriversLicense"
      ],
      "x-enumDescriptions": [
        "",
        "",
        "",
        ""
      ]
    },
    "Number": {
      "minLength": 1,
      "type": "string",
      "description": "Number of the document (e.g. passport number). If the number is not collected in certain regions, such as The Netherlands, use an empty string. In all other cases, a value should be supplied."
    },
    "ExpirationDate": {
      "type": "string",
      "description": "Expiration date in ISO 8601 format.",
      "format": "date",
      "nullable": true
    },
    "IssuanceDate": {
      "type": "string",
      "description": "Date of issuance in ISO 8601 format.",
      "format": "date",
      "nullable": true
    },
    "IssuingCountryCode": {
      "type": "string",
      "description": "ISO 3166-1 code of the `Country`).",
      "nullable": true
    },
    "IssuingCountrySubdivisionCode": {
      "type": "string",
      "description": "Identifier of the country subdivision where the document was issued (province, state or region).",
      "nullable": true
    },
    "IssuingCity": {
      "type": "string",
      "description": "City where the document was issued.",
      "nullable": true
    },
    "IdentityDocumentSupportNumber": {
      "type": "string",
      "description": "Identity document support number. Only required for Spanish identity cards in Spanish hotels.",
      "nullable": true
    }
  },
  "additionalProperties": false,
  "x-schema-id": "IdentityDocumentsAddData"
}

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/mews-identitydocumentsadddata"
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.