Validation

converters.validate.validate_schema(schema, data)

Validates the instance against corresponding json schema.

Parameters
  • schema – the json schema to validate with

  • data – the instance to validate

Returns

True if the instance is valid, False if not

Raises

ValidationError if the instance is invalid