Defining an input schema for workflows