{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/nuix/main/json-schema/nuix-create-custodian-request-schema.json",
  "title": "createCustodianRequest",
  "x-generated": "2026-10-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/nuix-custodian-api-openapi.yml#/components/schemas/createCustodianRequest",
  "type": "object",
  "properties": {
    "custodianName": {
      "type": "string",
      "description": "name of the custodian to be created"
    },
    "description": {
      "type": "string",
      "description": "optional, description of the custodian to be created"
    },
    "groups": {
      "type": "array",
      "description": "optional, array of ids(s) of group(s) this custodian will be added to",
      "items": {
        "type": "object",
        "properties": {
          "groupId": {
            "type": "string",
            "description": "id of the group to add this custodian to"
          }
        }
      }
    }
  }
}