public-transport / friendly-public-transport-format

A format for APIs, libraries and datasets containing and working with public transport data.
Creative Commons Attribution Share Alike 4.0 International
125 stars 1 forks source link

add leg.price #47

Closed juliuste closed 6 years ago

juliuste commented 6 years ago

Implements #45

derhuerst commented 6 years ago

I think we should use an array of prices. A single price, exposed as .price, seems a bit too limited.

juliuste commented 6 years ago

I think journey.price and leg.price should have the same structure. We can talk about your proposal in FPTF@2, but for now, my PR is in line with journey.price@1, which makes the most sense IMHO.

derhuerst commented 6 years ago

Makes sense.

juliuste commented 6 years ago

@derhuerst feel free to open an issue for your proposal from above