{
  "$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 <a href=\"https://www.iso.org/iso-3166-country-codes.html\">Alpha-2 ISO 3166-1</a> country code.",
      "minLength": 2,
      "maxLength": 2
    },
    "country_code3": {
      "type": "string",
      "description": "Three-letter <a href=\"https://www.iso.org/iso-3166-country-codes.html\">Alpha-3 ISO 3166-1</a> 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 <a href=\"https://www.iana.org/time-zones\">tz database</a>."
    },
    "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)."
    }
  }
}