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 (Req) | Type | Description | |
|---|---|---|---|
id (Yes) |
string | The unique identifier of the UAV. | |
latitude (Yes) |
double | Latitude in decimal degrees. | |
longitude (Yes) |
double | Longitude in decimal degrees. | |
altitude (Yes) |
int | Altitude - means unknown. |
|
altitude_accuracy |
int | Accuracy level of the altitude coordinate in meters. | |
accuracy |
int | Accuracy level of the |
|
call_sign |
string | UAV call-sign. | |
ground_speed |
int | Current ground speed |
|
course |
int | Direction of |
|
status |
string |
INACTIVE, AIRBORNE, GROUNDED. |
|
last_update (Yes) |
long |
||
turn_rate |
float | Turn rate in degrees per second. | |
vertical_rate |
int | Vertical rate |
|
icao24 |
string | Unique ICAO 24-bit address |
2. Beacon Model
The Beacon model defines the structure of an aircraft beacon,beacon as provided by SafeSky, to represent and describe all detected aircraft in the vicinity.
This is the traffic returned by SafeSky.
| Field (Req) | Type | Description | |
|---|---|---|---|
id (Yes) |
string | The unique identifier of the beacon. | |
latitude (Yes) |
double | Latitude in decimal degrees. | |
longitude (Yes) |
double | Longitude in decimal degrees. | |
altitude (Yes) |
int | Altitude | |
| |||
| |||
| |||
ground_speed (Yes) |
int | Current ground speed |
|
course (Yes) |
int | Direction of |
|
status |
string |
INACTIVE, AIRBORNE, GROUNDED. |
|
last_update (Yes) |
long |
||
| |||
| |||
beacon_type |
string |
(e.g., GLIDER, HELICOPTER, UAV, JET). |
|
operation_area |
GeoJson |
|
|
remarks |
string | Free text comment when applicable. |
Example Example
Payload
[
{
"id": "my_advisory_id1",
"latitude": 58.88228,50.70716,
"longitude": 5.51642,
"vertical_rate": 0,
"accuracy": 0,
"call_sign": "NOR303",
"transponder_type": "ADS-B",
"last_update": 1764171642,4.36613,
"altitude": 283,111,
"altitude_accuracy"ground_speed": 0,
"course": 63,0,
"ground_speed"last_update": 71,1764171645,
"turn_rate"beacon_type": 0.06,"UAV",
"status": "AIRBORNE",
"beacon_type"remarks": "HELICOPTER",Inspection "id": "478757"
},
{
"latitude": 50.72218,
"longitude": 4.615,
"vertical_rate": 0,
"accuracy": 0,
"call_sign": "LGL4EW",
"transponder_type": "ADS-B",
"last_update": 1764171642,
"altitude": 6362,
"altitude_accuracy": 0,
"course": 108,
"ground_speed": 168,
"turn_rate": -0.06,
"status": "AIRBORNE",
"beacon_type": "MOTORPLANE",
"id": "4D00C9"
},
{
"latitude": 50.69378,
"longitude": 4.39201,
"vertical_rate": 5,
"call_sign": "TEST UAV",
"transponder_type": "ADS-BI",
"last_update": 1764171644,
"altitude": 110,
"course": 250,
"ground_speed": 10,
"status": "AIRBORNE",
"beacon_type": "UAV",
"id": "my_uav_001_l2TZ"powerlines"
}
]