added valid_type to schema_dumper