Updated schema to move duration outside of schedule array.