karenetheridge / JSON-Schema-Modern

Validate data against a schema using a JSON Schema
https://metacpan.org/release/JSON-Schema-Modern/
Other
10 stars 1 forks source link

Collect unknown keywords as annotations #37

Closed karenetheridge closed 3 years ago

karenetheridge commented 3 years ago

see https://github.com/json-schema-org/json-schema-spec/pull/987 -- this is a specifiation "SHOULD" for draft 2020-XX but we can implement it sooner.

Add an option to disable this behaviour, but it should default to true.

Also adjust the behaviour of the format keyword accordingly.

karenetheridge commented 3 years ago

version 0.020 adds this as an option, defaulting to false.

karenetheridge commented 3 years ago

done.