API Reference

Package API

Catalog

jschon.create_catalog(*vocabularies, name='catalog')

Create and return a Catalog instance, initialized with a meta-schema and keyword support for each of the specified JSON Schema vocabularies.

Parameters
  • vocabularies (str) – Any of 2019-09, 2020-12.

  • name (str) – A unique name for the Catalog instance.

Raises

ValueError – If any of vocabularies is unrecognized.

Return type

jschon.catalog.Catalog

JSON

JSON Patch

JSON Pointer

JSON Schema

URI

Module Reference