Explicitly disable format assertions
There doesn't seem to be a way to explicitly disable format assertions. I am using a draft-07 schema and I would like to have format assertions disabled but there doesn't seem to be a method to do so.
as per draft-07, they cannot be disabled. but you can achieve this with following hack
you can override the default format implementations using compiler.registerFormat method which does nothing.
you can see list of default formats supported in https://github.com/santhosh-tekuri/boon/blob/main/src/formats.rs#L24
note that still you can't override regex format
draft-07 indicates that format does not need to be implemented as an assertion. It's up to the implementation. That said, boon implementing them as assertions is valid according to the spec, but it would be helpful to have the ability to make this behavior optional.
The "format", "contentType", and "contentEncoding" keywords can also be implemented as assertions, although that functionality is an optional part of this specification, and the keywords convey additional non-assertion information.