# review-comment

From **GitHub v3 REST API**.

Legacy Review Comment

- 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: `Great stuff`

### `body_html`

- Required: false
- Type: `string`

### `body_text`

- Required: false
- Type: `string`

### `commit_id`

- Required: true
- Type: `string`
- Example: `6dcb09b5b57875f334f61aebed695e2e4193db5e`

### `created_at`

- Required: true
- Type: `string`
- Format: `date-time`
- Example: `2011-04-14T16:00:49Z`

### `diff_hunk`

- Required: true
- Type: `string`
- Example: `@@ -16,33 +16,40 @@ public class Connection : IConnection...`

### `html_url`

- Required: true
- Type: `string`
- Format: `uri`
- Example: `https://github.com/octocat/Hello-World/pull/1#discussion-diff-1`

### `id`

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

### `in_reply_to_id`

- Required: false
- Type: `integer`
- Example: `8`

### `line`

- Required: false
- Type: `integer`
- Example: `2`

The line of the blob to which the comment applies. The last line of the range for a multi-line comment

### `node_id`

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

### `original_commit_id`

- Required: true
- Type: `string`
- Example: `9c48853fa3dc5c1c3d6f1f1cd1f2743e72652840`

### `original_line`

- Required: false
- Type: `integer`
- Example: `2`

The original line of the blob to which the comment applies. The last line of the range for a multi-line comment

### `original_position`

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

### `original_start_line`

- Required: false
- Type: `integer`
- Nullable: true
- Example: `2`

The original first line of the range for a multi-line comment.

### `path`

- Required: true
- Type: `string`
- Example: `file1.txt`

### `position`

- Required: true
- Type: `integer`
- Nullable: true
- Example: `1`

### `pull_request_review_id`

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

### `pull_request_url`

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

### `reactions`

- Required: false
- Type: `object`

### `side`

- Required: false
- Type: `string`
- Default: `RIGHT`
- Allowed values: `"LEFT"`, `"RIGHT"`

The side of the first line of the range for a multi-line comment.

### `start_line`

- Required: false
- Type: `integer`
- Nullable: true
- Example: `2`

The first line of the range for a multi-line comment.

### `start_side`

- Required: false
- Type: `string`
- Nullable: true
- Default: `RIGHT`
- Allowed values: `"LEFT"`, `"RIGHT"`

The side of the first line of the range for a multi-line comment.

### `updated_at`

- Required: true
- Type: `string`
- Format: `date-time`
- Example: `2011-04-14T16:00:49Z`

### `url`

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

### `user`

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

Simple User

## JSON Schema

```json
{"description":"Legacy Review Comment","properties":{"_links":{"properties":{"html":{"$ref":"#/components/schemas/link"},"pull_request":{"$ref":"#/components/schemas/link"},"self":{"$ref":"#/components/schemas/link"}},"required":["self","html","pull_request"],"type":"object"},"author_association":{"$ref":"#/components/schemas/author_association"},"body":{"example":"Great stuff","type":"string"},"body_html":{"type":"string"},"body_text":{"type":"string"},"commit_id":{"example":"6dcb09b5b57875f334f61aebed695e2e4193db5e","type":"string"},"created_at":{"example":"2011-04-14T16:00:49Z","format":"date-time","type":"string"},"diff_hunk":{"example":"@@ -16,33 +16,40 @@ public class Connection : IConnection...","type":"string"},"html_url":{"example":"https://github.com/octocat/Hello-World/pull/1#discussion-diff-1","format":"uri","type":"string"},"id":{"example":10,"type":"integer"},"in_reply_to_id":{"example":8,"type":"integer"},"line":{"description":"The line of the blob to which the comment applies. The last line of the range for a multi-line comment","example":2,"type":"integer"},"node_id":{"example":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw","type":"string"},"original_commit_id":{"example":"9c48853fa3dc5c1c3d6f1f1cd1f2743e72652840","type":"string"},"original_line":{"description":"The original line of the blob to which the comment applies. The last line of the range for a multi-line comment","example":2,"type":"integer"},"original_position":{"example":4,"type":"integer"},"original_start_line":{"description":"The original first line of the range for a multi-line comment.","example":2,"nullable":true,"type":"integer"},"path":{"example":"file1.txt","type":"string"},"position":{"example":1,"nullable":true,"type":"integer"},"pull_request_review_id":{"example":42,"nullable":true,"type":"integer"},"pull_request_url":{"example":"https://api.github.com/repos/octocat/Hello-World/pulls/1","format":"uri","type":"string"},"reactions":{"$ref":"#/components/schemas/reaction-rollup"},"side":{"default":"RIGHT","description":"The side of the first line of the range for a multi-line comment.","enum":["LEFT","RIGHT"],"type":"string"},"start_line":{"description":"The first line of the range for a multi-line comment.","example":2,"nullable":true,"type":"integer"},"start_side":{"default":"RIGHT","description":"The side of the first line of the range for a multi-line comment.","enum":["LEFT","RIGHT"],"nullable":true,"type":"string"},"updated_at":{"example":"2011-04-14T16:00:49Z","format":"date-time","type":"string"},"url":{"example":"https://api.github.com/repos/octocat/Hello-World/pulls/comments/1","format":"uri","type":"string"},"user":{"$ref":"#/components/schemas/nullable-simple-user"}},"required":["id","node_id","url","body","diff_hunk","path","position","original_position","commit_id","original_commit_id","user","pull_request_review_id","html_url","pull_request_url","_links","author_association","created_at","updated_at"],"title":"Legacy Review Comment","type":"object"}
```
