# JSON report

Every field `canibump --json` prints.

This page is `canibump schema report` rendered.

## `--json`

The `--json` document.

| Key | Type | What it is |
| --- | --- | --- |
| `cache` | string, required | The state file holding these results. |
| `entries` | array of [`entries`](#entries), required | One row per blocker. |
| `exit_code` | integer, required | The process exit code these results map to. |
| `manifest` | string, required | The manifest checked. |
| `unlisted` | array of [`unlisted`](#unlisted), required | One row per upstream link or marker `[scan]` found that no blocker names. |
| `unmarked` | array of [`unmarked`](#unmarked), required | The blockers whose workaround no site places, and why. |

## `entries`

One blocker in the `--json` document.

| Key | Type | What it is |
| --- | --- | --- |
| `checked_at` | string, required | When it was checked, RFC 3339. |
| `detail` | string, required | Why. |
| `fresh_until` | string, required | Until when the result is reused, RFC 3339. |
| `id` | string, required | The blocker id. |
| `note` | string, required | The blocker note. |
| `sites` | array of [`sites`](#sites), required | Where its workaround sits: each `canibump:<id>` `[scan]` found. |
| `stale` | boolean, required | Past `fresh_until`. |
| `status` | [`status`](#status), required | What the check found. |

## `sites`

A line holding a blocker's marker, or matching a site it declares.

| Key | Type | What it is |
| --- | --- | --- |
| `file` | string, required | The file, relative to the manifest's directory. |
| `line` | integer, required | The 1-based line. |

## `unlisted`

An upstream link no blocker lists, in the `--json` document.

| Key | Type | What it is |
| --- | --- | --- |
| `catcher` | string, required | The catcher that found it. |
| `file` | string, required | The file, relative to the manifest's directory. |
| `line` | integer, required | The 1-based line. |
| `ref` | string, required | The link as a manifest ref. |

## `unmarked`

A blocker the scan found no site for, and why.

| Key | Type | What it is |
| --- | --- | --- |
| `detail` | string, required | Why, like `no canibump:<id> in the scanned files`. |
| `id` | string, required | The blocker id. |

## `status`

The state of a blocker, or of one step of it.

| Value | What it means |
| --- | --- |
| `"waiting"` | Upstream has not landed it yet. |
| `"bumpable"` | Landed: the workaround can go. |
| `"dead"` | Will not land as declared (closed unmerged, wontfix, duplicate). |
| `"failed"` | The check itself failed (network, auth, rate limit). |
