# pull-request-review

From **GitHub v3 REST API**.

Pull Request Reviews are reviews on pull requests.

- Type: `object`

## Properties

### `_links`

- Required: true
- Type: `object`

### `author_association`

- Required: true
- Type: `string`
- Example: `OWNER`
- Allowed values: `"COLLABORATOR"`, `"CONTRIBUTOR"`, `"FIRST_TIMER"`, `"FIRST_TIME_CONTRIBUTOR"`, `"MANNEQUIN"`, `"MEMBER"`, `"NONE"`, `"OWNER"`

How the author is associated with the repository.

### `body`

- Required: true
- Type: `string`
- Example: `This looks great.`

The text of the review.

### `body_html`

- Required: false
- Type: `string`

### `body_text`

- Required: false
- Type: `string`

### `commit_id`

- Required: true
- Type: `string`
- Example: `54bb654c9e6025347f57900a4a5c2313a96b8035`

A commit SHA for the review.

### `html_url`

- Required: true
- Type: `string`
- Format: `uri`
- Example: `https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80`

### `id`

- Required: true
- Type: `integer`
- Example: `42`

Unique identifier of the review

### `node_id`

- Required: true
- Type: `string`
- Example: `MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA=`

### `pull_request_url`

- Required: true
- Type: `string`
- Format: `uri`
- Example: `https://api.github.com/repos/octocat/Hello-World/pulls/12`

### `state`

- Required: true
- Type: `string`
- Example: `CHANGES_REQUESTED`

### `submitted_at`

- Required: false
- Type: `string`
- Format: `date-time`

### `user`

- Required: true
- Type: `object`
- Nullable: true

Simple User

## JSON Schema

```json
{"description":"Pull Request Reviews are reviews on pull requests.","properties":{"_links":{"properties":{"html":{"properties":{"href":{"type":"string"}},"required":["href"],"type":"object"},"pull_request":{"properties":{"href":{"type":"string"}},"required":["href"],"type":"object"}},"required":["html","pull_request"],"type":"object"},"author_association":{"$ref":"#/components/schemas/author_association"},"body":{"description":"The text of the review.","example":"This looks great.","type":"string"},"body_html":{"type":"string"},"body_text":{"type":"string"},"commit_id":{"description":"A commit SHA for the review.","example":"54bb654c9e6025347f57900a4a5c2313a96b8035","type":"string"},"html_url":{"example":"https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80","format":"uri","type":"string"},"id":{"description":"Unique identifier of the review","example":42,"type":"integer"},"node_id":{"example":"MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA=","type":"string"},"pull_request_url":{"example":"https://api.github.com/repos/octocat/Hello-World/pulls/12","format":"uri","type":"string"},"state":{"example":"CHANGES_REQUESTED","type":"string"},"submitted_at":{"format":"date-time","type":"string"},"user":{"$ref":"#/components/schemas/nullable-simple-user"}},"required":["id","node_id","user","body","state","commit_id","html_url","pull_request_url","_links","author_association"],"title":"Pull Request Review","type":"object"}
```
