{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://puranwater.com/schemas/postgres/project_finance/shareholder_profile_aggregate.schema.json","title":"shareholder_profile_aggregate","type":"object","properties":{"agg_id":{"type":"string","format":"uuid","x-pg-type":"uuid"},"model_run_id":{"type":"string","format":"uuid","x-pg-type":"uuid"},"profile_slug":{"type":"string","x-pg-type":"text"},"shareholder_id":{"type":"string","format":"uuid","x-pg-type":"uuid"},"hold_yrs":{"anyOf":[{"type":"integer"},{"type":"null"}],"x-pg-type":"int4"},"total_distributions_inr_cr":{"anyOf":[{"type":"number"},{"type":"null"}],"x-pg-type":"numeric"},"exit_proceeds_inr_cr":{"anyOf":[{"type":"number"},{"type":"null"}],"x-pg-type":"numeric"},"irr_realized":{"anyOf":[{"type":"number"},{"type":"null"}],"x-pg-type":"numeric"},"moic_realized":{"anyOf":[{"type":"number"},{"type":"null"}],"x-pg-type":"numeric"}},"x-table-schema":"public","required":["model_run_id","profile_slug","shareholder_id"],"x-primary-key":["agg_id"],"x-foreign-keys":[{"column":"model_run_id","references_table":"proforma_model_run","references_column":"model_run_id","constraint":"shareholder_profile_aggregate_model_run_id_fkey"},{"column":"shareholder_id","references_table":"shareholder","references_column":"shareholder_id","constraint":"shareholder_profile_aggregate_shareholder_id_fkey"}]}