{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/nuix/json-schema/nuix-search-hit-response-schema.json",
  "title": "SearchHitResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/nuix-analysis-api-openapi.yml#/components/schemas/SearchHitResponse",
  "type": "object",
  "properties": {
    "terms": {
      "uniqueItems": true,
      "type": "array",
      "description": "Set of matching terms",
      "items": {
        "type": "string"
      }
    },
    "text": {
      "uniqueItems": true,
      "type": "array",
      "description": "Set of search hits matching the text content",
      "items": {
        "$ref": "#/$defs/SearchHit"
      }
    },
    "properties": {
      "type": "object",
      "additionalProperties": {
        "type": "object"
      },
      "description": "Map containing the set of search hits by property name.  Objects are map[string, array[SearchHit]"
    }
  },
  "$defs": {
    "SearchHit": {
      "type": "object",
      "properties": {
        "term": {
          "type": "string",
          "description": "Search hit term."
        },
        "count": {
          "type": "integer",
          "description": "The number of occurrances for this term",
          "format": "int32"
        }
      }
    }
  }
}