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

Schema versioning: tighten validation on fields #911

Open
mferrera opened this issue Dec 10, 2024 · 0 comments
Open

Schema versioning: tighten validation on fields #911

mferrera opened this issue Dec 10, 2024 · 0 comments

Comments

@mferrera
Copy link
Collaborator

mferrera commented Dec 10, 2024

We can and should increase the validation performed on fields in the schema. Some examples:

  • the schema version is of the form X.Y.Z where X, Y, Z are positive integers
  • URL adapters to give consistency for things like whether or not a URI has a trailing slash (foo.com/ vs foo.com, both valid)
  • Define ranges for numerical values to the best of our ability where appropriate (>= 0, > 0, etc.)
  • File paths (relative, absolute)
  • etc

This will give extra data quality assurance and is best added before a broad roll-out.

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

No branches or pull requests

1 participant