{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/nuix/refs/heads/main/json-schema/nuix-ecc-createtargetrequest.json",
  "title": "createTargetRequest",
  "description": "Schema for createTargetRequest in Nuix ECC REST API",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "always 0"
    },
    "name": {
      "type": "string",
      "description": "case name to set"
    },
    "targetName": {
      "type": "string",
      "description": "name of the new Target"
    },
    "description": {
      "type": "string",
      "description": "optional, description of the new Target"
    },
    "computerId": {
      "type": "string",
      "description": "GUID of the computer this Target belongs to"
    },
    "custodianId": {
      "type": "string",
      "description": "optional, id of Custodian this Target is associated with (Unassigned Custodian if omitted)"
    },
    "inputs": {
      "type": "array",
      "description": "array of input paths",
      "items": {
        "$ref": "#/components/schemas/TargetInputs"
      }
    }
  }
}