Usage
A location represents an address or another known GPS position.
Definition
Field |
Type |
Description |
(M)andatory / (O)ptional |
Default Value (If Optional) |
---|---|---|---|---|
Street |
String(200) |
Street name | O |
null |
StreetNumber |
String(50) |
Street number | O |
null |
StreetSupplement |
String(200) |
Supplement, e.g. Building | O |
null |
Zip |
String(200) |
Zip code | M |
|
City |
String(200) |
City name | M |
|
CountryIsoCode |
String(2) |
Official ISO-Code of country, e.g. US | M |
|
Latitude |
float |
GPS Coordinate | O |
Calculated-Automatically |
Longitude |
float |
GPS Coordinate |
O |
Calculated-Automatically |
Example
{ "Street": "Main Street", "StreetNumber": "12/13", "StreetSupplement": "Building A", "Zip": "3006", "City": "Bern", "CountryIsoCode": "CH", "Latitude": 42.1232, "Longitude": 7.1233 }