# code-search-result-item

From **GitHub v3 REST API**.

Code Search Result Item

- Type: `object`

## Properties

### `file_size`

- Required: false
- Type: `integer`

### `git_url`

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

### `html_url`

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

### `language`

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

### `last_modified_at`

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

### `line_numbers`

- Required: false
- Type: `array`
- Example: `[
  "73..77",
  "77..78"
]`

### `name`

- Required: true
- Type: `string`

### `path`

- Required: true
- Type: `string`

### `repository`

- Required: true
- Type: `object`

Minimal Repository

### `score`

- Required: true
- Type: `number`

### `sha`

- Required: true
- Type: `string`

### `text_matches`

- Required: false
- Type: `array`

### `url`

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

## JSON Schema

```json
{"description":"Code Search Result Item","properties":{"file_size":{"type":"integer"},"git_url":{"format":"uri","type":"string"},"html_url":{"format":"uri","type":"string"},"language":{"nullable":true,"type":"string"},"last_modified_at":{"format":"date-time","type":"string"},"line_numbers":{"example":["73..77","77..78"],"items":{"type":"string"},"type":"array"},"name":{"type":"string"},"path":{"type":"string"},"repository":{"$ref":"#/components/schemas/minimal-repository"},"score":{"type":"number"},"sha":{"type":"string"},"text_matches":{"$ref":"#/components/schemas/search-result-text-matches"},"url":{"format":"uri","type":"string"}},"required":["score","name","path","sha","git_url","html_url","url","repository"],"title":"Code Search Result Item","type":"object"}
```
