CloudSketch AI Logo
FeaturesTemplatesPricingEnterpriseAboutContactLog in
🌙☀️
Log inStart free
Home/Templates/Legal

⚖️ Legal · C4 Architecture · Pro

Legal Case Management Architecture

A law firm's case management platform: matters, documents, court dates, time tracking and billing, with a client portal.

More Legal templates

C4 Architecture diagrams are part of Pro. Anyone can view this one; generating and editing it needs Pro.

Drawing diagram…

What this diagram shows

  • Every document, task and hearing belongs to a matter
  • Court dates sync to calendars with reminders
  • Time entries flow into client invoices

Prompt used

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.

Mermaid code
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")

Related templates

State MachineLegal

Contract Lifecycle (CLM)

The states of a commercial contract in a contract lifecycle management system, from request and drafting to renewal or expiry.

SequenceLegal

E-Signature Flow

How a document gets signed electronically by several parties in order, with identity checks and a tamper-evident audit trail.

FlowchartLegal

Legal Document Review and Approval

How a contract or legal document is reviewed inside a company: intake, playbook check, risk rating, approvals and signature.

Database ERDLegal

Legal Matter and Billing Schema

A schema for law firm matters and billing: clients, matters, timekeepers, time entries, expenses, invoices and trust accounts.

Data FlowLegal

E-Discovery Data Pipeline

How electronic evidence is collected and reviewed in litigation: legal hold, collection, processing, review and production to the other side.

State MachineLegal

Litigation Case Lifecycle

The stages of a civil court case from filing to judgment and appeal, including settlement at any point.