-
Notifications
You must be signed in to change notification settings - Fork 232
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
Confusion about Reserved state #417
Comments
I would be more inclined to update the spec language to remove the even if trip has not started yet piece. Associated trip UUID for the trip-specific events seems like something we would want to continue requiring. |
I'm fine with that too. Although I am curious as to what your rationale for saying
... is, @thekaveman? It seems odd to me to require a UUID for a trip that has not started yet (specifically in the case of reservations), but then again I'm an absolute newb to all this, so I'm just trying to understand the design of the spec on a deeper level. Thanks for taking the time to respond! |
I am not sure to understand perfectly but for the "A customer reserves a device (even if trip has not started yet)" For the UUID I understand your concern giving the trip UUID before the trip start can be interesting. Even more if the reservation is canceled.
We may want to switch user_pick_up event type by another or remove it from the applicable one. |
exactly my concern @geobir. Thanks for stating that better than I did 😅
This is what I was hoping was possible ... |
I think the use of the word "reserved" in the spec was from a time where the "pre-reserved trips" kind of scenario you describe @concept47 were not being considered. My understanding is the language was more about the possibly short time (seconds-minutes) between scanning a vehicle with the app and actually pulling the throttle / pumping the pedals to "start the trip" - like a group of friends all getting devices but not going anywhere until everyone has one. True that the event types may need to be adjusted to account for this "future hold" type scenario. |
Oh wow. That's very interesting! My understanding was that "reserved" was more in line with the "future hold" situation that you are talking about. Is there anyway to confirm this |
When companies first started offering rental services, the only way to get a device was the more immediate on-the-fly rental. More recently we are hearing about the operational evolution of future hold type rentals (is a company doing this in the wild yet? I'm not sure...) Because of the reality on the ground when MDS launched, this future hold rental interpretation seems novel. |
Thanks @thekaveman! ... My question is, is this the official position of the Open Mobility Foundation? I apologize for asking this as I'm a newb to this and just need to understand where I would look to get official word. As a follow up, in the case of the "full hold" model of reservations you've mooted above, where a vehicle can be reserved for an extended period of time, how would you suggest a team handle this using the current spec? |
Bird does "future hold" reservations, as does Spin (as seen in #399). I think the other major scooter operators do as well, but I wouldn't swear to it. So it would be good to clarify what to do in this situation. |
Yes Spin is working on Reservations as future hold. Agency is clear, it distinguishes between Provider Option 1 for us is to use Second option would be to not surface future hold reservation events in Third option we would completely go the other way, and also include canceled reservations in |
Right, and we can ping @jfh01 here to weigh in - but the OMF was only formalized and officially launched earlier in Summer 2019. In practice, as part of using MDS to regulate shared mobility services in Santa Monica (and to my understanding in LA) since Fall 2018, we have thus-far framed it as The mismatches between Agency and Provider are certainly a point of discussion; see the issues I referenced above for more context. This is really a by-product of the Provider spec being "live" (i.e. required for permit issuance) 6 or so months before Agency was first implemented and rolled out by LADOT, and the two specs having slightly different use-cases. As a next step, I might suggest putting forth a PR to work on some of this |
I like this idea! So is this something you want the community to do, or do you want to start that to kick things off @thekaveman. Either is fine, just wanted to clarify. |
I am interested in reconciling most/all of the differences between Agency and Provider, except for the obvious push vs. pull. New and forthcoming APIs like Policy, Compliance, and Audit are intended to be compatible with either means of data ingest. I would like to see a small working group help sort out the Agency/Provider discrepancies. I believe @jfh01 is onboard with this thinking. |
Just to echo comments above:
|
thanks @bhandzo does Bird report the future hold reservation as a |
Noted on call that a change to the definition of For 0.5.0, adding some language to the definition that clarifies if Long term I think @jfh01 recommended for now making a note that the |
My guess is that part of the current confusion comes from This (mis)interpretation seems evident in the new PR #439 where the ambiguity note was added to the description for the All this to say: @schnuerle's proposed reorganization makes a lot of sense, and seems like a nice way to clear up this point of ambiguity. Similarly moving the reason |
Moving this to 1.0.0 as we'll (hopefully) take care of this confusion once and for all with the unified Agency/Provider status model. |
@concept47 would you mind taking a quick peek at #506 and see if this resolves the issue for you? |
@concept47 Can you check out the PR #506? We will assume this addresses your concern unless we hear otherwise from you. We are working on finalizing these changes for the 1.0.0 release in the next 2 weeks. Thanks! |
Sorry have been distracted with recent events 😬 |
@concept47 We are finalizing #506 this week and will likely merge to dev tomorrow. Let us know if it addresses your needs here. Thanks! |
Thank you @schnuerle @Karcass this looks good to me! 🎉 PS: I imagine |
@concept47 thanks for the feedback. The requirement for including the Trip UUID that you reference is only for events that take the vehicle into or out of the In #534 we're going to clarify this a bit more by saying:
Hopefully this clears up any ambiguity. Feel free to re-open this Issue if there are further questions. |
Perfect Thank you! |
Cities might want the more expansive definition and include these zero-length trips in the |
Is your feature request related to a problem? Please describe.
I was looking at the provider event types spec as I was getting ready to implement the
reserved
event update. I was curious about why in the spec for thereserved
event_type it says in the description"A customer reserves a device (even if trip has not started yet)"
but then an associated_trip (UUID) is required because the
reserved
event maps to the event_type_reasonuser_pick_up
Describe the solution you'd like
associated_trip (UUID) not required for
reserved
event_typeIs this a breaking change
Impacted Spec
For which spec is this feature being requested?
provider
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: