# branch-restriction-policy

From **GitHub v3 REST API**.

Branch Restriction Policy

- Type: `object`

## Properties

### `apps`

- Required: true
- Type: `array`

### `apps_url`

- Required: true
- Type: `string`
- Format: `uri`

### `teams`

- Required: true
- Type: `array`

### `teams_url`

- Required: true
- Type: `string`
- Format: `uri`

### `url`

- Required: true
- Type: `string`
- Format: `uri`

### `users`

- Required: true
- Type: `array`

### `users_url`

- Required: true
- Type: `string`
- Format: `uri`

## JSON Schema

```json
{"description":"Branch Restriction Policy","properties":{"apps":{"items":{"properties":{"created_at":{"type":"string"},"description":{"type":"string"},"events":{"items":{"type":"string"},"type":"array"},"external_url":{"type":"string"},"html_url":{"type":"string"},"id":{"type":"integer"},"name":{"type":"string"},"node_id":{"type":"string"},"owner":{"properties":{"avatar_url":{"type":"string"},"description":{"type":"string"},"events_url":{"type":"string"},"followers_url":{"example":"\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/followers\"","type":"string"},"following_url":{"example":"\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/following{/other_user}\"","type":"string"},"gists_url":{"example":"\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/gists{/gist_id}\"","type":"string"},"gravatar_id":{"example":"\"\"","type":"string"},"hooks_url":{"type":"string"},"html_url":{"example":"\"https://github.com/testorg-ea8ec76d71c3af4b\"","type":"string"},"id":{"type":"integer"},"issues_url":{"type":"string"},"login":{"type":"string"},"members_url":{"type":"string"},"node_id":{"type":"string"},"organizations_url":{"example":"\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/orgs\"","type":"string"},"public_members_url":{"type":"string"},"received_events_url":{"example":"\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/received_events\"","type":"string"},"repos_url":{"type":"string"},"site_admin":{"example":false,"type":"boolean"},"starred_url":{"example":"\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/starred{/owner}{/repo}\"","type":"string"},"subscriptions_url":{"example":"\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/subscriptions\"","type":"string"},"type":{"example":"\"Organization\"","type":"string"},"url":{"type":"string"}},"type":"object"},"permissions":{"properties":{"contents":{"type":"string"},"issues":{"type":"string"},"metadata":{"type":"string"},"single_file":{"type":"string"}},"type":"object"},"slug":{"type":"string"},"updated_at":{"type":"string"}},"type":"object"},"type":"array"},"apps_url":{"format":"uri","type":"string"},"teams":{"items":{"properties":{"description":{"nullable":true,"type":"string"},"html_url":{"type":"string"},"id":{"type":"integer"},"members_url":{"type":"string"},"name":{"type":"string"},"node_id":{"type":"string"},"parent":{"nullable":true,"type":"string"},"permission":{"type":"string"},"privacy":{"type":"string"},"repositories_url":{"type":"string"},"slug":{"type":"string"},"url":{"type":"string"}},"type":"object"},"type":"array"},"teams_url":{"format":"uri","type":"string"},"url":{"format":"uri","type":"string"},"users":{"items":{"properties":{"avatar_url":{"type":"string"},"events_url":{"type":"string"},"followers_url":{"type":"string"},"following_url":{"type":"string"},"gists_url":{"type":"string"},"gravatar_id":{"type":"string"},"html_url":{"type":"string"},"id":{"type":"integer"},"login":{"type":"string"},"node_id":{"type":"string"},"organizations_url":{"type":"string"},"received_events_url":{"type":"string"},"repos_url":{"type":"string"},"site_admin":{"type":"boolean"},"starred_url":{"type":"string"},"subscriptions_url":{"type":"string"},"type":{"type":"string"},"url":{"type":"string"}},"type":"object"},"type":"array"},"users_url":{"format":"uri","type":"string"}},"required":["url","users_url","teams_url","apps_url","users","teams","apps"],"title":"Branch Restriction Policy","type":"object"}
```
