23. Designing a data product
A data product is data a domain owns and serves to others on purpose: with an owner, ports where data goes in and out, and six qualities that let a stranger find it, understand it, trust it and use it safely. A table only has an address.
The clip starts from the claims table as it is today: an address and nothing else. The Claims data product appears beside it, owned by the claims domain's owner. Its input ports (the claims and payments from the claims system, the managed loss-cause list) and its output ports (a table for analysts, a share for the reinsurer, a stream of claim events) are drawn. Then its six qualities light up one at a time: discoverable, addressable, understandable, trustworthy, interoperable and secure. Last, a consumer's first week, day by day, with the raw table and with the product.
The idea: data as a product, with an owner and ports
A data product is a set of data that a domain builds and serves for others to use, and answers for, like any product. It has three parts:
- An owner: the domain's owner (chapter 21) is accountable for it; a product owner in the domain may run it day to day.
- Ports: input ports where its data comes from, and output ports where consumers read it: a table, a share, a stream or an API. Consumers use the output ports, never the source systems.
- Six qualities that make it usable by someone who has never met its team: discoverable (in the catalogue), addressable (one stable address), understandable (described, its terms in the glossary), trustworthy (quality and freshness promised, chapter 24), interoperable (shared keys and managed codes, chapters 18 to 20) and secure (classified, with an access policy, chapter 22).
A worked example: the Claims product
The Claims product belongs to the claims domain, so its owner is Ruud Hendriks. Its table port serves one row per claim with what has been paid and what the claim has cost so far: 60 claims, €263,850 incurred in total.
SELECT c.claim_id, c.claim_number, c.policy_id, c.loss_date, c.reported_date, c.cause, c.status, c.reserve,
COALESCE(p.paid, 0) AS paid, COALESCE(p.paid, 0) + c.reserve AS incurred
FROM claims c
LEFT JOIN (SELECT claim_id, SUM(amount) AS paid FROM claim_payments GROUP BY claim_id) p ON p.claim_id = c.claim_id
ORDER BY c.claim_id| Quality | Raw claims table | Claims product |
|---|---|---|
| Discoverable | No | Yes |
| Addressable | Yes | Yes |
| Understandable | No | Yes |
| Trustworthy | No | Yes |
| Interoperable | No | Yes |
| Secure | No | Yes |
Why it matters for Alex
After the merger, every team wants "the claims data", and today each gets its own extract, with its own meaning and its own bugs. One Claims product, owned by the claims domain and served through ports, replaces a dozen extracts; the combined board report, the reinsurer's file and the fraud model all read the same thing.
Where it goes wrong
- Every table a product. Renaming the warehouse's tables "products" adds a word and nothing else. A product has an owner, consumers and promises.
- Owned by the platform team. The team that runs the lakehouse cannot answer for what a claim means. The domain owns the product; the platform hosts it.
- Consumers reading the source. If the fraud model reads the claims system directly, the product's promises do not reach it, and a change in the source breaks it.
- Ports with no contract. An output port without written promises is a table with a nicer name (chapter 24).
Exercises
The lab checks each one against facts written down in advance, so any answer the brief allows passes. A pass is kept in this browser.
What is missing?
Each line describes a draft of the Claims product. Choose the quality it lacks, or that it passes the checklist.
Which output port?
Each consumer wants claims data, or thinks it does. Choose the Claims product's port that serves it, or say that it is another domain's product.
Who owns the product?
Choose the accountable owner of each data product.
On Azure
On Azure, a data product has a home in the catalogue and in the platform:
- Microsoft Purview's Unified Catalog has data products: each belongs to a governance domain, groups the data assets it serves (tables, files, reports), names its owners, says what it is for, and lets a consumer request access, which its owner approves.
- The output ports live in the platform: a Delta table in a Microsoft Fabric lakehouse or in Azure Databricks' Unity Catalog, a OneLake shortcut or Delta Sharing for a reader who may not keep a copy, and an Azure Event Hubs or Fabric eventstream for claim events.
- Microsoft Fabric domains group the workspaces where each domain builds its products.
Register the product in the catalogue when it is first published, not after: discoverable is the first quality a consumer needs.
Take it to work
Data product canvas
Describe one data product so a stranger can find it, trust it and use it.
Product
- Name, domain and accountable owner
- What it is for, and who it is not for
Ports
- Input ports: where its data comes from
- Output ports: table, share, stream or API, each with its address
The six qualities
- Discoverable, addressable, understandable, trustworthy, interoperable, secure: the evidence for each
Consumers
- Who reads it today, through which port, and what they rely on
Tools in this chapter
- Contract editor · Write a data contract, validate it, and check whether a proposed change breaks its consumers.
Terms taught here: Data productOutput port