{
  "type" : "object",
  "required": [
    "id",
    "created_at",
    "project_id",
    "group_id",
    "format",
    "status",
    "started_at",
    "finished_at",
    "_links"
  ],
  "properties" : {
    "id": { "type": "integer" },
    "created_at": { "type": "date" },
    "project_id": { "type": ["integer", "null"] },
    "group_id": { "type": ["integer", "null"] },
    "format": {
      "type": "string",
      "enum": ["csv"]
    },
    "status": {
      "type": "string",
      "enum": ["created", "running", "finished", "failed"]
    },
    "started_at": { "type": ["date", "null"] },
    "finished_at": { "type": ["date", "null"] },
    "_links": {
      "type": "object",
      "required": ["self", "download"],
      "properties": {
        "self": { "type": "string" },
        "download": { "type": "string" }
      },
      "additionalProperties": false
    }
  },
  "additional_properties" : false
}
