{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/nuix/refs/heads/main/json-schema/nuix-rest-itemsetremoveitemsrequest.json",
  "title": "ItemSetRemoveItemsRequest",
  "description": "Schema for ItemSetRemoveItemsRequest in Nuix REST API",
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "description": "Query items that should be included. If a query is not supplied it defaults to an empty string, which returns all items."
    },
    "deduplication": {
      "type": "string",
      "description": "Deduplicate content. Defaults to none.",
      "default": "none",
      "enum": [
        "none",
        "md5",
        "per custodian"
      ]
    },
    "relationType": {
      "type": "string",
      "description": "The relation to apply to the found items. For performance reasons, the family option is run against the top-level items.  Defaults to no relation.",
      "enum": [
        "family",
        "topTypes",
        "descendants"
      ]
    },
    "removeDuplicates": {
      "type": "boolean",
      "description": "removeDuplicates.  Default is true.",
      "default": true
    }
  }
}