{
  "type": "object",
  "required": [ "commits", "repository" ],
  "properties": {
    "commits": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [ "branch" ],
        "properties": { "branch": { "type": "string" } }
      }
    },
    "repository": {
      "type": "object",
      "required": [ "owner", "slug" ],
      "properties": {
        "owner": { "type": "string" },
        "slug": { "type": "string" }
      }
    }
  }
}

Add Bitbucket JSON hook schema
Add Bitbucket JSON hook schema
