# content-file

From **GitHub v3 REST API**.

Content File

- Type: `object`

## Properties

### `_links`

- Required: true
- Type: `object`

### `content`

- Required: true
- Type: `string`

### `download_url`

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

### `encoding`

- Required: true
- Type: `string`

### `git_url`

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

### `html_url`

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

### `name`

- Required: true
- Type: `string`

### `path`

- Required: true
- Type: `string`

### `sha`

- Required: true
- Type: `string`

### `size`

- Required: true
- Type: `integer`

### `submodule_git_url`

- Required: false
- Type: `string`
- Example: `"git://example.com/defunkt/dotjs.git"`

### `target`

- Required: false
- Type: `string`
- Example: `"actual/actual.md"`

### `type`

- Required: true
- Type: `string`

### `url`

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

## JSON Schema

```json
{"description":"Content File","properties":{"_links":{"properties":{"git":{"format":"uri","nullable":true,"type":"string"},"html":{"format":"uri","nullable":true,"type":"string"},"self":{"format":"uri","type":"string"}},"required":["git","html","self"],"type":"object"},"content":{"type":"string"},"download_url":{"format":"uri","nullable":true,"type":"string"},"encoding":{"type":"string"},"git_url":{"format":"uri","nullable":true,"type":"string"},"html_url":{"format":"uri","nullable":true,"type":"string"},"name":{"type":"string"},"path":{"type":"string"},"sha":{"type":"string"},"size":{"type":"integer"},"submodule_git_url":{"example":"\"git://example.com/defunkt/dotjs.git\"","type":"string"},"target":{"example":"\"actual/actual.md\"","type":"string"},"type":{"type":"string"},"url":{"format":"uri","type":"string"}},"required":["_links","git_url","html_url","download_url","name","path","sha","size","type","url","content","encoding"],"title":"Content File","type":"object"}
```
