code: def maximum_draft3_draft4(validator, maximum, instance, schema):
      if not validator.is_type(instance, "number"):
          return
  
      if schema.get("exclusiveMaximum", False):
          failed = instance >= maximum
          cmp = "greater than or equal to"
      else:
          failed = instance > maximum
          cmp = "greater than"
  
      if failed:
          yield ValidationError(
              "%r is %s the maximum of %r" % (instance, cmp, maximum)
          )
  
file_path: catboost/contrib/python/jsonschema/py3/jsonschema/_legacy_validators.py
imports: from jsonschema import _utils
  from jsonschema.compat import iteritems
  from jsonschema.exceptions import ValidationError
label_desc: Use image node_id 6 for calling a global function with example usage: maximum_draft3_draft4(validator, maximum, instance, schema) without return types