debian-python-jsonschema/jsonschema/__init__.py

25 lines
678 B
Python
Raw Normal View History

"""
An implementation of JSON Schema for Python
2012-09-28 19:36:27 +02:00
The main functionality is provided by the validator classes for each of the
2012-09-27 15:10:04 +02:00
supported JSON Schema versions.
2012-11-01 14:35:56 +01:00
Most commonly, :func:`validate` is the quickest way to simply validate a given
instance under a schema, and will create a validator for you.
"""
from jsonschema.exceptions import (
2013-10-30 13:13:21 +01:00
ErrorTree, FormatError, RefResolutionError, SchemaError, ValidationError
)
2013-05-13 05:40:56 +02:00
from jsonschema._format import (
FormatChecker, draft3_format_checker, draft4_format_checker,
)
2013-05-13 05:40:56 +02:00
from jsonschema.validators import (
2013-10-30 13:13:21 +01:00
Draft3Validator, Draft4Validator, RefResolver, validate
2013-04-11 19:19:17 +02:00
)
2013-05-13 05:40:56 +02:00
2015-03-04 21:57:31 +01:00
from jsonschema.version import __version__
2013-05-13 05:40:56 +02:00
# flake8: noqa