API Reference
Package API
Catalog
- jschon.create_catalog(*versions, name='catalog', resolve_references=True)
Create and return a
Cataloginstance, 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
Cataloginstance.resolve_references (bool) – Passed through to any calls made to the
JSONSchemaconstructor; defaults toTrue; if set toFalsea separate call toresolve_references()is required prior to evaluating any schemas.
- Raises:
ValueError – If any of versions is unrecognized.
- Return type: