def checks(self, format, raises=()):

        def _checks(func):
            self.checkers[format] = (func, raises)
            return func
        return _checks
Register a decorated function as validating a new format.
dataset/ETHPy150Open Julian/jsonschema/jsonschema/_format.py/FormatChecker.checks