Ubiquitous Dictionary — Shared Language
Summary
Section titled “Summary”The Ubiquitous Dictionary answers: what does this term mean here, who owns it, and what aliases refer to it?
When to use it
Section titled “When to use it”Use it when developers, product specialists and domain experts use ambiguous or conflicting words. Start with five important terms and write definitions inside their bounded context. Record aliases without collapsing distinct concepts into one. This is a DDD facet, not an independently versioned business model.
Before you begin
Section titled “Before you begin”Choose a term people already disagree about. Bring an example that should fit its definition and another that should not.
Understand the model
Section titled “Understand the model”Define the concept, not just the word
Section titled “Define the concept, not just the word”“Reservation: a reservation” adds little shared understanding. A useful definition explains what qualifies, where the concept applies and how it differs from related ideas. For example, an inquiry may request information without allocating a seat, while a confirmed reservation has a specific business status. Review the definition against actual examples.
An alias helps people find the same concept under a familiar name. It should not merge concepts that merely resemble one another. Context is equally important: Account in identity and Account in accounting can legitimately mean different things. Record their separate definitions rather than creating a vague compromise that serves neither area.
Keep language connected to decisions
Section titled “Keep language connected to decisions”An owner identifies who can resolve uncertainty about the term. That is useful when a proposed definition changes what counts as confirmed or when two teams need to agree on a translation. The dictionary makes the question visible, while the responsible people and authored models determine the current meaning.
Changing a definition can change requirements without changing the term’s spelling. If a reservation becomes confirmed at payment rather than at seat allocation, inspect the related story, lifecycle and obligations. Treat that as a semantic change. A glossary is most valuable when its definitions are used in the model, conversations and tests; a long list that nobody consults is difficult to keep trustworthy.
Worked example
Section titled “Worked example”Define Reservation in the Booking context and distinguish it from an Inquiry.
- State the condition that makes a reservation confirmed.
- Name the owner who can settle questions about that definition.
- Add only aliases that refer to the same concept in this context.
- Test the definition against a traveler who searched for flights but has not reserved a seat.
That traveler has made an inquiry under this example’s vocabulary. If the team disagrees, resolve the business definition before treating the dictionary entry as shared language.
Practice examples
Section titled “Practice examples”These four exercises are lesson briefs. Their dedicated CtxBazaar recipes and browser launch actions are planned; see Learning with models for available downloads and the meaning of each result.
| Exercise | Try this | Expected observation |
|---|---|---|
| Define reservation | Write a context-specific definition of Reservation and name an owner. | The definition distinguishes a reservation from an inquiry. |
| Resolve an alias | Record PNR as an alias where it genuinely refers to the same concept. | A reader can find the agreed term without creating a duplicate concept. |
| Same word, two contexts | Define Account separately for identity and accounting. | The context makes the intended meaning unambiguous. |
| Definition change | Change when a reservation counts as confirmed and inspect affected requirements. | The reviewer recognizes a semantic change rather than a label-only edit. |
Common mistakes
Section titled “Common mistakes”- Writing circular definitions that repeat the term.
- Using aliases to merge genuinely different business concepts.
- Treating a changed definition as cosmetic because the label stayed the same.
Visual walkthrough
Section titled “Visual walkthrough”A shared word acquires a precise meaning. Inquiry and Reservation cards separate; a context and owner are added; a concrete traveler example tests the distinction.
Pause and predict: Does searching for a flight meet the definition of a reservation?
This is the text storyboard for a proposed short illustrated film. The written walkthrough and exercises are available now; a published movie will be added after its scenes, captions and model references have been reviewed.
Background and history
Section titled “Background and history”A ubiquitous language is a central DDD practice: the model and conversation use the same domain terms within a context. Eric Evans’s DDD resources provide the method’s background. ContextBrew’s dictionary surface represents terms with definitions, aliases, a context and owners.
A dictionary is useful when it changes a conversation or resolves a modeling ambiguity. A definition should explain the concept, not simply repeat its label. Two contexts may legitimately assign different meanings to the same word; preserve that distinction. Aliases help people find the agreed term, while ownership identifies who can resolve uncertainty. Updating a definition is a domain change to review with affected stories and requirements, not merely a cosmetic rename.
Alternatives and trade-offs
Section titled “Alternatives and trade-offs”A glossary in a document is inexpensive and often sufficient. Controlled vocabularies such as SKOS support richer external knowledge organization; they are not the dictionary’s native format. Topic Map can discover terms in code but cannot approve their business meaning.
References
Section titled “References”- Eric Evans’s DDD resources
- SKOS
- Learning with models — choose a practice workflow and interpret its results.
