def _validate(self, obj):
        """
        Do the actual validation

        Arguments:
            obj (dict): object to validate

        Returns: ValidationReport
        """
        report = ValidationReport()
        if not self.validator.is_valid(obj):
            for v in self.validator.iter_errors(obj):
                report.add_error("[%s] %s" % ('.'.join(str(vv) for vv in v.path), v.message))
        return report
def _validate ( self , obj ) : report = ValidationReport ( ) if not self . validator . is_valid ( obj ) : for v in self . validator . iter_errors ( obj ) : report . add_error ( "[%s] %s" % ( '.' . join ( str ( vv ) for vv in v . path ) , v . message ) ) return report
Do the actual validation

        Arguments:
            obj (dict): object to validate

        Returns: ValidationReport