{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://puranwater.com/schemas/postgres/project_finance/financing_round.schema.json","title":"financing_round","type":"object","properties":{"round_id":{"type":"string","format":"uuid","x-pg-type":"uuid"},"project_id":{"type":"string","format":"uuid","x-pg-type":"uuid"},"round_kind":{"type":"string","x-pg-type":"text"},"series_label":{"type":"string","x-pg-type":"text"},"counterparty_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"x-pg-type":"uuid"},"status":{"type":"string","x-pg-type":"text"},"initial_proposed_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"x-pg-type":"date"},"latest_revision_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"x-pg-type":"date"},"closed_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"x-pg-type":"date"},"primary_doc_uri":{"anyOf":[{"type":"string"},{"type":"null"}],"x-pg-type":"text"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"x-pg-type":"text"},"created_at":{"type":"string","format":"date-time","x-pg-type":"timestamptz"}},"x-table-schema":"public","required":["project_id","round_kind","series_label","status"],"x-primary-key":["round_id"],"x-foreign-keys":[{"column":"counterparty_id","references_table":"counterparty","references_column":"counterparty_id","constraint":"financing_round_counterparty_id_fkey"},{"column":"project_id","references_table":"project","references_column":"project_id","constraint":"financing_round_project_id_fkey"}]}