Enforce rate start_minute / end_minute coverage #55
zanebclark
started this conversation in
Data Specification
Replies: 1 comment 3 replies
-
I see your point. Are you suggesting just adding some clarifying language like you suggest, to make this requirement clear? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'd like to propose that the following requirements be introduced to the Rate / Rule spec:
If a user were to create the following rate, there would be no rate applicable between minutes 1-9 and after minute 15:
per_hour
= 25start_minutes
= 10end_minutes
= 15If the intent was to allow for free parking up until 10 minutes, the user would initially need to define the following:
per_hour
= 0start_minutes
= 0end_minutes
= 9Furthermore, if the intent was to allow for free parking after minute 15, the user would also need to define the following:
per_hour
= 0start_minutes
= 16end_minutes
= nullThis would achieve the following requirement:
Beta Was this translation helpful? Give feedback.
All reactions