API Reference

Package API

Catalog

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

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.

Raises:

ValueError – If any of versions is unrecognized.

Return type:

Catalog

JSON

JSON Patch

JSON Pointer

JSON Schema

URI

Module Reference