The Geo Location object describes a geographical location, usually associated with an IP address. Defined by D3FEND d3f:PhysicalLocation.
Attributes
Section titled “Attributes”city
- Type:
string_t - Requirement: recommended
The name of the city.
continent
- Type:
string_t - Requirement: recommended
The name of the continent.
coordinates
- Type:
float_t - Requirement: recommended
A two-element array, containing a longitude/latitude pair. The format conforms with GeoJSON. For example: [-73.983, 40.719].
country
- Type:
string_t - Requirement: recommended
The ISO 3166-1 Alpha-2 country code. For the complete list of country codes see ISO 3166-1 alpha-2 codes.
Note: The two letter country code should be capitalized. For example: US or CA.
desc
- Type:
string_t - Requirement: optional
The description of the geographical location.
is_on_premises
- Type:
boolean_t - Requirement: optional
The indication of whether the location is on premises.
isp
- Type:
string_t - Requirement: optional
The name of the Internet Service Provider (ISP).
postal_code
- Type:
string_t - Requirement: optional
The postal code of the location.
provider
- Type:
string_t - Requirement: optional
The provider of the geographical location data.
region
- Type:
string_t - Requirement: optional
The alphanumeric code that identifies the principal subdivision (e.g. province or state) of the country. Region codes are defined at ISO 3166-2 and have a limit of three characters. For example, see the region codes for the US.
Constraints
Section titled “Constraints”At least one of: coordinates, city, country, postal_code, region