You can implement it like this:
class Routing(dspy.Signature):
"""some short description of the task here""
input_query = dspy.InputField()
output_field_1: List[str] = dspy.InputField(desc="description here " format = list)
output_field_2: str = dspy.InputField(desc="description here 2 ")