{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/depixapp-com/json-schema/depixapp-com-health-response-schema.json",
  "title": "HealthResponse",
  "description": "Dependency health. The HTTP status is the contract: 200 = healthy, 503 = degraded.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/depixapp-com-meta-api-openapi.yml#/components/schemas/HealthResponse",
  "type": "object",
  "required": [
    "status",
    "turso",
    "redis",
    "schema",
    "timestamp"
  ],
  "additionalProperties": false,
  "properties": {
    "status": {
      "type": "string",
      "enum": [
        "ok",
        "degraded"
      ],
      "description": "\"ok\" when every dependency check passed, \"degraded\" otherwise (mirrors the HTTP status)."
    },
    "turso": {
      "type": "boolean",
      "description": "Database reachability."
    },
    "redis": {
      "type": "boolean",
      "description": "Rate-limit store reachability."
    },
    "schema": {
      "type": "boolean",
      "description": "Schema migration probe."
    },
    "timestamp": {
      "type": "string",
      "description": "Server time (ISO 8601)."
    }
  }
}