PuranOS Schema Catalog
legal
In-house-counsel contract twin — contracts, governing clauses, flowdown links, LD/legal facts, scenario runs, document attachments. 7 tables, introspected live from the deployed database. Lifecycle: All phases.
Entity-relationship diagram
Overview below — open the full-resolution SVG to pan and zoom, or paste the DBML source into dbdiagram.io for an interactive view.
Table schemas
Each table has a JSON Schema (2020-12) with a canonical $id, generated by live introspection.
clause 13 cols
PK: clause_id · 2 FKs
contract_document 17 cols
PK: document_id · 1 FK
document_attachment 11 cols
PK: attachment_id
flowdown_link 14 cols
PK: link_id · 3 FKs
legal_fact 26 cols
PK: fact_id · 3 FKs
legal_fact_review 6 cols
PK: review_id · 1 FK
scenario_run 14 cols
PK: run_id
