# Document

## Fields

| Field | Type | Always present | Description |
|---|---|---|---|
| `decode_status` | string | no | One of: `ok`, `repaired`, `failed`. |
| `description` | string \| null | no | — |
| `encoding` | string | no | One of: `text`, `uu`, `base64`. |
| `filename` | string | no | — |
| `is_primary` | boolean | no | — |
| `mime` | string | no | — |
| `seq` | integer | no | — |
| `sha256` | string \| null | no | SHA-256 of the stored bytes, in hex. Also the ETag. |
| `size_bytes` | integer \| null | no | — |
| `type` | string | no | — |
| `url` | string | no | — |

## Used by

- Part of [DocumentList](https://www.secblast.com/docs/reference/schemas/document-list) and [FilingDetail](https://www.secblast.com/docs/reference/schemas/filing-detail).
