Data dictionary

The metadata that defines and describes Datarist data: the structure, meaning, rules and relationships of every field, for each sample dataset.

Last updated 28 Nov 2026

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.

PropertyIt answersExample
nameWhat is the field called? Lowercase, with underscores.order_date
typeWhat kind of value does it hold?date
nullableCan it be empty?false
allowed_valuesIs it limited to a fixed set of values?paid, pending, refunded, failed
descriptionWhat does it mean, in what unit and with what rule?Order total after discount, in the order currency.
exampleWhat 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.

DatasetPrimary keyPoints to
Customerscustomer_idNothing: it stands alone
Ordersorder_idcustomer_id in Customers
Web trafficdate with page_pathNothing: it stands alone
Support ticketsticket_idcustomer_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.

DatasetRule
Customerschurned_at is empty exactly when is_active is true.
CustomersA free plan has 0 seats; every other plan has at least 1.
Customerschurned_at is not before signup_date.
Orderspaid_at is filled exactly when status is paid or refunded.
Orderspaid_at is not before order_date.
Web trafficusers is never more than sessions.
Web trafficpageviews is at least sessions.
Support ticketsresolution_hours is filled exactly when status is solved.
Support ticketscsat is only given on solved tickets.
Support ticketsA 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.

FieldTypeEmptyDescriptionExample
customer_idstringNoUnique customer identifier. Primary key.C00001
signup_datedateNoDay the account was created (ISO 8601, UTC).2025-03-14
countrystringNoBilling country, ISO 3166-1 alpha-2. Values: KE, US, GB, DE, FR, NG, ZA, IN, BR, CA.KE
planstringNoCurrent subscription plan. Values: free, team, business, enterprise.team
segmentstringNoCompany size band. Values: individual, smb, mid-market, enterprise.smb
seatsintegerNoNumber of paid seats. 0 on the free plan.12
is_activebooleanNoWhether the account is open. false after cancellation.true
churned_atdateYesDay 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.

FieldTypeEmptyDescriptionExample
order_idstringNoUnique order identifier. Primary key.O000001
customer_idstringNoThe customer who placed the order. Foreign key to Customers.customer_id.C00042
order_datedateNoDay the order was placed (ISO 8601, UTC).2026-02-09
channelstringNoWhere the order came from. Values: web, sales, partner, marketplace.web
currencystringNoCurrency of amount, ISO 4217. Values: USD, EUR, GBP, KES.USD
amountdecimalNoOrder total after discount, in the order currency, two decimal places.249.00
discount_pctintegerYesDiscount applied, in whole percent. Empty when none.10
statusstringNoPayment status. Values: paid, pending, refunded, failed.paid
paid_atdatetimeYesWhen 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.

FieldTypeEmptyDescriptionExample
datedateNoDay of the visits (ISO 8601, UTC). With page_path, the primary key.2026-10-01
page_pathstringNoPath of the page, without query or hash. Values: /, /data, /docs, /insight, /about, /contact./docs
sessionsintegerNoVisits that started on the page that day.412
usersintegerNoDistinct visitors that day. Never more than sessions.338
pageviewsintegerNoTimes the page was viewed. At least sessions.655
avg_engagement_secondsdecimalNoMean time the page was in the foreground per session, in seconds.84.5
bounce_ratedecimalNoShare 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.

FieldTypeEmptyDescriptionExample
ticket_idstringNoUnique ticket identifier. Primary key.T000001
created_atdatetimeNoWhen the ticket was opened (ISO 8601, UTC).2026-09-18T08:42:10Z
customer_idstringNoThe customer who opened the ticket. Foreign key to Customers.customer_id.C00117
categorystringNoWhat the ticket is about. Values: billing, access, data-quality, integrations, how-to.billing
prioritystringNoUrgency set at triage. Values: low, normal, high, urgent.normal
statusstringNoWhere the ticket stands. Values: open, pending, solved.solved
first_response_minutesintegerYesMinutes until the first reply from the team. Empty while no reply has been sent.47
resolution_hoursdecimalYesHours from opening to solved, one decimal place. Empty unless status is solved.6.5
csatintegerYesCustomer satisfaction score from 1 (poor) to 5 (excellent). Empty when the customer did not answer.5

Get a dictionary

  • Download <name>.dictionary.csv or <name>.dictionary.json for 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.