{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-voice-portal/json-schema/cisco-voice-portal-health-status-schema.json",
  "title": "HealthStatus",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-voice-portal-health-api-openapi.yml#/components/schemas/HealthStatus",
  "type": "object",
  "properties": {
    "serverName": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "enum": [
        "healthy",
        "degraded",
        "unhealthy"
      ]
    },
    "uptime": {
      "type": "string",
      "description": "Server uptime duration"
    },
    "version": {
      "type": "string"
    },
    "activeCalls": {
      "type": "integer"
    },
    "maxCalls": {
      "type": "integer",
      "description": "Maximum concurrent call capacity"
    },
    "sipStackStatus": {
      "type": "string",
      "enum": [
        "running",
        "stopped",
        "error"
      ]
    },
    "cpuUsage": {
      "type": "number",
      "format": "float"
    },
    "memoryUsage": {
      "type": "number",
      "format": "float"
    },
    "timestamp": {
      "type": "string",
      "format": "date-time"
    }
  }
}