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
From the JSONSchema community Slack -->
One thing I noticed is invalid use of oneOf on this line. https://github.com/o19s/ubi/blob/main/schema%2F1.0.0%2Fquery.response.schema.json#L11 JSON Schema validation does not evaluate the format keyword to distinguish strings. The format keyword is referred to as an annotation and is only informational. You might try something like this.
{ "query_id": { "type": "string", "oneOf":[ { "pattern": "pattern for <uuid>"}, {"not":{ "pattern": "pattern for <uuid>", "maxLength": 100}} ] } }
The text was updated successfully, but these errors were encountered:
epugh
No branches or pull requests
From the JSONSchema community Slack -->
One thing I noticed is invalid use of oneOf on this line. https://github.com/o19s/ubi/blob/main/schema%2F1.0.0%2Fquery.response.schema.json#L11
JSON Schema validation does not evaluate the format keyword to distinguish strings. The format keyword is referred to as an annotation and is only informational.
You might try something like this.
The text was updated successfully, but these errors were encountered: