Model Definition
Model Definition
1. UAV Model
The UAV model defines the structure and attributes of an Unmanned Aerial Vehicle (UAV) as submitted to the /v1/uav endpoint.
| Field | Type | Required | Description |
|---|---|---|---|
id |
string | Yes | The unique identifier of the UAV. |
latitude |
double | Yes | Latitude in decimal degrees. |
longitude |
double | Yes | Longitude in decimal degrees. |
altitude |
int | Yes | Altitude of the UAV in meters (GPS AMSL). Value "-9999" means unknown. |
last_update |
long | Yes | Time of the event in seconds since epoch (UTC-0). |
status |
string | No | Current status: INACTIVE, AIRBORNE, GROUNDED. |
2. Beacon Model
The Beacon model represents all detected aircraft in the vicinity.
| Field | Type | Required | Description |
|---|---|---|---|
id |
string | Yes | The unique identifier of the beacon. |
ground_speed |
int | Yes | Current ground speed in meters per second. |
beacon_type |
string | No | Values: GLIDER, HELICOPTER, UAV, JET, etc. |
operation_area |
GeoJson | No | Polygon for the area of operation (Advisories only). |