Skip to main content

Domain language dictionary

What is ubiquitous language?​

Ubiquitous Language is a shared language that is used by all stakeholders in a project/domain to improve communication and reduce misunderstandings.

Why define a ubiquitous language?​

When building event-driven architectures, there can be value in defining a ubiquitous language for the domain. This can help your organization and your teams understand the language used in your domain and models used in your message definitions.

Using ubiquitous language in EventCatalog​

EventCatalog allows you to define a ubiquitous language dictionary for each domain. Users can quickly view and understand the language used in these domains to help them understand the terms used in messages and services

To add a ubiquitous language dictionary, create a new file within your domain folder with the name ubiquitous-language.md.

  • /domains/{Domain Name}/ubiquitous-language.md

The contents of the file should be a list of terms used in your domain.

Each term should have a name, summary, description and icon. The icon is optional and can be used to visually represent the term. You can find a list of icons here.

/domains/Orders/ubiquitous-language.md
---
dictionary:
- id: Purchase Order
name: Purchase Order
summary: "A mystical document issued by a buyer to a seller indicating the types, quantities, and agreed prices for enchanted products or services."
description: |
A purchase order (PO) is a magical document that initiates the buying process between mystical entities. It protects both buyer and seller by clearly documenting the transaction details. Key components include:

- Unique PO number for tracking
- Detailed item specifications and quantities
- Agreed prices and payment terms
- Delivery requirements and timelines
- Terms and conditions of the purchase

POs are essential for budget control, audit trails, and inventory management. They help prevent unauthorized purchases and provide a clear record for accounting and reconciliation purposes.
icon: FileText
- id: Order Line
name: Order Line
summary: "An individual enchanted item within a purchase order, representing a specific magical product or service being ordered."
description: |
Order lines are the fundamental building blocks of any purchase order. Each line represents a distinct item or service and contains critical information for order fulfillment:

- Product identifier (SKU or part number)
- Quantity ordered
- Unit price and total line value
- Special handling instructions
- Required delivery date

Order lines drive warehouse picking operations, shipping processes, and financial calculations. They are essential for tracking partial shipments and managing order modifications.
icon: ListOrdered
---

Viewing the ubiquitous language dictionary in EventCatalog​

When you add a ubiquitous language dictionary to your domain, it will automatically appear in the sidebar of the domain.

Example View demo

Clicking on a term will open the language dictionary page. Clicking on each term will show more information about the term.

Example View demo