jsonschema icon indicating copy to clipboard operation
jsonschema copied to clipboard

Feature: support for meta-schemas

Open 0fefe opened this issue 3 years ago • 2 comments

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?

0fefe avatar Apr 26 '22 20:04 0fefe

This is not yet implemented.

santhosh-tekuri avatar Apr 26 '22 21:04 santhosh-tekuri

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.

handrews avatar Jun 15 '22 21:06 handrews

This is fixed in v5.1.0

santhosh-tekuri avatar Nov 11 '22 20:11 santhosh-tekuri