Middesk · Schema
Document
Business VerificationKYBKnow Your BusinessIdentity VerificationComplianceEIN ValidationTIN VerificationSanctions ScreeningBusiness MonitoringFintechRegTech
Properties
| Name | Type | Description |
|---|---|---|
| object | object | |
| id | string | |
| document_type | string | Type of document. Common values include: Initial_Filing, Certificate of Good Standing, Articles of Incorporation, Initial Filing (UCC1), Amendment (UCC3) |
| filename | string | Name of the document file |
| content_type | string | MIME type of the document |
| size | integer | File size in bytes |
| download_url | string | URL to download the document |
| created_at | string | |
| source | object | |
| filing_date | string | |
| metadata | object | Additional document metadata |
JSON Schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/middesk/main/json-schema/document.json",
"title": "Document",
"type": "object",
"properties": {
"object": {
"$ref": "#/components/schemas/type_:DocumentObject"
},
"id": {
"type": "string",
"format": "uuid"
},
"document_type": {
"type": "string",
"description": "Type of document. Common values include: Initial_Filing, Certificate of Good Standing, Articles of Incorporation, Initial Filing (UCC1), Amendment (UCC3)"
},
"filename": {
"type": "string",
"description": "Name of the document file"
},
"content_type": {
"type": "string",
"description": "MIME type of the document"
},
"size": {
"type": "integer",
"description": "File size in bytes"
},
"download_url": {
"type": "string",
"format": "uri",
"description": "URL to download the document"
},
"created_at": {
"type": "string",
"format": "date-time"
},
"source": {
"$ref": "#/components/schemas/type_:DocumentSource"
},
"filing_date": {
"type": "string",
"nullable": true,
"format": "date-time"
},
"metadata": {
"type": "object",
"additionalProperties": {
"description": "Any type"
},
"description": "Additional document metadata"
}
},
"required": [
"object",
"id",
"document_type",
"filename",
"content_type",
"size",
"download_url",
"created_at"
]
}