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


Answer questions jean-populus

I'm not sure I follow. Based on the examples, I thought for a one-time fee the variables would be

  • rule_type = rate
  • rule_units = amount
  • rate_amount = user entered
  • rate_recurrence = once
  • states = available, non-operational

Where does time come in? Should the rule_units = days with min = user entered buffer/duration?


Related questions

No questions were found.
Jean Kao jean-populus @populus-ai San Francisco Principal Product Manager @populus-ai
Github User Rank List