Zone Category Events

Type Description
ZONE_ENTRY Indicates a device has entered a Zone
object
ZoneID
string

ID of the triggered Zone.

ZoneName
string

Name of the triggered Zone.

AlertLevel
integer >= 0

Alert level of the condition that was triggered.

CollisionID
string

ID of the collision event.

{
  • "Content": {
    }
}
Type Description
ZONE_EXIT Indicates a device has exited a Zone
object
ZoneID
string

ID of the triggered Zone.

ZoneName
string

Name of the triggered Zone.

AlertLevel
integer >= 0

Alert level of the condition that was triggered.

CollisionID
string

ID of the collision event.

{
  • "Content": {
    }
}
Type Description
ZONE_NOTIFY Notifies a state change has occured to the following zone with its update definition
object
object (Zone)
SiteID
string

The configured SiteID within the system settings.

ZoneID
string

GUID representing a specific zone definition.

Name
string

Friendly-name for a specific zone definition. Any JSON string is valid.

GeometryType
string

Specifies the shape of the Zone, which also dictates how the GeometryData is interpreted. 2D shapes extend infinitely to all positive and negative Z-coordinate values.

Enum: "sphere" "circle" "cuboid" "square" "cylinder" "polygon"
GeometryData
Array of integers non-empty

The schema for GeometryData depends on the GeometryType according to the following table:

GeometryType GeometryData
sphere [[center_point],[radius,0,0]]
circle [[center_point],[radius,0,0]]
cuboid [[origin],[length,width,height],[axis_l],[axis_w],[axis_h]]
square [[bottom_left],[length,width,0],[axis_l_x, axis_l_y, 0],[axis_w_x, axis_w_y, 0]]
cylinder [[origin],[axis],[height,radius,0]]
polygon [[vertex 1],[vertex 2],...[vertex N],[height,0,0],[axis]]
MobileOriginSource
string

The MAC address of the device to attach this zone's centre to, allowing the zone to become a moving centroid with latest device position as its centre.

Array of objects (CollidingDevices)

List of devices that are currently colliding with the zone

AlertLevel
integer

Indicates the numeric alert level of the zone from the lowest priority (0) to the highest priority (+inf). This value determines what types of actions are taken on triggering, ranging from a site-wide alarm, device-level alarm, or a logged-only alarm.

Active
boolean
Default: true

Indicates whether the Zone is active or inactive. If a Zone is inactive, it will not cause any alarms even if devices enter the zone.

InclusionPolicy
string
Default: "all"

Specifies the default inclusion policy for devices which may trigger this zone. If set to all, any device that is not listed in the DeviceList is able to trigger the zone. If set to none, only devices listed in the DeviceList may trigger the zone.

Enum: "all" "none"
DeviceList
Array of strings

If InclusionPolicy is set to all, any device that is not listed in this list is able to trigger the zone. If InclusionPolicy to none, only devices listed in this list may trigger the zone.

Array of objects (ZoneAction)
IsGeometryLocked
boolean
Default: false

Indicates if the geometry modification of this zone is locked or not. When locked, changes to the geometry data are disabled.

IsTimed
boolean
Default: false

Indicates if the zone is a timed zone. If set, the StartTime and StopTime will be used to dictate when the zone is active.

StartTime
string <date-time>

The date and time indicating the start of the timed zone active timeframe. Only used when the IsTimed boolean is set to true.

StopTime
string <date-time>

The date and time indicating the end of the timed zone active timeframe. Only used when the IsTimed boolean is set to true.

StateChange
string

Indicate the type of state change that had occurred.

Enum: "Add" "Delete" "Modify"
{
  • "Content": {
    }
}