{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-xdr/json-schema/cisco-xdr-get-all-tasks-response-schema.json",
  "title": "An GetAllTasksResponse 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/GetAllTasksResponse",
  "type": "object",
  "properties": {
    "_links": {
      "$ref": "#/$defs/PaginationLink"
    },
    "results": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/GetAllTaskResponse"
      },
      "x-go-name": "Results"
    }
  },
  "x-go-package": "bitbucket-eng-sjc1.cisco.com/bitbucket/nextg/be-console/models",
  "$defs": {
    "AssigneeResponse": {
      "title": "AssigneeResponse ...",
      "type": "object",
      "properties": {
        "assignee": {
          "type": "string",
          "x-go-name": "Assignee"
        },
        "message": {
          "type": "string",
          "x-go-name": "Message"
        },
        "response": {
          "type": "string",
          "x-go-name": "Response"
        }
      },
      "x-go-package": "bitbucket-eng-sjc1.cisco.com/bitbucket/nextg/lib-data/models"
    },
    "GetAllTaskResponse": {
      "title": "An GetAllTaskResponse model.",
      "type": "object",
      "properties": {
        "action_instance_id": {
          "type": "string",
          "x-go-name": "ActionInstanceID"
        },
        "approval_choices": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "x-go-name": "ApprovalChoices"
        },
        "assignee_responses": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/AssigneeResponse"
          },
          "x-go-name": "AssigneeResponses"
        },
        "assignee_roles": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "x-go-name": "AssigneeRoles"
        },
        "assignees": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "x-go-name": "Assignees"
        },
        "base_type": {
          "type": "string",
          "x-go-name": "BaseType"
        },
        "created_by": {
          "type": "string",
          "x-go-name": "CreatedBy"
        },
        "created_on": {
          "type": "string",
          "format": "date-time",
          "x-go-name": "CreatedOn"
        },
        "description": {
          "type": "string",
          "x-go-name": "Description"
        },
        "display_name": {
          "type": "string",
          "x-go-name": "Name"
        },
        "due_date": {
          "$ref": "#/$defs/LHTime"
        },
        "expiration_date": {
          "$ref": "#/$defs/LHTime"
        },
        "expiration_status": {
          "type": "string",
          "x-go-name": "ExpirationStatus"
        },
        "id": {
          "type": "string",
          "x-go-name": "TaskID"
        },
        "minimum_approvals": {
          "type": "integer",
          "format": "uint32",
          "x-go-name": "MinimumApprovals"
        },
        "priority": {
          "$ref": "#/$defs/TaskPriority"
        },
        "prompt_title": {
          "type": "string",
          "x-go-name": "PromptTitle"
        },
        "response": {
          "type": "string",
          "x-go-name": "Response"
        },
        "status": {
          "$ref": "#/$defs/Status"
        },
        "subject_line": {
          "type": "string",
          "x-go-name": "SubjectLine"
        },
        "task_owner": {
          "type": "string",
          "x-go-name": "TaskOwner"
        },
        "task_requestor": {
          "type": "string",
          "x-go-name": "TaskRequestor"
        },
        "title": {
          "type": "string",
          "x-go-name": "Title"
        },
        "type": {
          "type": "string",
          "x-go-name": "Type"
        },
        "unique_name": {
          "type": "string",
          "x-go-name": "UniqueName"
        },
        "updated_by": {
          "type": "string",
          "x-go-name": "UpdatedBy"
        },
        "updated_on": {
          "type": "string",
          "format": "date-time",
          "x-go-name": "UpdatedOn"
        },
        "wf_instance_id": {
          "type": "string",
          "x-go-name": "WFInstanceID"
        }
      },
      "x-go-package": "bitbucket-eng-sjc1.cisco.com/bitbucket/nextg/be-console/models"
    },
    "LHTime": {
      "type": "object",
      "description": "LHTime embeds time.Time",
      "x-go-package": "bitbucket-eng-sjc1.cisco.com/bitbucket/nextg/lib-data/models"
    },
    "PaginationLink": {
      "type": "object",
      "properties": {
        "next": {
          "type": "string",
          "x-go-name": "Next"
        },
        "prev": {
          "type": "string",
          "x-go-name": "Prev"
        },
        "self": {
          "type": "string",
          "x-go-name": "Self"
        }
      },
      "x-go-package": "bitbucket-eng-sjc1.cisco.com/bitbucket/nextg/ao-libs/api/models"
    },
    "State": {
      "type": "string",
      "description": "DefinitionState",
      "x-go-package": "bitbucket-eng-sjc1.cisco.com/bitbucket/nextg/lib-data/models"
    },
    "Status": {
      "title": "Status ...",
      "type": "object",
      "properties": {
        "details": {
          "$ref": "#/$defs/StatusDetails"
        },
        "prev_state": {
          "$ref": "#/$defs/State"
        },
        "state": {
          "$ref": "#/$defs/State"
        }
      },
      "x-go-package": "bitbucket-eng-sjc1.cisco.com/bitbucket/nextg/lib-data/models"
    },
    "StatusDetails": {
      "type": "object",
      "properties": {
        "code": {
          "type": "string",
          "x-go-name": "Code"
        },
        "description": {
          "type": "string",
          "x-go-name": "Description"
        },
        "message": {
          "type": "string",
          "x-go-name": "Message"
        }
      },
      "x-go-package": "bitbucket-eng-sjc1.cisco.com/bitbucket/nextg/lib-data/models"
    },
    "TaskPriority": {
      "type": "string",
      "description": "TaskPriority contains the Priority enum",
      "x-go-package": "bitbucket-eng-sjc1.cisco.com/bitbucket/nextg/lib-data/models"
    }
  }
}