GeofenceResponse
Schema for geofence response.
Supports all geometry types (PRD §3.1):
- Polygon: Standard GeoJSON Polygon
- MultiPolygon: Collection of polygons
- Circle: Custom format with center and radius_meters
description objectrequired
- string
- null
geometry objectrequired
GeoJSON geometry (Polygon, MultiPolygon, or Circle)
- GeoJSONPolygon
- GeoJSONMultiPolygon
- GeoJSONCircle
Possible values: Value must match regular expression ^Polygon$
Logical geometry type: Polygon, MultiPolygon, or Circle
Possible values: [Polygon, MultiPolygon, Circle]
radius_meters object
Circle radius in meters (only for Circle type)
- number
- null
webhook_url objectrequired
- string
- null
metadata objectrequired
group_id objectrequired
- string
- null
group_name objectrequired
- string
- null
source object
How this geofence was created: 'draw' (manual), 'address' (geocoded), or 'building' (footprint upgrade).
- string
- null
Possible values: [draw, address, building]
address object
Raw address as entered by the user (address-source only).
- string
- null
buffer_meters object
Buffer radius in meters used to generate the polygon (address-source only).
- integer
- null
Whether the geofence is archived (hidden from default list and map).
falsepoint object
[longitude, latitude] of the geocoded address point (address-source only).
- number[]
- null
Names of tags attached to this geofence (case as originally entered).
source_id object
Building identifier from the geometry source (building-source only).
- string
- null
pre_upgrade_geometry object
GeoJSON snapshot of geometry before building-footprint upgrade (building-source only).
- object
- null
building_provenance object
Versioned provenance metadata from the building geometry source (building-source only).
- object
- null
{
"created_at": "2025-10-01T12:00:00Z",
"description": "Primary loading dock perimeter",
"geometry": {
"coordinates": [
[
[
-74.006,
40.7128
],
[
-74.006,
40.7138
],
[
-74.005,
40.7138
],
[
-74.005,
40.7128
],
[
-74.006,
40.7128
]
]
],
"type": "Polygon"
},
"geometry_type": "Polygon",
"group_id": "g1h2i3j4-k5l6-7890-mnop-qr1234567890",
"group_name": "NYC Warehouses",
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"is_active": true,
"metadata": {
"zone_type": "loading_dock"
},
"name": "Warehouse Zone A",
"radius_meters": null,
"updated_at": "2025-10-01T12:00:00Z",
"webhook_events": [
"enter",
"exit"
],
"webhook_url": "https://example.com/webhooks/geofence-events"
}