diff --git a/swagger/sdrangel/api/swagger/include/Map.yaml b/swagger/sdrangel/api/swagger/include/Map.yaml index b1d5cdb36..f1f7589ea 100644 --- a/swagger/sdrangel/api/swagger/include/Map.yaml +++ b/swagger/sdrangel/api/swagger/include/Map.yaml @@ -193,6 +193,9 @@ MapItem: type: integer aircraftState: $ref: "http://swgserver:8081/api/swagger/include/Map.yaml#/MapAircraftState" + loopSound: + description: "Sound to loop while the item is on the 3D map, spatially located at the item. Either the name of an engine sound set (cfm, v2500, 777, 787, A380, jet), whose -n1/-n2/-idle recordings the map layers and mixes by phase of flight, or an audio file name from the Map's audio directory (e.g. helicopter.wav). Empty for none" + type: string MapAnimation: description: "Animation to play in the model on the 3D map" @@ -227,6 +230,9 @@ MapAnimation: stop: description: "Stop a looped animation from playing" type: integer + sound: + description: "Audio file to play when the animation starts (from the Map's audio directory, e.g. A320_gear.wav), spatially located at the map item. Empty for none" + type: string MapCoordinate: description: "A map coordinate" @@ -330,4 +336,70 @@ MapAircraftState: staticAirTemperature: type: number format: float - + flightPlan: + $ref: "http://swgserver:8081/api/swagger/include/Map.yaml#/MapFlightPlan" + datalinkMessage: + $ref: "http://swgserver:8081/api/swagger/include/Map.yaml#/MapDatalinkMessage" + +MapDatalinkMessage: + description: "Datalink ATC message (CPDLC / pre-departure clearance / oceanic clearance), shown on the Map's DCDU" + properties: + id: + description: "Sequence number, incremented for each message for an aircraft" + type: integer + received: + description: "Date and time the message was received (ISO 8601 extended format)" + type: string + uplink: + description: "1 ground to air, 0 air to ground" + type: integer + station: + description: "Ground station / ATC facility, e.g. EDDS. Empty if unknown" + type: string + text: + type: string + +MapFlightPlan: + description: "Flight plan / cleared route, drawn on the Map's ND (Navigation Display)" + properties: + departure: + description: "ICAO of departure airport" + type: string + arrival: + description: "ICAO of arrival airport" + type: string + arrivalRunway: + description: "Arrival runway, e.g. 27R. Empty if unknown" + type: string + approach: + description: "Arrival approach procedure as filed, e.g. ILSY01R. Empty if unknown" + type: string + activeWaypoint: + description: "Index in to waypoints of the waypoint being flown to, -1 if unknown" + type: integer + waypoints: + type: array + items: + $ref: "http://swgserver:8081/api/swagger/include/Map.yaml#/MapRouteWaypoint" + +MapRouteWaypoint: + description: "A waypoint of a flight plan, for the Map's ND (Navigation Display)" + properties: + name: + type: string + latitude: + description: "Latitude in decimal degrees, positive to the North. NaN if the waypoint could not be placed" + type: number + format: float + longitude: + description: "Longitude in decimal degrees, positive to the East. NaN if the waypoint could not be placed" + type: number + format: float + altitude: + description: "Expected or constrained altitude at this waypoint in feet. NaN if unknown" + type: number + format: float + eta: + description: "Estimated time over this waypoint (ISO 8601 extended format). Empty if unknown" + type: string +