jsonschema_validator package

Submodules

jsonschema_validator.validator module

class jsonfield_validation.validator.JsonSchemaValidator(*args, **kwargs)[source]

Bases: object

Django model field validator for use with JSONField.

Validates against a given JSON Schema.

check(value) Optional[Dict][source]

Check value against the schema without raising an exception.

If there are errors, they are returned as a dictionary. If the value is a JSON object, errors are keyed by the path through to the errant attribute.

deconstruct()

Return a 3-tuple of class import path, positional arguments, and keyword arguments.

nested_item_delimiter = '.'

Module contents

Top-level package for Django JSON Schema Field Validator.