IdentityDocumentMetadata
The ID document metadata (for example
Properties
| Name | Type | Description |
|---|---|---|
| documentId | string | The unique identifier of the physical ID document. Requirements: Must match the `documentId` path parameter. Format: uuid Example: `5c7d8d2b-5dca-4214-aa87-2003188 |
| documentNumber | string | The number on the physical ID document. Requirements: When uploading `IdentityDocumentMetadata`. Otherwise optional. Example: `SPECI2014` |
| documentType | string | The specific type or category of the ID document. Enum: • `Passport` • `NationalIDCard` • `HealthInsuranceCard` • `DrivingLicense` • `StudentIDCard` • ` |
| issuingCountry | string | The country that issued the document. Format: ISO 3166-1 alpha-3 Example: `NLD` |
| expirationDate | string | The document expiration date. Format: `yyyy-mm-dd` Example: `2030-11-15` |
| issueDate | string | The document issue date. Format: `yyyy-mm-dd` Example: `2021-01-01` |
| isPrimaryDocument | boolean | Whether this is the client’s primary ID document. |
| nfcDataGroups | array | The NFC data groups read from the document chip. Each entry contains the data group number and the extracted chip data (for example, DG1 MRZ, DG2 portrait). |
| sdkAuthenticationChecks | object | The cryptographic authentication checks performed during the NFC read. See `SdkAuthenticationChecks` for supported check types. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/fourthline/json-schema/fourthline-identity-document-metadata-schema.json",
"title": "IdentityDocumentMetadata",
"description": "The ID document metadata (for example <Glosary>MRZ</Glosary> or <Glosary>NFC</Glosary>-related fields) for a document already associated with a `documentId` in the workflow.",
"x-generated": "2026-12-02",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/fourthline-identity-verification-api-v2-api-openapi.yml#/components/schemas/IdentityDocumentMetadata",
"type": "object",
"properties": {
"documentId": {
"type": "string",
"format": "uuid",
"description": "The unique identifier of the physical ID document. <br /><br /> Requirements: Must match the `documentId` path parameter. <br /><br />Format: uuid <br /><br />Example: `5c7d8d2b-5dca-4214-aa87-20031889a363`"
},
"documentNumber": {
"type": "string",
"description": "The number on the physical ID document. <br /><br />Requirements: When uploading `IdentityDocumentMetadata`. Otherwise optional. <br /><br />Example: `SPECI2014`"
},
"documentType": {
"type": "string",
"description": "The specific type or category of the ID document. <br /><br />Enum: <br />• `Passport` <br />• `NationalIDCard` <br />• `HealthInsuranceCard` <br />• `DrivingLicense` <br />• `StudentIDCard` <br />• `PaperID` <br />• `ResidencePermit` <br />• `IbanStatement` <br />• `TinReferenceDocument`",
"enum": [
"Passport",
"NationalIDCard",
"HealthInsuranceCard",
"DrivingLicense",
"StudentIDCard",
"PaperID",
"ResidencePermit",
"IbanStatement",
"TinReferenceDocument"
]
},
"issuingCountry": {
"type": "string",
"description": "The country that issued the document. <br /><br />Format: ISO 3166-1 alpha-3 <br /><br />Example: `NLD`"
},
"expirationDate": {
"type": "string",
"description": "The document expiration date. <br /><br />Format: `yyyy-mm-dd` <br /><br />Example: `2030-11-15`"
},
"issueDate": {
"type": "string",
"description": "The document issue date. <br /><br />Format: `yyyy-mm-dd` <br /><br />Example: `2021-01-01`"
},
"isPrimaryDocument": {
"type": "boolean",
"description": "Whether this is the client’s primary ID document."
},
"nfcDataGroups": {
"type": "array",
"description": "The NFC data groups read from the document chip. Each entry contains the data group number and the extracted chip data (for example, DG1 MRZ, DG2 portrait).",
"items": {
"$ref": "#/$defs/NfcDataGroup"
}
},
"sdkAuthenticationChecks": {
"description": "The cryptographic authentication checks performed during the NFC read. See `SdkAuthenticationChecks` for supported check types.",
"allOf": [
{
"$ref": "#/$defs/SdkAuthenticationChecks"
}
]
}
},
"$defs": {
"NfcDataGroup": {
"type": "object",
"description": "One data group read from the NFC chip during document capture.",
"properties": {
"nfcDataGroupNumber": {
"type": "string",
"description": "The data group number extracted from the NFC chip."
},
"nfcData": {
"type": "string",
"description": "The document data extracted from the NFC chip."
}
}
},
"SdkAuthenticationCheck": {
"type": "object",
"description": "The result of a single NFC chip security check performed by the Fourthline SDK during document capture.",
"properties": {
"performed": {
"type": "boolean",
"description": "Whether this check was executed during the NFC read. `false` if the check was skipped (for example, not required for the document type)."
},
"passed": {
"type": "boolean",
"description": "Whether this check completed successfully. `false` when the check ran but failed validation."
},
"timestamp": {
"type": "string",
"description": "When the check was performed. <br /><br />Format: ISO 8601 UTC date and time <br /><br />Example: `2025-12-30T10:00:00Z`"
},
"errorCode": {
"type": [
"string",
"null"
],
"description": "A machine-readable error code when `passed` is `false`. Omitted when the check passed or was not performed."
},
"errorMessage": {
"type": [
"string",
"null"
],
"description": "A human-readable explanation when `passed` is `false`. Omitted when the check passed or was not performed."
}
}
},
"SdkAuthenticationChecks": {
"type": "object",
"description": "The NFC chip authentication checks from the Fourthline SDK. Provide this object when enriching an uploaded document with metadata after an NFC capture. <br /><br />Requirements: All fields are optional - include only the checks your integration performed.",
"properties": {
"activeAuthentication": {
"description": "The Active Authentication (AA) check. Confirms the chip is genuine using a challenge–response with the chip’s private key, helping detect cloned or copied documents.",
"allOf": [
{
"$ref": "#/$defs/SdkAuthenticationCheck"
}
]
},
"chipAuthentication": {
"description": "The Chip Authentication (CA) check. Verifies the chip’s public key against the issuing country’s certificate chain, confirming the chip was signed by a trusted authority.",
"allOf": [
{
"$ref": "#/$defs/SdkAuthenticationCheck"
}
]
},
"bacOrBap": {
"description": "The Basic Access Control (BAC) or Basic Access Protection (BAP) check. Reports whether the secure session to read the chip was established using data derived from the MRZ or Card Access Number (CAN).",
"allOf": [
{
"$ref": "#/$defs/SdkAuthenticationCheck"
}
]
},
"pace": {
"description": "The Password Authenticated Connection Establishment (PACE) check. Reports whether the chip session was opened using PACE (common on newer ePassports and ID cards that support CAN-based access instead of BAC).",
"allOf": [
{
"$ref": "#/$defs/SdkAuthenticationCheck"
}
]
}
}
}
}
}
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.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/json-schemas/fourthline-identity-document-metadata"
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.