{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/fortify/main/json-schema/fortify-health-response-schema.json",
  "title": "HealthResponse",
  "description": "System health status",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fortify-system-api-openapi.yml#/components/schemas/HealthResponse",
  "type": "object",
  "properties": {
    "status": {
      "type": "string",
      "description": "Overall health status",
      "enum": [
        "Healthy",
        "Degraded",
        "Unhealthy"
      ]
    },
    "checks": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Health check name"
          },
          "status": {
            "type": "string",
            "description": "Check status"
          },
          "description": {
            "type": "string",
            "description": "Check description"
          }
        }
      }
    }
  }
}