Skip to content

Conversation

@mplsmitch
Copy link
Collaborator

@mplsmitch mplsmitch commented Sep 29, 2025

**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_types file, 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_age to vehicle_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?

  • Yes
  • No
  • Unsure

Which files are affected by this change?

vehicle_types.json

Adds min_age field to vehicle_types.json
@mplsmitch mplsmitch mentioned this pull request Oct 27, 2025
3 tasks
remove extra spaces
Copy link
Contributor

@fredericsimard fredericsimard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@mplsmitch
Copy link
Collaborator Author

I hereby call a vote on this proposal. Voting will be open for 10 full calendar days until 11:59PM UTC on November 12.

Please vote for or against the proposal, and include the organization for which you are voting in your comment.

Please note if you can commit to implementing the proposal.

@testower
Copy link
Contributor

testower commented Nov 3, 2025

Entur votes in favor and will implement it.

@futuretap
Copy link
Contributor

FutureTap / Where To? votes in favor, too. We won’t implement it anytime soon, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants