<xsd:simpleType name="layout-keyType"> <xsd:restriction base="xsd:string"> <xsd:pattern value="k-p\d+[h|d|m|y]-n\d+-\d+" /> </xsd:restriction> </xsd:simpleType>