<?xml version="1.0" encoding="UTF-8"?>
<xs:schema	xmlns:xs="http://www.w3.org/2001/XMLSchema"
				xmlns:list="http://rets.org/xsd/Listings/2007-08"
				xmlns:commons="http://rets.org/xsd/RETSCommons/2007-08"
				xmlns:property="http://rets.org/xsd/Properties/2007-08"
				xmlns:offices="http://rets.org/xsd/Offices/2007-08"
				xmlns:participants="http://rets.org/xsd/Participants/2007-08"
				xmlns:media="http://rets.org/xsd/Media/2007-08"
				xmlns:events="http://rets.org/xsd/Events/2007-08"
				targetNamespace="http://rets.org/xsd/Listings/2007-08"
				elementFormDefault="qualified"
				attributeFormDefault="unqualified">

	<!--
		(C)2007 National Association of REALTORS(R)

		Tab stops
		:set ts=3

		File History
		======================
		$Header: Listings.xsd, 63, 10/8/2007 1:22:13 PM, Paul Stusiak$

		$Log:
		 63   055_RETS_Standard 1.62        10/8/2007 1:22:13 PM   Paul Stusiak
		      Update version timestamp
		 62   055_RETS_Standard 1.61        10/3/2007 2:54:58 PM   Gina Accawi
		      Rename HasSignOnProperty to PermitSignOnProperty
		 61   055_RETS_Standard 1.60        10/2/2007 2:24:13 PM   Gina Accawi
		      Add Events to Listing. Make Events extensibility consistent with the
		      other schemas.
		 60   055_RETS_Standard 1.59        10/2/2007 2:11:04 PM   Gina Accawi
		      Put extension point on element declaration.
		 59   055_RETS_Standard 1.58        9/27/2007 6:49:32 AM   Gina Accawi
		      Reorganized Listing complexType to be more logical in order.
		 58   055_RETS_Standard 1.57        9/26/2007 9:23:49 AM   Gina Accawi
		      Add marketing information.
		 57   055_RETS_Standard 1.56        9/26/2007 7:17:12 AM   Gina Accawi
		      Correct reference for ServiceLevel.
		 56   055_RETS_Standard 1.55        9/26/2007 7:12:29 AM   Gina Accawi
		      Rename ServiceTypeEnum to ServiceLevelEnum.
		 55   055_RETS_Standard 1.54        9/26/2007 6:42:53 AM   Gina Accawi
		      Put rental/lease information for the listing contract into a
		      container. Add Pending date and Pending price.
		 54   055_RETS_Standard 1.53        9/26/2007 6:16:00 AM   Gina Accawi
		      Make changes to ListingContract complex type.
		 53   055_RETS_Standard 1.52        9/25/2007 2:44:31 PM   Gina Accawi
		      Remove HOADocuments.
		 52   055_RETS_Standard 1.51        9/25/2007 2:37:47 PM   Gina Accawi
		      Modify listing contract information structure. Include Rent/Lease
		      dates in contract information.
		 51   055_RETS_Standard 1.50        9/25/2007 12:56:16 PM  Gina Accawi
		      Redefine contingencies structures.
		 50   055_RETS_Standard 1.49        9/25/2007 12:10:27 PM  Gina Accawi
		      Modify area elements.
		 49   055_RETS_Standard 1.48        9/25/2007 11:59:28 AM  Gina Accawi
		      Restructure listing complex types.
		 48   055_RETS_Standard 1.47        9/25/2007 7:55:45 AM   Gina Accawi
		      Financial type simplification.
		 47   055_RETS_Standard 1.46        9/24/2007 1:25:13 PM   Gina Accawi
		      Move exclusions, add inclusions to contract information
		 46   055_RETS_Standard 1.45        9/24/2007 12:40:40 PM  Gina Accawi
		      Modify ShowingInformation.
		 45   055_RETS_Standard 1.44        9/24/2007 11:16:55 AM  Gina Accawi
		      Add ListingOffices to the Listing.
		 44   055_RETS_Standard 1.43        9/24/2007 10:50:28 AM  Gina Accawi
		      Modified ListingDateType.
		 43   055_RETS_Standard 1.42        9/24/2007 9:02:30 AM   Gina Accawi
		      Create category, modify pricing type to include optional frequency.
		 42   055_RETS_Standard 1.41        9/24/2007 7:33:02 AM   Gina Accawi
		      Modify documentation to add detail. Move ListingAgreementEnum to the
		      Listing Schema.
		 41   055_RETS_Standard 1.40        9/24/2007 7:27:14 AM   Gina Accawi
		      Rename ListingType to ListingAgreement
		 40   055_RETS_Standard 1.39        9/24/2007 7:21:33 AM   Gina Accawi
		      Modify listing statuses.
		 39   055_RETS_Standard 1.38        7/26/2007 2:11:03 PM   Paul Stusiak
		      Move ListingArea to Properties; Add systemId
		 38   055_RETS_Standard 1.37        7/24/2007 12:48:56 PM  Paul Stusiak
		      ParticipantsType, additional documentation.
		 37   055_RETS_Standard 1.36        7/9/2007 12:12:49 PM   Paul Stusiak
		      Add to AnimalPolicy, move View, Community to Property from Listing
		 36   055_RETS_Standard 1.35        7/9/2007 2:00:59 AM    Paul Stusiak
		      Rework of CR 80 to change the way that Role, Team, Person and Member
		      interact as Participants. Person, Member and Team now take on a Role
		      when acting as a Participant for a Listing (or Transaction)
		 35   055_RETS_Standard 1.34        7/6/2007 1:40:15 PM    Gina Accawi
		      Listing participants now have a role in the listing. Additionally,
		      team members have a team role. 
		 34   055_RETS_Standard 1.33        7/6/2007 11:03:34 AM   Paul Stusiak
		      Standardized enumeration extensibility across Features.xsd.
		 33   055_RETS_Standard 1.32        7/6/2007 12:12:22 AM   Paul Stusiak
		      Add container for ListingPricing and ListingDates and early check-in
		      of CR24, <Property>OtherDescription attribute pattern
		 32   055_RETS_Standard 1.31        7/4/2007 4:36:35 PM    Gina Accawi
		      Namespace for SecureString.
		 31   055_RETS_Standard 1.30        7/4/2007 11:21:57 AM   Paul Stusiak
		      Add Listing status state of Sold
		 30   055_RETS_Standard 1.29        7/3/2007 1:02:41 AM    Paul Stusiak
		      Add Property to container, general clean up of complexTypes, add
		      containers for pricing info, change Inclusions to Exclusions, create
		      SalesFinancing container, update version timestamp
		 29   055_RETS_Standard 1.28        7/2/2007 9:45:31 AM    Gina Accawi
		      Rename ResourceKey to be the actual ResourceNameKey.
		 28   055_RETS_Standard 1.27        6/29/2007 12:34:41 PM  Gina Accawi
		      Add a key for the resource.
		 27   055_RETS_Standard 1.26        6/29/2007 1:38:16 AM   Paul Stusiak
		      Initial grouping and create otherDescription attribute for listing
		      status
		 26   055_RETS_Standard 1.25        6/27/2007 11:38:00 AM  Gina Accawi
		      Add marketing area.
		 25   055_RETS_Standard 1.24        6/26/2007 1:54:45 PM   Gina Accawi
		      Add team.
		 24   055_RETS_Standard 1.23        6/26/2007 12:42:31 PM  Gina Accawi
		      Fix typo.
		 23   055_RETS_Standard 1.22        6/26/2007 12:40:31 PM  Gina Accawi
		      Rename Agent to Member. This affects namespaces, element names, type
		      references, and attribute names.
		 22   055_RETS_Standard 1.21        5/2/2007 1:15:47 PM    Paul Stusiak
		      modify complex type names to resolve code generation errors.
		 21   055_RETS_Standard 1.20        5/1/2007 2:24:35 PM    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
		 20   055_RETS_Standard 1.19        4/12/2007 4:51:53 PM   Paul Stusiak
		      reorder the sequence of elements for the purposes of debugging
		 19   055_RETS_Standard 1.18        4/3/2007 4:59:30 PM    Paul Stusiak
		      use url resolution for include, import to test schema validation
		 18   055_RETS_Standard 1.17        4/3/2007 1:43:57 AM    Paul Stusiak
		      change namespace to remote location (www.ftc2.com) for testing
		 17   055_RETS_Standard 1.16        4/2/2007 11:26:55 AM   Paul Stusiak
		      change namespace to match responding server and to use the URI
		      versioning suggested by both HP and XFront
		 16   055_RETS_Standard 1.15        3/30/2007 6:20:29 PM   Paul Stusiak
		      Update of the versionTimestamp and the namespace (namespace to
		      200704). Change formating to a standard format
		 15   055_RETS_Standard 1.14        3/8/2007 12:23:04 PM   Paul Stusiak
		      Change Listing -> Listings namespace reference. Formatting change for
		      readability.
		 14   055_RETS_Standard 1.13        3/8/2007 10:50:32 AM   Paul Stusiak
		      Rename to correctly reflect the root element.
		 13   055_RETS_Standard 1.12        3/7/2007 10:47:57 PM   Paul Stusiak
		      Clean up the project information for the purposes of document
		      generation. Change namespace to correctly reference Agents rather than
		       Agency.
		 12   055_RETS_Standard 1.11        3/6/2007 12:26:14 PM   Paul Stusiak
		      change ID to Id across files.
		 11   055_RETS_Standard 1.10        2/28/2007 1:55:29 PM   Paul Stusiak
		      Correction for Media schema type refactoring
		 10   055_RETS_Standard 1.9         2/28/2007 12:53:34 AM  Paul Stusiak
		      add standard header and refactoring RETSCommons changes
		 9    055_RETS_Standard 1.8         2/22/2007 3:34:48 PM   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.
		 8    055_RETS_Standard 1.7         1/2/2007 11:22:24 AM   Jeff Brush
		      refactored to include FBS, MRIS and 12/20/06 MLS meeting suggestions
		      for schema revisions
		 7    055_RETS_Standard 1.6         12/20/2006 12:31:05 PM Jeff 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/2006 1:12:44 AM   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/2006 1:41:32 AM  Paul Stusiak
		      updated version per meetings
		 4    055_RETS_Standard 1.3         9/20/2006 12:43:25 PM  Jeff Brush
		      chgd schemaLocation to point to http://retsserver.rets.org:8080/xsd/
		 3    055_RETS_Standard 1.2         4/7/2006 7:36:38 PM    Jeff Brush
		      renamed version attribute to versionTimestamp for schema versioning
		 2    055_RETS_Standard 1.1         4/7/2006 1:37:27 PM    Jeff Brush
		      modified to have schema versioning as datetime, add year month to
		      namespaces, minor corrections
		 1    055_RETS_Standard 1.0         4/4/2006 8:06:06 AM    Jeff Brush
		      Updated schemas.  All MLS schemas have extensibility points.  New
		      ObjectReferenceList.xsd
		$
		======================
	-->

	<xs:annotation>
		<xs:documentation>
			Elements related to listing documents.
		</xs:documentation>
	</xs:annotation>

	<xs:import namespace="http://www.w3.org/XML/1998/namespace"
		schemaLocation="http://www.w3.org/2001/xml.xsd"/>
	<xs:import namespace="http://rets.org/xsd/RETSCommons/2007-08"
		schemaLocation="../../../xsd/RETSCommons/2007-08/RETSCommons.xsd"/>
	<xs:import namespace="http://rets.org/xsd/Properties/2007-08"
		schemaLocation="../../../xsd/Properties/2007-08/Properties.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/Participants/2007-08"
		schemaLocation="../../../xsd/Participants/2007-08/Participants.xsd"/>
	<xs:import namespace="http://rets.org/xsd/Media/2007-08"
		schemaLocation="../../../xsd/Media/2007-08/Media.xsd"/>
	<xs:import namespace="http://rets.org/xsd/Events/2007-08"
		schemaLocation="../../../xsd/Events/2007-08/Events.xsd"/>

	<!-- Enumerations -->
	<xs:complexType name="ListingAgreementEnum">
		<xs:annotation>
			<xs:documentation>
				The scope of the contractual obligation between the
				selling home owner and their listing member.
			</xs:documentation>
		</xs:annotation>
		<xs:simpleContent>
			<xs:restriction base="commons:OtherEnumerationDescriptionString">
				<xs:enumeration value="ExclusiveAgency"/>
				<xs:enumeration value="ExclusiveRightWithException"/>
				<xs:enumeration value="ExclusiveRightToSell">
					<xs:annotation>
						<xs:documentation>
							This includes the right to sell
							and/or lease the property.
						</xs:documentation>
					</xs:annotation>
				</xs:enumeration>
				<xs:enumeration value="NamedBuyerExclusion"/>
				<xs:enumeration value="Net"/>
				<xs:enumeration value="OpenListing"/>
				<xs:enumeration value="Other"/>
			</xs:restriction>
		</xs:simpleContent>
	</xs:complexType>
	<xs:simpleType name="ListingCategoryEnum">
		<xs:restriction base="xs:token">
			<xs:enumeration value="Purchase"/>
			<xs:enumeration value="Lease"/>
			<xs:enumeration value="Rent">
				<xs:annotation>
					<xs:documentation>
						While rent and lease may be considered
						synonymous, this is a convenience entry.
						Common usage has Rent as a term of less
						than a year, or month to month, while
						lease represents a term of greater
						than one year. These are usages only
						and local conditions may change the
						meaning.
					</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="ListingStatusEnum">
		<xs:annotation>
			<xs:documentation>
				The current status of the listing.
			</xs:documentation>
			<xs:appinfo>
				Active
			</xs:appinfo>
		</xs:annotation>
		<xs:restriction base="xs:token">
			<xs:enumeration value="Active">
				<xs:annotation>
					<xs:documentation>
							The listing is available for marketing.
						</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="Cancelled">
				<xs:annotation>
					<xs:documentation>
							The listing contract has terminated prior 
							to contract expiration.
						</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="Closed">
				<xs:annotation>
					<xs:documentation>
							The listing transaction is completed.
							Some systems may have historical
							information described as Sold.
							This is a synonym.
						</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="Expired">
				<xs:annotation>
					<xs:documentation>
							The term of the listing contract
							expired without closing.
						</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="Pending">
				<xs:annotation>
					<xs:documentation>
							 A contract for purchase or lease
							 has been entered into.
						</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="Withdrawn">
				<xs:annotation>
					<xs:documentation>
							The listing is temporarily
							or permanently off market.
							The listing contract is still
							in force.
						</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
		</xs:restriction>
	</xs:simpleType>
	<xs:complexType name="ServiceLevelEnum">
		<xs:annotation>
			<xs:documentation>
				Defines the type or level of service
				the listing member will be
				providing to the selling homeowner
			</xs:documentation>
		</xs:annotation>
		<xs:simpleContent>
			<xs:restriction base="commons:OtherEnumerationDescriptionString">
				<xs:enumeration value="FullService"/>
				<xs:enumeration value="LimitedService"/>
				<xs:enumeration value="EntryOnly"/>
				<xs:enumeration value="Other"/>
			</xs:restriction>
		</xs:simpleContent>
	</xs:complexType>

	<!-- Types -->
	<xs:complexType name="ListingStatusType">
		<xs:sequence>
			<xs:element	name="RetsStatus"
							type="list:ListingStatusEnum"
							maxOccurs="1"
							minOccurs="1">
				<xs:annotation>
					<xs:documentation>
						The status definied within this
						standard
					</xs:documentation>
					<xs:appinfo>
						<retsid>100320</retsid>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element	name="MlsStatus"
							type="xs:string"
							minOccurs="0"
							maxOccurs="1">
				<xs:annotation>
					<xs:documentation>
						Local or regional status that are
						well known by business users.
						Each MlsStatus must map to a
						single RetsStatus.
						Multiple MlsStatus may map to a
						single RetsStatus.
					</xs:documentation>
					<xs:appinfo>
						<retsid>100321</retsid>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element	name="isAcceptingOffers"
							type="xs:boolean"
							minOccurs="0"
							maxOccurs="1">
				<xs:annotation>
					<xs:documentation>
						 A boolean indicator to handle business 
						 cases where the status may be 
						 withdrawn and the system still permits
						 offers or marketing of the listing.
					</xs:documentation>
					<xs:appinfo>
						<retsid>100322</retsid>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>

	<xs:complexType name="ListingPricingType">
		<xs:annotation>
			<xs:documentation>
				May require revisiting to handle commercial
				lease.
			</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element	name="ListPrice"
							type="commons:PriceWithOptionalFrequency"
							minOccurs="0"
							maxOccurs="1">
				<xs:annotation>
					<xs:documentation>
						The current price of the home as
						determined by the seller and the
						contract seller's agent member.
						The list price is often negotiable.
						It is also known as the Asking Price.
						Formatting is specified by the currency
						attribute.
					</xs:documentation>
					<xs:appinfo>
						<retsid>100323</retsid>
						<example></example>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element	name="OriginalListPrice"
							type="commons:PriceWithOptionalFrequency"
							minOccurs="0"
							maxOccurs="1">
				<xs:annotation>
					<xs:documentation>
						The original price of the home as
						determined by the seller and their
						member in the listing agreement.
						The list price is often negotiable.
						It is also known as the Asking Price.
						Formatting is specified by the
						currency attribute.
					</xs:documentation>
					<xs:appinfo>
						<retsid>100324</retsid>
						<example></example>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element	name="ListPriceHigh"
							type="commons:PriceWithOptionalFrequency"
							minOccurs="0"
							maxOccurs="1">
				<xs:annotation>
					<xs:documentation>
						Used for the range pricing sales technique.
						Also known as value-range pricing.
					</xs:documentation>
					<xs:appinfo>
						<retsid>100325</retsid>
						<example></example>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element	name="ListPriceLow"
							type="commons:PriceWithOptionalFrequency"
							minOccurs="0"
							maxOccurs="1">
				<xs:annotation>
					<xs:documentation>
						Used for the range pricing sales technique.
						Also known as value-range pricing.
					</xs:documentation>
					<xs:appinfo>
						<retsid>100326</retsid>
						<example></example>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element	name="ClosePrice"
							type="commons:PriceWithOptionalFrequency"
							minOccurs="0"
							maxOccurs="1">
				<xs:annotation>
					<xs:documentation>
						The amount of money paid by the
						purchaser to the vendor for the
						property under the agreement. 
						It is also known as the purchase
						price or sold price. The formatting is
						specified by inference from the
						currency attribute.
					</xs:documentation>
					<xs:appinfo>
						<retsid>100327</retsid>
						<example></example>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element	name="PendingPrice"
							type="commons:PriceWithOptionalFrequency"
							minOccurs="0"
							maxOccurs="1">
				<xs:annotation>
					<xs:documentation></xs:documentation>
					<xs:appinfo>
						<retsid>100328</retsid>
						<example></example>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>

	<xs:complexType name="ListingDatesType">
		<xs:sequence>
			<xs:element	name="StatusChangeDateTime"
							type="commons:SecureDateTime"
							minOccurs="0"
							maxOccurs="1">
				<xs:annotation>
					<xs:documentation>
						The datetime that the status of the listing
						changed.
					</xs:documentation>
					<xs:appinfo>
						<retsid>100329</retsid>
						<example>2007-03-10T12:00:00-05:00</example>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element	name="ListingEntryDateTime"
							type="commons:SecureDateTime"
							minOccurs="0"
							maxOccurs="1">
				<xs:annotation>
					<xs:documentation>
						The datetime the listing was entered into
						the system.
					</xs:documentation>
					<xs:appinfo>
						<retsid>100330</retsid>
						<example>2007-03-10T12:00:00-05:00</example>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element	name="ExpirationDateTime"
							type="commons:SecureDateTime"
							minOccurs="0"
							maxOccurs="1">
				<xs:annotation>
					<xs:documentation>
						The datetime when the listing will expire.
					</xs:documentation>
					<xs:appinfo>
						<retsid>100331</retsid>
						<example>2007-03-10T12:00:00-05:00</example>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element	name="ListingContractDateTime"
							type="commons:SecureDateTime"
							minOccurs="0"
							maxOccurs="1">
				<xs:annotation>
					<xs:documentation>
						The datetime of the agreement between
						the seller and the seller's agent.
						If no date is stated, it may be the
						date on which the agreement is actually
						signed, if this is recorded, or it
						may be the date established by
						the award  The Contract Date is also
						known as Date of Agreement.
					</xs:documentation>
					<xs:appinfo>
						<retsid>100332</retsid>
						<example>2007-03-10T12:00:00-05:00</example>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element	name="ClosingDateTime"
							type="commons:SecureDateTime"
							minOccurs="0"
							maxOccurs="1">
				<xs:annotation>
					<xs:documentation>
						The datetime the listing agreement was 
						fulfilled.
					</xs:documentation>
					<xs:appinfo>
						<retsid>100333</retsid>
						<example></example>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element	name="OffMarketDateTime"
							type="commons:SecureDateTime"
							minOccurs="0"
							maxOccurs="1">
				<xs:annotation>
					<xs:documentation>
						The datetime the listing agreement was 
						taken off the market.
					</xs:documentation>
					<xs:appinfo>
						<retsid>100334</retsid>
						<example></example>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element	name="CancelledDateTime"
							type="commons:SecureDateTime"
							minOccurs="0"
							maxOccurs="1">
				<xs:annotation>
					<xs:documentation>
						The datetime that the listing
						agreement was cancelled.
					</xs:documentation>
					<xs:appinfo>
						<retsid>100335</retsid>
						<example></example>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element	name="WithdrawnDateTime"
							type="commons:SecureDateTime"
							minOccurs="0"
							maxOccurs="1">
				<xs:annotation>
					<xs:documentation>
						The most recent datetime that
						the listing was withdrawn from
						the market. This may be a temporary
						condition. The history of withdrawn
						can be determined by examining the
						ChangeRecord for this listing.
					</xs:documentation>
					<xs:appinfo>
						<retsid>100336</retsid>
						<example></example>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element	name="PendingDateTime"
							type="commons:SecureDateTime"
							minOccurs="0"
							maxOccurs="1">
				<xs:annotation>
					<xs:documentation>
						The datetime that the listing
						entered the pending state.
					</xs:documentation>
					<xs:appinfo>
						<retsid>100337</retsid>
						<example></example>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>

	<xs:complexType name="ListingOffices">
		<xs:sequence>
			<xs:element	name="ListingOffice"
							type="offices:OfficeType"
							minOccurs="0"
							maxOccurs="1">
				<xs:annotation>
					<xs:documentation> </xs:documentation>
					<xs:appinfo>
						<retsid>100338</retsid>
						<example></example>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element	name="SellingOffice"
							type="offices:OfficeType"
							minOccurs="0"
							maxOccurs="1">
				<xs:annotation>
					<xs:documentation> </xs:documentation>
					<xs:appinfo>
						<retsid>100339</retsid>
						<example></example>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element	name="EntryOffice"
							type="offices:OfficeType"
							minOccurs="0"
							maxOccurs="1">
				<xs:annotation>
					<xs:documentation> </xs:documentation>
					<xs:appinfo>
						<retsid>100340</retsid>
						<example></example>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element	name="OtherOffice"
							type="offices:OfficeType"
							minOccurs="0"
							maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation> </xs:documentation>
					<xs:appinfo>
						<retsid>100341</retsid>
						<example></example>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="MarketingInformationType">
		<xs:annotation>
			<xs:documentation>
				Items related to the contract between the
				selling agent and the owner.
				These indicators are used to determine the
				visibility of the listing on the internet,
				visibility of address on the internet, visibility
				of the photo on the internet, and whether the
				property has a sign. Additional elements
				may be others discovered in the future.
			</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element	name="PermitInternet"
							type="commons:SecureBoolean"
							minOccurs="0"
							maxOccurs="1">
				<xs:annotation>
					<xs:documentation>
						The seller agreed to permit the
						listing to be marketed on the
						internet.
					</xs:documentation>
					<xs:appinfo>
						<retsid>100342</retsid>
						<example></example>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element	name="PermitAddressOnInternet"
							type="commons:SecureBoolean"
							minOccurs="0"
							maxOccurs="1">
				<xs:annotation>
					<xs:documentation>
						The seller agreed to permit the
						property address to be displayed
						on the internet.
					</xs:documentation>
					<xs:appinfo>
						<retsid>100343</retsid>
						<example></example>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element	name="PermitPictureOnInternet"
							type="commons:SecureBoolean"
							minOccurs="0"
							maxOccurs="1">
				<xs:annotation>
					<xs:documentation>
						The seller agreed to permit the
						display of image(s) of the property
						on the internet.
					</xs:documentation>
					<xs:appinfo>
						<retsid>100344</retsid>
						<example></example>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element	name="PermitSignOnProperty"
							type="commons:SecureBoolean"
							minOccurs="0"
							maxOccurs="1">
				<xs:annotation>
					<xs:documentation>
						The seller agreed to permit a for-sale
						sign on the property and asserts the
						right to provide that permission.
						This may be constrained by local
						rules or home-owner rules.
					</xs:documentation>
					<xs:appinfo>
						<retsid>100345</retsid>
						<example></example>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="ListingType">
		<xs:sequence>
			<xs:element	name="ListingKey"
							type="commons:resource-key"
							minOccurs="1"
							maxOccurs="1">
				<xs:annotation>
					<xs:documentation>
						A unique identifier for this record.
						This may be a number, or other string
						that can include URI or other forms.
					</xs:documentation>
					<xs:appinfo>
						<retsid>100346</retsid>
						<example>http://www.example.com/mls/633242434</example>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element	name="MLSOperator"
							type="commons:MLSOperator"
							minOccurs="0"
							maxOccurs="1">
				<xs:annotation>
					<xs:documentation> </xs:documentation>
					<xs:appinfo>
						<retsid>100347</retsid>
						<example></example>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element	name="ListingId"
							type="commons:ListingId"
							minOccurs="0"
							maxOccurs="1">
				<xs:annotation>
					<xs:documentation>
						The well known identifier for the listing.
						The value may be identical to that of the
						key, but the ListingId is intended to be
						the value used by a human to retrieve the
						information about a specific listing.
					</xs:documentation>
					<xs:appinfo>
						<retsid>100348</retsid>
						<example>2551234</example>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element	name="ListingCategory"
							type="list:ListingCategoryEnum"
							minOccurs="0"
							maxOccurs="1">
				<xs:annotation>
					<xs:documentation>
						Indicates whether the property is for sale,
						or for lease. 
					</xs:documentation>
					<xs:appinfo>
						<retsid>100349</retsid>
						<example>Purchase</example>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element	name="ListingStatus"
							type="list:ListingStatusType"
							minOccurs="0"
							maxOccurs="1">
				<xs:annotation>
					<xs:documentation>
						The status of the listing from the enumeration
						of values defined in RETS.
					</xs:documentation>
					<xs:appinfo>
						<retsid>100350</retsid>
						<example></example>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element	name="ListingDates"
							type="list:ListingDatesType"
							minOccurs="0"
							maxOccurs="1">
				<xs:annotation>
					<xs:documentation> </xs:documentation>
					<xs:appinfo>
						<retsid>100351</retsid>
						<example></example>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element	name="ListingPricing"
							type="list:ListingPricingType"
							minOccurs="0"
							maxOccurs="1">
				<xs:annotation>
					<xs:documentation> </xs:documentation>
					<xs:appinfo>
						<retsid>100352</retsid>
						<example></example>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element	name="ListingOffices"
							type="list:ListingOffices"
							minOccurs="0"
							maxOccurs="1">
				<xs:annotation>
					<xs:documentation> </xs:documentation>
					<xs:appinfo>
						<retsid>100353</retsid>
						<example></example>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element	name="ListingsParticipants"
							type="participants:ParticipantsType"
							minOccurs="0"
							maxOccurs="1">
				<xs:annotation>
					<xs:documentation> </xs:documentation>
					<xs:appinfo>
						<retsid>100354</retsid>
						<example></example>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element	name="ListingContract"
							type="commons:ListingContractType"
							minOccurs="0"
							maxOccurs="1">
				<xs:annotation>
					<xs:documentation> </xs:documentation>
					<xs:appinfo>
						<retsid>100355</retsid>
						<example></example>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element	name="ListingAgreement"
							type="list:ListingAgreementEnum"
							minOccurs="0"
							maxOccurs="1">
				<xs:annotation>
					<xs:documentation> </xs:documentation>
					<xs:appinfo>
						<retsid>100356</retsid>
						<example></example>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element	name="Contingencies"
							type="commons:ContingenciesType"
							minOccurs="0"
							maxOccurs="1">
				<xs:annotation>
					<xs:documentation> </xs:documentation>
					<xs:appinfo>
						<retsid>100357</retsid>
						<example></example>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element	name="ServiceLevel"
							type="list:ServiceLevelEnum"
							minOccurs="0"
							maxOccurs="1">
				<xs:annotation>
					<xs:documentation> </xs:documentation>
					<xs:appinfo>
						<retsid>100358</retsid>
						<example></example>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element	name="Financial"
							type="commons:ListingFinancialType"
							minOccurs="0"
							maxOccurs="1">
				<xs:annotation>
					<xs:documentation>
						Financial information related to the act of 
						the listing contract lifecycle.
					</xs:documentation>
					<xs:appinfo>
						<retsid>100359</retsid>
						<example></example>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element	name="MLSArea"
							type="commons:MarketingAreaType"
							minOccurs="0"
							maxOccurs="1">
				<xs:annotation>
					<xs:documentation> </xs:documentation>
					<xs:appinfo>
						<retsid>100360</retsid>
						<example></example>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element	name="MarketingInformation"
							type="list:MarketingInformationType"
							minOccurs="0"
							maxOccurs="1">
				<xs:annotation>
					<xs:documentation>
						Information related to the visibility of
						the listing on the internet, visibility
						of certain items in the listing on the
						internet, and the permission to place 
						signage on the property. Information
						related to how the listing is allowed
						to be marketed as a part of the
						agreement between the seller and the
						agent.
					</xs:documentation>
					<xs:appinfo>
						<retsid>100361</retsid>
						<example></example>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element	name="DaysOnMarket"
							type="commons:DaysOnMarket"
							minOccurs="0"
							maxOccurs="1">
				<xs:annotation>
					<xs:documentation>
						Number calculated from the days elapsed
						when a property was first put on the
						market until it was put under contract,
						or taken off the market. 
					</xs:documentation>
					<xs:appinfo>
						<retsid>100362</retsid>
						<example></example>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element	name="CumulativeDaysOnMarket"
							type="commons:DaysOnMarket"
							minOccurs="0"
							maxOccurs="1">
				<xs:annotation>
					<xs:documentation>
						Secondary definition of days on market. 
						Formatting defined by the type attribute.
					</xs:documentation>
					<xs:appinfo>
						<retsid>100363</retsid>
						<example></example>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element	name="ShowingInformation"
							type="commons:ShowingInformation"
							minOccurs="0"
							maxOccurs="1">
				<xs:annotation>
					<xs:documentation> </xs:documentation>
					<xs:appinfo>
						<retsid>100364</retsid>
						<example></example>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element	name="Remarks"
							type="commons:Remarks"
							minOccurs="0"
							maxOccurs="1">
				<xs:annotation>
					<xs:documentation> </xs:documentation>
					<xs:appinfo>
						<retsid>100365</retsid>
						<example></example>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element	name="CopyrightNotice"
							type="commons:CopyrightNotice"
							minOccurs="0"
							maxOccurs="1">
				<xs:annotation>
					<xs:documentation> </xs:documentation>
					<xs:appinfo>
						<retsid>100366</retsid>
						<example></example>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element	name="Events"
							type="events:EventsType"
							minOccurs="0"
							maxOccurs="1">
				<xs:annotation>
					<xs:documentation>
						Include the events for this listing.
						This is  used to capture the
						information for scheduled
						open houses, for example
					</xs:documentation>
					<xs:appinfo>
						<retsid>100367</retsid>
						<example></example>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element	name="MediaItems"
							type="media:MediaType"
							minOccurs="0"
							maxOccurs="1">
				<xs:annotation>
					<xs:documentation>
						Include the documents, images, movies,
						or other media for this  listing.
					</xs:documentation>
					<xs:appinfo>
						<retsid>100368</retsid>
						<example></example>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element	name="Property"
							type="property:PropertyType"
							minOccurs="0"
							maxOccurs="1">
				<xs:annotation>
					<xs:documentation> </xs:documentation>
					<xs:appinfo>
						<retsid>100369</retsid>
						<example></example>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element	name="ModificationTimestamp"
							type="commons:ModificationTimestamp"
							minOccurs="1"
							maxOccurs="1">
				<xs:annotation>
					<xs:documentation>
						The time stamp of the last change to this
						record.
					</xs:documentation>
					<xs:appinfo>
						<retsid>100370</retsid>
						<example>2007-03-11T12:00:00-05:00</example>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
		<xs:attribute	ref="xml:lang"
							use="optional">
			<xs:annotation>
				<xs:documentation> </xs:documentation>
				<xs:appinfo>
					<retsid>100371</retsid>
					<example>en</example>
				</xs:appinfo>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute	name="systemId"
							type="commons:system-id"
							use="required">
			<xs:annotation>
				<xs:documentation>
					An identifier of the system that the listing
					'belongs' to when the collection involves more
					than one system.
				</xs:documentation>
				<xs:appinfo>
					<retsid>100372</retsid>
					<example>http://www.example.com</example>
				</xs:appinfo>
			</xs:annotation>
		</xs:attribute>
	</xs:complexType>
	<xs:complexType name="ListingsType">
		<xs:sequence>
			<xs:element	ref="list:Listing"
							minOccurs="0"
							maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>
						The disclaimer string
					</xs:documentation>
					<xs:appinfo>
						<retsid>100373</retsid>
						<example></example>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element	name="Disclaimer"
							type="commons:Disclaimer"
							minOccurs="0"
							maxOccurs="1">
				<xs:annotation>
					<xs:documentation>
						The disclaimer string
					</xs:documentation>
					<xs:appinfo>
						<retsid>100374</retsid>
						<example>
							Listing information is believed
							accurate but may contain errors,
							omissions or changes.
						</example>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
		<xs:attribute	name="versionTimestamp"
							type="xs:dateTime"
							use="required"
							fixed="2007-10-08T16:27:23Z">
			<xs:annotation>
				<xs:documentation> </xs:documentation>
				<xs:appinfo>
					<retsid>100375</retsid>
				</xs:appinfo>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute	name="systemId"
							type="commons:system-id"
							use="required">
			<xs:annotation>
				<xs:documentation> </xs:documentation>
				<xs:appinfo>
					<retsid>100376</retsid>
				</xs:appinfo>
			</xs:annotation>
		</xs:attribute>
	</xs:complexType>

	<!-- Elements -->
	<xs:element name="Listing">
		<xs:annotation>
			<xs:documentation>
			</xs:documentation>
			<xs:appinfo>
				<retsid>100377</retsid>
			</xs:appinfo>
		</xs:annotation>
		<xs:complexType>
			<xs:complexContent>
				<xs:extension base="list:ListingType">
					<xs:sequence>
						<xs:any	namespace="##any"
									processContents="lax"
									minOccurs="0"
									maxOccurs="unbounded"/>
					</xs:sequence>
				</xs:extension>
			</xs:complexContent>
		</xs:complexType>
	</xs:element>

	<xs:element	name="Listings"
					type="list:ListingsType">
		<xs:annotation>
			<xs:documentation>
			</xs:documentation>
			<xs:appinfo>
				<retsid>100378</retsid>
			</xs:appinfo>
		</xs:annotation>
	</xs:element>
</xs:schema>