mirror of
https://github.com/DS4SD/docling.git
synced 2025-07-30 14:04:27 +00:00
Actor: Adding dataset schema
Signed-off-by: Václav Vančura <commit@vancura.dev>
This commit is contained in:
parent
3cdb1b31c7
commit
5bbd1d34eb
31
.actor/dataset_schema.json
Normal file
31
.actor/dataset_schema.json
Normal file
@ -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"]
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user