santhosh-tekuri/jsonschema

Feature: support for meta-schemas

Closed this issue · 3 comments

0fefe commented

I'm trying to create a meta-schema and later on validate the schema with that meta-schema. However, when :

"$schema": "some_non_draft_ url"

It breaks. I checked that the URL only must match with a draft URL. If so, how do I implement a meta-schema?

This is not yet implemented.

Depending on your workflow, if you don't need the custom meta-schema at runtime, as a workaround you can validate pre-existing schemas against a custom meta-schema by just treating then as a normal instance and schema.

This is fixed in v5.1.0