Skip to content

Commit

Permalink
timetable_v2: fix paced train part
Browse files Browse the repository at this point in the history
Signed-off-by: Youness CHRIFI ALAOUI <[email protected]>
  • Loading branch information
younesschrifi committed Feb 13, 2025
1 parent 26e7878 commit eea1a64
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion content/docs/reference/design-docs/timetable/index.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,9 @@ Other errors can happen at runtime:

During simulation, **if a target arrival time cannot be achieved, the rest of the schedule still stands**.

The mission model in OSRD is represented almost like a Train Schedule with the addition of 2 fields:
## Paced Train

The paced Train model in OSRD is represented almost like a Train Schedule with the addition of 2 fields:
- `step: Duration (ISO 8601)` corresponds to the delay between each train
- `duration: Duration (ISO 8601)` which corresponds to the total duration of the mission.

Expand Down Expand Up @@ -278,6 +280,7 @@ DELETE /train_schedule # A batch deletion
### Paced Train
```
POST /timetable/ID/paced_trains # A batch creation
GET /paced_train/ID
PUT /paced_train/ID # Update a specific paced train
Expand Down

0 comments on commit eea1a64

Please sign in to comment.