API Reference

Package API

Catalog

jschon.create_catalog(*versions, name='catalog', resolve_references=True)

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

Parameters:
  • versions (str) – Any of 2019-09, 2020-12, next.

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

  • resolve_references (bool) – Passed through to any calls made to the JSONSchema constructor; defaults to True; if set to False a separate call to resolve_references() is required prior to evaluating any schemas.

Raises:

ValueError – If any of versions is unrecognized.

Return type:

Catalog

JSON

JSON Patch

JSON Pointer

JSON Schema

URI

Module Reference