Schema Name: Events.xsd
Target Namespace: http://rets.org/xsd/Events/2007-08
Documentation:
Elements related to time based events.
Collapse XSD Schema Code:

<xs:schema	xmlns:xs="http://www.w3.org/2001/XMLSchema"
				xmlns:event="http://rets.org/xsd/Events/2007-08"
				xmlns:commons="http://rets.org/xsd/RETSCommons/2007-08"
				targetNamespace="http://rets.org/xsd/Events/2007-08"
				elementFormDefault="qualified"
				attributeFormDefault="unqualified">

	<!--
		(C)2007 National Association of REALTORS(R). All Rights Reserved
		
		Tab stops
		:set ts=3

		File History
		======================
		$Header: Events.xsd, 21, 1/24/08 2:30:33 PM EST, Paul Stusiak$
		

		$Log:
		 21   055_RETS_Standard 1.20        1/24/08 2:30:33 PM EST Paul Stusiak
		      correct copyright notice language
		 20   055_RETS_Standard 1.19        11/29/07 1:20:28 PM ESTPaul Stusiak
		      fix copy/paste error on timestamp update
		 19   055_RETS_Standard 1.18        11/29/07 11:33:35 AM ESTPaul Stusiak
		      Add copyright, update version timestamp
		 18   055_RETS_Standard 1.17        10/2/07 5:24:12 PM EDT Gina Accawi
		      Add Events to Listing. Make Events extensibility consistent with the
		      other schemas.
		 17   055_RETS_Standard 1.16        7/27/07 12:02:29 AM EDTPaul Stusiak
		      update version timestamp
		 16   055_RETS_Standard 1.15        7/25/07 1:44:11 AM EDT Paul Stusiak
		      Rename Location to EventLocationType
		 15   055_RETS_Standard 1.14        7/24/07 5:02:05 PM EDT Gina Accawi
		      Rename elements, attributes and types that were named "Type".
		 14   055_RETS_Standard 1.13        7/9/07 3:37:05 PM EDT  Paul Stusiak
		      Update versionTimestamp to 2007-07-09T19:21:00Z
		 13   055_RETS_Standard 1.12        7/6/07 5:29:43 PM EDT  Gina Accawi
		      Rename ids.
		 12   055_RETS_Standard 1.11        5/1/07 5:23:26 PM EDT  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
		 11   055_RETS_Standard 1.10        4/3/07 7:59:29 PM EDT  Paul Stusiak
		      use url resolution for include, import to test schema validation
		 10   055_RETS_Standard 1.9         4/3/07 4:43:56 AM EDT  Paul Stusiak
		      change namespace to remote location (www.ftc2.com) for testing
		 9    055_RETS_Standard 1.8         4/2/07 2:26:54 PM EDT  Paul Stusiak
		      change namespace to match responding server and to use the URI
		      versioning suggested by both HP and XFront
		 8    055_RETS_Standard 1.7         3/30/07 9:20:28 PM EDT Paul Stusiak
		      Update of the versionTimestamp and the namespace (namespace to
		      200704). Change formating to a standard format
		 7    055_RETS_Standard 1.6         3/21/07 12:43:01 AM EDTPaul Stusiak
		      update namespace to match filename
		 6    055_RETS_Standard 1.5         3/21/07 12:42:08 AM EDTPaul Stusiak
		      rename file to match global element name
		 5    055_RETS_Standard 1.4         3/8/07 7:44:28 PM EST  Paul Stusiak
		      Fix standard header for documentation purposes, change document
		      formatting.
		 4    055_RETS_Standard 1.3         3/8/07 3:58:27 PM EST  Gina Accawi
		      Rename id to Id. Change global top level element to an anonymous type
		      definition. Renamed version attribute to versionTimestamp with
		      standard fixed value.
		 3    055_RETS_Standard 1.2         2/28/07 3:51:35 AM EST Paul Stusiak
		      add standard header and refactoring RETSCommons changes
		 2    055_RETS_Standard 1.1         2/22/07 6:34:47 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 time based events.
		</xs:documentation>
	</xs:annotation>


	<xs:import	namespace="http://rets.org/xsd/RETSCommons/2007-08"
					schemaLocation="../../../xsd/RETSCommons/2007-08/RETSCommons.xsd"/>

	<!-- Types -->
	<xs:complexType name="Attendees">
		<xs:sequence>
			<xs:element	name="Attendee"
							type="commons:ContactablePerson"
							minOccurs="0"
							maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType	name="Status">
		<xs:simpleContent>
			<xs:extension base="xs:string"/>
		</xs:simpleContent>
	</xs:complexType>
	<xs:complexType	name="EventLocationType">
		<xs:simpleContent>
			<xs:extension base="xs:string"/>
		</xs:simpleContent>
	</xs:complexType>
	<xs:complexType	name="Priority">
		<xs:simpleContent>
			<xs:extension base="xs:string"/>
		</xs:simpleContent>
	</xs:complexType>
	<xs:complexType	name="Recurrence">
		<xs:simpleContent>
			<xs:extension base="xs:string"/>
		</xs:simpleContent>
	</xs:complexType>
	<xs:complexType	name="Description">
		<xs:simpleContent>
			<xs:extension base="xs:string"/>
		</xs:simpleContent>
	</xs:complexType>
	<xs:complexType	name="Comment">
		<xs:simpleContent>
			<xs:extension base="xs:string"/>
		</xs:simpleContent>
	</xs:complexType>
	<xs:complexType	name="StartDate">
		<xs:simpleContent>
			<xs:extension base="xs:dateTime"/>
		</xs:simpleContent>
	</xs:complexType>
	<xs:complexType	name="EndDate">
		<xs:simpleContent>
			<xs:extension base="xs:dateTime"/>
		</xs:simpleContent>
	</xs:complexType>
	<xs:complexType	name="Duration">
		<xs:simpleContent>
			<xs:extension base="xs:decimal"/>
		</xs:simpleContent>
	</xs:complexType>
	<xs:complexType	name="EventType">
		<xs:sequence>
			<xs:element	name="EventId"
							type="xs:string"
							minOccurs="1"/>
			<xs:element	name="CreatedDateTime"
							type="commons:SecureDateTime"
							minOccurs="0"/>
			<xs:element	name="StartDate"
							type="event:StartDate"
							minOccurs="0"/>
			<xs:element	name="EndDate"
							type="event:EndDate"
							minOccurs="0"/>
			<xs:element	name="Duration"
							type="event:Duration"/>

			<xs:element	name="Category"
							type="xs:string"
							minOccurs="0"/>
			<xs:element	name="Description"
							type="event:Description"
							minOccurs="0"/>
			<xs:element	name="EventLocation"
							type="event:EventLocationType"
							minOccurs="0"/>
			<xs:element	name="Organizer"
							type="commons:ContactablePerson"
							minOccurs="0"/>
			<xs:element	name="Priority"
							type="event:Priority"
							minOccurs="0"/>
			<xs:element	name="Recurrence"
							type="event:Recurrence"
							minOccurs="0"/>
			<xs:element	name="Status"
							type="event:Status"
							minOccurs="0"/>
			<xs:element	name="URL"
							type="commons:URL"
							minOccurs="0"/>
			<xs:element	name="Attendees"
							type="event:Attendees"
							minOccurs="0"/>
			<xs:element	name="Comment"
							type="event:Comment"
							minOccurs="0"/>
			<xs:element	name="Contact"
							type="commons:ContactablePerson"
							minOccurs="0"/>
			<xs:element	name="ModificationTimestamp"
							type="commons:ModificationTimestamp"/>
		</xs:sequence>
		<xs:attribute name="systemId"
						type="commons:system-id"
						use="required"/>
	</xs:complexType>

	<xs:complexType name="EventsType">
		<xs:sequence>
			<xs:element	ref="event:Event"
				minOccurs="0"
				maxOccurs="unbounded"/>
		</xs:sequence>
		<xs:attribute	name="versionTimestamp"
							type="xs:dateTime"
							use="required"
							fixed="2007-11-29T16:00:00Z"/>
		<xs:attribute 	name="systemId"
							type="commons:system-id"
							use="optional"/>
	</xs:complexType>

	<!-- Elements -->
	<xs:element name="Event">
		<xs:complexType>
			<xs:complexContent>
				<xs:extension base="event:EventType">
					<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="Events" type="event:EventsType"/>
</xs:schema>
Collapse ComplexTypes:
Collapse Elements: