Minimum age requirement #799
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
**What problem does your proposal solve?
I'm doing this PR on behalf of @marius-at-atb in in Trondheim, Norway. Additional discussion can be found in #771 . They have a need for a field to contain a minimum age requirement in order to use a vehicle. There are potentially a number of user requirements that could be included in the
vehicle_typesfile, such as a drivers license, helmets etc but until we have real-world use cases my preference is to limit this to a single field that contains minimum age. In the future if there are additional needs beyond age we could develop a list of enums.If anyone has additional needs in this area I'd like to hear from you so we can include them before this goes to a vote.
What is the proposal?
This PR adds a single field
min_agetovehicle_types.json. The field is OPTIONAL and defined as a non-negative integer that describes the minimum age required to use the vehicle.This is a non-breaking change that would be included in the next minor version release scheduled for November.
Is this a breaking change?
Which files are affected by this change?
vehicle_types.json