{
  "$schema": "http://json-schema.org/draft-06/schema#",
  "title": "ImportStatusResponse",
  "description": "ImportStatusResponse PI_JSON",
  "type": "object",
  "properties": {
    "importStatus": {
      "type": "array",
      "items": {
        "$ref": "#/definitions/ImportStatus"
      }
    }
  },
  "definitions": {
    "ImportStatus": {
      "title": " ImportStatus",
      "type": "object",
      "additionalProperties": false,
      "required": [
        "mcId",
        "directory",
        "dataFeed",
        "lastSuccessfulFile",
        "filesSuccessfulCount",
        "filesFailedCount"
      ],
      "properties": {
        "mcId": {
          "type": "string"
        },
        "taskRunId": {
          "type": "string"
        },
        "workflowId": {
          "type": "string"
        },
        "workflowName": {
          "type": "string"
        },
        "directory": {
          "type": "string"
        },
        "suspended": {
          "type": "boolean"
        },
        "dataFeed": {
          "type": "string"
        },
        "dataFeedName": {
          "type": "string"
        },
        "dataFeedDescription": {
          "type": "string"
        },
        "lastSuccessfulTime": {
          "type": "string"
        },
        "lastSuccessfulFile": {
          "type": "string"
        },
        "filesSuccessfulCount": {
          "type": "integer"
        },
        "filesFailedCount": {
          "type": "integer"
        },
        "lastSuccessfulTimeBackgroundColor": {
          "type": "string"
        },
        "status": {
          "type": "string"
        }
      }
    }
  },
  "required": [
    "importStatus"
  ]
}
