~ihabunek/triglav

ref: f66c43139d76b7a26925de4e29498ff1473c0950 triglav/lib/triglav/schemas/zet/stop_time.ex -rw-r--r-- 434 bytes
f66c4313Ivan Habunek Store sample trip ID in derived data, simplify schemas 7 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
defmodule Triglav.Schemas.Zet.StopTime do
  use Ecto.Schema

  @primary_key false
  @schema_prefix :zet

  schema "stop_times" do
    field :trip_id, :string
    field :arrival_time, :map
    field :departure_time, :map
    field :stop_id, :string
    field :stop_sequence, :integer
    field :stop_headsign, :string
    field :pickup_type, :integer
    field :drop_off_type, :integer
    field :shape_dist_traveled, :float
  end
end