{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-xdr/json-schema/cisco-xdr-task-patch-request-schema.json",
  "title": "An TaskPatchRequest model.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-xdr-tasks-api-openapi.yml#/components/schemas/TaskPatchRequest",
  "type": "object",
  "properties": {
    "approval_choices": {
      "type": "array",
      "description": "Approval choices of task",
      "items": {
        "type": "string"
      },
      "x-go-name": "ApprovalChoices"
    },
    "assignees": {
      "type": "array",
      "description": "List of assignees of the task",
      "items": {
        "type": "string"
      },
      "x-go-name": "Assignees"
    },
    "description": {
      "type": "string",
      "description": "Task description",
      "x-go-name": "Description"
    },
    "display_name": {
      "type": "string",
      "description": "Task name",
      "x-go-name": "Name"
    },
    "due_date": {
      "$ref": "#/$defs/DueTaskDateInfo"
    },
    "expiration_date": {
      "$ref": "#/$defs/TaskDateInfo"
    },
    "expiration_status": {
      "type": "string",
      "description": "Task expiration status",
      "x-go-name": "ExpirationStatus"
    },
    "minimum_approvals": {
      "type": "integer",
      "description": "Minimum Approvals for the task",
      "format": "uint32",
      "x-go-name": "MinimumApprovals"
    },
    "priority": {
      "type": "string",
      "description": "Task priority",
      "x-go-name": "Priority"
    },
    "subject_line": {
      "type": "string",
      "description": "Task subject line",
      "x-go-name": "SubjectLine"
    },
    "task_message": {
      "type": "string",
      "description": "Approval message of task",
      "x-go-name": "ApprovalMessage"
    },
    "task_owner": {
      "type": "string",
      "description": "Task owner",
      "x-go-name": "TaskOwner"
    },
    "task_requestor": {
      "type": "string",
      "description": "Task requestor",
      "x-go-name": "TaskRequestor"
    },
    "title": {
      "type": "string",
      "description": "Task title",
      "x-go-name": "Title"
    }
  },
  "x-go-package": "bitbucket-eng-sjc1.cisco.com/bitbucket/nextg/be-console/models",
  "$defs": {
    "DueTaskDateInfo": {
      "title": "DueTaskDateInfo ...",
      "type": "object",
      "properties": {
        "is_relative_time": {
          "type": "boolean",
          "x-go-name": "IsRelativeTime"
        },
        "is_specified_date": {
          "type": "boolean",
          "x-go-name": "IsSpecifiedDate"
        },
        "relative_time": {
          "$ref": "#/$defs/RelativeTime"
        },
        "set_due_date": {
          "type": "boolean",
          "x-go-name": "SetDueDate"
        },
        "specified_date": {
          "type": "string",
          "x-go-name": "SpecifiedDate"
        }
      },
      "x-go-package": "bitbucket-eng-sjc1.cisco.com/bitbucket/nextg/ao-libs/api/models"
    },
    "RelativeTime": {
      "title": "RelativeTime ...",
      "type": "object",
      "properties": {
        "duration": {
          "type": "integer",
          "format": "int64",
          "x-go-name": "Duration"
        },
        "time_units": {
          "$ref": "#/$defs/TimeUnit"
        }
      },
      "x-go-package": "bitbucket-eng-sjc1.cisco.com/bitbucket/nextg/ao-libs/api/models"
    },
    "TaskDateInfo": {
      "title": "TaskDateInfo ...",
      "type": "object",
      "properties": {
        "is_relative_time": {
          "type": "boolean",
          "x-go-name": "IsRelativeTime"
        },
        "is_specified_date": {
          "type": "boolean",
          "x-go-name": "IsSpecifiedDate"
        },
        "relative_time": {
          "$ref": "#/$defs/RelativeTime"
        },
        "specified_date": {
          "type": "string",
          "x-go-name": "SpecifiedDate"
        }
      },
      "x-go-package": "bitbucket-eng-sjc1.cisco.com/bitbucket/nextg/ao-libs/api/models"
    },
    "TimeUnit": {
      "title": "TimeUnit ...",
      "type": "string",
      "x-go-package": "bitbucket-eng-sjc1.cisco.com/bitbucket/nextg/ao-libs/api/models"
    }
  }
}