{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cubesphere-xyz/json-schema/cubesphere-xyz-health-response-schema.json",
  "title": "HealthResponse",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cubesphere-xyz-openapi.yml#/components/schemas/HealthResponse",
  "properties": {
    "status": {
      "type": "string",
      "const": "ok",
      "title": "Status"
    },
    "service": {
      "type": "string",
      "title": "Service"
    },
    "version": {
      "type": "string",
      "title": "Version"
    },
    "db": {
      "type": "string",
      "enum": [
        "ok",
        "unavailable"
      ],
      "title": "Db",
      "description": "DB 접속 가능 여부. **unavailable 이어도 200** 이다(fail-open)."
    }
  },
  "additionalProperties": false,
  "type": "object",
  "required": [
    "status",
    "service",
    "version",
    "db"
  ]
}