{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/instana/json-schema/instana-business-activity-schema.json",
  "title": "BusinessActivity",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/instana-business-monitoring-api-openapi.yml#/components/schemas/BusinessActivity",
  "type": "object",
  "properties": {
    "activityId": {
      "type": [
        "string",
        "null"
      ],
      "description": "Unique identifier for the activity generated by the source BPM tool"
    },
    "activityName": {
      "type": [
        "string",
        "null"
      ],
      "description": "Name of the activity "
    },
    "activityStart": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int64",
      "description": "Unix timestamp representing the activity's start time"
    },
    "activityType": {
      "type": "string",
      "description": "Type of the activity "
    },
    "callId": {
      "type": "string",
      "writeOnly": true
    },
    "endpointIds": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "processDefinitionId": {
      "type": [
        "string",
        "null"
      ],
      "description": "The identifier of the process the activity is an instance of."
    },
    "processDefinitionName": {
      "type": [
        "string",
        "null"
      ],
      "description": "The name of the process that the activity is an instance of"
    },
    "rootProcessInstanceId": {
      "type": [
        "string",
        "null"
      ],
      "description": "The id of the root process for the activity"
    }
  },
  "required": [
    "activityType"
  ]
}