# label

From **GitHub v3 REST API**.

Color-coded labels help you categorize and filter your issues (just like labels in Gmail).

- Type: `object`

## Properties

### `color`

- Required: true
- Type: `string`
- Example: `FFFFFF`

6-character hex code, without the leading #, identifying the color

### `default`

- Required: true
- Type: `boolean`
- Example: `true`

### `description`

- Required: true
- Type: `string`
- Nullable: true
- Example: `Something isn't working`

### `id`

- Required: true
- Type: `integer`
- Format: `int64`
- Example: `208045946`

### `name`

- Required: true
- Type: `string`
- Example: `bug`

The name of the label.

### `node_id`

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

### `url`

- Required: true
- Type: `string`
- Format: `uri`
- Example: `https://api.github.com/repositories/42/labels/bug`

URL for the label

## JSON Schema

```json
{"description":"Color-coded labels help you categorize and filter your issues (just like labels in Gmail).","properties":{"color":{"description":"6-character hex code, without the leading #, identifying the color","example":"FFFFFF","type":"string"},"default":{"example":true,"type":"boolean"},"description":{"example":"Something isn't working","nullable":true,"type":"string"},"id":{"example":208045946,"format":"int64","type":"integer"},"name":{"description":"The name of the label.","example":"bug","type":"string"},"node_id":{"example":"MDU6TGFiZWwyMDgwNDU5NDY=","type":"string"},"url":{"description":"URL for the label","example":"https://api.github.com/repositories/42/labels/bug","format":"uri","type":"string"}},"required":["id","node_id","url","name","description","color","default"],"title":"Label","type":"object"}
```
