Acronis · JSON Structure

Task Manager Activity Structure

A subordinate activity within a task

Type: object Properties: 10
CybersecurityData ProtectionEndpoint Management

Activity is a JSON Structure definition published by Acronis, describing 10 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

id type state result_code parent_activity_id task_id sustainable createdAt startedAt completedAt

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/acronis/refs/heads/main/json-structure/task-manager-activity-structure.json",
  "description": "A subordinate activity within a task",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Activity unique identifier"
    },
    "type": {
      "type": "string",
      "description": "Activity type"
    },
    "state": {
      "type": "string",
      "enum": [
        "enqueued",
        "assigned",
        "started",
        "paused",
        "completed"
      ]
    },
    "result_code": {
      "type": "string",
      "enum": [
        "ok",
        "error",
        "warning",
        "cancelled",
        "abandoned",
        "timedout"
      ]
    },
    "parent_activity_id": {
      "type": "string",
      "description": "Parent activity UUID if nested"
    },
    "task_id": {
      "type": "string",
      "description": "Parent task identifier"
    },
    "sustainable": {
      "type": "boolean",
      "description": "Whether activity can be requeued on failure"
    },
    "createdAt": {
      "type": "datetime"
    },
    "startedAt": {
      "type": "datetime"
    },
    "completedAt": {
      "type": "datetime"
    }
  },
  "name": "Activity"
}