<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:ref="http://rets.org/xsd/Referrals/2007-08"
xmlns:commons="http://rets.org/xsd/RETSCommons/2007-08"
xmlns:offices="http://rets.org/xsd/Offices/2007-08"
xmlns:members="http://rets.org/xsd/Members/2007-08"
targetNamespace="http://rets.org/xsd/Referrals/2007-08"
elementFormDefault="qualified"
attributeFormDefault="unqualified">
<!--
(C)2007 National Association of REALTORS(R). All Rights Reserved
Tab stops
:set ts=3
File History
======================
$Header: Referrals.xsd, 24, 4/4/08 5:28:23 AM EDT, Paul Stusiak$
$Log:
24 055_RETS_Standard 1.23 4/4/08 5:28:23 AM EDT Paul Stusiak
remove commons:Name as a type
23 055_RETS_Standard 1.22 2/21/08 3:56:05 PM EST Gina Accawi
Modify enum values to add whitespace where necessary.
22 055_RETS_Standard 1.21 1/24/08 2:30:34 PM EST Paul Stusiak
correct copyright notice language
21 055_RETS_Standard 1.20 10/8/07 4:22:15 PM EDT Paul Stusiak
Update version timestamp
20 055_RETS_Standard 1.19 7/9/07 3:37:04 PM EDT Paul Stusiak
Update versionTimestamp to 2007-07-09T19:21:00Z
19 055_RETS_Standard 1.18 6/26/07 3:40:36 PM EDT Gina Accawi
Rename Agent to Member. This affects namespaces, element names, type
references, and attribute names.
18 055_RETS_Standard 1.17 5/2/07 4:32:20 PM EDT Paul Stusiak
fix typo on schema import, use modified complex type names
17 055_RETS_Standard 1.16 5/1/07 7:15:40 PM EDT Paul Stusiak
Update the version timestamp, make the schema relative again,
normalize the date related typing to use SecureDateTime and naming to
be of the form XXXDateTime
16 055_RETS_Standard 1.15 4/3/07 7:59:32 PM EDT Paul Stusiak
use url resolution for include, import to test schema validation
15 055_RETS_Standard 1.14 4/3/07 4:43:03 AM EDT Paul Stusiak
change namespace to remote location (www.ftc2.com) for testing
14 055_RETS_Standard 1.13 4/2/07 2:26:58 PM EDT Paul Stusiak
change namespace to match responding server and to use the URI
versioning suggested by both HP and XFront
13 055_RETS_Standard 1.12 3/30/07 9:20:07 PM EDT Paul Stusiak
Update of the versionTimestamp and the namespace (namespace to
200704). Change formating to a standard format
12 055_RETS_Standard 1.11 3/21/07 4:47:26 AM EDT Paul Stusiak
change namespace to match the filename. minor formatting. use
SecureString type
11 055_RETS_Standard 1.10 3/21/07 4:41:46 AM EDT Paul Stusiak
change filename to match the global element name
10 055_RETS_Standard 1.9 3/8/07 2:02:33 AM EST Paul Stusiak
Clean up the project information for the purposes of document
generation. Change namespace to correctly reference Agents rather than
Agency.
9 055_RETS_Standard 1.8 2/28/07 4:09:51 AM EST Paul Stusiak
add standard header and refactoring RETSCommons changes
8 055_RETS_Standard 1.7 2/22/07 6:34:55 PM EST Gina Accawi
Remove all references to the schemaLocation as being
http://retsserver.realtors.org:8080/xsd/. These references have been
changed to be relative path (as the current directory). Now,
regardless of where they are published, the referential internal
integrity will remain. The assumption is that these will all reside as
neighbors on the target distribution server.
7 055_RETS_Standard 1.6 12/20/06 3:31:12 PM ESTJeff Brush
added retsserver location back to imports; renamed Prospect to
SavedQuery; changed ListingHistory to track only select fields
identified by workgroup;renamed Agency to Agents and fixed references
in other schemas;changed TotalSqFeet references to TotalArea; per 12/7
MLS payload workgroup meeting
6 055_RETS_Standard 1.5 12/2/06 4:12:46 AM EST Paul Stusiak
various mechanical fixes tho the schema and a re-direct from
retsserver.realtors.org to www.ftc2.com
5 055_RETS_Standard 1.4 11/28/06 4:41:33 AM ESTPaul Stusiak
updated version per meetings
4 055_RETS_Standard 1.3 9/20/06 3:43:30 PM EDT Jeff Brush
chgd schemaLocation to point to http://retsserver.rets.org:8080/xsd/
3 055_RETS_Standard 1.2 4/7/06 10:36:41 PM EDT Jeff Brush
renamed version attribute to versionTimestamp for schema versioning
2 055_RETS_Standard 1.1 4/7/06 4:37:42 PM EDT Jeff Brush
modified to have schema versioning as datetime, add year month to
namespaces, minor corrections
1 055_RETS_Standard 1.0 4/4/06 11:06:09 AM EDT Jeff Brush
Updated schemas. All MLS schemas have extensibility points. New
ObjectReferenceList.xsd
$
======================
-->
<xs:annotation>
<xs:documentation>
Elements related to the Lead Prospecting.
</xs:documentation>
</xs:annotation>
<xs:import namespace="http://rets.org/xsd/RETSCommons/2007-08"
schemaLocation="../../../xsd/RETSCommons/2007-08/RETSCommons.xsd"/>
<xs:import namespace="http://rets.org/xsd/Offices/2007-08"
schemaLocation="../../../xsd/Offices/2007-08/Offices.xsd"/>
<xs:import namespace="http://rets.org/xsd/Members/2007-08"
schemaLocation="../../../xsd/Members/2007-08/Members.xsd"/>
<!-- Attributes -->
<xs:attribute name="sourceType">
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="Member"/>
<xs:enumeration value="Automated System"/>
<xs:enumeration value="Other"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="description">
<xs:simpleType>
<xs:restriction base="xs:string"/>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="referralType">
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="Buyer"/>
<xs:enumeration value="Seller"/>
<xs:enumeration value="RELO Buyer"/>
<xs:enumeration value="RELO Seller"/>
<xs:enumeration value="Other"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="referralStatus">
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="New"/>
<xs:enumeration value="Buyer Agency Agreement"/>
<xs:enumeration value="Exclusive Right To Sell"/>
<xs:enumeration value="Prequalified"/>
<xs:enumeration value="Qualified"/>
<xs:enumeration value="Rejected"/>
<xs:enumeration value="Expired"/>
<xs:enumeration value="Other"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="referralId">
<xs:simpleType>
<xs:restriction base="xs:string"/>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="memberRecipientId">
<xs:simpleType>
<xs:restriction base="xs:string"/>
</xs:simpleType>
</xs:attribute>
<xs:complexType name="Rate">
<xs:simpleContent>
<xs:extension base="commons:SecureString"/>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="AutomatedSystem">
<xs:sequence>
<xs:element name="Name"
type="commons:SecureString"/>
<xs:element name="URL"
type="commons:URL"/>
<xs:element name="Email"
type="commons:Email"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="Source">
<xs:choice>
<xs:element name="AutomatedSystem"
type="ref:AutomatedSystem"/>
<xs:element name="Member"
type="members:MemberType"/>
<xs:element name="OtherReferral"
type="commons:ContactablePerson"/>
</xs:choice>
<xs:attribute ref="ref:description"
use="optional"/>
<xs:attribute ref="ref:sourceType"
use="required"/>
<xs:attribute name="sourceTypeOtherDescription"/>
</xs:complexType>
<xs:complexType name="Referral">
<xs:sequence>
<xs:element name="Source"
type="ref:Source"/>
<xs:element name="Client"
type="commons:ContactablePerson"/>
<xs:element name="Rate"
type="ref:Rate"/>
<xs:element name="ReceivedDateTime"
type="commons:SecureDateTime"/>
<xs:element name="Remarks"
type="commons:Remark"/>
<xs:any namespace="##other"
minOccurs="0"
maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute ref="ref:referralId"
use="required"/>
<xs:attribute ref="ref:memberRecipientId"
use="optional"/>
<xs:attribute ref="ref:referralType"
use="optional"/>
<xs:attribute name="referralTypeOtherDescription"/>
<xs:attribute ref="ref:referralStatus"
use="optional"/>
<xs:attribute name="referralStatusOtherDescription"/>
</xs:complexType>
<xs:complexType name="Referrals">
<xs:sequence>
<xs:element name="Referral"
type="ref:Referral"
minOccurs="0"/>
</xs:sequence>
<xs:attribute name="versionTimestamp"
type="xs:dateTime"
use="required"
fixed="2007-07-09T19:21:00Z"/>
</xs:complexType>
<!-- Elements -->
<xs:element name="Referrals"
type="ref:Referrals"/>
</xs:schema>
|