1.. currentmodule:: jsonschema.validators
2
3.. _creating-validators:
4
5=======================================
6Creating or Extending Validator Classes
7=======================================
8
9.. autofunction:: create
10
11.. autofunction:: extend
12
13.. autofunction:: validator_for
14
15.. autofunction:: validates
16
17
18Creating Validation Errors
19--------------------------
20
21Any validating function that validates against a subschema should call
22``descend``, rather than ``iter_errors``. If it recurses into the
23instance, or schema, it should pass one or both of the ``path`` or
24``schema_path`` arguments to ``descend`` in order to properly maintain
25where in the instance or schema respectively the error occurred.
26