<?xml version=“1.0”?> <xsd:schema xmlns:xsd=“www.w3.org/2001/XMLSchema”>

<xsd:element name="foo">
        <xsd:complexType>
                <xsd:sequence>
                        <xsd:element name="bar" minOccurs="1" maxOccurs="0"/>
                </xsd:sequence>
        </xsd:complexType>
</xsd:element>

</xsd:schema>