I'm trying to use a similar example to the one given in the README to force assertions to be disabled but when I execute this, I still get validation errors referring to the format. This also happens if I set the same option to false when building the config for the schema.
Set<ValidationMessage> = schema.validate(input, OutputFormat.DEFAULT, executionContext -> {
// By default since Draft 07 the format keyword generates assertions
executionContext.getExecutionConfig().setFormatAssertionsEnabled(false);
});