JSON_EventNotificationAlert_RealTimeQueueManagementDataMsg

JSON message about details of real-time regional people queuing-up alarm

{
  "ipAddress": "",
/*required, string, IPv4 address of alarm device, the maximum value size is 32 bytes, e.g., 172.6.64.7*/
  "ipv6Address": "",
/*required, string, IPv6 address of alarm device, the maximum value size is 128 bytes*/
  "portNo": ,
/*optional, integer32, port No. of alarm device*/
  "protocol": "",
/*optional, string, protocol type: "HTTP"-for device network SDK, "HTTPS", "EHome"-for ISUP SDK; the maximum value size is 32 bytes*/
  "macAddress": "",
/*optional, string, MAC address, the maximum value size is 32 bytes, e.g., 01:17:24:45:D9:F4*/
  "channelID": ,
/*optional, integer32, No. of alarm triggered channel*/
  "releatedChannelList": [1,2,3],
/*optional, array of integers, list of alarm related channels, which are of the same camera with channelID; this parameter is used for live view or playback on the platform*/
  "dateTime": "",
/*required, string, alarm triggered time (ISO 8601 format), the maximum value size is 32 bytes, e.g., 2004-05-03T17:30:08+08:00*/
  "activePostCount": ,
/*required, integer32, uploaded times of one alarm*/
  "eventType": "",
/*required, string, occurred event type, here it should be set to "personQueueRealTime", and the maximum value size is 128 bits*/
  "eventState": "",
  "eventDescription": "",
/*see the description of above nodes in JSON_EventNotificationAlert_Alarm/EventInfo*/
  "deviceID": "",
/*optional, device ID (PUID), which is returned in the alarm based on ISUP (Intelligent Security Uplink Protocol)*/
  "PersonQueueRealTimeData": {
/*real-time information of queue management*/
    "targetID": ,
/*required, integer type, target ID*/
    "ruleID": ,
/*required, integer type, rule ID*/
    "personState": "",
/*required, string type, people status: "enter"-region entrance, "leave"-region exiting*/
    "waitTime": ,
/*dependent, integer32 type, actual waiting time, this node is valid only when personState is "leave", whose value is between 0 and 3600s*/
    "peopleNum": ,
/*required, integer type, total number of people in this region*/
    "enterTime": ""
/*dependent, target entered time, which is in ISO8601 time format, this node is valid only when personState is "leave"*/
  }
}