From 5bbd1d34eb3630c44dc1d897ab1e91c64234f7d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Van=C4=8Dura?= Date: Fri, 7 Feb 2025 13:12:37 +0100 Subject: [PATCH] Actor: Adding dataset schema MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Václav Vančura --- .actor/dataset_schema.json | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .actor/dataset_schema.json diff --git a/.actor/dataset_schema.json b/.actor/dataset_schema.json new file mode 100644 index 00000000..c6f49bf4 --- /dev/null +++ b/.actor/dataset_schema.json @@ -0,0 +1,31 @@ +{ + "title": "Docling Actor Dataset", + "description": "Records of document processing results from the Docling Actor", + "type": "object", + "schemaVersion": 1, + "properties": { + "url": { + "title": "Document URL", + "type": "string", + "description": "URL of the processed document" + }, + "output_file": { + "title": "Result URL", + "type": "string", + "description": "Direct URL to the processed result in key-value store" + }, + "status": { + "title": "Processing Status", + "type": "string", + "description": "Status of the document processing", + "enum": ["success", "error"] + }, + "error": { + "title": "Error Details", + "type": "string", + "description": "Error message if processing failed", + "optional": true + } + }, + "required": ["url", "output_file", "status"] +}