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
122 stars 1 forks source link

is operator field in journey structure mandatory or optional? #56

Open matkoniecz opened 6 years ago

matkoniecz commented 6 years ago

most fields in https://github.com/public-transport/friendly-public-transport-format/blob/master/spec/readme.md#journey are described as mandatory or optional.

operator field is unspecified

matkoniecz commented 6 years ago

I can make PR after confirmation that this field was supposed to be optional.

matkoniecz commented 6 years ago

I made it anyway, before confirmation.

juliuste commented 5 years ago

Sorry for being so late to comment, IMHO we should be consistent with the decision to make operator required/optional, e.g. also in line.operator. I personally would rather have it required, @derhuerst @matkoniecz @ialokim opinions?

matkoniecz commented 5 years ago

Personally I would prefer it optional, as without it data still makes sense.

I would keep required for things that once missing make data completely useless (like destination or origin).

juliuste commented 5 years ago

We should also decide on #55 while we're at it.