{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/nuix/json-schema/nuix-case-delete-response-schema.json",
  "title": "CaseDeleteResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/nuix-inventory-api-openapi.yml#/components/schemas/CaseDeleteResponse",
  "type": "object",
  "properties": {
    "caseId": {
      "type": "string",
      "description": "caseId"
    },
    "success": {
      "type": "boolean",
      "description": "success"
    },
    "errorMessage": {
      "type": "string",
      "description": "Error message if the delete operation failed"
    },
    "childCases": {
      "description": "The list of child cases deleted if the deleted case was a compound case",
      "type": "array",
      "items": {
        "$ref": "#/$defs/CaseDeleteResponse"
      }
    }
  },
  "$defs": {
    "CaseDeleteResponse": {
      "type": "object",
      "properties": {
        "caseId": {
          "type": "string",
          "description": "caseId"
        },
        "success": {
          "type": "boolean",
          "description": "success"
        },
        "errorMessage": {
          "type": "string",
          "description": "Error message if the delete operation failed"
        },
        "childCases": {
          "description": "The list of child cases deleted if the deleted case was a compound case",
          "type": "array",
          "items": {
            "$ref": "#/$defs/CaseDeleteResponse"
          }
        }
      }
    }
  }
}