The base
attribute specifies the type it's derived from
The name
attribute specifies the name it will be referred to as
The pattern
child element imposes the restriction
<xsd:simpleType base="xsd:string" name="money">
<xsd:pattern value="\p{Sc}\p{Nd}+(\.\p{Nd}\p{Nd})?"/>
</xsd:simpleType>