Include types from gonavitia/navitia

This commit is contained in:
nemunaire 2023-07-14 12:23:33 +02:00
commit 24b1102761
157 changed files with 26062 additions and 116 deletions

42
types/impactedStop.go Normal file
View file

@ -0,0 +1,42 @@
package types
// An ImpactedStop records the impact to a stop
type ImpactedStop struct {
// The impacted stop point of the trip
Point StopPoint `json:"stop_point"`
// New departure hour (format HHMMSS) of the trip on this stop point
NewDeparture string
// New arrival hour (format HHMMSS) of the trip on this stop point
NewArrival string
// Base departure hour (format HHMMSS) of the trip on this stop point
BaseDeparture string
// Base arrival hour (format HHMMSS) of the trip on this stop point
BaseArrival string
// Cause of the modification
Cause string `json:"cause"`
// Effect on that StopPoint
// Can be "added", "deleted", "delayed"
Effect string
AmendedArrivalTime string `json:"amended_arrival_time"`
StopTimeEffect string `json:"stop_time_effect"`
DepartureStatus string `json:"departure_status"`
IsDetour bool `json:"is_detour"`
AmendedDepartureTime string `json:"amended_departure_time"`
BaseArrivalTime string `json:"base_arrival_time"`
BaseDepartureTime string `json:"base_departure_time"`
ArrivalStatus string `json:"arrival_status"`
}