{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://puranwater.com/schemas/postgres/project_finance/proforma_period.schema.json","title":"proforma_period","type":"object","properties":{"period_id":{"type":"string","format":"uuid","x-pg-type":"uuid"},"model_run_id":{"type":"string","format":"uuid","x-pg-type":"uuid"},"period_index":{"type":"integer","x-pg-type":"int4"},"date":{"type":"string","format":"date","x-pg-type":"date"},"revenue":{"anyOf":[{"type":"number"},{"type":"null"}],"x-pg-type":"numeric"},"opex":{"anyOf":[{"type":"number"},{"type":"null"}],"x-pg-type":"numeric"},"ebitda":{"anyOf":[{"type":"number"},{"type":"null"}],"x-pg-type":"numeric"},"depreciation":{"anyOf":[{"type":"number"},{"type":"null"}],"x-pg-type":"numeric"},"interest":{"anyOf":[{"type":"number"},{"type":"null"}],"x-pg-type":"numeric"},"tax":{"anyOf":[{"type":"number"},{"type":"null"}],"x-pg-type":"numeric"},"net_income":{"anyOf":[{"type":"number"},{"type":"null"}],"x-pg-type":"numeric"},"capex":{"anyOf":[{"type":"number"},{"type":"null"}],"x-pg-type":"numeric"},"debt_drawdown":{"anyOf":[{"type":"number"},{"type":"null"}],"x-pg-type":"numeric"},"debt_repayment":{"anyOf":[{"type":"number"},{"type":"null"}],"x-pg-type":"numeric"},"debt_service":{"anyOf":[{"type":"number"},{"type":"null"}],"x-pg-type":"numeric"},"idc":{"anyOf":[{"type":"number"},{"type":"null"}],"x-pg-type":"numeric"},"working_capital_change":{"anyOf":[{"type":"number"},{"type":"null"}],"x-pg-type":"numeric"},"free_cash_flow_firm":{"anyOf":[{"type":"number"},{"type":"null"}],"x-pg-type":"numeric"},"free_cash_flow_equity":{"anyOf":[{"type":"number"},{"type":"null"}],"x-pg-type":"numeric"},"cfads":{"anyOf":[{"type":"number"},{"type":"null"}],"x-pg-type":"numeric"},"dscr":{"anyOf":[{"type":"number"},{"type":"null"}],"x-pg-type":"numeric"},"distributable_cash":{"anyOf":[{"type":"number"},{"type":"null"}],"x-pg-type":"numeric"},"distribution":{"anyOf":[{"type":"number"},{"type":"null"}],"x-pg-type":"numeric"},"cash_retained":{"anyOf":[{"type":"number"},{"type":"null"}],"x-pg-type":"numeric"},"distribution_lock_up":{"anyOf":[{"type":"boolean"},{"type":"null"}],"x-pg-type":"bool"},"dsra_balance":{"anyOf":[{"type":"number"},{"type":"null"}],"x-pg-type":"numeric"},"dsra_funding":{"anyOf":[{"type":"number"},{"type":"null"}],"x-pg-type":"numeric"},"dsra_draw":{"anyOf":[{"type":"number"},{"type":"null"}],"x-pg-type":"numeric"},"closing_debt_balance":{"anyOf":[{"type":"number"},{"type":"null"}],"x-pg-type":"numeric"},"cumulative_cash_flow":{"anyOf":[{"type":"number"},{"type":"null"}],"x-pg-type":"numeric"}},"x-table-schema":"public","required":["model_run_id","period_index","date"],"x-primary-key":["period_id"],"x-foreign-keys":[{"column":"model_run_id","references_table":"proforma_model_run","references_column":"model_run_id","constraint":"proforma_period_model_run_id_fkey"}]}