{
"violations": 6, //The number of Distance Tracking violations for this device
"closeDevices": 2, //The number of unique devices that were associated with this device's Distance Trcking violations
"recent": [
//Each entry is an hourly report of the number Distance Tracking violations for this device
{
"interval": "HOURLY",
"timestamp": "2020-07-17T12:00:00Z", //ISO8601 RFC3339Nano
"violations": 1
},
{
"interval": "HOURLY",
"timestamp": "2020-07-17T11:00:00Z",
"violations": 4
},
{
"interval": "HOURLY",
"timestamp": "2020-07-17T10:00:00Z",
"violations": 1
}
],
"contacts": [
//Each entry is a report of a Contact Event (either DISTANCE for Distance Violations or GEOFENCE for a shared geofence with another device at this time)
{
"deviceId": "8445671781542985407", //The Bluzone deviceId of the device associated with this contact event
"deviceName": "My Device", //The name of the device in Bluzone
"contactType": "GEOFENCE", //Type of contact (DISTANCE or GEOFENCE)
"locationName": "BluFi062", //The name of the Bluzone geofence
"locationId": "125303", //The Bluzone locationId
"floor": "1", //The configured floor value of the Bluzone location
"lastContact": "2020-07-17T04:19:33.809Z", //Last contact time with the associated device (ISO8601 RFC3339Nano)
"durationMillis": 11873 //The total time of this contact event, in milliseconds
}, {
"deviceId"contactStart": "178959401445744065722020-07-17T04:19:21.936Z", //The start time of this contact "contactType": "GEOFENCE",event (ISO8601)
"locationNameuuid": "BluFi062d3a422b0-5db3-4189-62ed-45b6d858ecf1", //For DISTANCE events, the UUID of the "locationId": "125303",
"floor": "1",
close session. For GEOFENCE events, the UUID of the corresponding policy event
"lastContact": "2020-07-17T04:19:33.809Z",
"durationMillis": 11873
},
{latitude": 15.139619643472987, //For DISTANCE events, the latitude of the last known RTLS location of the source beacon at the time this event was created
"longitude": 57.13328996474993 //For DISTANCE events, the longitude of the last known RTLS location of the source beacon at the time this event was created
},
{
"deviceId": "17895940144574406572",
"deviceName": "My Other Device", //The name of the device in Bluzone
"contactType": "GEOFENCE",
"locationName": "BluFi062",
"locationId": "125303",
"floor": "1",
"lastContact": "2020-07-17T04:19:33.809Z",
"durationMillis": 11873,
"contactStart": "2020-07-17T04:19:21.936Z", //The start time of this geofence event (ISO8601)
"uuid": "d3a422b0-5db3-4189-62ed-45b6d858ecf1", //For DISTANCE events, the UUID of the close session. For GEOFENCE events, the UUID of the corresponding policy event
"latitude": 15.139619643472987, //The latitude of the last known RTLS location of the source beacon at the time this event was created
"deviceIdlongitude": "17895940144574406572"57.13328996474993, //The longitude of the last known RTLS location of "contactType": "GEOFENCE",
"locationName": "BluFi062",the source beacon at the time this event was created
"locationIdgeofenceId": "125303"2, //The ID of the geofence "floor": "1",in Bluzone
"lastContactgeofenceName": "2020-07-17T13:30:17.532Z",
"durationMillis": 11873My Geofence" //The Name of the geofence in Bluzone
}
]
} |