-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
GSoC 2025: Comprehensive JSON Schema linting for encouraging best practices and catching anti-patterns early #856
Comments
Great idea Juan, thanks for your submission. |
Hi Juan, have you seen the work done by @gregsdennis here: |
Ah, very nice @benjagm. We should definitely take that as inspiration. Cool stuff. @gregsdennis Is it something you are actively working on? |
No. I started some Spectral stuff a year or so ago, but never got beyond a start. Feel free to overwrite what I've done. |
Adding myself as a mentor as discussed with @jviotti =] |
Hi @jviotti and @Relequestual |
Please also see the prior work at
|
Brief Description
Writing well-crafted schemas is extremely hard. Not only JSON Schema is a complex schema language and it is easy to shoot yourself in the foot, but as an organisation, we never properly encoded and shared what the best practices and anti-patterns are. As a consequence, our users (including users of API specifications like OpenAPI and AsyncAPI) don't know how to write great schemas, and don't even know what the quality of the schemas they already have is.
I kickstarted some of this work on my open-source tooling (https://github.com/sourcemeta/jsonschema/blob/main/docs/lint.markdown) and would like to take it to the next level.
Expected Outcomes
Skills Required
Mentors
Expected Difficulty
Medium.
Expected Time Commitment
350 hours. We expect most of the time being spent driving discussions to reach agreement. Doing so often takes a lot of time!
The text was updated successfully, but these errors were encountered: