Stranger6667/jsonschema-rs

[Feature Request] validate() function

Opened this issue · 1 comments

Hello, I'm wondering if we can make a function that just validates the JSON Schema itself, and not actually compile it into a JSONSchema, I currently just need to validate that the JSONSchema Received is valid, and doesn't need to actually use the schema itself.

I'm happy to open a Pull Request for this, since there seem to be existing functionality that already does this.

There is already a meta schema that does exactly this. I.e. you can use any of those to validate JSON Schemas. Internally, jsonschema contains such meta-validators here but they are not public