Location Schema
Describes a point on Earth
Example
{ "lat": 40.7128, "lon": -74.006, "name": "New York", "admin": "New York", "country": "United States", "iso2": "US", "timezone": "America/New_York" }
Attributes
-
lat
numberLatitude in decimal degrees
Min:
-90Max:90Example:
40.7128 -
lon
numberLongitude in decimal degrees
Min:
-180Max:180Example:
-74.006 -
name
stringCity or locality name
Example:
New York -
admin
stringAdministrative region (e.g. state or province)
Example:
New York -
country
stringFull country name
Example:
United States -
iso2
stringISO 3166-1 alpha-2 country code
Example:
US -
timezone
stringIANA timezone identifier
Example:
America/New_York