{
  "id": "config_element_types",
  "description": "Tests element-based result format with element type assertions on DOCX",
  "tags": [
    "contract",
    "config",
    "result_format"
  ],
  "call": "extract_file_sync",
  "input": {
    "path": "docx/unit_test_headers.docx",
    "config": {
      "result_format": "element_based"
    }
  },
  "assertions": [
    {
      "type": "contains_any",
      "field": "mime_type",
      "values": [
        "application/vnd.openxmlformats-officedocument.wordprocessingml.document"
      ]
    },
    {
      "type": "count_min",
      "field": "elements",
      "value": 1
    }
  ],
  "skip": {
    "languages": [
      "wasm"
    ],
    "reason": "WASM cannot access filesystem; use extractBytes with file content instead"
  }
}
