# commit

From **GitHub v3 REST API**.

Commit

- Type: `object`

## Properties

### `author`

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

Simple User

### `comments_url`

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

### `commit`

- Required: true
- Type: `object`

### `committer`

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

Simple User

### `files`

- Required: false
- Type: `array`

### `html_url`

- Required: true
- Type: `string`
- Format: `uri`
- Example: `https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e`

### `node_id`

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

### `parents`

- Required: true
- Type: `array`

### `sha`

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

### `stats`

- Required: false
- Type: `object`

### `url`

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

## JSON Schema

```json
{"description":"Commit","properties":{"author":{"$ref":"#/components/schemas/nullable-simple-user"},"comments_url":{"example":"https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e/comments","format":"uri","type":"string"},"commit":{"properties":{"author":{"$ref":"#/components/schemas/nullable-git-user"},"comment_count":{"example":0,"type":"integer"},"committer":{"$ref":"#/components/schemas/nullable-git-user"},"message":{"example":"Fix all the bugs","type":"string"},"tree":{"properties":{"sha":{"example":"827efc6d56897b048c772eb4087f854f46256132","type":"string"},"url":{"example":"https://api.github.com/repos/octocat/Hello-World/tree/827efc6d56897b048c772eb4087f854f46256132","format":"uri","type":"string"}},"required":["sha","url"],"type":"object"},"url":{"example":"https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e","format":"uri","type":"string"},"verification":{"$ref":"#/components/schemas/verification"}},"required":["author","committer","comment_count","message","tree","url"],"type":"object"},"committer":{"$ref":"#/components/schemas/nullable-simple-user"},"files":{"items":{"$ref":"#/components/schemas/diff-entry"},"type":"array"},"html_url":{"example":"https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e","format":"uri","type":"string"},"node_id":{"example":"MDY6Q29tbWl0NmRjYjA5YjViNTc4NzVmMzM0ZjYxYWViZWQ2OTVlMmU0MTkzZGI1ZQ==","type":"string"},"parents":{"items":{"properties":{"html_url":{"example":"https://github.com/octocat/Hello-World/commit/7638417db6d59f3c431d3e1f261cc637155684cd","format":"uri","type":"string"},"sha":{"example":"7638417db6d59f3c431d3e1f261cc637155684cd","type":"string"},"url":{"example":"https://api.github.com/repos/octocat/Hello-World/commits/7638417db6d59f3c431d3e1f261cc637155684cd","format":"uri","type":"string"}},"required":["sha","url"],"type":"object"},"type":"array"},"sha":{"example":"6dcb09b5b57875f334f61aebed695e2e4193db5e","type":"string"},"stats":{"properties":{"additions":{"type":"integer"},"deletions":{"type":"integer"},"total":{"type":"integer"}},"type":"object"},"url":{"example":"https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e","format":"uri","type":"string"}},"required":["url","sha","node_id","html_url","comments_url","commit","author","committer","parents"],"title":"Commit","type":"object"}
```
