{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/fern-api/main/json-schema/fern-api-website-status-schema.json",
  "title": "WebsiteStatus",
  "x-generated": "2026-10-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fern-api-website-sources-api-openapi.yml#/components/schemas/WebsiteStatus",
  "type": "object",
  "properties": {
    "job_id": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "description": "Job status: PENDING, PROCESSING, COMPLETED, or FAILED.",
      "enum": [
        "PENDING",
        "PROCESSING",
        "COMPLETED",
        "FAILED"
      ]
    },
    "base_url": {
      "type": "string"
    },
    "pages_indexed": {
      "type": "integer",
      "description": "Count of successfully indexed pages."
    },
    "pages_failed": {
      "type": "integer",
      "description": "Count of pages that failed to index."
    },
    "error": {
      "type": [
        "string",
        "null"
      ],
      "description": "Error message if the job failed."
    }
  }
}