{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-catalyst-center/json-schema/cisco-catalyst-center-event-detail-response-schema.json",
  "title": "EventDetailResponse",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-catalyst-center-assuranceevents-api-openapi.yml#/components/schemas/EventDetailResponse",
  "type": "object",
  "properties": {
    "response": {
      "$ref": "#/$defs/Event"
    },
    "version": {
      "type": "string",
      "description": "Version of response object"
    }
  },
  "$defs": {
    "AssociatedAP": {
      "type": "object",
      "properties": {
        "apId": {
          "type": "string",
          "description": "AP UUID"
        },
        "apName": {
          "type": "string",
          "description": "AP Name"
        },
        "apMac": {
          "type": "string",
          "description": "AP MAC Address"
        },
        "bssid": {
          "type": "string",
          "description": "BSSID"
        },
        "rssi": {
          "type": "integer",
          "description": "RSSI",
          "format": "int32"
        },
        "type": {
          "type": "string",
          "description": "Type of the AP issue",
          "enum": [
            "Invalid IE",
            "Missing Response"
          ]
        },
        "frameType": {
          "type": "string",
          "description": "Frame Type of the AP issue"
        },
        "ies": {
          "type": "string",
          "description": "Invalid IEs for the AP"
        }
      }
    },
    "Event": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Unique identifier for the event"
        },
        "severity": {
          "type": "integer",
          "description": "Severity of the event between 0 and 6"
        },
        "name": {
          "type": "string",
          "description": "Name of the event"
        },
        "facility": {
          "type": "string",
          "description": "Facility of the event."
        },
        "mnemonic": {
          "type": "string",
          "description": "Mnemonic of the event."
        },
        "eventStatus": {
          "type": "string",
          "description": "Event status of the event. Example values are 1 (Red), 2 (Blue), 3 (Green)."
        },
        "timestamp": {
          "type": "integer",
          "description": "Timestamp of the event. The value is in terms of milliseconds since UNIX epoch",
          "format": "int64"
        },
        "wirelessClientEventStartTime": {
          "type": "integer",
          "description": "Start time of the wireless event in terms of milliseconds since UNIX epoch. This is applicable only for `Wireless Client` events.",
          "format": "int64"
        },
        "wirelessClientEventEndTime": {
          "type": "integer",
          "description": "End time of the wireless event in terms of milliseconds since UNIX epoch. This is applicable only for `Wireless Client` events.",
          "format": "int64"
        },
        "details": {
          "type": "string",
          "description": "Details for the event"
        },
        "messageType": {
          "type": "string",
          "description": "Type of the message"
        },
        "reasonDescription": {
          "type": "string",
          "description": "Failure reason description. This is applicable for `Wireless Client` , `Unified AP` and `Wired Client` events."
        },
        "subReasonDescription": {
          "type": "string",
          "description": "Sub-reason description for the wireless event. This is applicable for child `Wireless Client` events."
        },
        "siteHierarchyId": {
          "type": "string",
          "description": "Slash separated UUIDs for the site hierarchy"
        },
        "siteHierarchy": {
          "type": "string",
          "description": "Slash seperated names of the site location hierarchy"
        },
        "deviceFamily": {
          "type": "string",
          "description": "Device family"
        },
        "networkDeviceId": {
          "type": "string",
          "description": "Unique identifier of the network device. This would be:\n\n* Network device UUID for network family of events (e.g. Switches and Hubs, Routers, Wireless Controller, etc.)\n* Access point UUID for `Unified AP` family of events.\n* UUID of the connected device (e.g. switch) for `Wired Client` family of events.\n* Access point UUID for `Wireless Client` family of events.\n"
        },
        "networkDeviceName": {
          "type": "string",
          "description": "Name of the network device. This would be:\n\n* Network device name for network family of events (e.g. Switches and Hubs, Routers, Wireless Controller, etc.)\n* Access point name for `Unified AP` family of events.\n* Name of the connected device (e.g. switch) for `Wired Client` family of events.\n* Access point name for `Wireless Client` family of events.\n"
        },
        "managementIpAddress": {
          "type": "string",
          "description": "Management IP address for the network device. For `Wired Client` it is connected device IP address, and for `Wireless Client` events it is null."
        },
        "apMac": {
          "type": "string",
          "description": "MAC address of the access point. This is applicable only for `Unified AP` and `Wireless Client` events."
        },
        "apSwitchId": {
          "type": "string",
          "description": "UUID of the connected switch to which access point is connected. This is applicable only for `Unified AP` events."
        },
        "apSwitchName": {
          "type": "string",
          "description": "Name of the switch to which the access point is connected to. This is applicable only for `Unified AP` events."
        },
        "radioChannelSlot": {
          "type": "integer",
          "description": "Radio channel slot. This is applicable for `Unified AP` and `Wireless Client` events.",
          "format": "int32"
        },
        "wlcId": {
          "type": "string",
          "description": "UUID of the WLC to which access point is connected. This is applicable only for `Unified AP` and `Wireless Client` events."
        },
        "wlcName": {
          "type": "string",
          "description": "Name of the WLC to which access point is connected. This is applicable only for `Unified AP` and `Wireless Client` events."
        },
        "frequency": {
          "type": "string",
          "description": "Radio frequency for wireless connection. This is applicable only for `Unified AP` and `Wireless Client` events."
        },
        "identifier": {
          "type": "string",
          "description": "IP address or username of the client. This is applicable only for `Wired Client` and `Wireless Client` events."
        },
        "connectedInterfaceName": {
          "type": "string",
          "description": "Interface name on the network device to which the client is connected to. This is applicable only for `Wired Client` events."
        },
        "vlanId": {
          "type": "string",
          "description": "VLAN identifier. This is applicable only for `Wired Client` and `Wireless Client` events."
        },
        "clientMac": {
          "type": "string",
          "description": "MAC address of the clientt. This is applicable only for `Wired Client` and `Wireless Client` events."
        },
        "isPrivateMac": {
          "type": "boolean",
          "description": "Flag to indicate whether the client MAC address is privacy enabled or not. This is applicable only for `Wireless Client` events."
        },
        "ipv4": {
          "type": "string",
          "description": "IPv4 address of the connected client. This is applicable only for `Wired Client` and `Wireless Client` events."
        },
        "ipv6": {
          "type": "string",
          "description": "IPv6 address of the connected client. This is applicable only for `Wired Client` and `Wireless Client` events."
        },
        "ssid": {
          "type": "string",
          "description": "Wireless SSID to which the client is connected. This is applicable only for `Wireless Client` events."
        },
        "resultStatus": {
          "type": "string",
          "description": "Result for the `Wireless Client` event"
        },
        "failureCategory": {
          "type": "string",
          "description": "Category in case the `Wireless Client` event result is failure. Examples are `AAA`, `ASSOC`, `DHCP`, `OTHER`."
        },
        "failureIpAddress": {
          "type": "string",
          "description": "DHCP NAK IP address or decline IP address. This is applicable only for `Wireless Client` events."
        },
        "bssid": {
          "type": "string",
          "description": "BSSID of the access point. This is applicable only for `Wireless Client` events."
        },
        "roamType": {
          "type": "string",
          "description": "Client roam type. This is applicable only for `Wireless Client` events. Examples are `NONE`, `SLOW_11I`, `FAST_OKC`, `FAST_CCKM`, `FAST_11R`."
        },
        "username": {
          "type": "string",
          "description": "Username or MAC address of the connected client. This is applicable only for `Wireless Client` events."
        },
        "apRole": {
          "type": "string",
          "description": "Role of the access point. This is applicable only for `Wireless Client` events. Examples are `Unassociated`, `Local`, `Foreign`, `Invalid`, etc."
        },
        "assocRssi": {
          "type": "integer",
          "description": "RSSI value sent during association. This is applicable only for `Wireless Client` events.",
          "format": "int32"
        },
        "assocSnr": {
          "type": "integer",
          "description": "SNR value sent during association. This is applicable only for `Wireless Client` events.",
          "format": "int32"
        },
        "affectedClients": {
          "type": "array",
          "description": "List of affected clients in the form of \"MAC (RSSI)\". This is applicable only for `Unified AP` events.",
          "items": {
            "type": "string"
          }
        },
        "lastApResetType": {
          "type": "string",
          "description": "Last AP reset type. This is applicable only for `Unified AP` events. Examples are `Link Failure`, `Configuration Changes`, `Crash`."
        },
        "lastApDisconnectReason": {
          "type": "string",
          "description": "Last AP disconnect reason. This is applicable only for `Unified AP` events. Examples are `Post Join Timer Expired`, `Join Response Decode Failed`, `IP Address Reset`, etc."
        },
        "apRadioOperationState": {
          "type": "string",
          "description": "AP radio operation state. This is applicable only for `Unified AP` events. Examples are `Up`, `Down`."
        },
        "currentRadioPowerLevel": {
          "type": "integer",
          "description": "Current radio power level. This is applicable only for `Unified AP` events. Example - `40`.",
          "format": "int32"
        },
        "previousRadioPowerLevel": {
          "type": "integer",
          "description": "Previous radio power level. This is applicable only for `Unified AP` events. Example - `40`.",
          "format": "int32"
        },
        "newRadioChannelList": {
          "type": "string",
          "description": "List of new radio channels (comma separated). This is applicable only for `Unified AP` events."
        },
        "newRadioChannelWidth": {
          "type": "string",
          "description": "Width of new radio channels. This is applicable only for `Unified AP` events. Example - `40 MHz`"
        },
        "oldRadioChannelList": {
          "type": "string",
          "description": "List of old radio channels (comma separated). This is applicable only for `Unified AP` events."
        },
        "oldRadioChannelWidth": {
          "type": "string",
          "description": "Width of old radio channels. This is applicable only for `Unified AP` events. Example - `40 MHz`"
        },
        "radioInterference": {
          "type": "string",
          "description": "Radio interference. This is applicable only for `Unified AP` events."
        },
        "radioNoise": {
          "type": "string",
          "description": "Radio noise level. This is applicable only for `Unified AP` events."
        },
        "radioChannelUtilization": {
          "type": "string",
          "description": "Radio channel utilization in percentage. This is applicable only for `Unified AP` events."
        },
        "replacingDeviceSerialNumber": {
          "type": "string",
          "description": "Serial number of the device which is replacing the old one. This is applicable only for network device related events."
        },
        "replacedDeviceSerialNumber": {
          "type": "string",
          "description": "Serial number of the device which is being replaced. This is applicable only for network device related events."
        },
        "switchNumber": {
          "type": "string",
          "description": "Switch number in VSS. This is applicable only for network device related events."
        },
        "auditSessionId": {
          "type": "string",
          "description": "Audit session identifer for Cisco ISE event. This is applicable only for `Wired Client` events."
        },
        "authServerIp": {
          "type": "string",
          "description": "AAA server IP. This is applicable only for `Wireless Client` events."
        },
        "dhcpServerIp": {
          "type": "string",
          "description": "DHCP server IP. This is applicable only for `Wireless Client` events."
        },
        "udnId": {
          "type": "string",
          "description": "Id of UPN associated with the event. This is applicable only for `Wireless Client` events."
        },
        "udnName": {
          "type": "string",
          "description": "Name of UPN associated with the event. This is applicable only for `Wireless Client` events."
        },
        "duid": {
          "type": "string",
          "description": "Device Unique Identifier. This is applicable only for `Wireless Client` events."
        },
        "candidateAPs": {
          "type": "array",
          "description": "Candidate APs. This is applicable only for `Wireless Client` events.",
          "items": {
            "$ref": "#/$defs/AssociatedAP"
          }
        },
        "invalidIeAPs": {
          "type": "array",
          "description": "Invalid IE APs. This is applicable only for `Wireless Client` events.",
          "items": {
            "$ref": "#/$defs/AssociatedAP"
          }
        },
        "missingResponseAPs": {
          "type": "array",
          "description": "Missing Response APs. This is applicable only for `Wireless Client` events.",
          "items": {
            "$ref": "#/$defs/AssociatedAP"
          }
        },
        "childEvents": {
          "type": "array",
          "description": "List of child events for the current event. This is applicable only for `Wireless Client` events.",
          "items": {
            "$ref": "#/$defs/WirelessClientChildEvent"
          }
        }
      }
    },
    "WirelessClientChildEvent": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Unique identifier for the event"
        },
        "name": {
          "type": "string",
          "description": "Name of the event"
        },
        "timestamp": {
          "type": "integer",
          "description": "Timestamp of the event. The value is in terms of milliseconds since UNIX epoch",
          "format": "int64"
        },
        "wirelessEventType": {
          "type": "integer",
          "description": "Type of the child wireless event. Example values are 1 (Association Start), 2 (Association Done), etc. `name` attribute provides the details for this attribute.",
          "format": "int32"
        },
        "details": {
          "type": "string",
          "description": "Details for the event"
        },
        "reasonCode": {
          "type": "string",
          "description": "Reason code for either case (success or failure). Example values for failure reason codes are `1025` (Client initiated a deauthentication or disassociation), `1027` (Client has failed its Webauth session), `1029` (Client has been deleted due to a WLAN/policy profile shut, or wlan-policy map deletion), etc.\n"
        },
        "reasonDescription": {
          "type": "string",
          "description": "Failure reason description."
        },
        "subReasonCode": {
          "type": "string",
          "description": "Sub-reason code."
        },
        "subReasonDescription": {
          "type": "string",
          "description": "Sub-reason description."
        },
        "resultStatus": {
          "type": "string",
          "description": "Result for the `Wireless Client` event"
        },
        "failureCategory": {
          "type": "string",
          "description": "Category in case the `Wireless Client` event result is failure. Examples are `AAA`, `ASSOC`, `DHCP`, `OTHER`."
        }
      }
    }
  }
}