Currently, the schedule on a calendar looks like this:

It has 2 vehicles with ID 325741509659767145 and 5052215502167391764. Haven't added any location info yet (it is TODO)
Schedule description is like this:

Questions
- What shall be the title of a schedule? - Currently, it is
<Type> - VehicleID
- Separate schedule for each vehicle, or a single schedule containing all vehicles? - Currently, it shows a single schedule.
- Or maybe one API endpoint for complete schedules and another endpoint for a separate schedule of each vehicle.
- How shall the final structure look like?
- Method 1 (better):
- Start and End schedule can be of 0 duration (as a reminder):
[StartTime, StartTime]
- Job/Pickup/Delivery/Break can be from
[StartTime, StartTime + WaitingTime + ServiceTime]
- Any empty slot between these schedules can denote the travel of the vehicle.
- Easy to denote the location on the calendar because every job/pickup/delivery/break has a single location.
- Method 2:
- Similar to what is shown currently - duration is from
[StartTime, NextTaskStartTime - 1], keeping the entire calendar occupied.
Currently, the schedule on a calendar looks like this:

It has 2 vehicles with ID 325741509659767145 and 5052215502167391764. Haven't added any location info yet (it is TODO)
Schedule description is like this:

Questions
<Type> - VehicleID[StartTime, StartTime][StartTime, StartTime + WaitingTime + ServiceTime][StartTime, NextTaskStartTime - 1], keeping the entire calendar occupied.