<?xml version="1.0" encoding="UTF-8"?>
<xs:schema	xmlns:xs="http://www.w3.org/2001/XMLSchema"
				xmlns:tlist="http://rets.org/xsd/TransactionList/2007-08"
				xmlns:commons="http://rets.org/xsd/RETSCommons/2007-08"
				targetNamespace="http://rets.org/xsd/TransactionList/2007-08"
				elementFormDefault="qualified"
				attributeFormDefault="unqualified">

	<!--
		(C)2007 National Association of REALTORS(R)

		Tab stops
		:set ts=3

		File History
		======================
		$Header: TransactionList.xsd, 15, 10/8/2007 1:22:16 PM, Paul Stusiak$
		
		$Log:
		 15   055_RETS_Standard 1.14        10/8/2007 1:22:16 PM   Paul Stusiak
		      Update version timestamp
		 14   055_RETS_Standard 1.13        10/2/2007 12:19:35 PM  Gina Accawi
		      Create reusable type for systemId. Reference it where used. Ensure
		      there is a systemId on the primary single and optional on plural
		      version of resource payloads.
		 13   055_RETS_Standard 1.12        7/24/2007 2:02:09 PM   Gina Accawi
		      Rename elements, attributes and types that were named "Type".
		 12   055_RETS_Standard 1.11        7/6/2007 2:30:06 PM    Gina Accawi
		      Rename ids
		 11   055_RETS_Standard 1.10        6/26/2007 12:40:37 PM  Gina Accawi
		      Rename Agent to Member. This affects namespaces, element names, type
		      references, and attribute names.
		 10   055_RETS_Standard 1.9         5/1/2007 4:14:46 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
		 9    055_RETS_Standard 1.8         4/3/2007 1:43:04 AM    Paul Stusiak
		      change namespace to remote location (www.ftc2.com) for testing
		 8    055_RETS_Standard 1.7         4/2/2007 11:26:59 AM   Paul Stusiak
		      change namespace to match responding server and to use the URI
		      versioning suggested by both HP and XFront
		 7    055_RETS_Standard 1.6         3/30/2007 6:19:07 PM   Paul Stusiak
		      Update of the versionTimestamp and the namespace (namespace to
		      200704). Change formating to a standard format
		 6    055_RETS_Standard 1.5         3/7/2007 11:05:16 PM   Paul Stusiak
		      Added standard document header.
		 5    055_RETS_Standard 1.4         12/2/2006 1:12:46 AM   Paul Stusiak
		      various mechanical fixes tho the schema and a re-direct from
		      retsserver.realtors.org to www.ftc2.com
		 4    055_RETS_Standard 1.3         11/28/2006 1:41:33 AM  Paul Stusiak
		      updated version per meetings
		 3    055_RETS_Standard 1.2         11/21/2006 3:03:03 PM  Jeff Brush
		      updated TransactionList; created DocumentDetail and DocumentList from
		      Documents; per TMS workgroup comments 11/13/06
		 2    055_RETS_Standard 1.1         4/4/2006 8:06:03 AM    Jeff Brush
		      Updated schemas.  All MLS schemas have extensibility points.  New
		      ObjectReferenceList.xsd
		 1    055_RETS_Standard 1.0         3/6/2006 8:13:42 AM    Paul Stusiak    
		$
		======================
	-->

	<xs:annotation>
		<xs:documentation>
			Elements related to summary information about Transactions.
		</xs:documentation>
	</xs:annotation>

	<xs:import	namespace="http://rets.org/xsd/RETSCommons/2007-08"
					schemaLocation="../../../xsd/RETSCommons/2007-08/RETSCommons.xsd"/>

	<!-- Elements -->
	<xs:element name="TransactionList">
		<xs:annotation>
			<xs:documentation>
				List of transaction summaries
			</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element	name="Transaction"
								maxOccurs="unbounded">
					<xs:complexType>
						<xs:sequence>
							<xs:element name="Properties">
								<xs:complexType>
									<xs:sequence>
										<xs:element	name="Property"
														maxOccurs="unbounded">
											<xs:complexType>
												<xs:sequence>
													<xs:element	name="Address"
																	minOccurs="0">
														<xs:complexType>
															<xs:all>
																<xs:element	name="FullStreetAddress"
																				type="xs:string"/>
																<xs:element	name="City"
																				type="xs:string"/>
																<xs:element	name="State"
																				type="xs:string"/>
																<xs:element	name="PostalCode"
																				type="xs:string"/>
															</xs:all>
														</xs:complexType>
													</xs:element>
												</xs:sequence>
											</xs:complexType>
										</xs:element>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
							<xs:element	name="ListingID"
											type="xs:string"
											minOccurs="0"/>
							<xs:element	name="OfficeID"
											type="xs:string"
											minOccurs="0"/>
							<xs:element	name="MemberID"
											type="xs:string"
											minOccurs="0"/>
							<xs:element	name="SettlementOrEscrowNumber"
											type="xs:string"
											minOccurs="0"/>
							<xs:element	name="Category"
											type="xs:string"
											minOccurs="0"/>
							<xs:element	name="HostName"
											type="xs:string"
											minOccurs="0"/>
							<xs:element	name="HostSystemID"
											type="xs:string"
											minOccurs="0"/>
							<xs:element	name="CreatedDateTime"
											type="xs:dateTime"
											minOccurs="0"/>
							<xs:element	name="CreatedBy"
											minOccurs="0">
								<xs:complexType>
									<xs:attribute	name="id"
														type="xs:string"
														use="required"/>
									<xs:attribute	name="name"
														type="xs:string"
														use="required"/>
									<xs:attribute	name="description"
														type="xs:string"
														use="optional"/>
								</xs:complexType>
							</xs:element>
							<xs:element	name="StartedDateTime"
											type="commons:SecureDateTime"
											minOccurs="0"/>
							<xs:element	name="LastUpdatedDateTime"
											type="commons:SecureDateTime"
											minOccurs="0"/>
							<xs:element	name="LastUpdatedBy"
											minOccurs="0">
								<xs:complexType>
									<xs:attribute	name="id"
														type="xs:string"
														use="required"/>
									<xs:attribute	name="name"
														type="xs:string"
														use="required"/>
									<xs:attribute	name="description"
														type="xs:string"
														use="optional"/>
								</xs:complexType>
							</xs:element>
							<xs:element	name="TargetCloseDateTime"
											type="commons:SecureDateTime"
											minOccurs="0"/>
							<xs:element	name="ActualCloseDateTime"
											type="commons:SecureDateTime"
											minOccurs="0"/>
							<xs:element	name="Notes"
											minOccurs="0"/>
						</xs:sequence>
						<xs:attribute	name="name"
											type="xs:string"
											use="required"/>
						<xs:attribute	name="systemId"
											type="commons:system-id"
											use="required"/>
						<xs:attribute	name="referenceId"
											type="xs:string"
											use="required"/>
						<xs:attribute	name="status"
											use="required">
							<xs:simpleType>
								<xs:restriction base="xs:token">
									<xs:enumeration value="Open"/>
									<xs:enumeration value="Complete"/>
									<xs:enumeration value="Cancelled"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:attribute>
						<xs:attribute	name="phase"
											use="required"/>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
</xs:schema>