# nullable-scoped-installation

From **GitHub v3 REST API**.

- Type: `object`
- Nullable: true

## Properties

### `account`

- Required: true
- Type: `object`

Simple User

### `has_multiple_single_files`

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

### `permissions`

- Required: true
- Type: `object`
- Example: `{
  "contents": "read",
  "deployments": "write",
  "issues": "read",
  "single_file": "read"
}`

The permissions granted to the user-to-server access token.

### `repositories_url`

- Required: true
- Type: `string`
- Format: `uri`
- Example: `https://api.github.com/users/octocat/repos`

### `repository_selection`

- Required: true
- Type: `string`
- Allowed values: `"all"`, `"selected"`

Describe whether all repositories have been selected or there's a selection involved

### `single_file_name`

- Required: true
- Type: `string`
- Nullable: true
- Example: `config.yaml`

### `single_file_paths`

- Required: false
- Type: `array`
- Example: `[
  "config.yml",
  ".github/issue_TEMPLATE.md"
]`

## JSON Schema

```json
{"nullable":true,"properties":{"account":{"$ref":"#/components/schemas/simple-user"},"has_multiple_single_files":{"example":true,"type":"boolean"},"permissions":{"$ref":"#/components/schemas/app-permissions"},"repositories_url":{"example":"https://api.github.com/users/octocat/repos","format":"uri","type":"string"},"repository_selection":{"description":"Describe whether all repositories have been selected or there's a selection involved","enum":["all","selected"],"type":"string"},"single_file_name":{"example":"config.yaml","nullable":true,"type":"string"},"single_file_paths":{"example":["config.yml",".github/issue_TEMPLATE.md"],"items":{"type":"string"},"type":"array"}},"required":["permissions","repository_selection","single_file_name","repositories_url","account"],"title":"Scoped Installation","type":"object"}
```
