# nullable-issue

From **GitHub v3 REST API**.

Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.

- Type: `object`
- Nullable: true

## 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`
- Nullable: true
- Example: `It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?`

Contents of the issue

### `body_html`

- Required: false
- Type: `string`

### `body_text`

- Required: false
- Type: `string`

### `closed_at`

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

### `closed_by`

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

Simple User

### `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`
- Example: `[
  "bug",
  "registration"
]`

Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository

### `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`
- Example: `42`

Number uniquely identifying the issue within its repository

### `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":"Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.","nullable":true,"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":{"description":"Contents of the issue","example":"It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?","nullable":true,"type":"string"},"body_html":{"type":"string"},"body_text":{"type":"string"},"closed_at":{"format":"date-time","nullable":true,"type":"string"},"closed_by":{"$ref":"#/components/schemas/nullable-simple-user"},"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":{"description":"Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository","example":["bug","registration"],"items":{"oneOf":[{"type":"string"},{"properties":{"color":{"nullable":true,"type":"string"},"default":{"type":"boolean"},"description":{"nullable":true,"type":"string"},"id":{"format":"int64","type":"integer"},"name":{"type":"string"},"node_id":{"type":"string"},"url":{"format":"uri","type":"string"}},"type":"object"}]},"type":"array"},"labels_url":{"type":"string"},"locked":{"type":"boolean"},"milestone":{"$ref":"#/components/schemas/nullable-milestone"},"node_id":{"type":"string"},"number":{"description":"Number uniquely identifying the issue within its repository","example":42,"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"},"state":{"description":"State of the issue; either 'open' or 'closed'","example":"open","type":"string"},"timeline_url":{"format":"uri","type":"string"},"title":{"description":"Title of the issue","example":"Widget creation fails in Safari on OS X 10.8","type":"string"},"updated_at":{"format":"date-time","type":"string"},"url":{"description":"URL for the issue","example":"https://api.github.com/repositories/42/issues/1","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"],"title":"Issue","type":"object"}
```
