{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://puranwater.com/schemas/postgres/engineering_mcp/plc_task_binding.schema.json","title":"plc_task_binding","type":"object","properties":{"binding_id":{"type":"integer","x-pg-type":"int8"},"project_ref":{"type":"string","x-pg-type":"text"},"program_uid":{"type":"string","format":"uuid","x-pg-type":"uuid"},"task_name":{"type":"string","x-pg-type":"text"},"task_priority":{"type":"integer","x-pg-type":"int4"},"task_interval_ms":{"anyOf":[{"type":"number"},{"type":"null"}],"x-pg-type":"float8"},"single_trigger_tag":{"anyOf":[{"type":"string"},{"type":"null"}],"x-pg-type":"text"},"resource_name":{"anyOf":[{"type":"string"},{"type":"null"}],"x-pg-type":"text"},"configuration_name":{"anyOf":[{"type":"string"},{"type":"null"}],"x-pg-type":"text"},"created_at":{"type":"string","format":"date-time","x-pg-type":"timestamptz"},"updated_at":{"type":"string","format":"date-time","x-pg-type":"timestamptz"}},"x-table-schema":"public","required":["project_ref","program_uid","task_name","task_priority"],"x-primary-key":["binding_id"],"x-foreign-keys":[{"column":"program_uid","references_table":"plc_program_unit","references_column":"program_uid","constraint":"plc_task_binding_program_uid_fkey"},{"column":"project_ref","references_table":"project","references_column":"ref","constraint":"plc_task_binding_project_ref_fkey"}]}