{
  "id": "config_pages",
  "description": "Tests page extraction and page marker configuration",
  "tags": [
    "contract",
    "config"
  ],
  "call": "extract_file_sync",
  "input": {
    "path": "pdf/fake_memo.pdf",
    "config": {
      "pages": {
        "extract_pages": true,
        "insert_page_markers": true
      }
    }
  },
  "assertions": [
    {
      "type": "equals",
      "field": "mime_type",
      "value": "application/pdf"
    },
    {
      "type": "min_length",
      "field": "content",
      "value": 10
    },
    {
      "type": "contains_any",
      "field": "content",
      "values": [
        "PAGE"
      ]
    }
  ],
  "skip": {
    "languages": [
      "wasm"
    ],
    "reason": "WASM cannot access filesystem; use extractBytes with file content instead"
  }
}
