Auth0 · Schema

LogLocationInfo

Information about the location that triggered this event based on the `ip`.

AI AgentsAuthenticationAuthorizationFGAIdentity ManagementMCPOAuthOktaOpenID ConnectSAMLSecuritySCIM

Properties

Name Type Description
country_code string Two-letter Alpha-2 ISO 3166-1 country code.
country_code3 string Three-letter Alpha-3 ISO 3166-1 country code.
country_name string Full country name in English.
city_name string Full city name in English.
latitude number Global latitude (horizontal) position.
longitude number Global longitude (vertical) position.
time_zone string Time zone name as found in the tz database.
continent_code string 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).
View JSON Schema on GitHub

JSON Schema

auth0-loglocationinfo-schema.json Raw ↑
{
  "$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)."
    }
  }
}