{
  "$id": "https://firefox-ci-tc.services.mozilla.com/schemas/queue/v1/task-pending-message.json#",
  "$schema": "https://firefox-ci-tc.services.mozilla.com/schemas/common/metaschema.json#",
  "additionalProperties": false,
  "description": "Message reporting that a task is now pending\n",
  "properties": {
    "runId": {
      "description": "Id of run that became pending, `run-id`s always starts from 0\n",
      "maximum": 1000,
      "minimum": 0,
      "type": "integer"
    },
    "status": {
      "$ref": "task-status.json#"
    },
    "task": {
      "additionalProperties": false,
      "description": "Subset of a task definition\n",
      "properties": {
        "tags": {
          "$ref": "task.json#/properties/tags"
        }
      },
      "required": [
        "tags"
      ],
      "type": "object"
    },
    "version": {
      "description": "Message version",
      "enum": [
        1
      ],
      "type": "integer"
    }
  },
  "required": [
    "version",
    "status",
    "runId"
  ],
  "title": "Task Pending Message",
  "type": "object"
}