City or logistics location information returned when the timezone lookup is performed using a UN/LOCODE. UN/LOCODE is a five-character identifier consisting of a two-letter country code followed by a three-character location identifier.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/ipgeolocation/refs/heads/main/json-schema/timezone-locode-details-schema.json",
"title": "LocodeDetails",
"description": "City or logistics location information returned when the timezone\nlookup is performed using a UN/LOCODE.\n\nUN/LOCODE is a five-character identifier consisting of a two-letter\ncountry code followed by a three-character location identifier.\n",
"type": "object",
"properties": {
"lo_code": {
"type": "string",
"description": "UN/LOCODE representing the city or logistics location.",
"example": "DEBER"
},
"city": {
"type": "string",
"description": "Name of the city associated with the UN/LOCODE.",
"example": "Berlin"
},
"state_code": {
"type": "string",
"description": "State or region code of the location.",
"example": "BE"
},
"country_code": {
"type": "string",
"description": "ISO 3166-1 alpha-2 country code.",
"example": "DE"
},
"country_name": {
"type": "string",
"description": "Name of the country where the location exists.",
"example": "Germany"
},
"location_type": {
"type": "string",
"description": "Type of facilities available at the location such as port,\nrail terminal, road terminal, airport, or postal exchange.\n",
"example": "Port, Rail Terminal, Road Terminal, Airport, Postal Exchange"
},
"latitude": {
"type": "string",
"description": "Latitude coordinate of the location.",
"example": "52.51667"
},
"longitude": {
"type": "string",
"description": "Longitude coordinate of the location.",
"example": "13.38333"
}
}
}