{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/byteask-ai/json-schema/byteask-ai-status-schema.json",
  "title": "Status",
  "x-generated": "2026-11-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/byteask-ai-api-openapi.json#/components/schemas/Status",
  "type": "object",
  "required": [
    "state",
    "fetched_at"
  ],
  "properties": {
    "state": {
      "type": "string",
      "enum": [
        "operational",
        "degraded",
        "partial",
        "major",
        "maintenance",
        "unknown"
      ],
      "description": "`partial` means some services are down, `major` means all are."
    },
    "fetched_at": {
      "type": "string",
      "format": "date-time"
    }
  }
}