idfm-api/types/departure.go

19 lines
630 B
Go
Raw Normal View History

2023-07-14 10:23:33 +00:00
package types
type Departure struct {
DisplayInformations Display `json:"display_informations"`
StopPoint StopPoint `json:"stop_point"`
Route Route `json:"route"`
Links []Link `json:"links"`
StopDateTime
}
type StopDateTime struct {
Links []Link `json:"links"`
ArrivalDateTime string `json:"arrival_date_time"`
DepartureDateTime string `json:"departure_date_time"`
BaseArrivalDateTime string `json:"base_arrival_date_time"`
BaseDepartureDateTime string `json:"base_departure_date_time"`
DataFreshness string `json:"data_freshness"`
}