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

Consider allowing contributions to "linting" schemas #4141

Open
handrews opened this issue Oct 17, 2024 · 1 comment
Open

Consider allowing contributions to "linting" schemas #4141

handrews opened this issue Oct 17, 2024 · 1 comment
Assignees

Comments

@handrews
Copy link
Member

We have previously turned away quite a few suggested schema changes, particularly from @karenetheridge and @jeremyfiel, that attempted to enforce sensible but not mandatory constraints. These often involve SHOULDs or statements that something will be ignored rather than treated as an error.

We've discussed allowing additional schemas that would $ref the validation schemas and add these additional constraints. Let's make a formal decision whether to do that or not, and decide what would be allowed in such schemas so that folks who want to write them can do so with confidence.

@lornajane
Copy link
Contributor

Agreed that we should keep to schemas that reflect the spec exactly, there are linting tools that can support adding additional rules if users need something more restrictive. We should update the Contributing file to reflect this.

@lornajane lornajane self-assigned this Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

2 participants