{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/LogLocationInfo",
"title": "LogLocationInfo",
"type": "object",
"description": "Information about the location that triggered this event based on the `ip`.",
"additionalProperties": true,
"properties": {
"country_code": {
"type": "string",
"description": "Two-letter Alpha-2 ISO 3166-1 country code.",
"minLength": 2,
"maxLength": 2
},
"country_code3": {
"type": "string",
"description": "Three-letter Alpha-3 ISO 3166-1 country code.",
"minLength": 3,
"maxLength": 3
},
"country_name": {
"type": "string",
"description": "Full country name in English."
},
"city_name": {
"type": "string",
"description": "Full city name in English."
},
"latitude": {
"type": "number",
"description": "Global latitude (horizontal) position."
},
"longitude": {
"type": "number",
"description": "Global longitude (vertical) position."
},
"time_zone": {
"type": "string",
"description": "Time zone name as found in the tz database."
},
"continent_code": {
"type": "string",
"description": "Continent the country is located within. Can be `AF` (Africa), `AN` (Antarctica), `AS` (Asia), `EU` (Europe), `NA` (North America), `OC` (Oceania) or `SA` (South America)."
}
}
}