# commit-comment

From **GitHub v3 REST API**.

Commit Comment

- Type: `object`

## Properties

### `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`

### `commit_id`

- Required: true
- Type: `string`

### `created_at`

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

### `html_url`

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

### `id`

- Required: true
- Type: `integer`

### `line`

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

### `node_id`

- Required: true
- Type: `string`

### `path`

- Required: true
- Type: `string`
- Nullable: true

### `position`

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

### `reactions`

- Required: false
- Type: `object`

### `updated_at`

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

### `url`

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

### `user`

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

Simple User

## JSON Schema

```json
{"description":"Commit Comment","properties":{"author_association":{"$ref":"#/components/schemas/author_association"},"body":{"type":"string"},"commit_id":{"type":"string"},"created_at":{"format":"date-time","type":"string"},"html_url":{"format":"uri","type":"string"},"id":{"type":"integer"},"line":{"nullable":true,"type":"integer"},"node_id":{"type":"string"},"path":{"nullable":true,"type":"string"},"position":{"nullable":true,"type":"integer"},"reactions":{"$ref":"#/components/schemas/reaction-rollup"},"updated_at":{"format":"date-time","type":"string"},"url":{"format":"uri","type":"string"},"user":{"$ref":"#/components/schemas/nullable-simple-user"}},"required":["url","html_url","id","node_id","user","position","line","path","commit_id","body","author_association","created_at","updated_at"],"title":"Commit Comment","type":"object"}
```
