code: def maxItems(validator, mI, instance, schema):
      if validator.is_type(instance, "array") and len(instance) > mI:
          yield ValidationError("%r is too long" % (instance,))
  
imports: import re
  from jsonschema._utils import ensure_list, equal, extras_msg, find_additional_properties, types_msg, unbool, uniq
  from jsonschema.exceptions import FormatError, ValidationError
  from jsonschema.compat import iteritems
label_desc: Use image node_id 14 for calling a global function with example usage: maxItems(validator, mI, instance, schema) without return types