{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://puranwater.com/schemas/postgres/project_finance/proforma_covenant_test.schema.json","title":"proforma_covenant_test","type":"object","properties":{"test_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"},"covenant":{"type":"string","x-pg-type":"text"},"threshold":{"anyOf":[{"type":"number"},{"type":"null"}],"x-pg-type":"numeric"},"actual":{"anyOf":[{"type":"number"},{"type":"null"}],"x-pg-type":"numeric"},"passed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"x-pg-type":"bool"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"x-pg-type":"text"}},"x-table-schema":"public","required":["model_run_id","period_index","covenant"],"x-primary-key":["test_id"],"x-foreign-keys":[{"column":"model_run_id","references_table":"proforma_model_run","references_column":"model_run_id","constraint":"proforma_covenant_test_model_run_id_fkey"}]}