apply schema provided by string of names

the type of fields will be infered automatically