{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://puranwater.com/schemas/postgres/engineering_mcp/chemical_dose_run.schema.json","title":"chemical_dose_run","type":"object","properties":{"dose_id":{"type":"string","format":"uuid","x-pg-type":"uuid"},"project_ref":{"type":"string","x-pg-type":"text"},"equipment_uid":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"x-pg-type":"uuid"},"chemical":{"type":"string","x-pg-type":"text"},"dose_rate":{"type":"number","x-pg-type":"float8"},"dose_unit":{"type":"string","x-pg-type":"engineering_unit"},"total_volume_l":{"anyOf":[{"type":"number"},{"type":"null"}],"x-pg-type":"float8"},"target_parameter":{"anyOf":[{"type":"string"},{"type":"null"}],"x-pg-type":"text"},"target_setpoint":{"anyOf":[{"type":"number"},{"type":"null"}],"x-pg-type":"float8"},"actual_parameter_value":{"anyOf":[{"type":"number"},{"type":"null"}],"x-pg-type":"float8"},"parameter_unit":{"anyOf":[{"type":"string"},{"type":"null"}],"x-pg-type":"engineering_unit"},"start_datetime":{"type":"string","format":"date-time","x-pg-type":"timestamptz"},"end_datetime":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"x-pg-type":"timestamptz"},"operator":{"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_ref","chemical","dose_rate","dose_unit","start_datetime"],"x-primary-key":["dose_id"],"x-foreign-keys":[{"column":"project_ref","references_table":"project","references_column":"ref","constraint":"chemical_dose_run_project_ref_fkey"}]}