PuranOS Schema Catalog
project_finance
Project finance twin — proforma model runs and periods, covenant tests, facility amortization, financing events and rounds, cap table events/snapshots, investor profile results, sensitivity sweeps, actuals. 28 tables, introspected live from the deployed database. Lifecycle: Procurement + Operations.
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.
PK: event_id · 4 FKs
PK: snapshot_id · 3 FKs
PK: counterparty_id
PK: facility_id · 2 FKs
PK: attachment_id
PK: event_id · 1 FK
PK: event_id · 1 FK
PK: round_id · 2 FKs
PK: revision_id · 2 FKs
PK: revision_id · 1 FK
PK: revision_id · 1 FK
PK: result_id · 1 FK
PK: actuals_import_id
PK: actuals_record_id · 1 FK
PK: test_id · 1 FK
PK: amort_id · 2 FKs
PK: basis_row_id · 2 FKs
PK: migration_id
PK: model_run_id · 3 FKs
PK: period_id · 1 FK
PK: project_id
PK: sweep_id · 1 FK
PK: case_id · 2 FKs
PK: shareholder_id
PK: dist_id · 2 FKs
PK: alloc_id · 2 FKs
PK: agg_id · 2 FKs
PK: tranche_id · 2 FKs
