Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix requirement of lat/lon for virtual stations #721

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

richfab
Copy link
Contributor

@richfab richfab commented Jan 17, 2025

What problem does your proposal solve?

Fixes #719

The is_virtual_station field indicates that lat/lon are OPTIONAL when the station_area field is defined.

It causes an inconsistency with lat/lon fields in the same file which are REQUIRED values.

What is the proposal?

Remove lat/lon OPTIONAL in is_virtual_station field.

Is this a breaking change?

  • Yes
  • No
  • Unsure

There is no vote needed since this is a clarification of the spec, not a change to a field.

Which files are affected by this change?

station_information.json

Note that the JSON schemas are not affected by the inconsistency. Which means they don't need to be updated and neither do the validator and the models since they are based on the JSON schemas.

Thank you @Yaronn44 for raising this issue 🙏

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!

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.

Inconsistency on virtual station
3 participants