{
  "$id": "https://firefox-ci-tc.services.mozilla.com/schemas/worker-manager/v1/worker-pool-error.json#",
  "$schema": "https://firefox-ci-tc.services.mozilla.com/schemas/common/metaschema.json#",
  "additionalProperties": false,
  "description": "A complete worker pool error definition.\n",
  "properties": {
    "description": {
      "description": "A longer description of what occured in the error.",
      "maxLength": 10240,
      "title": "Description",
      "type": "string"
    },
    "errorId": {
      "description": "An arbitary unique identifier for this error",
      "pattern": "^[A-Za-z0-9_-]{8}[Q-T][A-Za-z0-9_-][CGKOSWaeimquy26-][A-Za-z0-9_-]{10}[AQgw]$",
      "title": "Error ID",
      "type": "string"
    },
    "extra": {
      "additionalProperties": true,
      "description": "Any extra structured information about this error",
      "title": "Extra",
      "type": "object"
    },
    "kind": {
      "description": "A general machine-readable way to identify this sort of error.",
      "maxLength": 128,
      "pattern": "[-a-z0-9]+",
      "title": "Kind",
      "type": "string"
    },
    "launchConfigId": {
      "description": "The launch config ID that was used when the error occurred.\n",
      "maxLength": 38,
      "minLength": 1,
      "pattern": "^([a-zA-Z0-9-_]*)$",
      "title": "Launch Config ID",
      "type": "string"
    },
    "reported": {
      "description": "Date and time when this error was reported",
      "format": "date-time",
      "title": "Reported",
      "type": "string"
    },
    "title": {
      "description": "A human-readable version of `kind`.",
      "maxLength": 128,
      "title": "Title",
      "type": "string"
    },
    "workerPoolId": {
      "$ref": "worker-pool-full.json#/properties/workerPoolId"
    }
  },
  "required": [
    "workerPoolId",
    "errorId",
    "reported",
    "kind",
    "title",
    "description",
    "extra"
  ],
  "title": "Worker Pool Error",
  "type": "object"
}