bat icon indicating copy to clipboard operation
bat copied to clipboard

Don't convert schema if it has $schema property

Open wshager opened this issue 6 years ago • 0 comments

The schema is always converted, but it would always convert to JSON schema v4. However, Ajv supports newer versions. Also, the converted doesn't allow type "null", where JSON Schema does allow for that type. I think it would be an improvement if the schema is checked for the $schema property, and if that is present don't convert it again.

wshager avatar Oct 17 '19 09:10 wshager