{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/commsharbor/json-schema/commsharbor-health-schema.json",
  "title": "Health",
  "description": "Liveness and the commit currently serving. Smoke tests wait for their own deploy here instead of racing edge propagation.",
  "x-generated": "2026-11-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/commsharbor-health-api-openapi.yml#/components/schemas/Health",
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean",
      "description": "Always true when the Worker answers."
    },
    "app": {
      "type": "string",
      "description": "Product name."
    },
    "build": {
      "type": "string",
      "description": "Deployed commit; CI passes the short SHA at deploy time."
    },
    "environment": {
      "type": "string",
      "description": "Which environment answered."
    },
    "timestamp": {
      "type": "string",
      "description": "Response time (UTC, ISO-8601)."
    }
  },
  "required": [
    "ok",
    "app",
    "build",
    "environment",
    "timestamp"
  ]
}