Hotel

{
    "id": "1000",
    "names": [
        "Борвиха Hotel&Spa",
        "Borviha Hotel&Spa"
    ],
    "urls": [
        "<https://example.org/borviha>"
    ],
    "phones": [
        "88005506818",
        "+7 (38341) 2-50-32"
    ],
    "emails": [
        "hotelborviha@yandex.ru"
    ],
    "address": {
        "country": "Russia",
        "region": "Novosibirsk Oblast",
        "district": "Kamensky Urban District",
        "settlement": "Berdsk",
        "postalCode": "633011",
        "streetAddress": "Morskaya St., 3/1"
    },
    "geo": {
        "latitude": 54.786742,
        "longitude": 83.051871
    }
}

Field

Required

Type

Restrictions

Description

id

Yes

String

[a-zA-Z0-9-_]{1,255}

The hotel ID. Used for updating information about this hotel and its offers.

names

Yes

String[]

max[i]=255

The hotel's name.

urls

No

String[]

max[i]=1000

The URLs of the hotel sites.

phones

No

String[]

max[i]=255

The hotel's phone numbers.

emails

No

String[]

max[i]=255

The hotel's email addresses.

address

Yes

Object

The hotel's address.

address.country

Yes

String

max[i]=255

Country.

address.region

No

String

max[i]=255

The region.

address.district

No

String

max[i]=255

The district.

address.settlement

Yes

String

max[i]=255

City, town or village.

address.postalCode

No

String

max[i]=255

The postal code.

address.streetAddress

Yes

String

max[i]=255

The street name and house number.

geo

Yes

Object

The hotel's geographic coordinates.

geo.latitude

Yes

Number

Latitude.

geo.longitude

Yes

Number

Longitude