{
  "$id": "https://firefox-ci-tc.services.mozilla.com/schemas/worker-manager/v1/task-run.json#",
  "$schema": "https://firefox-ci-tc.services.mozilla.com/schemas/common/metaschema.json#",
  "additionalProperties": false,
  "description": "A run of a task.\n",
  "properties": {
    "runId": {
      "description": "Id of this task run, `run-id`s always starts from `0`\n",
      "maximum": 1000,
      "minimum": 0,
      "title": "Run Identifier",
      "type": "integer"
    },
    "taskId": {
      "description": "Unique task identifier, this is UUID encoded as\n[URL-safe base64](http://tools.ietf.org/html/rfc4648#section-5) and\nstripped of `=` padding.\n",
      "pattern": "^[A-Za-z0-9_-]{8}[Q-T][A-Za-z0-9_-][CGKOSWaeimquy26-][A-Za-z0-9_-]{10}[AQgw]$",
      "title": "Task Identifier",
      "type": "string"
    }
  },
  "required": [
    "taskId",
    "runId"
  ],
  "title": "Task Run",
  "type": "object"
}