{
  "$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",
        "dataFeed",
        "suspended",
        "lastImportTime",
        "lastFileImported",
        "fileRead",
        "fileFailed",
        "lastImportTimeBackgroundColor"
      ],
      "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"
        },
        "lastImportTime": {
          "type": "string"
        },
        "lastFileImported": {
          "type": "string"
        },
        "fileRead": {
          "type": "integer"
        },
        "fileFailed": {
          "type": "integer"
        },
        "lastImportTimeBackgroundColor": {
          "type": "string"
        }
      }
    }
  },
  "required": [
    "importStatus"
  ]
}
