{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/nuix/refs/heads/main/json-schema/nuix-rest-promotetodiscoverrequest.json",
  "title": "PromoteToDiscoverRequest",
  "description": "Schema for PromoteToDiscoverRequest in Nuix REST API",
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "description": "Identifies what items should be promoted. If a query is not supplied it defaults to an empty string, which returns all items."
    },
    "deduplication": {
      "type": "string",
      "description": "Deduplicate items before promotion.  Defaults to none.",
      "default": "none",
      "enum": [
        "none",
        "md5",
        "per custodian"
      ]
    },
    "discoverDeduplication": {
      "type": "boolean",
      "description": "Whether or not Nuix Discover should perform deduplication."
    },
    "apiAccessToken": {
      "type": "string",
      "description": "A valid Nuix Discover API Access token"
    },
    "parallelProcessingSettings": {
      "$ref": "#/components/schemas/ParallelProcessingSettings"
    }
  },
  "required": [
    "apiAccessToken"
  ]
}