{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://puranwater.com/schemas/postgres/project_finance/financing_round_debt_terms.schema.json","title":"financing_round_debt_terms","type":"object","properties":{"revision_id":{"type":"string","format":"uuid","x-pg-type":"uuid"},"principal_inr":{"anyOf":[{"type":"number"},{"type":"null"}],"x-pg-type":"numeric"},"rate_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"x-pg-type":"numeric"},"tenor_months":{"anyOf":[{"type":"integer"},{"type":"null"}],"x-pg-type":"int4"},"moratorium_months":{"anyOf":[{"type":"integer"},{"type":"null"}],"x-pg-type":"int4"},"repayment_method":{"anyOf":[{"type":"string"},{"type":"null"}],"x-pg-type":"text"},"dscr_covenant_min":{"anyOf":[{"type":"number"},{"type":"null"}],"x-pg-type":"numeric"},"lock_up_dscr":{"anyOf":[{"type":"number"},{"type":"null"}],"x-pg-type":"numeric"},"cap_call_dscr":{"anyOf":[{"type":"number"},{"type":"null"}],"x-pg-type":"numeric"},"llcr_threshold":{"anyOf":[{"type":"number"},{"type":"null"}],"x-pg-type":"numeric"},"plcr_threshold":{"anyOf":[{"type":"number"},{"type":"null"}],"x-pg-type":"numeric"},"dsra_months":{"anyOf":[{"type":"integer"},{"type":"null"}],"x-pg-type":"int4"},"capitalize_idc":{"anyOf":[{"type":"boolean"},{"type":"null"}],"x-pg-type":"bool"},"facility_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"x-pg-type":"uuid"}},"x-table-schema":"public","required":["revision_id"],"x-primary-key":["revision_id"],"x-foreign-keys":[{"column":"facility_id","references_table":"debt_facility","references_column":"facility_id","constraint":"financing_round_debt_terms_facility_id_fkey"},{"column":"revision_id","references_table":"financing_round_revision","references_column":"revision_id","constraint":"financing_round_debt_terms_revision_id_fkey"}]}