Each attribute has a type. For example, the ‘Name’ attribute will be a string (sequence of characters) with a certain maximum length (e.g. , 80 characters), and possibly other restrictions, such as, it cannot be empty, illustrated in the example below.
<xs:element name="text">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="1770"/>
<xs:whiteSpace value="preserve"/>
</xs:restriction>
There is a very rich set of types: simple strings, various numeric types, dates and times, references to other objects (single or multiple), enumerations, categories picked from pre-defined taxonomies, binary data. There are over 30 different attribute types that can be used in the definition of objects.
For a complete list see:
http://tech.teradp.com/tech/html/gn4/docs/VSdoc/frlrfTeraDPGN4SchemaAttributeType.html
See also
Defining object attribute types