validates schedules