{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/nuix/json-schema/nuix-word-counts-request-schema.json",
  "title": "WordCountsRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/nuix-analysis-api-openapi.yml#/components/schemas/WordCountsRequest",
  "type": "object",
  "properties": {
    "queryList": {
      "type": "array",
      "description": "The set of queries which will be executed.",
      "items": {
        "type": "string"
      }
    },
    "deduplication": {
      "type": "string",
      "description": "The deduplication to apply over each query. Defaults to 'none'",
      "default": "none",
      "enum": [
        "none",
        "md5"
      ]
    },
    "field": {
      "type": "string",
      "description": "Specifies the field to search over each query. Defaults to all.",
      "default": "all",
      "enum": [
        "content",
        "properties",
        "all"
      ]
    },
    "sort": {
      "type": "string",
      "description": "Sorts the results from most frequent to least frequent. Defaults to off.",
      "default": "off",
      "enum": [
        "on",
        "off"
      ]
    },
    "minOccurs": {
      "type": "integer",
      "description": "Returns only results occurring at least this number of times.",
      "format": "int32"
    },
    "maxOccurs": {
      "type": "integer",
      "description": "Returns only results occurring at most this number of times.",
      "format": "int32"
    },
    "minWordLength": {
      "type": "integer",
      "description": "Limits results to words whose length is greater than or equal to this value.",
      "format": "int32"
    },
    "maxWordLength": {
      "type": "integer",
      "description": "Limits results to words whose length is less than or equal to this value.",
      "format": "int32"
    },
    "filter": {
      "type": "string",
      "description": "Limits results to words that match the filter.  Default is 'all'",
      "enum": [
        "all",
        "numeric",
        "aToZ",
        "foreign",
        "atypicalLength"
      ],
      "default": "all"
    },
    "maxResults": {
      "type": "integer",
      "description": "Limits the size of the returned list of word counts.  Defaults to 200; use -1 for no limit.",
      "format": "int32",
      "default": 200
    }
  }
}