{
  "$id": "https://firefox-ci-tc.services.mozilla.com/schemas/queue/v1/task-group-priority-changed-message.json#",
  "$schema": "https://firefox-ci-tc.services.mozilla.com/schemas/common/metaschema.json#",
  "additionalProperties": false,
  "description": "Summary emitted after a task group priority request completes.\n",
  "properties": {
    "newPriority": {
      "enum": [
        "highest",
        "very-high",
        "high",
        "medium",
        "low",
        "very-low",
        "lowest"
      ],
      "type": "string"
    },
    "schedulerId": {
      "$ref": "task-group-response.json#/properties/schedulerId"
    },
    "taskGroupId": {
      "$ref": "task-group-response.json#/properties/taskGroupId"
    },
    "tasksAffected": {
      "description": "Total number of tasks where priority was changed",
      "minimum": 0,
      "type": "integer"
    },
    "version": {
      "description": "Message version",
      "enum": [
        1
      ],
      "type": "integer"
    }
  },
  "required": [
    "version",
    "taskGroupId",
    "schedulerId",
    "newPriority",
    "tasksAffected"
  ],
  "title": "Task Group Priority Changed Message",
  "type": "object"
}