{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://puranwater.com/schemas/postgres/engineering_mcp/control_sequence_step.schema.json","title":"control_sequence_step","type":"object","properties":{"sequence_uid":{"type":"string","format":"uuid","x-pg-type":"uuid"},"step_role":{"type":"string","x-pg-type":"text"},"step_number":{"type":"integer","x-pg-type":"int4"},"step_name":{"anyOf":[{"type":"string"},{"type":"null"}],"x-pg-type":"text"},"target_tag":{"anyOf":[{"type":"string"},{"type":"null"}],"x-pg-type":"text"},"action_text":{"type":"string","x-pg-type":"text"},"command":{"anyOf":[{"type":"string"},{"type":"null"}],"x-pg-type":"text"},"setpoint":{"anyOf":[{"type":"number"},{"type":"null"}],"x-pg-type":"float8"},"units":{"anyOf":[{"type":"string"},{"type":"null"}],"x-pg-type":"engineering_unit"},"duration_s":{"anyOf":[{"type":"number"},{"type":"null"}],"x-pg-type":"float8"},"transition_condition":{"anyOf":[{"type":"string"},{"type":"null"}],"x-pg-type":"text"},"timeout_s":{"anyOf":[{"type":"number"},{"type":"null"}],"x-pg-type":"float8"},"on_timeout":{"anyOf":[{"type":"string"},{"type":"null"}],"x-pg-type":"text"}},"x-table-schema":"public","required":["sequence_uid","step_number","action_text"],"x-primary-key":["sequence_uid","step_role","step_number"],"x-foreign-keys":[{"column":"sequence_uid","references_table":"control_sequence_definition","references_column":"sequence_uid","constraint":"control_sequence_step_sequence_uid_fkey"}]}