Skip to content

Static Stops

rclvaneck edited this page Jun 17, 2019 · 1 revision

The data for the stops is structured in a JSON object as follows and send to the static (aws) database.

StopId {
  lat,
  lon,
  name, 
  town,
  areaCode,
  accessibility {
    wheelchair,
    visual
  }
}
Name Type Description
StopId string
lat float Latitude of the stop
lon float Longitude of the stop
name String Name of the stop (f.e. Maasstraat)
town String Name of the town of the stop (f.e. Amsterdam)
areaCode String A code to group stops in the same area for different transport types (f.e. Weesperplein has metro, bus and tram), "none" if unknown.
wheelchair boolean gives true if wheelchair accessible and false if not
visual boolean gives true if accessible for visual impaired and false if not

Stop objects will get a district (stadsdeel) added on the database side of the API data before being added to the database.

Clone this wiki locally