interface OpeningHour {
    days: number[];
    fromHour: string;
    toHour: string;
}

Properties

Properties

days: number[]

Days of the week when the venue is open. This is an array of numbers, where each number represents a day of the week: 0 - Sunday, 1 - Monday, 2 - Tuesday, 3 - Wednesday, 4 - Thursday, 5 - Friday, 6 - Saturday.

fromHour: string

The opening time in 24-hour format ("HH:MM").

toHour: string

The closing time in 24-hour format ("HH:MM").