Structure "User's address"
This structure describes data about the user's location.
It can be found in the "Offer owner" structure and
"User" structure under the name address
Field description
Name | Description | Data type | Required |
---|---|---|---|
town | Town from the directory. | Object | + |
town.id | Town id. | Number | + |
town.name | Localized town name. | String | + |
area | Region from the directory. | Object | |
area.id | Region id. | Number | |
area.name | Localized region name. | String | |
country | Country from the directory. | "Country" structure | + |
Sample
JSON
{
"town": {
"id": 137,
"name": "Kyiv"
},
"area": {
"id": 23,
"name": "Kyiv Reg."
},
"country": {
"sign": "UA",
"name": "Ukraine"
}
}