{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/abbyseo-com/json-schema/abbyseo-com-scan-queued-schema.json",
  "title": "ScanQueued",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/abbyseo-com-openapi.json#/components/schemas/ScanQueued",
  "type": "object",
  "properties": {
    "scan_id": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "enum": [
        "pending",
        "scanning",
        "complete",
        "error",
        "failed"
      ],
      "description": "Scan lifecycle state. Terminal: `complete` (worker finished), `error` (terminated with an unrecoverable fetch failure, set by the leadforge prescan path), `failed` (worker couldn't even start, e.g. Redis push exception). Non-terminal: `pending`, `scanning`. POST /api/scan always returns `pending`."
    },
    "url": {
      "type": "string",
      "format": "uri"
    },
    "status_url": {
      "type": "string",
      "format": "uri",
      "description": "Poll this URL until status is `complete`."
    },
    "results_url": {
      "type": "string",
      "format": "uri",
      "description": "GET this URL once status is `complete` for full findings."
    },
    "report_url": {
      "type": "string",
      "format": "uri",
      "description": "Human-readable HTML report URL for the end user."
    }
  }
}