profile
viewpoint

Ask questions[Policy API] support one-time fee after a buffer/duration

Is your feature request related to a problem? Please describe.

Cities would like to implement a fee if a parked vehicle isn't moved after for example 2 days. This is a one time fee but there's a buffer/duration before it applies.

Describe the solution you'd like

I'm not sure. We could add a new field for this buffer/duration before the rate is applicable?

Is this a breaking change

No, I don't think so as this concept doesn't currently exist.

Impacted Spec

For which spec is this feature being requested?

  • policy

Describe alternatives you've considered

Additional context

openmobilityfoundation/mobility-data-specification

Answer questions karcass

So the semantics of having a fee on Rule types other than rate is currently ambiguous but easily fixed. I believe we can simply document the way you can apply a rate_amount to a time rule. I am badly behind on making my concrete proposal to the working groups but it's on my to-do list.

In this case, let's assume a 20-minute buffer.

Rule 1: rule_type = time, rule_units = minutes, min_value = $BUFFER, rate_amount = $FEE, rate_recurrance = once, states = available etc.

Now that I think about it, I don't think you need a rule for the first $BUFFER minutes if the fee for less than that is 0.

useful!

Related questions

No questions were found.
source:https://uonfu.com/
Github User Rank List