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. This is your UAV telemetry you are submitting to SafeSky.
| 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 "-9999" means unknown. |
|
long |
||
| | ||
| | ||
| | ||
| | ||
status |
string |
No | INACTIVE, AIRBORNE, GROUNDED. |
| | ||
| | ||
| | ||
| |
2. Beacon Model
The Beacon model definesrepresents all detected aircraft in the structure of an aircraft beacon as provided by SafeSky. This is the traffic as returned by SafeSky.vicinity.
| Field | Type | Required | Description |
|---|---|---|---|
id |
string |
Yes | The unique identifier of the beacon. |
| | ||
| | ||
| | ||
ground_speed |
int |
Yes | Current ground speed |
|
| ||
| string |
No | |
| | ||
| | GLIDER, HELICOPTER, UAV, JET, etc. |
|
operation_area |
GeoJson |
No | | operation
| |
Example Payload:
[
{
"latitude": 50.70716,
"longitude": 4.36613,
"accuracy": 3645,
"call_sign": "ADVISORY TEST",
"transponder_type": "ADVISORY",
"last_update": 1764171645,
"altitude": 111,
"remarks": "Inspection powerlines",
"status": "AIRBORNE",
"beacon_type": "UAV",
"id": "my_advisory_id1"
}
]