We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
epoberezkin
Learn more about funding links in repositories.
Report abuse
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
What version of Ajv are you using? Does the issue happen if you use the latest version?
6.10
Ajv options object JSON Schema Sample data Your code
https://runkit.com/embed/gfk2ixcd5gbp
Validation result, data AFTER validation, error messages
Error: no schema with key or ref "#/definitions/Data"
What results did you expect?
To find and validate the schema. It works without the custom keyword (just remove addKeyword and it works as expected).
Are you going to resolve the issue?
I have no clue why is this happening and how to fix it.
The text was updated successfully, but these errors were encountered:
Weird. It does it even if the keyword is not used: https://runkit.com/esp/5cc168d8b741f4001afde85e
Sorry, something went wrong.
Actually, a bigger question is why it works without addKeyword... You need to use $id with schemas that are added (rather than just compiled).
Yes, it works with $id. Thanks
$id
ab841b4
No branches or pull requests
What version of Ajv are you using? Does the issue happen if you use the latest version?
6.10
Ajv options object
JSON Schema
Sample data
Your code
https://runkit.com/embed/gfk2ixcd5gbp
Validation result, data AFTER validation, error messages
What results did you expect?
To find and validate the schema. It works without the custom keyword (just remove addKeyword and it works as expected).
Are you going to resolve the issue?
I have no clue why is this happening and how to fix it.
The text was updated successfully, but these errors were encountered: