API Reference

The following classes may be imported directly from the top-level jschon package:

The package additionally defines the catalog initialization function:

jschon.create_catalog(*versions, default=True)

Create and return a new Catalog instance, optionally pre-populated with Metaschema objects supporting one or more versions of the JSON Schema vocabulary.

  • versions (str) – any of '2019-09', '2020-12'

  • default (bool) – if True, new JSONSchema instances are by default cached in this catalog


CatalogError – if a supplied version parameter is not recognized

Return type