-
Notifications
You must be signed in to change notification settings - Fork 33
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
Valijson and JSON Schema #207
Comments
Hi @jviotti, we'll bring this up in our internal weekly working group meeting for further discussions, and below I'll add a few comments here based on my experience. (@cwlacewe know you're on leave, but a courtesy cc) @araghuna1 can you add this to the agenda? @rv355 you're the other person who's done mods to the JSON API definition, any thoughts here? Forgive me if this is outside your area, but heres a couple thoughts I have based on my work with our JSON API and defintions broadly.
If I think of others, I'll let you know! |
Thanks a lot @ifadams !
100%. This is a very hot problem on validators right now (even beyond RapidJSON) and I have my eyes on it. I'm looking to make this much better than the current status quo.
Assuming you mean, vdms/utils/src/api_schema/api_schema.json Line 31 in 4eaa750
The classic approach is what's called JSON Schema Bundling. The idea is that schemas can reference schemas in other files through Once you have that you can make sure it's fully compliant, run unit tests against the schema (so you know you are defining things well), linting, formatting, etc. All the typical stuff you would do with code. If you want any help with it, let me know! Happy to plan and collaborate on it to polish the schema, etc :) |
@jviotti Thank you for the detailed response! We're swamped at the moment, but if there's some obvious stuff you see within our API defintion schema that could use refining please let us know! I'm going to keep this ticket open for the moment so we dont lose track of this as a longer term tasks/discussion. We're in the process of really digging into the open-source community aspect of contributions as well, so feel free to suggest things, open a new ticket/branch if you've got ideas, etc. |
Hey there! I'm a TSC member of JSON Schema focused on building better and faster JSON Schema utilities for C++.
I saw this repo makes use of Valijson and its (limited) JSON Schema implementation. How is your use of Valijson going? Anything you like or dislike? Did you find a need for supporting newer dialects of JSON Schema (such as 2020-12)?
Any honest feedback would be super appreciated to make JSON Schema and my C++ efforts in there more valuable! 🙏🏻
The text was updated successfully, but these errors were encountered: