{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://puranwater.com/schemas/postgres/project_controls/cost_to_complete_projection.schema.json","title":"cost_to_complete_projection","type":"object","properties":{"projection_id":{"type":"integer","x-pg-type":"int8"},"project_ref":{"type":"string","x-pg-type":"text"},"baseline_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"x-pg-type":"int8"},"status_date":{"type":"string","format":"date","x-pg-type":"date"},"remaining_commitment_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"x-pg-type":"numeric"},"estimated_cost_to_complete_usd":{"type":"number","x-pg-type":"numeric"},"estimate_at_completion_usd":{"type":"number","x-pg-type":"numeric"},"contingency_remaining_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"x-pg-type":"numeric"},"basis":{"type":"string","x-pg-type":"text"},"confidence_p10_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"x-pg-type":"numeric"},"confidence_p50_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"x-pg-type":"numeric"},"confidence_p90_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"x-pg-type":"numeric"},"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_ref","status_date","estimated_cost_to_complete_usd","estimate_at_completion_usd","basis"],"x-primary-key":["projection_id"],"x-foreign-keys":[{"column":"baseline_id","references_table":"project_control_baseline","references_column":"baseline_id","constraint":"cost_to_complete_projection_baseline_id_fkey"}]}