Glossary

What is a canonical entity?

A canonical entity is a single business object, such as a customer, product, or order, defined once in a form that does not depend on any one system. It has a stable identifier, agreed attributes, and mappings to the records that represent it in each source system.

In more detail

What a canonical entity contains.

A canonical entity has four parts. The first is an identifier that stays the same whichever system a record came from. The second is a set of attributes with agreed names, types, units, and allowed values. The third is its relationships to other entities, such as an order to its customer. The fourth is the mappings that say which field in which source supplies each attribute, with a rule for cases where sources disagree. The entity describes meaning. The records themselves can remain in the systems that own them.

Example

An example: the customer entity.

  1. 01

    Identify the records

    The CRM holds an account, the ERP holds a sold-to party, and the billing system holds a payer. All three describe the same customer.

  2. 02

    Agree the attributes

    The canonical customer defines legal name, identifiers, status, and addresses, and states which source is authoritative for each.

  3. 03

    Link the identifiers

    Cross-references tie each source record to the canonical identifier, so a consumer can ask for the customer without knowing the three source keys.

Related terms

How it differs from related terms.

Canonical data model

The model is the full set of entities and their relationships. An entity is one member of it.

Learn more

Golden record

A golden record is a single mastered copy of an entity's data, produced by matching and merging. A canonical entity is a definition and a set of mappings. It can exist with or without a mastered copy.

Source record

A source record is how one system stores its part of the entity, in that system's schema. Several source records usually map to one canonical entity.

Questions

Questions about canonical entities

Who decides what a canonical entity contains?
A domain owner on the business side, working with the teams that run the source systems. The definition needs a named owner, because disagreements between sources are business decisions.
What happens when two systems disagree about a value?
The entity's mapping names the authoritative source for each attribute, or a rule for choosing. Recording where each value came from lets a consumer see the disagreement instead of having it hidden.
How many canonical entities does an organization need?
As many as its consumers use. Most start with a few, such as customer, product, and order, and add others when a consumer needs them.

Map where these terms apply in your own integration landscape.