{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/vertodigital-com/json-schema/vertodigital-com-readiness-check-status-schema.json",
  "title": "ReadinessCheckStatus",
  "x-generated": "2026-11-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/vertodigital-com-openapi.json#/components/schemas/ReadinessCheckStatus",
  "type": "object",
  "required": [
    "status",
    "progress"
  ],
  "properties": {
    "status": {
      "type": "string",
      "enum": [
        "queued",
        "running",
        "complete",
        "failed"
      ]
    },
    "progress": {
      "type": [
        "object",
        "null"
      ],
      "description": "Scan progress, null before the scan starts",
      "properties": {
        "step": {
          "type": "string"
        },
        "done": {
          "type": "integer"
        },
        "total": {
          "type": "integer"
        }
      }
    },
    "report_url": {
      "type": "string",
      "format": "uri",
      "description": "Present when status is complete: the report page"
    },
    "report_json_url": {
      "type": "string",
      "format": "uri",
      "description": "Present when status is complete: the report as JSON (for a comparison, GET /agent/readiness/compare/{compare_id})"
    },
    "error": {
      "type": "string",
      "description": "Present when status is failed"
    }
  }
}