# StreamEvent

## Fields

Nested fields are written with dots; `[]` marks the items of an array.

| Field | Type | Always present | Description |
|---|---|---|---|
| `data` | object | yes | filing.\* events carry {filing}, plus change or changes for filing.updated and filing.corrected. filing.deleted carries {accession, deleted_at, reason}. [More](#data) |
| `data.filing` | [StreamFiling](https://www.secblast.com/docs/reference/schemas/stream-filing) | no | The filing in a filing.\* event. It has the members of GET /v3/filings/{accession} under the same names, plus form_family, registered_at, documents_state, primary_document, and links.sec_index. |
| `emitted_at` | date-time (RFC 3339, UTC) | yes | — |
| `id` | string | yes | str_ followed by stream_seq, padded with zeros. |
| `schema_version` | integer | yes | One of: `1`. |
| `stream_seq` | integer | yes | The event's position in the stream. Positions have no gaps, so a jump means a missed event. |
| `type` | string | yes | One of: `filing.new`, `filing.updated`, `filing.corrected`, `filing.deleted`, `feed.day_closed`. |

## Field notes

### `data`

feed.day_closed carries {day, filings, live_first_seen, feed_only, corrected, deleted, realtime_missed}.

## Used by

- Part of [StreamPage](https://www.secblast.com/docs/reference/schemas/stream-page).
