<xsd:simpleType name="TimeType"> <xsd:restriction base="xsd:time"> <xsd:pattern value="\d\d:\d\d:\d\d(Z|(\+|-)\d\d:\d\d)" /> </xsd:restriction> </xsd:simpleType>