Skip to content

Marketplace Aggregates

Why This Exists

This document defines aggregate boundaries for the Marketplace Domain using Domain-Driven Design.

Owner

The owner is the Chief Product Officer and Enterprise Architect.

Business Value

Aggregate boundaries protect listing, category, visibility, matching, request, and marketplace workflow consistency.

Aggregate Catalogue

Aggregate Purpose Boundary
Marketplace Listing Root aggregate for provider display. Listing content, category links, status, visibility.
Provider Category Catalogue Governs marketplace categories. Category hierarchy and browsing metadata.
Marketplace Search Session Represents a search or browsing interaction. Query, filters, results, context.
Marketplace Match Match between customer need and provider listing. Match score, reasons, recommendation display.
Quote Request Workflow Governs quote request lifecycle. Request state, provider targets, responses references.
Support Request Workflow Governs provider support request lifecycle. Request type, participants, state, outcome.
Marketplace Visibility Control Controls listing publication and display rules. Visibility status and display conditions.

Aggregate Diagram

flowchart TD
    Listing[Marketplace Listing]
    Category[Provider Category Catalogue]
    Search[Marketplace Search Session]
    Match[Marketplace Match]
    Quote[Quote Request Workflow]
    Support[Support Request Workflow]
    Visibility[Marketplace Visibility Control]

    Category --> Listing
    Visibility --> Listing
    Search --> Match
    Listing --> Match
    Match --> Quote
    Match --> Support

Core Invariants

Invariant Description
Listing identity is stable MarketplaceListingId must remain stable.
Category must be controlled Listings must use approved categories.
Visibility is marketplace-owned Marketplace controls listing display state.
Verification is display-only Marketplace displays signals from owning domains without owning their facts.
Recommendation display is owned Marketplace owns displayed recommendation workflow records.

Cross-Domain Reference Rule

Marketplace references Supplier, Funding, Organization, Contract, and Intelligence records by ID. It does not own their source facts.