# Information types

> Seven types that say what every column holds, shown as colours on the canvas and read by your agents.

Source: https://docs.architure.dev/docs/information-types

Every column of a [database](/docs/databases) belongs to one of seven information types. The type answers a simple question, "what does this column hold?", so that people see the structure of a table at a glance and agents name, fill and query columns consistently.

| Colour  | Information type                      | What it holds                                                                  | Typical columns                                        |
| ------- | ------------------------------------- | ------------------------------------------------------------------------------ | ------------------------------------------------------ |
| Blue    | Identification `identification`       | Keys and codes that identify a row: ids, numbers, slugs, external references.  | `id`, `order_number`, `slug`, `stripe_customer_id`     |
| Emerald | Status `status`                       | Where a row stands in its lifecycle: states, active flags, versions.           | `status`, `is_active`, `version`, `returned_at`        |
| Violet  | Categorization `categorization`       | Types, kinds and tags that sort rows into groups.                              | `type`, `kind`, `genre`, `tags`                        |
| Amber   | Descriptive information `descriptive` | Names, text and values that describe the row to people.                        | `name`, `title`, `email`, `description`, `price`       |
| Teal    | Relationships `relationships`         | References to other rows: foreign keys and link columns.                       | `customer_id`, `parent_id`, `book_id`                  |
| Slate   | Settings `settings`                   | Options that change how the row behaves or is shown: flags, limits, positions. | `max_loans`, `position`, `is_public`, `theme`          |
| Neutral | Audit fields `audit`                  | When the row was created, changed, archived or deleted, and by whom.           | `created_at`, `updated_at`, `created_by`, `deleted_at` |

## Choosing a type

- **Identification** identifies the row, inside or outside the database: the primary key, a public number, a slug, the id the row has in another system.
- **Status** says where the row stands: a state, an active or archived flag, a version, the moment a state changed (`returned_at`, `paid_at`).
- **Categorization** sorts rows into groups: a type, a kind, a genre, tags.
- **Descriptive information** is what people read about the row: names, titles, emails, text, amounts and prices.
- **Relationships** point at other rows: foreign keys and link columns.
- **Settings** change how the row behaves or is shown: limits, options, flags such as `is_public`, a position used for sorting.
- **Audit fields** record when the row was created, changed, archived or deleted, and by whom.

When a column could be two types, choose what it is for. A foreign key that also identifies the row (a composite key of a link table) is relationships; a timestamp that marks a state change is status, while `created_at` is audit.

## Where you set it

- **Canvas**: **Information type** in the column's details. The simple and raw views show the type as a colour band at the left of each column, and the details panel shows the colours when nothing is selected.
- **Text format**: the column setting `type: <value>`, for example `type: identification`. See the [text format](/docs/text-format#columns).
- **Agents**: the MCP tools `create_table` and `update_column`, or `apply_operations` (a `column.update` with `informationType`). The skill tells agents to give every column a type.

A column linked to a [column definition](/docs/column-definitions) takes the definition's information type: set it on the definition.

## Why it matters

- The diagram shows each table's shape at a glance: keys, references, settings and audit fields each have their colour.
- Agents read the type with every column (`get_database`, `get_table`) and can find columns by type across your databases with `search_columns`.
- The issues panel lists columns without a type as information (rule `missing_information_type`), so a database can reach a fully typed state.
