Data dictionary
The metadata that defines and describes Datarist data: the structure, meaning, rules and relationships of every field, for each sample dataset.
A data dictionary is metadata: data about data. It says what each field is called, what type of value it holds, what it means, which values are allowed and how the data relates to other data, so that everyone who reads a field reads it the same way.
What is real here. The dictionaries of the sample datasets below are the real ones, as downloadable from the Dataset page. How Datarist will keep the dictionaries of your own sources is placeholder content until the platform is released.
What a dictionary describes
Every field has the same six properties. Together they define its structure and its meaning.
| Property | It answers | Example |
|---|---|---|
name | What is the field called? Lowercase, with underscores. | order_date |
type | What kind of value does it hold? | date |
nullable | Can it be empty? | false |
allowed_values | Is it limited to a fixed set of values? | paid, pending, refunded, failed |
description | What does it mean, in what unit and with what rule? | Order total after discount, in the order currency. |
example | What does a real value look like? | 249.00 |
Beyond its fields, a dataset’s dictionary records how the dataset hangs together: its primary key, its foreign keys to other datasets and the rules that are always true of a row. They are explained below, and defined formally in the Schema.
How to read an entry
Types
The type is one of string, integer, decimal, boolean, date or datetime. A date is YYYY-MM-DD. A datetime is ISO 8601 in UTC and ends in Z. How each type is written in CSV, JSON and SQL is in the Schema.
Empty values
A field marked Empty: Yes can have no value. In CSV that is an empty cell, and in JSON it is null. Empty is not the same as 0 or an empty text: an empty discount_pct means no discount was applied, while 0 would mean a discount of zero percent. A field marked Empty: No is never empty. The description says when an empty value is expected.
Coded fields
When a field is limited to a fixed set of values, the description lists them after Values. A value outside the list is invalid. For example, status in Orders is one of paid, pending, refunded or failed.
Keys and relationships
A primary key identifies each row and is never repeated. A foreign key is a field whose value must exist as a primary key in another dataset. It is how two datasets are joined.
| Dataset | Primary key | Points to |
|---|---|---|
| Customers | customer_id | Nothing: it stands alone |
| Orders | order_id | customer_id in Customers |
| Web traffic | date with page_path | Nothing: it stands alone |
| Support tickets | ticket_id | customer_id in Customers |
Rules
A rule is true of every row, whatever the values. It goes further than a single field’s type and allowed values, and it is what lets you rely on the data without checking it yourself.
| Dataset | Rule |
|---|---|
| Customers | churned_at is empty exactly when is_active is true. |
| Customers | A free plan has 0 seats; every other plan has at least 1. |
| Customers | churned_at is not before signup_date. |
| Orders | paid_at is filled exactly when status is paid or refunded. |
| Orders | paid_at is not before order_date. |
| Web traffic | users is never more than sessions. |
| Web traffic | pageviews is at least sessions. |
| Support tickets | resolution_hours is filled exactly when status is solved. |
| Support tickets | csat is only given on solved tickets. |
| Support tickets | A ticket is not solved before its first response. |
The dictionaries
One dictionary per sample dataset, as of 2026-11-28. Each is also downloadable as CSV and as JSON from the Dataset page.
Customers
One row per customer account: where it is, which plan it is on and when it signed up. The anchor table the other datasets join to. 8 fields. Primary key: customer_id. See the dataset and its downloads.
| Field | Type | Empty | Description | Example |
|---|---|---|---|---|
customer_id | string | No | Unique customer identifier. Primary key. | C00001 |
signup_date | date | No | Day the account was created (ISO 8601, UTC). | 2025-03-14 |
country | string | No | Billing country, ISO 3166-1 alpha-2. Values: KE, US, GB, DE, FR, NG, ZA, IN, BR, CA. | KE |
plan | string | No | Current subscription plan. Values: free, team, business, enterprise. | team |
segment | string | No | Company size band. Values: individual, smb, mid-market, enterprise. | smb |
seats | integer | No | Number of paid seats. 0 on the free plan. | 12 |
is_active | boolean | No | Whether the account is open. false after cancellation. | true |
churned_at | date | Yes | Day the account was closed. Empty while is_active is true. | 2026-06-02 |
Orders
One row per order: amount, currency, sales channel and payment status. Join to Customers on customer_id. 9 fields. Primary key: order_id. See the dataset and its downloads.
| Field | Type | Empty | Description | Example |
|---|---|---|---|---|
order_id | string | No | Unique order identifier. Primary key. | O000001 |
customer_id | string | No | The customer who placed the order. Foreign key to Customers.customer_id. | C00042 |
order_date | date | No | Day the order was placed (ISO 8601, UTC). | 2026-02-09 |
channel | string | No | Where the order came from. Values: web, sales, partner, marketplace. | web |
currency | string | No | Currency of amount, ISO 4217. Values: USD, EUR, GBP, KES. | USD |
amount | decimal | No | Order total after discount, in the order currency, two decimal places. | 249.00 |
discount_pct | integer | Yes | Discount applied, in whole percent. Empty when none. | 10 |
status | string | No | Payment status. Values: paid, pending, refunded, failed. | paid |
paid_at | datetime | Yes | When payment was received (ISO 8601, UTC). Empty unless status is paid or refunded. | 2026-02-09T14:21:07Z |
Web traffic
Daily visits per page over 90 days: sessions, users, pageviews and engagement. A tidy time series for charting and forecasting practice. 7 fields. Primary key: date with page_path. See the dataset and its downloads.
| Field | Type | Empty | Description | Example |
|---|---|---|---|---|
date | date | No | Day of the visits (ISO 8601, UTC). With page_path, the primary key. | 2026-10-01 |
page_path | string | No | Path of the page, without query or hash. Values: /, /data, /docs, /insight, /about, /contact. | /docs |
sessions | integer | No | Visits that started on the page that day. | 412 |
users | integer | No | Distinct visitors that day. Never more than sessions. | 338 |
pageviews | integer | No | Times the page was viewed. At least sessions. | 655 |
avg_engagement_seconds | decimal | No | Mean time the page was in the foreground per session, in seconds. | 84.5 |
bounce_rate | decimal | No | Share of sessions that left without another action, 0 to 1, three decimal places. | 0.412 |
Support tickets
One row per support request, with category, priority, response and resolution times, and a satisfaction score once solved. 9 fields. Primary key: ticket_id. See the dataset and its downloads.
| Field | Type | Empty | Description | Example |
|---|---|---|---|---|
ticket_id | string | No | Unique ticket identifier. Primary key. | T000001 |
created_at | datetime | No | When the ticket was opened (ISO 8601, UTC). | 2026-09-18T08:42:10Z |
customer_id | string | No | The customer who opened the ticket. Foreign key to Customers.customer_id. | C00117 |
category | string | No | What the ticket is about. Values: billing, access, data-quality, integrations, how-to. | billing |
priority | string | No | Urgency set at triage. Values: low, normal, high, urgent. | normal |
status | string | No | Where the ticket stands. Values: open, pending, solved. | solved |
first_response_minutes | integer | Yes | Minutes until the first reply from the team. Empty while no reply has been sent. | 47 |
resolution_hours | decimal | Yes | Hours from opening to solved, one decimal place. Empty unless status is solved. | 6.5 |
csat | integer | Yes | Customer satisfaction score from 1 (poor) to 5 (excellent). Empty when the customer did not answer. | 5 |
Get a dictionary
- Download
<name>.dictionary.csvor<name>.dictionary.jsonfor any sample dataset from the Dataset page. The ZIP files hold all of them. - Read it from the API: dataset schemas returns the same fields for each dataset.
- Look a term up in the Glossary, and see where the data comes from in Methodology.
Keeping a dictionary useful
- Name a field for what it holds, in lowercase with underscores. Keep one meaning per field.
- State the unit, the time zone and the currency in the description, not only in the name.
- Say when a field can be empty and what that means.
- List the allowed values of a coded field, and keep the list in step with the data.
- Give an example that looks like a real value.
- When a definition changes, record it in the Changelog.
A definition that is unclear, or a description you think is wrong? Email data@datarist.com with the dataset and field.