Validating JSON schema itself

236 views
Skip to first unread message

Berislav Lopac

unread,
Jan 24, 2020, 8:57:01 AM1/24/20
to jsonschema - An implementation of JSON Schema for Python
Hi! I can't find this in the documentation, and searching through all the messages here seem like a daunting task, so I'd like to ask: is there a simple mechanism to check if a given Python dict is a valid JSON Schema? Thank you!

Berislav

Berislav Lopac

unread,
Jan 24, 2020, 8:58:57 AM1/24/20
to jsonschema - An implementation of JSON Schema for Python
Ugh never mind me, literally discovered https://python-jsonschema.readthedocs.io/en/stable/validate/#jsonschema.IValidator.check_schema the moment after posting this message. Typical... :/
Reply all
Reply to author
Forward
0 new messages