# issue-search-result-item

From **GitHub v3 REST API**.

Issue Search Result Item

- Type: `object`

## Properties

### `active_lock_reason`

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

### `assignee`

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

Simple User

### `assignees`

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

### `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: false
- Type: `string`

### `body_html`

- Required: false
- Type: `string`

### `body_text`

- Required: false
- Type: `string`

### `closed_at`

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

### `comments`

- Required: true
- Type: `integer`

### `comments_url`

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

### `created_at`

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

### `draft`

- Required: false
- Type: `boolean`

### `events_url`

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

### `html_url`

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

### `id`

- Required: true
- Type: `integer`

### `labels`

- Required: true
- Type: `array`

### `labels_url`

- Required: true
- Type: `string`

### `locked`

- Required: true
- Type: `boolean`

### `milestone`

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

A collection of related issues and pull requests.

### `node_id`

- Required: true
- Type: `string`

### `number`

- Required: true
- Type: `integer`

### `performed_via_github_app`

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

GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.

### `pull_request`

- Required: false
- Type: `object`

### `reactions`

- Required: false
- Type: `object`

### `repository`

- Required: false
- Type: `object`

A git repository

## JSON Schema

```json
{"description":"Issue Search Result Item","properties":{"active_lock_reason":{"nullable":true,"type":"string"},"assignee":{"$ref":"#/components/schemas/nullable-simple-user"},"assignees":{"items":{"$ref":"#/components/schemas/simple-user"},"nullable":true,"type":"array"},"author_association":{"$ref":"#/components/schemas/author_association"},"body":{"type":"string"},"body_html":{"type":"string"},"body_text":{"type":"string"},"closed_at":{"format":"date-time","nullable":true,"type":"string"},"comments":{"type":"integer"},"comments_url":{"format":"uri","type":"string"},"created_at":{"format":"date-time","type":"string"},"draft":{"type":"boolean"},"events_url":{"format":"uri","type":"string"},"html_url":{"format":"uri","type":"string"},"id":{"type":"integer"},"labels":{"items":{"properties":{"color":{"type":"string"},"default":{"type":"boolean"},"description":{"nullable":true,"type":"string"},"id":{"format":"int64","type":"integer"},"name":{"type":"string"},"node_id":{"type":"string"},"url":{"type":"string"}},"type":"object"},"type":"array"},"labels_url":{"type":"string"},"locked":{"type":"boolean"},"milestone":{"$ref":"#/components/schemas/nullable-milestone"},"node_id":{"type":"string"},"number":{"type":"integer"},"performed_via_github_app":{"$ref":"#/components/schemas/nullable-integration"},"pull_request":{"properties":{"diff_url":{"format":"uri","nullable":true,"type":"string"},"html_url":{"format":"uri","nullable":true,"type":"string"},"merged_at":{"format":"date-time","nullable":true,"type":"string"},"patch_url":{"format":"uri","nullable":true,"type":"string"},"url":{"format":"uri","nullable":true,"type":"string"}},"required":["diff_url","html_url","patch_url","url"],"type":"object"},"reactions":{"$ref":"#/components/schemas/reaction-rollup"},"repository":{"$ref":"#/components/schemas/repository"},"repository_url":{"format":"uri","type":"string"},"score":{"type":"number"},"state":{"type":"string"},"text_matches":{"$ref":"#/components/schemas/search-result-text-matches"},"timeline_url":{"format":"uri","type":"string"},"title":{"type":"string"},"updated_at":{"format":"date-time","type":"string"},"url":{"format":"uri","type":"string"},"user":{"$ref":"#/components/schemas/nullable-simple-user"}},"required":["assignee","closed_at","comments","comments_url","events_url","html_url","id","node_id","labels","labels_url","milestone","number","repository_url","state","locked","title","url","user","author_association","created_at","updated_at","score"],"title":"Issue Search Result Item","type":"object"}
```
