{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/adyen/refs/heads/main/json-structure/legal-entity-attachment-structure.json", "description": "Attachment schema from Adyen API", "type": "object", "properties": { "content": { "description": "The document in Base64-encoded string format.", "format": "byte", "type": "string" }, "contentType": { "deprecated": true, "x-deprecatedInVersion": "1", "description": "The file format.\n\n Possible values: **application/pdf**, **image/jpg**, **image/jpeg**, **image/png**. ", "type": "string" }, "filename": { "deprecated": true, "x-deprecatedInVersion": "1", "description": "The name of the file including the file extension.", "type": "string" }, "pageName": { "x-addedInVersion": "2", "description": "The name of the file including the file extension.", "type": "string" }, "pageType": { "description": "Specifies which side of the ID card is uploaded.\n\n* When `type` is **driversLicense** or **identityCard**, set this to **front** or **back**.\n\n* When omitted, we infer the page number based on the order of attachments.", "type": "string" } }, "required": [ "content" ], "name": "Attachment" }