{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/Attachment", "title": "Attachment", "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" ], "type": "object" }