Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Booking API Booking mandatory fields #34

Open
strodlflu opened this issue Feb 26, 2019 · 0 comments
Open

Booking API Booking mandatory fields #34

strodlflu opened this issue Feb 26, 2019 · 0 comments

Comments

@strodlflu
Copy link
Member

The following four attributes are defined as mandatory for bookings:

from* Place{...}
to* Place{...}
startTime* Timeinteger($int32)
endTime* Timeinteger($int32)

Having these four attributes mandatory limits the mobility services that can be booked via the API.

E.g. free floating bike will not have an "to" and "endTime" at the time of booking.
Other example are public transport tickets such as day tickets. From and to does not exist. I suggest lowering the constraints on the attributes.

It should be the intention of the MaaS API to broadly applicable for all kind of services.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant