We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
-s
Hi,
I'd like to specify multiple schema:
; ajv -s a.json -s b.json -d x.json
such that both get loaded by addSchema(), and I'd be able to "$ref" one from the other.
addSchema()
"$ref"
This is similar to #29, but I hope simpler to implement.
Thank you,
The text was updated successfully, but these errors were encountered:
There is -r option that allows to add multiple schemas that are referenced, -s is the schema that the data is validated against.
So you just have to:
ajv -s a -r b -d x
provided you want to validate "x" against "a"
Sorry, something went wrong.
Oh wonderful! Thank you.
No branches or pull requests
Hi,
I'd like to specify multiple schema:
such that both get loaded by
addSchema()
, and I'd be able to"$ref"
one from the other.This is similar to #29, but I hope simpler to implement.
Thank you,
The text was updated successfully, but these errors were encountered: