-
Notifications
You must be signed in to change notification settings - Fork 318
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
Since 1.3.0: UUID not correctly validated #937
Comments
In version 1.3.0 the https://json-schema.org/draft/2020-12/json-schema-validation#name-vocabularies-for-semantic-c |
what should I modify in the given example ? Sorry I dont get it. |
You can set Set<ValidationMessage> assertions = schema.validate(input, InputFormat.JSON, executionContext -> {
// By default since Draft 2019-09 the format keyword only generates annotations and not assertions
executionContext.getConfig().setFormatAssertionsEnabled(true);
}); |
Should be closed, see #938 |
Consider the following schema:
Using UUID as defined here:
https://json-schema.org/draft/2019-09/json-schema-validation#rfc.section.7.3.5
Validating the following JSON does not produce an error as expected (with version 1.2.0 it worked)
The text was updated successfully, but these errors were encountered: