{
  "$schema": "https://json-structure.org/draft/2020-12/schema",
  "name": "TaskResult",
  "type": "object",
  "properties": {
    "workflowInstanceId": {
      "type": "string"
    },
    "taskId": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "outputData": {
      "type": "object"
    },
    "reasonForIncompletion": {
      "type": "string"
    },
    "callbackAfterSeconds": {
      "type": "integer"
    },
    "workerId": {
      "type": "string"
    },
    "logs": {
      "type": "array"
    },
    "externalOutputPayloadStoragePath": {
      "type": "string"
    }
  }
}