json.extract! node_input, :id, :name, :input_type, :description, :is_required if node_input.input_type.to_s == "select" json.select node.action_node_selects do |node_select| json.partial! "node_select", locals: { node_select: node_select, node: node } end end