{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/1clickwebsite-ai/json-schema/1clickwebsite-ai-site-status-schema.json",
  "title": "SiteStatus",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/1clickwebsite-ai-openapi.json#/components/schemas/SiteStatus",
  "type": "object",
  "properties": {
    "status": {
      "type": "string",
      "enum": [
        "queued",
        "provisioning",
        "live",
        "enhancing",
        "complete",
        "failed"
      ]
    },
    "currentStep": {
      "type": [
        "string",
        "null"
      ]
    },
    "progressPct": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100
    },
    "previewUrl": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri"
    },
    "adminUrl": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri"
    },
    "warnings": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "error": {
      "type": [
        "string",
        "null"
      ]
    },
    "liveAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "enhancingStartedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "completedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "enhancementError": {
      "type": [
        "string",
        "null"
      ]
    },
    "creditRefunded": {
      "type": "boolean"
    }
  }
}