{
  "type": "object",
  "properties": {
    "dismissal_restrictions": {
      "type": "object",
      "description": "Specify which users, teams, and apps can dismiss pull request reviews. Pass an empty `dismissal_restrictions` object to disable. User and team `dismissal_restrictions` are only available for organization-owned repositories. Omit this parameter for personal repositories.",
      "properties": {
        "users": {
          "type": "array",
          "description": "The list of user `login`s with dismissal access",
          "items": {
            "type": "string"
          }
        },
        "teams": {
          "type": "array",
          "description": "The list of team `slug`s with dismissal access",
          "items": {
            "type": "string"
          }
        },
        "apps": {
          "type": "array",
          "description": "The list of app `slug`s with dismissal access",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "dismiss_stale_reviews": {
      "type": "boolean",
      "description": "Set to `true` if you want to automatically dismiss approving reviews when someone pushes a new commit."
    },
    "require_code_owner_reviews": {
      "type": "boolean",
      "description": "Blocks merging pull requests until [code owners](https://docs.github.com/articles/about-code-owners/) have reviewed."
    },
    "required_approving_review_count": {
      "type": "integer",
      "description": "Specifies the number of reviewers required to approve pull requests. Use a number between 1 and 6 or 0 to not require reviewers."
    },
    "require_last_push_approval": {
      "type": "boolean",
      "description": "Whether the most recent push must be approved by someone other than the person who pushed it. Default: `false`",
      "default": false
    },
    "bypass_pull_request_allowances": {
      "type": "object",
      "description": "Allow specific users, teams, or apps to bypass pull request requirements.",
      "properties": {
        "users": {
          "type": "array",
          "description": "The list of user `login`s allowed to bypass pull request requirements.",
          "items": {
            "type": "string"
          }
        },
        "teams": {
          "type": "array",
          "description": "The list of team `slug`s allowed to bypass pull request requirements.",
          "items": {
            "type": "string"
          }
        },
        "apps": {
          "type": "array",
          "description": "The list of app `slug`s allowed to bypass pull request requirements.",
          "items": {
            "type": "string"
          }
        }
      }
    }
  },
  "$schema": "https://json-schema.org/draft/2019-09/schema"
}