Documentation Index
Fetch the complete documentation index at: https://thenile.dev/docs/llms.txt
Use this file to discover all available pages before exploring further.

Detailed Requirements
- Multitenancy: Each law firm (tenant) has its own isolated data to ensure data security and segregation.
- User Management: Lawyers and clients can belong to multiple tenants.
- Document Management:
- Lawyers can create and edit legal documents.
- Lawyers and clients can chat within the document.
- Documents can be shared with clients.
- Client Interaction:
- Clients can read, sign, and chat with legal documents.
- Case Management: Track cases within the firm, assign cases to lawyers and clients, and maintain case details.
- Contract Management: Track legal contracts associated with cases, including the ability to upload, create, and summarize contracts.
- Contract Status: Track the status of contracts (created, read, signed, revoked).
Postgres Schemas
