Your right it should be string, for integer,date boolean inputs in xml they are explicitly setting type attribute.