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

# Legal Architecture: Domain Projection and Contracts

> Understand how the Legal domain is architected as a projection of Spine Fabric, including its domain contract and reference architecture.

The Legal domain is not a standalone application. It is a projection of Spine Fabric, assembled on demand from ingested source systems and governed by a domain contract that defines entities, capabilities, views, and workflows.

## Domain Contract

```yaml theme={null}
domain: legal
purpose: legal counsel and compliance management
entities:
  - Contract
  - Matter
  - Policy
  - Regulation
  - Risk
  - Approval
  - Vendor
  - Party
capabilities:
  - legal.contract.read
  - legal.contract.stage.update
  - legal.contract.redline.submit
  - legal.matter.create
  - legal.matter.status.update
  - legal.policy.publish
  - legal.risk.score.update
  - legal.workflow.contract-review.start
  - legal.workflow.audit.start
  - legal.workflow.vendor-review.start
views:
  - Contract Queue
  - Active Matters
  - Policy Register
  - Compliance Dashboard
  - Risk Log
workflows:
  - Contract Review
  - Matter Intake
  - Policy Update
  - Compliance Audit
  - Vendor Review
integrations:
  - docusign
  - ironclad
  - google_drive
  - salesforce
  - jira
```

## Architecture Layers

* **Domain Projection:** maps unified entities to Legal-specific views and surfaces.
* **Context:** assembles contract, matter, and policy context from multiple sources on demand.
* **Agent:** Twin and domain agents operate on Legal context with specialized skills.
* **Capability:** governs what actions are allowed and produces receipts for audit.
* **Workflow:** orchestrates multi-step processes with handoffs and approvals.
* **Integration:** connects to DocuSign, Ironclad, Google Drive, Salesforce, and Jira.
* **Event:** produces ContractStageUpdated, MatterClosed, AuditClosed, and other domain events.

## Related

* [Spine Fabric](/internal-docs/domains/legal/spine-fabric)
* [System Flow](/internal-docs/domains/legal/system-flow)
* [Execution Flow](/internal-docs/domains/legal/execution-flow)
* [Platform: Spine Fabric](/platform/spine-fabric)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.