{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/adyen/refs/heads/main/json-schema/legal-entity-document-reference-schema.json", "title": "DocumentReference", "description": "DocumentReference schema from Adyen API", "type": "object", "properties": { "active": { "description": "Identifies whether the document is active and used for checks.", "type": "boolean" }, "description": { "description": "Your description for the document.", "type": "string" }, "fileName": { "description": "Document name.", "type": "string" }, "id": { "description": "The unique identifier of the resource.", "type": "string" }, "modificationDate": { "description": "The modification date of the document.", "format": "date-time", "type": "string" }, "pages": { "description": "List of document pages", "items": { "$ref": "#/components/schemas/DocumentPage" }, "type": "array" }, "type": { "description": "Type of document, used when providing an ID number or uploading a document.", "type": "string" } } }