Feed Value Objects¶
Status¶
Normative Business Domain Specification
Purpose¶
This document defines the Value Objects of the Feed Domain.
Value Objects describe immutable business concepts used by Merchant Feed Intake.
Rules¶
Feed Value Objects must be:
- immutable;
- comparable by value;
- valid at creation time;
- independent from infrastructure;
- independent from adapters;
- independent from frontend rendering;
- independent from runtime orchestration.
MerchantImportId¶
MerchantImportId identifies one import inside the Platform.
It must be:
- non-empty;
- stable once assigned;
- comparable by value.
MerchantImportMetadata¶
MerchantImportMetadata describes the minimal business traceability context of an import.
It contains:
- import identifier;
- source identifier;
- merchant identifier;
- import date and time;
- optional publication version;
- optional batch size.
It must not contain:
- raw imported content;
- interpreted product data;
- normalization state;
- projection state.
MerchantImportResult¶
MerchantImportResult describes the outcome of an import.
Allowed conceptual statuses:
- succeeded;
- failed;
- rejected;
- partially_usable.
Failed and rejected outcomes require an explicit minimal reason.
MerchantImportResult must not:
- modify the imported batch;
- interpret product data;
- perform normalization.
Architecture Decision¶
Decision: FOUNDATION
The Feed Domain now defines its minimal immutable business vocabulary before any entities, contracts or services are introduced.