Schema Name: SavedQueries.xsd
Target Namespace: http://rets.org/xsd/RETSSystem/2007-08
Documentation:
Elements related to Generalized saved system requests.
Collapse XSD Schema Code:

<xs:schema	xmlns:xs="http://www.w3.org/2001/XMLSchema"
				xmlns:sys="http://rets.org/xsd/RETSSystem/2007-08"
				xmlns:offices="http://rets.org/xsd/Offices/2007-08"
				xmlns:members="http://rets.org/xsd/Members/2007-08"
				xmlns:commons="http://rets.org/xsd/RETSCommons/2007-08"
				targetNamespace="http://rets.org/xsd/RETSSystem/2007-08"
				elementFormDefault="qualified"
				attributeFormDefault="unqualified">

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

		Tab stops
		:set ts=3

		File History
		======================
		$Header: SavedQueries.xsd, 17, 1/24/08 2:30:35 PM EST, Paul Stusiak$

		$Log:
		 17   055_RETS_Standard 1.16        1/24/08 2:30:35 PM EST Paul Stusiak
		      correct copyright notice language
		 16   055_RETS_Standard 1.15        10/8/07 4:22:16 PM EDT Paul Stusiak
		      Update version timestamp
		 15   055_RETS_Standard 1.14        10/2/07 5:11:09 PM EDT Gina Accawi
		      Put extension point on element declaration.
		 14   055_RETS_Standard 1.13        7/25/07 3:09:40 AM EDT Paul Stusiak
		      move to common container of retssystem
		 13   055_RETS_Standard 1.12        7/9/07 3:37:03 PM EDT  Paul Stusiak
		      Update versionTimestamp to 2007-07-09T19:21:00Z
		 12   055_RETS_Standard 1.11        7/6/07 5:30:05 PM EDT  Gina Accawi
		      Rename ids
		 11   055_RETS_Standard 1.10        6/26/07 3:40:37 PM EDT Gina Accawi
		      Rename Agent to Member. This affects namespaces, element names, type
		      references, and attribute names.
		 10   055_RETS_Standard 1.9         5/2/07 4:32:58 PM EDT  Paul Stusiak
		      change namespace reference, use modified complex type name, update
		      version time stamp
		 9    055_RETS_Standard 1.8         4/3/07 8:05:27 PM EDT  Paul Stusiak
		      change namespace references to reflect new file name
		 8    055_RETS_Standard 1.7         4/3/07 8:02:43 PM EDT  Paul Stusiak
		      change file name to match element name
		 7    055_RETS_Standard 1.6         4/3/07 7:59:32 PM EDT  Paul Stusiak
		      use url resolution for include, import to test schema validation
		 6    055_RETS_Standard 1.5         4/3/07 4:43:03 AM EDT  Paul Stusiak
		      change namespace to remote location (www.ftc2.com) for testing
		 5    055_RETS_Standard 1.4         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
		 4    055_RETS_Standard 1.3         3/30/07 9:19:06 PM EDT Paul Stusiak
		      Update of the versionTimestamp and the namespace (namespace to
		      200704). Change formating to a standard format
		 3    055_RETS_Standard 1.2         3/8/07 2:03:30 AM EST  Paul Stusiak
		      Added standard document header. Made modification to document format.
		 2    055_RETS_Standard 1.1         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.
		 1    055_RETS_Standard 1.0         12/20/06 3:32:46 PM ESTJeff Brush      
		$
		======================
	-->

	<xs:annotation>
		<xs:documentation>
			Elements related to Generalized saved system requests.
		</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="PublicName">
		<xs:restriction base="xs:string"/>
	</xs:simpleType>
	<xs:complexType name="SavedQuery">
		<xs:sequence>
			<xs:element	name="PublicName"
							type="sys: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:attribute	name="savedQueryId"
							type="xs:string"
							use="required"/>
	</xs:complexType>
	<xs:complexType name="SavedQueries">
		<xs:sequence>
			<xs:element	name="SavedQuery"
							type="sys:SavedQuery"
							minOccurs="0"
							maxOccurs="unbounded"/>
		</xs:sequence>
		<xs:attribute	name="versionTimestamp"
							type="xs:dateTime"
							use="required"
							fixed="2007-07-25T06:40:00Z"/>
	</xs:complexType>

	<!-- Elements -->
	<xs:element name="SavedQueries"
					type="sys:SavedQueries"/>
</xs:schema>
Collapse ComplexTypes:
Collapse Elements:
Collapse SimpleTypes: