-
Notifications
You must be signed in to change notification settings - Fork 65
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
Add support (or README note) for custom keyword validation #195
Comments
There is some limited support for custom keywords. It's undocumented because it's not well supported, but you can check out the tests for examples, eg: json_schemer/test/json_schemer_test.rb Lines 180 to 211 in 1878fe8
Ideally, I'd like to support custom keywords via custom vocabularies, but I have not done any work on that. Please let me know if you're interested in contributing! |
We need to extend schema validation with custom keywords. We may describe them with additional vocabularies, but we also need to make an implementation for them to be validatable. How may it be implemented? It would be great to have an official support for extending validation keyword implementation. May be it is already possible, and a README paragraph would be sufficient.
For example, we need to add support for this: https://github.com/ajv-validator/ajv-keywords?tab=readme-ov-file#uniqueitemproperties
The text was updated successfully, but these errors were encountered: