code: def handle_oneof(oneof_schema: list) -> tuple:
      
      oneof_dict = {schema["type"]: schema for schema in oneof_schema}
      click_type = None
      multiple = False
      description = None
      for key, value in oneof_dict.items():
          if key == "array":
              continue
          elif key in SCHEMA_BASE_MAP:
              if oneof_dict.get("array") and oneof_dict["array"]["items"]["type"] == key:
                  multiple = True
              # Found a match to a primitive type
              click_type = SCHEMA_BASE_MAP[key]
              description = value.get("title")
              break
      return click_type, multiple, description
docs: Custom handle of `oneOf` JSON schema validator. Tried to match primitive type and see if it should be allowed
       to be passed multiple timns into a command
  
      :param oneof_schema: `oneOf` JSON schema
      :return: Tuple of :class:`click.ParamType`, ``multiple`` flag and ``description`` of option