<xs:complexType name="IDXType">
<xs:sequence>
<xs:element name="ListingKey" type="xs:string">
<xs:annotation>
<xs:documentation>Listing/ListingKey</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ListingId" type="xs:string">
<xs:annotation>
<xs:documentation>Listing/ListingId</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="MLSOperatorId" type="xs:string">
<xs:annotation>
<xs:documentation>Listing/MLSOperator/MLSOperatorId</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="MLSOperatorName" type="xs:string">
<xs:annotation>
<xs:documentation>Listing/MLSOperator/MLSOperatorName</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ListingCategory" type="xs:string">
<xs:annotation>
<xs:documentation>Listing/ListingCategory</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ListingRetsStatus" type="xs:string">
<xs:annotation>
<xs:documentation>Listing/ListingStatus/RetsStatus</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="isAcceptingOffers" type="xs:string">
<xs:annotation>
<xs:documentation>Listing/ListingStatus/isAcceptingOffers</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ListingEntryDateTime" type="xs:string">
<xs:annotation>
<xs:documentation>Listing/ListingDates/ListingEntryDateTime</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ListingContractDateTime" type="xs:string">
<xs:annotation>
<xs:documentation>Listing/ListingDates/ListingContractDateTime</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ClosingDateTime" type="xs:string">
<xs:annotation>
<xs:documentation>Listing/ListingDates/ClosingDateTime</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="OffMarketDateTime" type="xs:string">
<xs:annotation>
<xs:documentation>Listing/ListingDates/OffMarketDateTime</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CancelledDateTime" type="xs:string">
<xs:annotation>
<xs:documentation>Listing/ListingDates/CancelledDateTime</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="WithdrawnDateTime" type="xs:string">
<xs:annotation>
<xs:documentation>Listing/ListingDates/WithdrawnDateTime</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PendingDateTime" type="xs:string">
<xs:annotation>
<xs:documentation>Listing/ListingDates/PendingDateTime</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="StatusChangeDateTime" type="xs:string">
<xs:annotation>
<xs:documentation>Listing/ListingDates/StatusChangeDateTime</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="DaysOnMarket" type="xs:string">
<xs:annotation>
<xs:documentation>Listing/ListingDates/DaysOnMarket</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CumulativeDaysOnMarket" type="xs:string">
<xs:annotation>
<xs:documentation>Listing/ListingDates/CumulativeDaysOnMarket</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ListPrice" type="xs:string">
<xs:annotation>
<xs:documentation>Listing/ListingPricing/ListPrice</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="OriginalListPrice" type="xs:string">
<xs:annotation>
<xs:documentation>Listing/ListingPricing/OriginalListPrice</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ListPriceHigh" type="xs:string">
<xs:annotation>
<xs:documentation>Listing/ListingPricing/ListPriceHigh</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ListPriceLow" type="xs:string">
<xs:annotation>
<xs:documentation>Listing/ListingPricing/ListPriceLow</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ClosePrice" type="xs:string">
<xs:annotation>
<xs:documentation>Listing/ListingPricing/ClosePrice</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PendingPrice" type="xs:string">
<xs:annotation>
<xs:documentation>Listing/ListingPricing/PendingPrice</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ListingAgreement" type="xs:string">
<xs:annotation>
<xs:documentation>Listing/ListingAgreement</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="MLSArea" type="xs:string">
<xs:annotation>
<xs:documentation>Listing/MLSArea/MajorArea</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PermitInternet" type="xs:string">
<xs:annotation>
<xs:documentation>Listing/MarketingInformation/PermitInternet</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PermitAddressOnInternet" type="xs:string">
<xs:annotation>
<xs:documentation>Listing/MarketingInformation/PermitAddressOnInternet</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PermitPictureOnInternet" type="xs:string">
<xs:annotation>
<xs:documentation>Listing/MarketingInformation/PermitPictureOnInternet</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PermitSignOnProperty" type="xs:string">
<xs:annotation>
<xs:documentation>Listing/MarketingInformation/PermitSignOnProperty</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="HasSignOnProperty" type="xs:string">
<xs:annotation>
<xs:documentation>Listing/MarketingInformation/HasSignOnProperty</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PublicRemarks" type="xs:string">
<xs:annotation>
<xs:documentation>Listing/Remarks/PublicRemarks</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CopyrightNotice" type="xs:string">
<xs:annotation>
<xs:documentation>Listing/CopyrightNotice</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ListingOfficeKey" type="xs:string">
<xs:annotation>
<xs:documentation>Listing/ListingOffices/ListingOffice/OfficeKey</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ListingOfficeId" type="xs:string">
<xs:annotation>
<xs:documentation>Listing/ListingOffices/ListingOffice/OfficeId</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ListingOfficeName" type="xs:string">
<xs:annotation>
<xs:documentation>Listing/ListingOffices/ListingOffice/OfficeName</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ListingOfficePhone" type="xs:string">
<xs:annotation>
<xs:documentation>Our Phone is under ContactMethods and will have to be constructed from the parts.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ListingMemberKey" type="xs:string">
<xs:annotation>
<xs:documentation>Listing/ListingParticipants/Participant[Role='Listing']/Member/MemberKey</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ListingMemberId" type="xs:string">
<xs:annotation>
<xs:documentation>Listing/ListingParticipants/Participant[Role='Listing']/Member/@memberId</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ListingMemberFullName" type="xs:string">
<xs:annotation>
<xs:documentation>This has to be constructed as well from the Person name items</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ListingMemberPhone" type="xs:string">
<xs:annotation>
<xs:documentation>This has to be constructed as well from the ContactMethods Phone items</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ListingMemberEmail" type="xs:string">
<xs:annotation>
<xs:documentation>Listing/ListingParticipants/Participant[Role='Listing']/Member/Person/ContactMethods/Email/EmailAddress</xs:documentation>
</xs:annotation>
</xs:element>
<!-- Property elements begin here. -->
<xs:element name="PropertyKey" type="xs:string">
<xs:annotation>
<xs:documentation>Property/PropertyKey</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PropertyType" type="xs:string">
<xs:annotation>
<xs:documentation>Property/PropertyType</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PropertySubType" type="xs:string">
<xs:annotation>
<xs:documentation>Property/PropertySubType</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="StreetNumber" type="xs:string">
<xs:annotation>
<xs:documentation>Property/Address/StreetNumber</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="StreetDirPrefix" type="xs:string">
<xs:annotation>
<xs:documentation>Property/Address/StreetDirPrefix</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="StreetName" type="xs:string">
<xs:annotation>
<xs:documentation>Property/Address/StreetName</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="StreetSuffix" type="xs:string">
<xs:annotation>
<xs:documentation>Property/Address/StreetSuffix</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="StreetAdditionalInfo" type="xs:string">
<xs:annotation>
<xs:documentation>Property/Address/StreetAdditionalInfo</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="BoxNumber" type="xs:string">
<xs:annotation>
<xs:documentation>Property/Address/BoxNumber</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="UnitNumber" type="xs:string">
<xs:annotation>
<xs:documentation>Property/Address/UnitNumber</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="FullStreetAddress" type="xs:string">
<xs:annotation>
<xs:documentation>Property/Address/FullStreetAddress</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="City" type="xs:string">
<xs:annotation>
<xs:documentation>Property/Address/City</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="StateOrProvince" type="xs:string">
<xs:annotation>
<xs:documentation>Property/Address/StateOrProvince</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PostalCode" type="xs:string">
<xs:annotation>
<xs:documentation>Property/Address/PostalCode</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Country" type="xs:string">
<xs:annotation>
<xs:documentation>Property/Address/Country</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="County" type="xs:string">
<xs:annotation>
<xs:documentation>Property/County</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="AreaTotal" type="xs:string">
<xs:annotation>
<xs:documentation>Property/AreaTotal</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PhotoCount" type="xs:integer">
<xs:annotation>
<xs:documentation>count(Listing/MediaItems/MediaItem)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PhotoTimestamp" type="xs:dateTime">
<xs:annotation>
<xs:documentation>Could not find modification timestamp for photos...</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="BedsTotal" type="xs:string">
<xs:annotation>
<xs:documentation>Property/PublicRecord/Characteristics/BedsTotal</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="BathsTotal" type="xs:string">
<xs:annotation>
<xs:documentation>Property/PublicRecord/Characteristics/BathsTotal</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="LandArea" type="xs:string">
<xs:annotation>
<xs:documentation>Property/PublicRecord/Characteristics/LotArea</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="YearBuilt" type="xs:string">
<xs:annotation>
<xs:documentation>Property/PublicRecord/Characteristics/YearBuilt</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Style" type="xs:string">
<xs:annotation>
<xs:documentation>Property/PublicRecord/Characteristics/Style</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Subdivision" type="xs:string">
<xs:annotation>
<xs:documentation>Property/Community/Subdivision</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="SchoolDistrict" type="xs:string">
<xs:annotation>
<xs:documentation>Property/PublicRecord/Location/SchoolDistrict</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ElementarySchool" type="xs:string">
<xs:annotation>
<xs:documentation>Property/Community/Schools/School[SchoolCategory = 'Primary' or SchoolCategory = 'Elementary']/Name</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="MiddleSchool" type="xs:string">
<xs:annotation>
<xs:documentation>Property/Community/Schools/School[SchoolCategory = 'High' or SchoolCategory = 'Secondary']/Name</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="HighSchool" type="xs:string">
<xs:annotation>
<xs:documentation>Property/Community/Schools/School[SchoolCategory = 'High' or SchoolCategory = 'Secondary']/Name</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ParkingTotal" type="xs:string">
<xs:annotation>
<xs:documentation>Property/Lot/Parking/PropertyParking/ParkingTotal</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ShowingAppointmentPhone" type="xs:string">
<xs:annotation>
<xs:documentation>concat(Listing/Showing/ShowingInformation/AppointmentPhoneNumber[phone-preference-order = 1]/area-code, Listing/Showing/ShowingInformation/AppointmentPhoneNumber[phone-preference-order = 1]/local-number)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ShowingContact" type="xs:string">
<xs:annotation>
<xs:documentation>concat(Listing/Showing/ShowingInformation/Contact/Person/FirstName, Listing/Showing/ShowingInformation/Contact/Person/LastName)</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="versionTimestamp" type="xs:dateTime" use="required" fixed="2007-10-08T16:27:23Z" />
</xs:complexType>
|