Blame tools/extra/packager/jsonschema-2.3.0/jsonschema/__init__.py
|
Packit |
534379 |
"""
|
|
Packit |
534379 |
An implementation of JSON Schema for Python
|
|
Packit |
534379 |
|
|
Packit |
534379 |
The main functionality is provided by the validator classes for each of the
|
|
Packit |
534379 |
supported JSON Schema versions.
|
|
Packit |
534379 |
|
|
Packit |
534379 |
Most commonly, :func:`validate` is the quickest way to simply validate a given
|
|
Packit |
534379 |
instance under a schema, and will create a validator for you.
|
|
Packit |
534379 |
|
|
Packit |
534379 |
"""
|
|
Packit |
534379 |
|
|
Packit |
534379 |
from jsonschema.exceptions import (
|
|
Packit |
534379 |
ErrorTree, FormatError, RefResolutionError, SchemaError, ValidationError
|
|
Packit |
534379 |
)
|
|
Packit |
534379 |
from jsonschema._format import (
|
|
Packit |
534379 |
FormatChecker, draft3_format_checker, draft4_format_checker,
|
|
Packit |
534379 |
)
|
|
Packit |
534379 |
from jsonschema.validators import (
|
|
Packit |
534379 |
Draft3Validator, Draft4Validator, RefResolver, validate
|
|
Packit |
534379 |
)
|
|
Packit |
534379 |
|
|
Packit |
534379 |
|
|
Packit |
534379 |
__version__ = "2.3.0"
|
|
Packit |
534379 |
|
|
Packit |
534379 |
|
|
Packit |
534379 |
# flake8: noqa
|