{
  "$id": "https://firefox-ci-tc.services.mozilla.com/schemas/queue/v1/task-group-priority-change-response.json#",
  "$schema": "https://firefox-ci-tc.services.mozilla.com/schemas/common/metaschema.json#",
  "additionalProperties": false,
  "description": "Response returned by the change task group priority call.\n",
  "properties": {
    "newPriority": {
      "enum": [
        "highest",
        "very-high",
        "high",
        "medium",
        "low",
        "very-low",
        "lowest"
      ],
      "type": "string"
    },
    "schedulerId": {
      "$ref": "task-group-response.json#/properties/schedulerId"
    },
    "taskGroupId": {
      "pattern": "^[A-Za-z0-9_-]{8}[Q-T][A-Za-z0-9_-][CGKOSWaeimquy26-][A-Za-z0-9_-]{10}[AQgw]$",
      "title": "Task-Group Identifier",
      "type": "string"
    },
    "taskIds": {
      "description": "Task identifiers that were updated. Present even if the list is empty.\n",
      "items": {
        "pattern": "^[A-Za-z0-9_-]{8}[Q-T][A-Za-z0-9_-][CGKOSWaeimquy26-][A-Za-z0-9_-]{10}[AQgw]$",
        "type": "string"
      },
      "type": "array",
      "uniqueItems": true
    },
    "tasksAffected": {
      "minimum": 0,
      "type": "integer"
    }
  },
  "required": [
    "taskGroupId",
    "schedulerId",
    "newPriority",
    "tasksAffected",
    "taskIds"
  ],
  "title": "Task Group Priority Change Response",
  "type": "object"
}