{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-voice-portal/json-schema/cisco-voice-portal-connectivity-status-schema.json",
  "title": "ConnectivityStatus",
  "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/ConnectivityStatus",
  "type": "object",
  "properties": {
    "timestamp": {
      "type": "string",
      "format": "date-time"
    },
    "connections": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "component": {
            "type": "string",
            "enum": [
              "ICM",
              "CUCM",
              "VXMLServer",
              "ReportingServer",
              "MediaServer"
            ]
          },
          "hostname": {
            "type": "string"
          },
          "ipAddress": {
            "type": "string"
          },
          "port": {
            "type": "integer"
          },
          "status": {
            "type": "string",
            "enum": [
              "connected",
              "disconnected",
              "timeout",
              "error"
            ]
          },
          "latency": {
            "type": "integer",
            "description": "Connection latency in milliseconds"
          },
          "lastSuccessfulContact": {
            "type": "string",
            "format": "date-time"
          }
        }
      }
    }
  }
}