code: def uniqueItems(validator, uI, instance, schema):
      if (
          uI
          and validator.is_type(instance, "array")
          and not uniq(instance)
      ):
          yield ValidationError(
              "%r has non-unique elements" % (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 15 for calling a global function with example usage: uniqueItems(validator, uI, instance, schema) without return types