interface Venue {
    aliases: string[];
    approved: boolean;
    brand: null | string;
    categories: VenueCategoryId[];
    externalProviderIds: string[];
    geometry: Point | Polygon;
    id: string;
    images: VenueImage[];
    isAdLocked: boolean;
    isResidential: boolean;
    lockRank: number;
    modificationData: ModificationMetadata;
    name: string;
    navigationPoints: NavigationPoint[];
    openingHours: OpeningHour[];
    phone: string;
    services: ServiceType[];
    url: string;
    venueUpdateRequests: VenueUpdateRequest[];
}

Properties

aliases: string[]

Aliases or alternative names for the venue.

approved: boolean

'approved' is false for new venues suggested as PUR The venue must be approved before it can be edited.

brand: null | string

The brand associated with the venue.

categories: VenueCategoryId[]

The list of categories, assigned to the venue.

externalProviderIds: string[]

The list of the venue's external provider ids.

geometry: Point | Polygon

The GeoJSON Point/Polygon representation of the venue's geometry.

id: string
images: VenueImage[]

Array of images associated with the venue.

[{
"date": 1678886400000,
"id": "12345678-90ab-cdef-1234-567890abcdef",
"isApproved": true,
"url": "https://www.example.com/image.jpg"
}]
isAdLocked: boolean

Whether the venue is locked for advertising purposes.

isResidential: boolean

Whether the venue is residential or not.

lockRank: number

The lock rank of the venue.

modificationData: ModificationMetadata
name: string

The name of the venue.

navigationPoints: NavigationPoint[]

List of entry and exit points for the venue.

openingHours: OpeningHour[]

Array of opening hour objects. Each object defines a set of opening hours for specific days of the week.

 [
{ days: [0, 1, 2, 3, 4, 5, 6], fromHour: "09:00", toHour: "17:00" }, // Open every day 9am-5pm
{ days: [5, 6], fromHour: "09:00", toHour: "22:00" }, // Open weekends 9am-10pm
]

where days is an array of numbers representing days of the week (0 = Sunday, 1 = Monday, etc.) and fromHour and toHour are strings in 24-hour format ("HH:MM").

phone: string

The phone number of the venue.

services: ServiceType[]

Services offered at the venue.

url: string

The website URL of the venue.

venueUpdateRequests: VenueUpdateRequest[]

Update Requests of the venue.