Create shift detail types.
Example
Flexible start time, flexible lunch, core working hours, flexible end time
Create a day based schedule pattern using your created shifts.
Preview the schedule pattern and make changes as needed.
Define schedules and assign exceptions and resources to the schedules.