Booking Sequences
A sequence defines a uniform, repeating time structure. It specifies when time occurrences start and how long each occurrence lasts. A sequence by itself does not represent availability — it only defines a repeatable temporal pattern. Sequences are later combined into schedules, which generate the final slots that can be booked.
This article explains how repeating booking structures are defined and managed in Minyu using sequences, and how these sequences form the foundation for schedules and slot generation.
Sequences in Minyu
Sequences in Minyu are the fundamental building blocks for defining when resources may become available. They are used to express repeating time patterns and consist of two core parts:
- A Repeating Pattern: Defines when each occurrence starts, using flexible recurrence rules.
- A Fixed Duration: Defines how long each occurrence lasts, for example one hour.
To add or edit a sequence, open Bookings → Sequences from the navigation menu. The view opens in its own window inside the snap layout. The table lists existing sequences, which can be edited, or new sequences can be added using the plus icon.
Flexible Repetition Patterns
Minyu provides a wide range of options for configuring repeating patterns in sequences. These patterns can be simple or highly specific:
- Every Hour: Repeats at the start of each hour.

- Specific Days of the Week: Limits repetition to selected weekdays such as Mondays and Wednesdays.

- Complex Patterns: For example, the last weekday of every month.

The configuration is done through an intuitive graphical interface without requiring knowledge of scheduling expressions. Users define repetition using five tabs—Minute, Hour, Day, Month, and Year—to construct precise recurrence rules. Only one selection per tab can be active at a time.
For example, the screen below shows a sequence where start times occur at 00:00, 08:00, and 16:00. The preview pane shows the resulting generated slots together with a textual summary of the configuration:
"At 00:00, 16:00, and 08:00, on the last weekday of the month spanning 1 Hour(s)."

Duration and Descriptions
In addition to defining the repetition pattern, you configure the duration of each sequence occurrence. For example, setting a duration of one hour ensures each generated slot spans exactly one hour.

Preview Generated Slots
The preview pane dynamically displays the slots that would be generated from the current sequence configuration. This provides immediate feedback and ensures that the defined sequence behaves as intended.
For example, configuring a sequence to repeat every hour with a one-hour duration generates the following slots:

Overlap Prevention
Minyu enforces strict rules to prevent overlapping slots from being produced by a single sequence. If a configuration would result in overlapping occurrences, the system highlights the conflict and prevents the sequence from being saved until the issue is resolved.

By combining flexible repetition patterns, real-time previews, and automatic overlap prevention, Minyu ensures that sequences remain accurate and structurally valid. These sequences form the foundation for schedules, which combine and filter multiple sequences to generate the final bookable slots.