{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rockwell-automation/json-schema/rockwell-automation-list-activities-response-dto-schema.json",
  "title": "ListActivitiesResponseDto",
  "description": "The data structure representing an activity.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rockwell-automation-activity-manager-api-api-openapi.yml#/components/schemas/ListActivitiesResponseDto",
  "type": "object",
  "properties": {
    "activityId": {
      "type": "string",
      "format": "uuid",
      "description": "The ID of the activity."
    },
    "tenantId": {
      "type": "string",
      "format": "uuid",
      "description": "The Tenant ID."
    },
    "activityName": {
      "type": "string",
      "description": "The name of the activity."
    },
    "description": {
      "type": "string",
      "description": "The description of the activity."
    },
    "activityType": {
      "type": "string",
      "description": "The activity type."
    },
    "activityStatus": {
      "type": "string",
      "description": "The status information of the activity."
    },
    "statusNote": {
      "type": "string",
      "description": "A note on the status of activity."
    },
    "priority": {
      "type": "integer",
      "format": "int32",
      "description": "The priority information about the activity."
    },
    "dueDateTime": {
      "type": "string",
      "format": "date-time",
      "description": "The due date of the activity."
    },
    "assignedTo": {
      "type": "string",
      "format": "uuid",
      "description": "The User ID assigned to the activity."
    },
    "assignedBy": {
      "type": "string",
      "format": "uuid",
      "description": "The User ID assigned by the activity."
    },
    "cost": {
      "type": "number",
      "format": "double",
      "description": "The cost of the activity."
    },
    "customerCode": {
      "type": "string",
      "description": "The customer code of the activity."
    },
    "supplierCode": {
      "type": "string",
      "description": "The supplier code of the activity."
    },
    "location": {
      "type": "string",
      "description": "The location of the activity."
    },
    "private": {
      "type": "boolean",
      "description": "Indicates whether the activity is private or not."
    },
    "assignedToDepartment": {
      "type": "string",
      "description": "The department code to which the activity is assigned."
    },
    "parentActivity": {
      "type": "string",
      "format": "uuid",
      "description": "The parent ID of the activity."
    },
    "improvementProject": {
      "type": "string",
      "description": "The improvement project number of the activity."
    },
    "expenseProject": {
      "type": "string",
      "description": "The expense project key of the activity."
    },
    "strategicObjective": {
      "type": "string",
      "description": "The objective of the activity."
    },
    "opportunity": {
      "type": "string",
      "description": "The opportunity associated with the activity."
    },
    "plannedStartDateTime": {
      "type": "string",
      "format": "date-time",
      "description": "The planned start date of the activity."
    },
    "plannedFinishDateTime": {
      "type": "string",
      "format": "date-time",
      "description": "The planned finish date of the activity."
    },
    "actualStartDateTime": {
      "type": "string",
      "format": "date-time",
      "description": "The actual start date of the activity."
    },
    "actualFinishDateTime": {
      "type": "string",
      "format": "date-time",
      "description": "The actual finish date of the activity."
    },
    "percentageCompletion": {
      "type": "number",
      "format": "double",
      "description": "The completion percentage of the activity."
    },
    "createdDateTime": {
      "type": "string",
      "format": "date-time",
      "description": "The date the activity was created."
    },
    "referenceUrl": {
      "type": "string",
      "description": "The URL of the activity's reference."
    },
    "referenceType": {
      "type": "string",
      "description": "The originating application or other source that created the activity."
    },
    "referenceId": {
      "type": "string",
      "description": "The unique identifier for the activity's reference."
    },
    "referenceDetails": {
      "type": "object",
      "description": "The reference details of the activity expressed as a JSON object consisting of key-value pairs (e.g., {&quot;Key1&quot;: &quot;Value&quot;, &quot;Key2&quot;: 2}) where the values are of primitive types (string, number, or boolean)."
    },
    "lastModifiedDateTime": {
      "type": "string",
      "format": "date-time",
      "description": "The date on which the activity was last modified."
    }
  }
}