Files
fil/fixtures/contract/config_document_structure_with_headings.json

38 lines
810 B
JSON
Raw Permalink Normal View History

2026-06-01 23:40:55 +02:00
{
"id": "config_document_structure_with_headings",
"description": "Tests document structure with DOCX heading-driven nesting",
"tags": [
"contract",
"document_structure"
],
"call": "extract_file_sync",
"input": {
"path": "docx/fake.docx",
"config": {
"include_document_structure": true
}
},
"assertions": [
{
"type": "equals",
"field": "mime_type",
"value": "application/vnd.openxmlformats-officedocument.wordprocessingml.document"
},
{
"type": "not_empty",
"field": "document"
},
{
"type": "count_min",
"field": "document.nodes",
"value": 1
}
],
"skip": {
"languages": [
"wasm"
],
"reason": "WASM cannot access filesystem; use extractBytes with file content instead"
}
}