# protected-branch-pull-request-review

From **GitHub v3 REST API**.

Protected Branch Pull Request Review

- Type: `object`

## Properties

### `dismiss_stale_reviews`

- Required: true
- Type: `boolean`
- Example: `true`

### `dismissal_restrictions`

- Required: false
- Type: `object`

### `require_code_owner_reviews`

- Required: true
- Type: `boolean`
- Example: `true`

### `required_approving_review_count`

- Required: false
- Type: `integer`
- Example: `2`
- minimum: `1`
- maximum: `6`

### `url`

- Required: false
- Type: `string`
- Format: `uri`
- Example: `https://api.github.com/repos/octocat/Hello-World/branches/master/protection/dismissal_restrictions`

## JSON Schema

```json
{"description":"Protected Branch Pull Request Review","properties":{"dismiss_stale_reviews":{"example":true,"type":"boolean"},"dismissal_restrictions":{"properties":{"teams":{"description":"The list of teams with review dismissal access.","items":{"$ref":"#/components/schemas/team"},"type":"array"},"teams_url":{"example":"\"https://api.github.com/repos/the-org/an-org-repo/branches/master/protection/dismissal_restrictions/teams\"","type":"string"},"url":{"example":"\"https://api.github.com/repos/the-org/an-org-repo/branches/master/protection/dismissal_restrictions\"","type":"string"},"users":{"description":"The list of users with review dismissal access.","items":{"$ref":"#/components/schemas/simple-user"},"type":"array"},"users_url":{"example":"\"https://api.github.com/repos/the-org/an-org-repo/branches/master/protection/dismissal_restrictions/users\"","type":"string"}},"type":"object"},"require_code_owner_reviews":{"example":true,"type":"boolean"},"required_approving_review_count":{"example":2,"maximum":6,"minimum":1,"type":"integer"},"url":{"example":"https://api.github.com/repos/octocat/Hello-World/branches/master/protection/dismissal_restrictions","format":"uri","type":"string"}},"required":["dismiss_stale_reviews","require_code_owner_reviews"],"title":"Protected Branch Pull Request Review","type":"object"}
```
