Files
fil/fixtures/contract/config_document_structure_with_headings.json
Henrik Jess Nielsen b4c07d3693
All checks were successful
Deploy fil (kreuzberg) / deploy (push) Successful in 49s
Nomad changes
2026-06-01 23:40:55 +02:00

38 lines
810 B
JSON

{
"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"
}
}