Properties
| Name | Type | Description |
|---|---|---|
| content | string | The document in Base64-encoded string format. |
| contentType | string | The file format. Possible values: **application/pdf**, **image/jpg**, **image/jpeg**, **image/png**. |
| filename | string | The name of the file including the file extension. |
| pageName | string | The name of the file including the file extension. |
| pageType | string | Specifies which side of the ID card is uploaded. * When `type` is **driversLicense** or **identityCard**, set this to **front** or **back**. * When omitted, we infer the page number based on the order |
JSON Schema
{
"$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"
}
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
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/adyen-attachment"
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 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. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.