<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" >

<xsd:element name="agent" type="theproperty" />

<xsd:complexType name="theproperty">
 <xsd:sequence>
 <xsd:element name="agentname" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
 <xsd:element name="email" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
   <xsd:element name="allproperty" type="propertyinfo" minOccurs="0" maxOccurs="unbounded"/>
   
 </xsd:sequence>
</xsd:complexType>

<xsd:complexType name="propertyinfo">
 <xsd:sequence>
  <xsd:element name="aproperty" type="apropertyinfo" minOccurs="0" maxOccurs="unbounded" />
  </xsd:sequence>
</xsd:complexType>

<xsd:complexType name="apropertyinfo">
 <xsd:sequence>
   <xsd:element name="area" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
   <xsd:element name="type" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
   <xsd:element name="price" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
   <xsd:element name="visit" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
 </xsd:sequence>
</xsd:complexType>

</xsd:schema>
