{
  "$id": "https://community-tc.services.mozilla.com/schemas/queue/v1/task-metadata.json#",
  "$schema": "https://community-tc.services.mozilla.com/schemas/common/metaschema.json#",
  "additionalProperties": false,
  "description": "Required task metadata\n",
  "properties": {
    "description": {
      "description": "Human readable description of the task, please **explain** what the\ntask does. A few lines of documentation is not going to hurt you.\n",
      "maxLength": 32768,
      "title": "Description",
      "type": "string"
    },
    "name": {
      "description": "Human readable name of task, used to very briefly given an idea about\nwhat the task does.\n",
      "maxLength": 255,
      "title": "Name",
      "type": "string"
    },
    "owner": {
      "description": "Entity who caused this task, not necessarily a person with email who did\n`hg push` as it could be automation bots as well. The entity we should\ncontact to ask why this task is here.\n",
      "maxLength": 255,
      "title": "Owner",
      "type": "string"
    },
    "source": {
      "anyOf": [
        {
          "format": "uri"
        },
        {
          "format": "regex"
        }
      ],
      "description": "Link to source of this task, should specify a file, revision and\nrepository. This should be place someone can go an do a git/hg blame\nto who came up with recipe for this task.\n",
      "maxLength": 4096,
      "pattern": "^(https?://|ssh://|git@)",
      "title": "Source",
      "type": "string"
    }
  },
  "required": [
    "name",
    "description",
    "owner",
    "source"
  ],
  "title": "Task Metadata",
  "type": "object"
}