BusinessResponseDto
idnumberrequired
ID бизнеса
Example:
1namestringrequired
Название бизнеса
Example:
Beauty Salondescriptionobjectnullablerequired
Описание бизнеса
Example:
Лучший салон красоты в городеtimezoneobjectnullablerequired
Часовой пояс
Example:
Europe/Kyivaddressobjectnullablerequired
Адрес бизнеса
Example:
ул. Крещатик, 1cityobjectnullablerequired
Город
Example:
Киевcountryobjectnullablerequired
Страна
Example:
УкраинаpostalCodeobjectnullablerequired
Почтовый индекс
Example:
01001latitudeobjectnullablerequired
Широта (latitude) для отображения на карте
Example:
50.4501longitudeobjectnullablerequired
Долгота (longitude) для отображения на карте
Example:
30.5234avatarstring
URL аватарки бизнеса (WebP формат)
Example:
https://cdn.example.com/avatars/business/1/avatar.webpavatarThumbnailstring
URL thumbnail аватарки бизнеса
Example:
https://cdn.example.com/avatars/business/1/avatar_thumb.webpcoverstring
URL обложки/баннера бизнеса (WebP формат)
Example:
https://cdn.example.com/covers/business/1/cover.webpcoverThumbnailstring
URL thumbnail обложки бизнеса
Example:
https://cdn.example.com/covers/business/1/cover_thumb.webpcreatedAtstring<date-time>required
Дата создания
Example:
2024-01-01T00:00:00.000ZupdatedAtstring<date-time>required
Дата обновления
Example:
2024-01-01T00:00:00.000ZBusinessResponseDto
{
"id": 1,
"name": "Beauty Salon",
"description": "Лучший салон красоты в городе",
"timezone": "Europe/Kyiv",
"address": "ул. Крещатик, 1",
"city": "Киев",
"country": "Украина",
"postalCode": "01001",
"latitude": 50.4501,
"longitude": 30.5234,
"avatar": "https://cdn.example.com/avatars/business/1/avatar.webp",
"avatarThumbnail": "https://cdn.example.com/avatars/business/1/avatar_thumb.webp",
"cover": "https://cdn.example.com/covers/business/1/cover.webp",
"coverThumbnail": "https://cdn.example.com/covers/business/1/cover_thumb.webp",
"createdAt": "2024-01-01T00:00:00.000Z",
"updatedAt": "2024-01-01T00:00:00.000Z"
}