{
  "$schema": "http://json-schema.org/draft-06/schema#",
  "title": "ExportStatusResponse",
  "description": "ExportStatusResponse PI_JSON",
  "type": "object",
  "properties": {
    "exportStatus": {
      "type": "array",
      "items": {
        "$ref": "#/definitions/ExportStatus"
      }
    }
  },
  "definitions": {
    "ExportStatus": {
      "title": " ExportStatus",
      "type": "object",
      "additionalProperties": false,
      "required": [
        "mcId",
        "dataFeed",
        "lastFileExported",
        "fileExported",
        "fileFailed"
      ],
      "properties": {
        "mcId": {
          "type": "string"
        },
        "workflowId": {
          "type": "string"
        },
        "taskRunId": {
          "type": "string"
        },
        "workflowName": {
          "type": "string"
        },
        "suspended": {
          "type": "boolean"
        },
        "directory": {
          "type": "string"
        },
        "dataFeed": {
          "type": "string"
        },
        "lastExportTime": {
          "type": "string"
        },
        "lastFileExported": {
          "type": "string"
        },
        "fileExported": {
          "type": "integer"
        },
        "fileFailed": {
          "type": "integer"
        },
        "lastExportTimeBackgroundColor": {
          "type": "string"
        }
      }
    }
  },
  "required": [
    "exportStatus"
  ]
}
