
⚖️ Legal · C4 Architecture · Pro
A law firm's case management platform: matters, documents, court dates, time tracking and billing, with a client portal.
C4 Architecture diagrams are part of Pro. Anyone can view this one; generating and editing it needs Pro.
Drawing diagram…
Legal case management architecture: lawyers and paralegals use a web app; clients use a client portal to see case status and share documents. Services: matter management, document management with version control and full-text search, calendar and court date tracking (synced with court e-filing/cause lists), time and expense tracking, billing and trust accounting, and a conflict check service for new clients. Data in PostgreSQL, documents in encrypted object storage.
C4Container
title Legal Case Management
Person(lawyer, "Lawyer / Paralegal", "Works on matters")
Person(client, "Client", "Tracks their case")
System_Ext(court, "Court e-Filing and Cause Lists", "Hearing dates")
System_Ext(cal, "Calendar and Email", "Outlook / Google")
System_Boundary(lcm, "Case Management Platform") {
Container(web, "Firm Web App", "React", "Matters and tasks")
Container(portal, "Client Portal", "React", "Status and documents")
Container(matter, "Matter Service", "Java", "Cases, parties, tasks")
Container(docs, "Document Management", "Java", "Versions and search")
Container(dates, "Court Date Tracker", "Node.js", "Hearings and deadlines")
Container(time, "Time and Billing", "Java", "Time entries and invoices")
Container(conflict, "Conflict Check", "Java", "New client screening")
}
Rel(lawyer, web, "Uses")
Rel(client, portal, "Uses")
Rel(web, matter, "Manages matters")
Rel(web, docs, "Drafts and files")
Rel(portal, docs, "Shares documents")
Rel(court, dates, "Hearing updates")
Rel(dates, cal, "Syncs reminders")
Rel(web, time, "Logs time")
Rel(matter, conflict, "Checks new parties")The states of a commercial contract in a contract lifecycle management system, from request and drafting to renewal or expiry.
How a document gets signed electronically by several parties in order, with identity checks and a tamper-evident audit trail.
How a contract or legal document is reviewed inside a company: intake, playbook check, risk rating, approvals and signature.
A schema for law firm matters and billing: clients, matters, timekeepers, time entries, expenses, invoices and trust accounts.
How electronic evidence is collected and reviewed in litigation: legal hold, collection, processing, review and production to the other side.
The stages of a civil court case from filing to judgment and appeal, including settlement at any point.