{
  "$schema": "http://json-schema.org/draft-04/schema",
  "id": "task.json",
  "type": "object",
  "properties": {
    "taskId": {
      "type": "string",
      "readOnly": true
    },
    "startDate": {
      "type": "string",
      "readOnly": true
    },
    "finishDate": {
      "type": "string",
      "readOnly": true
    },
    "taskType": {
      "type": "string",
      "readOnly": true,
      "enum": [
        "import"
      ]
    },
    "itemsProcessed": {
      "type": "integer",
      "readOnly": true
    },
    "status": {
      "type": "string",
      "readOnly": true,
      "enum": [
        "unknown",
        "standBy",
        "inProgress",
        "completed",
        "failed"
      ]
    }
  }
}
