DocumentVersion
A file attached to a contract — the primary document, one of its revisions, or a supplementary attachment.
Properties
| Name | Type | Description |
|---|---|---|
| id | string | Use this as `versionId` / in the attachment-id arrays on a review. |
| contractId | string | |
| role | string | `primary` for the main document; any other value (e.g. amendment, schedule, exhibit, side-letter) marks an attachment. |
| attachmentGroupId | string | Groups a document and its revisions together. |
| versionNumber | integer | |
| label | string | Human label, e.g. "Original" or "Redline v3". |
| versionType | string | e.g. original, revision, redline, converted. |
| fileName | string | |
| fileFormat | string | |
| fileSize | integernull | |
| createdAt | string | |
| createdBy | string |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/clment-com/json-schema/clment-com-document-version-schema.json",
"title": "DocumentVersion",
"description": "A file attached to a contract — the primary document, one of\nits revisions, or a supplementary attachment.\n",
"x-generated": "2026-11-04",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/clment-com-openapi.yml#/components/schemas/DocumentVersion",
"type": "object",
"required": [
"id",
"contractId",
"versionNumber",
"label",
"versionType",
"fileName",
"fileFormat",
"fileSize",
"createdAt",
"createdBy"
],
"properties": {
"id": {
"type": "string",
"description": "Use this as `versionId` / in the attachment-id arrays on a review."
},
"contractId": {
"type": "string"
},
"role": {
"type": "string",
"description": "`primary` for the main document; any other value (e.g. amendment, schedule, exhibit, side-letter) marks an attachment."
},
"attachmentGroupId": {
"type": "string",
"description": "Groups a document and its revisions together."
},
"versionNumber": {
"type": "integer"
},
"label": {
"type": "string",
"description": "Human label, e.g. \"Original\" or \"Redline v3\"."
},
"versionType": {
"type": "string",
"description": "e.g. original, revision, redline, converted."
},
"fileName": {
"type": "string"
},
"fileFormat": {
"type": "string"
},
"fileSize": {
"type": [
"integer",
"null"
]
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"createdBy": {
"type": "string"
}
}
}
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
curl "https://apis.io/api/v1/json-schemas/clment-com-document-version"
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.