Skip to main content

Ubiquitous Language

Built on develop, not deployed

Derived from model/model.yaml. The product-content service is built on develop (IQVO/product-content at 2f09dc0, checked 2026-10-27) and not deployed (no warehouse-infra entry). Every Err... name, REST route and CloudEvents type of this context named on this page exists in the service; where the built service differs from the model's design, the page says so (As built) or the context's Service and operations section lists it.

The terms this context speaks, each mapped to the identifier a future implementation must use. The first table is the context's own ul list in model.yaml. The second holds the model elements of its aggregates. The third holds neighbour terms this context uses but does not own; their definitions come from the owning context's ul list. The storefront-wide glossary is Ubiquitous Language.

Own terms​

Derived from: model.yaml → contexts[product-content].ul.

TermDefinitionCode identifierNot to be confused with
Product ContentDescription, bullets, attributes and media of one catalogue item.content.ProductContentCatalog Item (offer-availability): the network's own entry for the product, with the title, dimensions and GTIN. Content never redefines the item; only catalogItemId crosses the boundary.
RevisionOne published shape of an item's content; publishing bumps it.content.ProductContent.RevisionThe optimistic-concurrency version a save checks. A revision is what product-discovery orders content by; the version is a storage detail.
Primary MediumThe one image a product page leads with; exactly one per published content.content.Media.RolePrimaryA GALLERY medium: any other picture of the item. Publish fails without exactly one PRIMARY (ErrIncompleteContent).
CategoryOne node of the browsable category tree.category.CategoryA primary category: the one category a content names by primaryCategoryId. Every category is a node; only one per content is primary.
Category TreeThe single, versioned tree of categories, at most four levels deep.category.TreeThe catalogue (offer-availability): the tree orders browsing, not the item master.

Model elements of this context​

Derived from: model.yaml → contexts[product-content].aggregates[*] (value_objects, states, commands), read_models, policies.

TermDefinitionCode identifierNot to be confused with
AttributeOne named fact of the item: name, value, optional unit. At most 50 per content.content.Attribute{name, value, unit?}A filter facet of product-discovery: facets are derived from attributes, not defined here.
MediaOne picture reference: mediaId, url, altText, role PRIMARY or GALLERY. At most 12 per content. URLs to static assets only; upload is out of scope.content.Media{mediaId, url, altText, role}An uploaded asset: this context never stores bytes.
BulletOne line of the bullet list under the title. At most 10 per content.content.ProductContent bulletsAn attribute: a bullet is prose, an attribute is a named value.
Content stateDRAFT, PUBLISHED or RETIRED. RETIRED never publishes again.content.ProductContent statesThe item's state in the item master (offer-availability): an item is ACTIVE or discontinued there; content has its own lifecycle.
Tree stateDRAFT or PUBLISHED; publishing a tree bumps its version. The model marks these states as the least-surprising reading of "single, versioned".category.Tree statesA content's state: a PUBLISHED tree and PUBLISHED content are independent facts.
Catalog Item ViewThe local, event-fed read model of the items the network knows; the existence check behind ErrUnknownCatalogItem.CatalogItemViewThe item master itself (offer-availability): this is a projection, never the source of truth.
Retire On DiscontinuePolicy: on CatalogItemDiscontinued, retire the item's PUBLISHED content.RetireOnDiscontinueRetireContent from the content manager (REST): the policy runs the same command, without a human.

Neighbour terms this context uses​

TermDefinition (owner's)Code identifier (owner)Not to be confused with
Catalog ItemThe network's own entry for a product, independent of who ships it.catalog.Item (offer-availability)Product Content: this context's sellable description of that item. The title stays the item master's.
PurchasableItem ACTIVE in the item master, content PUBLISHED, price ACTIVE, and at least one LIVE listing with quantity above zero.productview.Purchasable (product-discovery)Published: PUBLISHED content is one of the four conditions, never the verdict.
Product ViewThe projection one product page or search hit renders from.productview.View (product-discovery)Product Content: the view folds this context's events together with the item master, listings and prices.
Category ViewThe browsable tree with purchasable counts per category.categoryview.View (product-discovery)Category Tree: the view adds purchasable counts to this context's published tree.

Fleet translation​

None. The storefront never touches the warehouse-systems fleet (meta.hard_boundary); this context consumes only offer-availability events and serves only product-discovery.