Skip to content

[Policy API] support utilization policies #620

@ghost

Description

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

A few cities have policies around minimum utilization (# rides / # vehicles) but this isn't currently possible to convey using the rule_types which are: count, time, speed, rate, user. In this case we need two different counts - one for trips and one for total vehicles - and the policy is a ratio of the two counts. Cities also would like to specify a time period over which to measure - for example, is it a daily min or a 7 day average min?

Describe the solution you'd like

Is this a breaking change

  • I'm not sure

Impacted Spec

  • policy

Describe alternatives you've considered

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    PolicySpecific to the Policy API

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions