Affinda · Schema
Affinda Document
A parsed document in the Affinda Documents API.
Artificial IntelligenceDocument ProcessingIntelligent Document ProcessingIDPOCRResume ParsingInvoice ParsingReceipt ParsingDocument ExtractionDocument ClassificationDocument SplittingRecruitmentBankingInsuranceLogisticsHealthcareGovernment
Properties
| Name | Type | Description |
|---|---|---|
| meta | object | Metadata about the parsed document. |
| data | object | Extracted fields. Shape varies by document type. |
| error | objectnull |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://api-evangelist.github.io/affinda/json-schema/affinda-document-schema.json",
"title": "Affinda Document",
"description": "A parsed document in the Affinda Documents API.",
"type": "object",
"required": ["meta", "data"],
"properties": {
"meta": {
"type": "object",
"description": "Metadata about the parsed document.",
"properties": {
"identifier": { "type": "string", "description": "Affinda document identifier." },
"customIdentifier": { "type": ["string", "null"] },
"fileName": { "type": "string" },
"ready": { "type": "boolean", "description": "Whether parsing is complete." },
"readyDt": { "type": ["string", "null"], "format": "date-time" },
"failed": { "type": "boolean" },
"expiryTime": { "type": ["string", "null"], "format": "date-time" },
"language": { "type": ["string", "null"] },
"ocrConfidence": { "type": ["number", "null"], "minimum": 0, "maximum": 1 },
"createdDt": { "type": "string", "format": "date-time" },
"documentType": { "type": ["string", "null"] },
"isVerified": { "type": "boolean" },
"workspace": { "$ref": "#/$defs/WorkspaceRef" },
"collection": { "$ref": "#/$defs/CollectionRef" },
"parentDocument": { "type": ["object", "null"] },
"childDocuments": { "type": "array", "items": { "type": "object" } },
"pages": { "type": "array", "items": { "$ref": "#/$defs/Page" } },
"file": { "type": ["string", "null"], "format": "uri" }
}
},
"data": {
"type": "object",
"description": "Extracted fields. Shape varies by document type."
},
"error": {
"type": ["object", "null"],
"properties": {
"errorCode": { "type": "string" },
"errorDetail": { "type": "string" }
}
}
},
"$defs": {
"WorkspaceRef": {
"type": "object",
"properties": {
"identifier": { "type": "string" },
"name": { "type": "string" }
}
},
"CollectionRef": {
"type": "object",
"properties": {
"identifier": { "type": "string" },
"name": { "type": "string" }
}
},
"Page": {
"type": "object",
"properties": {
"id": { "type": "integer" },
"pageIndex": { "type": "integer" },
"image": { "type": "string", "format": "uri" },
"height": { "type": "number" },
"width": { "type": "number" },
"rotation": { "type": "number" }
}
}
}
}
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/affinda-document"
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.