{
  "id": "api_extract_file_async",
  "description": "Tests async file extraction API (extract_file)",
  "tags": ["contract", "api"],
  "input": {
    "path": "pdf/fake_memo.pdf"
  },
  "assertions": [
    {
      "type": "equals",
      "field": "mime_type",
      "value": "application/pdf"
    },
    {
      "type": "min_length",
      "field": "content",
      "value": 10
    },
    {
      "type": "contains_any",
      "field": "content",
      "values": ["May 5, 2023", "Mallori"]
    }
  ],
  "skip": {
    "languages": ["wasm"],
    "reason": "WASM uses synchronous-only API; async extraction is not available on the wasm target"
  }
}
