bat
bat copied to clipboard
Don't convert schema if it has $schema property
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.