Approvals BC — Aggregate Architecture
Bounded Context: Approvals (Ums.Domain.Approvals)
Aggregate Roots: ApprovalWorkflow, ApprovalRequest, DocumentType, UserDocument, AccessEnforcementPolicy
Workflows and Requests Model
The core workflow elements govern dynamic approval routing and verification events:
- ApprovalWorkflow (Aggregate Root) — Defines sequential or parallel verification steps required for sensitive actions.
- ApprovalRequiredDocument (Owned Entity) — Mappings of specific document types required to authorize a workflow.
- ApprovalRequest (Aggregate Root) — A concrete runtime execution request containing verification status and signatures.
Document Classification & Policies
- DocumentType (Aggregate Root) — Classification of verification documents (e.g., Identification, Address Proof).
- NotificationRule (Owned Entity) — Defines days before expiration, channels (email, SMS), and frequencies to trigger alert notifications.
- UserDocument (Aggregate Root) — The uploaded physical file record belonging to a user, storing verification state.
- AccessNotification (Owned Entity) — History of alerts sent for document compliance.
- AccessEnforcementPolicy (Aggregate Root) — Defines automatic account lockouts or security profile downgrades on document non-compliance.
Back to Domain Index