santhosh-tekuri/jsonschema

Forcing a schema version

Closed this issue · 1 comments

The Readme.md states that "You can force to use specific version, when $schema is missing, as follows".

What if I want to ignore the $schema key completely and always compile against a specific version?

The library has no option to achieve this.

You can remove '$schema' attribute before feeding to the library, to achieve the behavior you described