Skip to content

Structure "Town"

This structure describes the element of the "Towns" directory.

Field description

Name Description Data type Required
id Town id. Number +
name Localized town name. String +
countrySign Country code from the "Countries" directory to which this town belongs. String +
areaId Id of a region from the "Regions" directory to which this town belongs. Number +
lat Town latitude. Number +
lon Town longitude. Number +
postcode Town postcodes. Array of strings

Sample

{
    "id": 137,
    "name": "Київ",
    "countrySign": "UA",
    "areaId": 23,
    "lat": 50.444795,
    "lon": 30.528718,
    "postcode": [
        "01000-06999",
        "12345"
    ]
}