code: 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
docs: Do the actual validation
  
          Arguments:
              obj (dict): object to validate
  
          Returns: ValidationReport