The API itself does not impose a data type.
It is unclear why the screen shot is pre-setting to string.
The attributes are defined as
<leadAttributeList>
<attribute>
<attrName></attrName>
<attrType></attrType>
<attrValue></attrValue>
</attribute>
</leadAttributeList>