{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/isgenai/json-schema/isgenai-health-schema.json",
  "title": "Health",
  "description": "Liveness response only. This does not verify optional provider readiness or guarantee capacity for a check.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/isgenai-health-api-openapi.yml#/components/schemas/Health",
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean",
      "const": true
    },
    "service": {
      "type": "string",
      "enum": [
        "isgenai"
      ]
    },
    "release": {
      "type": [
        "string",
        "null"
      ],
      "pattern": "^[a-f0-9]{40}$",
      "description": "Deployment commit when a valid release identifier is configured; otherwise null."
    },
    "generated_at": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "ok",
    "service",
    "release",
    "generated_at"
  ]
}