{
  "$id": "https://firefox-ci-tc.services.mozilla.com/schemas/queue/v1/task-priority-changed-message.json#",
  "$schema": "https://firefox-ci-tc.services.mozilla.com/schemas/common/metaschema.json#",
  "additionalProperties": false,
  "description": "Message emitted whenever `changeTaskPriority` updates\nthe priority of an unresolved task.\n",
  "properties": {
    "newPriority": {
      "enum": [
        "highest",
        "very-high",
        "high",
        "medium",
        "low",
        "very-low",
        "lowest"
      ],
      "type": "string"
    },
    "oldPriority": {
      "enum": [
        "highest",
        "very-high",
        "high",
        "medium",
        "low",
        "very-low",
        "lowest"
      ],
      "type": "string"
    },
    "status": {
      "$ref": "task-status.json#"
    },
    "version": {
      "description": "Message version",
      "enum": [
        1
      ],
      "type": "integer"
    }
  },
  "required": [
    "version",
    "status",
    "oldPriority",
    "newPriority"
  ],
  "title": "Task Priority Changed Message",
  "type": "object"
}