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

Yeah, I think having a rule_type = rate is tripping me up. Why can't we just apply a rate_amount and rate_recurrence to all the rules instead of having a separate "rate" rule?


Related questions

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