Jonas Schmidt
Jonas Schmidt
I think it might be a bit "cleaner" to be able to specify an options keyword list for the error formatter, like so: `ExJsonSchema.Validator.validate(schema, %{"foo" => 1}, error_formatter: {ExJsonSchema.Validator.Error.StringFormatter, nested_errors?:...
Hey, the work to support drafts 2019 and upward is already in progress (see https://github.com/jonasschmidt/ex_json_schema/issues/73). Unfortunately there are some complex features added in the 2019 draft that require a pretty...
Phew, I don't have any idea how we could support that. The line number is the line in a JSON file, and this library doesn't even deal with files. It...
Hey, the support for `dependentRequired` was added in the `2019-09` schema draft (see release notes here: https://json-schema.org/draft/2019-09/release-notes.html). You already found the issue about adding support for the `2019-09` and `2020-12`...
Hey, the default error formatter doesn't include a lot of detail. When you validate with `ExJsonSchema.Validator.validate(schema, %{}, error_formatter: false)` you get back error structs that include a lot more information...
Thank you for the contribution. I like the idea, I will have some time later this week to have a look at your implementation in detail.