<?xml version="1.0" encoding="utf-8" ?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
        targetNamespace="uri:individual"
        xmlns= "uri:individual">
   <xs:element name="IndividualSurvey">
    <xs:complexType>
      <xs:sequence>
        <xs:element name="DateOfFirstPurchase" type="xs:dateTime" />
        <xs:element name="MaritalStatus" type="xs:string" />
        <xs:element name="Gender" type="xs:string" />
        <xs:element name="NoOfChildren" type="xs:int" />
        <xs:element name="NoOfChildrenAtHome" type="xs:int" />
        <xs:element name="HomeOwnerFlag" type="xs:boolean" />
        <xs:element name="NoOfCarsOwned" type="xs:int" />
        <xs:element name="Hobby" type="xs:string" maxOccurs="unbounded" />
    </xs:sequence>
    </xs:complexType>
   </xs:element>
</xs:schema>