Glossary

What is a canonical data model?

A canonical data model is a shared, system-independent definition of business data, such as customers, products, and orders, that integrations translate to and from. Each system maps once to the common model instead of mapping separately to every other system it exchanges data with.

In more detail

Why integrations use a common model.

The pattern comes from enterprise integration design and is described in the book Enterprise Integration Patterns. Without a common model, every pair of systems that exchange data needs its own translation, and the number of translations grows with each system added. With one, each system needs a translation to the model and one from it. The model describes what the business means by an entity, including its identifiers, attributes, units, and allowed values. It is versioned, so that it can change without breaking the systems that depend on it.

Example

An example: one definition of a product.

  1. 01

    Start from what consumers need

    A commerce site, a service desk, and a planning tool all need product identifiers, hierarchy, unit of measure, and status.

  2. 02

    Define the entity once

    The canonical product names each field, its type, and its rule, without reference to any one system's column names.

  3. 03

    Map each system to it

    The ERP material record and the commerce catalogue item are each mapped to the canonical product. A new system adds one mapping.

Related terms

How it differs from related terms.

Star schema

A star schema arranges facts and dimensions for analytical queries in a warehouse. A canonical data model defines entities for exchanging data between operational systems. They solve different problems and are often used side by side.

Master data management

Master data management creates and stewards a mastered record, usually in its own store. A canonical data model defines the shape and meaning of the data. It does not decide which record is correct.

Canonical entity

A canonical entity is one business object within the model, such as the customer. The model is the set of entities and the relationships between them.

Learn more

Questions

Questions about canonical data models

Does a canonical data model have to cover the whole enterprise?
No. Enterprise-wide models are slow to agree and often stall. A model scoped to the entities a set of consumers needs now, and extended by version, is easier to adopt.
What are the drawbacks of a canonical data model?
The model needs an owner and a change process. A model that tries to hold every field from every system becomes hard to use, and translating through it adds a step that must be maintained.
Is a canonical data model a database?
No. It is a definition. Data can stay in the systems that own it and be translated to the model when it is exchanged or requested.

Map where these terms apply in your own integration landscape.