{ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "EnvelopeDocument", "type": "object", "description": "Metadata about a document within an envelope.", "properties": { "documentId": { "type": "string", "description": "The unique identifier of the document." }, "name": { "type": "string", "description": "The name of the document." }, "type": { "type": "string", "description": "The document type." }, "uri": { "type": "string", "description": "URI for retrieving the document." }, "order": { "type": "string", "description": "The order of the document in the envelope." }, "pages": { "type": "array", "description": "Array of page objects for the document." }, "containsPdfFormFields": { "type": "string", "description": "Whether the document contains PDF form fields." }, "display": { "type": "string", "description": "Display setting for the document." }, "includeInDownload": { "type": "string", "description": "Whether to include this document in downloads." } } }