{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/DocumentInput", "title": "DocumentInput", "type": "object", "required": [ "type" ], "properties": { "type": { "type": "string", "enum": [ "document_url", "image_url", "file_id" ], "description": "The type of document input" }, "document_url": { "type": "string", "format": "uri", "description": "URL of the document to process" }, "image_url": { "type": "string", "format": "uri", "description": "URL of the image to process" }, "file_id": { "type": "string", "description": "ID of a previously uploaded file" } } }