contents
1{
2 "location": {
3 "latitude": 37.7749,
4 "longitude": -122.4194,
5 "altitude": 24.7,
6 "accuracy": 10.0,
7 "timestamp": "2022-03-10T10:10:00Z"
8 }
9}
This IoT Location Response json is an example response of an API, which returns the current location of an IoT device, including its latitude, longitude, altitude, and accuracy, along with a timestamp indicating when the location was last updated. This json information can be used for a variety of purposes, such as tracking the movement of a vehicle or monitoring the location of a valuable asset.
This blog offers a JSON description of an IoT location as an example. The json example specifies the location using the longitude and latitude coordinates and a timestamp to show when the location was recorded.
To link the location to a particular device, the JSON format also contains a device ID. The json sample also contains a metadata field that is optional and can be used to store additional location-related data.