<?xml version="1.0" encoding="UTF-8"?>
<xs:schema	xmlns:xs="http://www.w3.org/2001/XMLSchema"
				xmlns:sys="http://rets.org/xsd/RETSSystem/2007-08"
				targetNamespace="http://rets.org/xsd/RETSSystem/2007-08"
				elementFormDefault="qualified"
				attributeFormDefault="unqualified">

	<!--
		(C)2007 National Association of REALTORS(R)

		Tab stops
		:set ts=3

		File History
		======================
		$Header: MessageOfTheDay.xsd, 14, 10/8/2007 1:22:13 PM, Paul Stusiak$
		

		$Log:
		 14   055_RETS_Standard 1.13        10/8/2007 1:22:13 PM   Paul Stusiak
		      Update version timestamp
		 13   055_RETS_Standard 1.12        7/25/2007 12:09:39 AM  Paul Stusiak
		      move to common container of retssystem
		 12   055_RETS_Standard 1.11        5/2/2007 1:18:03 PM    Paul Stusiak
		      change namespace reference, clean up some comments, update version
		      time stamp
		 11   055_RETS_Standard 1.10        4/3/2007 1:43:58 AM    Paul Stusiak
		      change namespace to remote location (www.ftc2.com) for testing
		 10   055_RETS_Standard 1.9         4/2/2007 11:26:56 AM   Paul Stusiak
		      change namespace to match responding server and to use the URI
		      versioning suggested by both HP and XFront
		 9    055_RETS_Standard 1.8         3/30/2007 6:20:40 PM   Paul Stusiak
		      Update of the versionTimestamp and the namespace (namespace to
		      200704). Change formating to a standard format
		 8    055_RETS_Standard 1.7         3/21/2007 2:46:45 AM   Paul Stusiak
		      change global element name to match the intended purpose
		 7    055_RETS_Standard 1.6         3/7/2007 10:52:31 PM   Paul Stusiak
		      Added standard document header. Reorganized the file to be in standard
		       form.
		 6    055_RETS_Standard 1.5         12/2/2006 1:12:45 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         7/30/2006 9:14:50 PM   Paul Stusiak
		      change internal content to reflect the MessageOfTheDay change.
		 4    055_RETS_Standard 1.3         7/30/2006 9:12:58 PM   Paul Stusiak
		      renamed file to match the documentation
		 3    055_RETS_Standard 1.2         4/7/2006 7:36:39 PM    Jeff Brush
		      renamed version attribute to versionTimestamp for schema versioning
		 2    055_RETS_Standard 1.1         4/7/2006 1:37:30 PM    Jeff Brush
		      modified to have schema versioning as datetime, add year month to
		      namespaces, minor corrections
		 1    055_RETS_Standard 1.0         4/6/2006 12:22:01 PM   Jeff Brush      
		$
		======================
	-->

	<xs:annotation>
		<xs:documentation>
			Elements related to the message of the day a system resource
			for sending important messages to users of a system.
		</xs:documentation>
	</xs:annotation>

	<!-- Types -->
	<xs:simpleType name="Details">
		<xs:restriction base="xs:string"/>
	</xs:simpleType>
	<xs:simpleType name="Timestamp">
		<xs:restriction base="xs:dateTime"/>
	</xs:simpleType>

	<xs:complexType name="MessageType">
		<xs:sequence>
			<xs:element	name="Timestamp"
							type="sys:Timestamp"/>
			<xs:element	name="Details"
							type="sys:Details"/>
			<xs:any		namespace="##other"
							minOccurs="0"
							maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="MessageOfTheDay">
		<xs:sequence>
			<xs:element	name="Message"
							type="sys:MessageType"
							minOccurs="0" maxOccurs="unbounded"/>
		</xs:sequence>
		<xs:attribute	name="versionTimestamp"
							type="xs:dateTime"
							use="required"
							fixed="2007-07-25T06:51:00Z"/>
	</xs:complexType>

	<!-- Elements -->
	<xs:element name="MessageOfTheDay"
					type="sys:MessageOfTheDay"/>
</xs:schema>