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
Is there a way to support more detail rules in array items?
I wish to have an array of UUID which the json schema will look like this:
{ "ids": { "type": "array", "minItems": 1, "items": { "type": "string", "pattern": "/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i" } } }
and an array of string and boolean in an array like this:
{ "order": { "type": "array", "minItems": 1, "items": { "type": "array", "minItems": 2, "maxItems": 2, "items": [{ "type": "string" }, { "type": "boolean" }] } } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Is there a way to support more detail rules in array items?
I wish to have an array of UUID which the json schema will look like this:
and an array of string and boolean in an array like this:
The text was updated successfully, but these errors were encountered: