Schema Name: Prospects.xsd
Target Namespace: http://rets.org/xsd/Prospects/2007-08
Documentation:
Elements related to the Lead Prospecting.
Collapse XSD Schema Code:

<xs:schema	xmlns:xs="http://www.w3.org/2001/XMLSchema"
				xmlns:prospect="http://rets.org/xsd/Prospects/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/Prospects/2007-08"
				elementFormDefault="qualified"
				attributeFormDefault="unqualified">

	<!--
		(C)2007 National Association of REALTORS(R). All Rights Reserved

		File History
		======================
		$Header: Prospects.xsd, 23, 1/24/08 2:30:34 PM EST, Paul Stusiak$
		

		$Log:
		 23   055_RETS_Standard 1.22        1/24/08 2:30:34 PM EST Paul Stusiak
		      correct copyright notice language
		 22   055_RETS_Standard 1.21        10/8/07 4:22:15 PM EDT Paul Stusiak
		      Update version timestamp
		 21   055_RETS_Standard 1.20        10/2/07 5:11:08 PM EDT Gina Accawi
		      Put extension point on element declaration.
		 20   055_RETS_Standard 1.19        7/9/07 3:37:03 PM EDT  Paul Stusiak
		      Update versionTimestamp to 2007-07-09T19:21:00Z
		 19   055_RETS_Standard 1.18        7/2/07 12:45:34 PM EDT Gina Accawi
		      Rename ResourceKey to be the actual ResourceNameKey.
		 18   055_RETS_Standard 1.17        6/29/07 3:34:44 PM EDT Gina Accawi
		      Add a key for the resource.
		 17   055_RETS_Standard 1.16        6/26/07 3:40:34 PM EDT Gina Accawi
		      Rename Agent to Member. This affects namespaces, element names, type
		      references, and attribute names.
		 16   055_RETS_Standard 1.15        5/2/07 4:30:40 PM EDT  Paul Stusiak
		      change namespace reference, use modified complex type name, update
		      version time stamp
		 15   055_RETS_Standard 1.14        4/3/07 7:59:32 PM EDT  Paul Stusiak
		      use url resolution for include, import to test schema validation
		 14   055_RETS_Standard 1.13        4/3/07 4:44:10 AM EDT  Paul Stusiak
		      change namespace to remote location (www.ftc2.com) for testing
		 13   055_RETS_Standard 1.12        4/2/07 2:26:57 PM EDT  Paul Stusiak
		      change namespace to match responding server and to use the URI
		      versioning suggested by both HP and XFront
		 12   055_RETS_Standard 1.11        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
		 11   055_RETS_Standard 1.10        3/21/07 4:51:18 AM EDT Paul Stusiak
		      change namespace to match filename. minor formatting.
		 10   055_RETS_Standard 1.9         3/21/07 4:48:39 AM EDT Paul Stusiak
		      change filename to match the global element name
		 9    055_RETS_Standard 1.8         3/8/07 2:01:36 AM EST  Paul Stusiak
		      Clean up the project information for the purposes of document
		      generation. Change namespace to correctly reference Agents rather than
		       Agency.
		 8    055_RETS_Standard 1.7         2/28/07 4:07:36 AM EST Paul Stusiak
		      add standard header
		 7    055_RETS_Standard 1.6         12/2/06 4:12:45 AM EST Paul Stusiak
		      various mechanical fixes tho the schema and a re-direct from
		      retsserver.realtors.org to www.ftc2.com
		 6    055_RETS_Standard 1.5         11/28/06 4:41:33 AM ESTPaul Stusiak
		      updated version per meetings
		 5    055_RETS_Standard 1.4         7/31/06 12:26:03 PM EDTJeff Brush
		      updated schemas to have child element of minOccurs="0" allowing for
		      empty root element to be returned in cases where the search results
		      are empty
		 4    055_RETS_Standard 1.3         4/7/06 10:36:40 PM EDT Jeff Brush
		      renamed version attribute to versionTimestamp for schema versioning
		 3    055_RETS_Standard 1.2         4/7/06 4:37:41 PM EDT  Jeff Brush
		      modified to have schema versioning as datetime, add year month to
		      namespaces, minor corrections
		 2    055_RETS_Standard 1.1         4/4/06 11:05:59 AM EDT Jeff Brush
		      Updated schemas.  All MLS schemas have extensibility points.  New
		      ObjectReferenceList.xsd
		 1    055_RETS_Standard 1.0         3/6/06 11:13:39 AM EST Paul Stusiak    
		$
		======================
	-->

	<xs:annotation>
		<xs:documentation>
			Elements related to the Lead Prospecting.

		</xs:documentation>
	</xs:annotation>

	<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"/>
	<xs:import	namespace="http://rets.org/xsd/RETSCommons/2007-08"
					schemaLocation="../../../xsd/RETSCommons/2007-08/RETSCommons.xsd"/>

	<!-- Types -->
	<xs:simpleType name="ProspectID">
		<xs:restriction base="xs:string"/>
	</xs:simpleType>
	<xs:simpleType name="PublicName">
		<xs:restriction base="xs:string"/>
	</xs:simpleType>
	<xs:complexType name="Prospect">
		<xs:sequence>
			<xs:element name="ProspectKey"
							type="commons:resource-key"
							minOccurs="1"
							maxOccurs="1">
				<xs:annotation>
					<xs:documentation>
						This the is the keyfield for the resource.
					</xs:documentation>
				</xs:annotation>				
			</xs:element>
			<xs:element	name="ProspectID"
							type="prospect:ProspectID"
							minOccurs="0"/>
			<xs:element	name="PublicName"
							type="prospect:PublicName"
							minOccurs="0"/>
			<xs:element	name="Resource"
							type="commons:ResourceName"
							minOccurs="0"/>
			<xs:element	name="Query"
							type="commons:Query"
							minOccurs="0"/>
			<xs:element	name="Member"
							type="members:MemberType"
							minOccurs="0"/>
			<xs:element	name="Office"
							type="offices:OfficeType"
							minOccurs="0"/>
			<xs:element	name="ModificationTimestamp"
							type="commons:ModificationTimestamp"
							minOccurs="0"/>
			<xs:element	name="UsedTimestamp"
							type="commons:UsedTimestamp"
							minOccurs="0"/>
			<xs:any		namespace="##other"
							minOccurs="0"
							maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>

	<!-- Elements -->
	<xs:element name="Prospects">
		<xs:complexType>
			<xs:sequence>
				<xs:element	name="Prospect"
								type="prospect:Prospect"
								minOccurs="0"
								maxOccurs="unbounded"/>
			</xs:sequence>
			<xs:attribute	name="versionTimestamp"
								type="xs:dateTime"
								use="required"
								fixed="2007-07-09T19:21:00Z"/>
		</xs:complexType>
	</xs:element>
</xs:schema>
Collapse ComplexTypes:
Collapse Elements:
Collapse SimpleTypes: