{
  "$id": "https://firefox-ci-tc.services.mozilla.com/schemas/github/v1/taskcluster-yml-update-message.json#",
  "$schema": "https://firefox-ci-tc.services.mozilla.com/schemas/common/metaschema.json#",
  "additionalProperties": false,
  "description": "Message reporting that a push changed a repository's `.taskcluster.yml`.\n\nThe payload is deliberately narrow.  A consumer acts on a repository it\nalready knows about, so nothing that would let an author of the pushed commits\nsteer it travels with the message.  In particular the file's contents do not.\n",
  "properties": {
    "eventId": {
      "description": "The GitHub webhook deliveryId of the push, for tracing this message back\nto the delivery that caused it.\n",
      "pattern": "^[a-zA-Z0-9]{8}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{12}$",
      "type": "string"
    },
    "organization": {
      "description": "The GitHub `organization` which had an event, as GitHub spells it.  The\nrouting key carries the same name with periods replaced by `%`.\n",
      "maxLength": 100,
      "minLength": 1,
      "pattern": "^([a-zA-Z0-9-_%\\[\\]]*)$",
      "type": "string"
    },
    "ref": {
      "description": "The full ref that was pushed to, so that a consumer can ignore a branch or\ntag it does not build.\n",
      "pattern": "^refs/(heads|tags)/.*$",
      "type": "string"
    },
    "repository": {
      "description": "The GitHub `repository` whose `.taskcluster.yml` changed, as GitHub spells\nit.  The routing key carries the same name with periods replaced by `%`.\n",
      "maxLength": 100,
      "pattern": "^[A-Za-z0-9._-]+$",
      "type": "string"
    },
    "version": {
      "description": "Message version",
      "enum": [
        1
      ]
    }
  },
  "required": [
    "version",
    "organization",
    "repository",
    "ref",
    "eventId"
  ],
  "title": "Taskcluster Yml Update Message",
  "type": "object"
}