Schema Name: Calendar.xsd
Target Namespace: http://rets.org/xsd/Calendar/2007-08
Documentation:
Types and Element related to an event calendar
Collapse XSD Schema Code:

<xs:schema	xmlns:xs="http://www.w3.org/2001/XMLSchema"
				xmlns:cal="http://rets.org/xsd/Calendar/2007-08"
				xmlns:commons="http://rets.org/xsd/RETSCommons/2007-08"
				targetNamespace="http://rets.org/xsd/Calendar/2007-08"
				elementFormDefault="qualified"
				attributeFormDefault="unqualified">
	<!--
		(C)2007 National Association of REALTORS(R). All Rights Reserved

		Tab stops
		:set ts=3

		File History
		======================
		$Header: Calendar.xsd, 21, 4/9/08 11:08:12 AM EDT, Gina Accawi$
		
		$Log:
		 21   055_RETS_Standard 1.20        4/9/08 11:08:12 AM EDT Gina Accawi
		      Update version timestamp.
		 20   055_RETS_Standard 1.19        2/21/08 3:55:51 PM EST Gina Accawi
		      Modify enum values to add whitespace where necessary.
		 19   055_RETS_Standard 1.18        1/24/08 2:30:32 PM EST Paul Stusiak
		      correct copyright notice language
		 18   055_RETS_Standard 1.17        10/8/07 4:22:11 PM EDT Paul Stusiak
		      Update version timestamp
		 17   055_RETS_Standard 1.16        7/10/07 4:39:14 PM EDT Gina Accawi
		      Formatting
		 16   055_RETS_Standard 1.15        7/9/07 3:37:05 PM EDT  Paul Stusiak
		      Update versionTimestamp to 2007-07-09T19:21:00Z
		 15   055_RETS_Standard 1.14        7/2/07 12:45:28 PM EDT Gina Accawi
		      Rename ResourceKey to be the actual ResourceNameKey.
		 14   055_RETS_Standard 1.13        6/29/07 3:34:38 PM EDT Gina Accawi
		      Add a key for the resource.
		 13   055_RETS_Standard 1.12        6/28/07 1:44:27 PM EDT Gina Accawi
		      Consistently use Unknown, Other and None in enums.
		 12   055_RETS_Standard 1.11        5/1/07 6:37:06 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:28 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:55 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:53 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:19 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 7:17:18 PM EDT Paul Stusiak
		      change namespace to match filename
		 6    055_RETS_Standard 1.5         3/21/07 6:50:22 PM EDT Paul Stusiak
		      changet the filename to match the global element name
		 5    055_RETS_Standard 1.4         3/21/07 6:49:56 PM EDT Paul Stusiak
		      rework the entire schema to create a very simple calendar item.
		 4    055_RETS_Standard 1.3         12/2/06 4:12:46 AM EST Paul Stusiak
		      various mechanical fixes tho the schema and a re-direct from
		      retsserver.realtors.org to www.ftc2.com
		 3    055_RETS_Standard 1.2         4/8/06 10:16:21 PM EDT Jeff Brush
		      Added Version/Date to schema URI
		 2    055_RETS_Standard 1.1         4/4/06 11:06:04 AM EDT Jeff Brush
		      Updated schemas.  All MLS schemas have extensibility points.  New
		      ObjectReferenceList.xsd
		 1    055_RETS_Standard 1.0         3/6/06 11:13:43 AM EST Paul Stusiak    
		$
		======================
	-->

	<xs:annotation>
		<xs:documentation>
			Types and Element related to an event calendar
		</xs:documentation>
	</xs:annotation>

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

	<!-- Types -->
	<xs:simpleType name="PriorityTypeEnum">
		<xs:annotation>
			<xs:documentation>
				List of priority types
			</xs:documentation>
			<xs:appinfo>
				Normal
			</xs:appinfo>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="Overdue"/>
			<xs:enumeration value="Critical"/>
			<xs:enumeration value="High"/>
			<xs:enumeration value="Normal"/>
			<xs:enumeration value="Low"/>
			<xs:enumeration value="Deferred"/>
			<xs:enumeration value="Unknown"/>
			<xs:enumeration value="Other"/>
			<xs:enumeration value="None"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="ItemTypeEnum">
		<xs:annotation>
			<xs:documentation>
				List of calendar item types
			</xs:documentation>
			<xs:appinfo>
				Event
			</xs:appinfo>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="Event"/>
			<xs:enumeration value="To Do"/>
			<xs:enumeration value="Journal"/>
			<xs:enumeration value="Tour"/>
			<xs:enumeration value="Open House"/>
			<xs:enumeration value="Meeting"/>
			<xs:enumeration value="Unknown"/>
			<xs:enumeration value="Other"/>
			<xs:enumeration value="None"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="StatusTypeEnum">
		<xs:annotation>
			<xs:documentation>
				List of calendar item statuses
			</xs:documentation>
			<xs:appinfo>
				Scheduled
			</xs:appinfo>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="Scheduled"/>
			<xs:enumeration value="Completed"/>
			<xs:enumeration value="Cancelled"/>
			<xs:enumeration value="Rescheduled"/>
			<xs:enumeration value="Confirmed"/>
			<xs:enumeration value="Unknown"/>
			<xs:enumeration value="Other"/>
			<xs:enumeration value="None"/>			
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="AttendeeRoleTypeEnum">
		<xs:annotation>
			<xs:documentation>
				List of roles in a calendar item
			</xs:documentation>
			<xs:appinfo>
				Participant
			</xs:appinfo>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="Host"/>
			<xs:enumeration value="Participant"/>
			<xs:enumeration value="Non-Participant"/>
			<xs:enumeration value="Invitee"/>
			<xs:enumeration value="Unknown"/>
			<xs:enumeration value="Other"/>
			<xs:enumeration value="None"/>
		</xs:restriction>
	</xs:simpleType>

	<xs:complexType name="AttendeeType">
		<xs:sequence>
			<xs:element name="Person"
							type="commons:ContactablePerson"
							minOccurs="0"
							maxOccurs="1"/>
			<xs:element	name="Role"
							type="cal:AttendeeRoleTypeEnum"
							minOccurs="0"
							maxOccurs="1">
				<xs:annotation>
					<xs:documentation>
						The role played by the attendee in the item.
					</xs:documentation>
					<xs:appinfo>
						Participant
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>

	<xs:complexType name="CalendarItem">
		<xs:sequence>
			<xs:element	name="Subject"
							type="xs:string"
							minOccurs="0"
							maxOccurs="1">
				<xs:annotation>
					<xs:documentation>
						The subject of the calendar entry
					</xs:documentation>
					<xs:appinfo>
						Open House
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element name="CalendarType"
							type="cal:ItemTypeEnum"
							minOccurs="1"
							maxOccurs="1">
				<xs:annotation>
					<xs:documentation>
						The calendar item type
					</xs:documentation>
					<xs:appinfo>
						Event
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element name="Location"
							type="xs:string"
							minOccurs="0"
							maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>
						Text description of the location of the event
					</xs:documentation>
					<xs:appinfo>
						1024 SW Main Street
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element	name="Status"
							type="cal:StatusTypeEnum"
							minOccurs="1"
							maxOccurs="1">
				<xs:annotation>
					<xs:documentation>
						The state of a particular item
					</xs:documentation>
					<xs:appinfo>
						Scheduled
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element name="StartDateTime"
							type="commons:SecureDateTime"
							minOccurs="0"
							maxOccurs="1">
				<xs:annotation>
					<xs:documentation>
						The Date and Time that the item is scheduled to
						begin.
					</xs:documentation>
					<xs:appinfo>
						2007-04-05T16:00:15Z
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element name="EndDateTime"
							type="commons:SecureDateTime"
							minOccurs="0"
							maxOccurs="1">
				<xs:annotation>
					<xs:documentation>
						The Date and Time that the item is scheduled to
						complete.
					</xs:documentation>
					<xs:appinfo>
						2007-04-05T18:00:00Z
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element name="Duration"
							type="commons:SecureString"
							minOccurs="0"
							maxOccurs="1">
				<xs:annotation>
					<xs:documentation>
						The Duration of the item. May be expressed as a
						time or as a decimal or other representation.
						
						It may include descriptive units. 
					</xs:documentation>
					<xs:appinfo>
						1:45
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element	name="DueDateTime"
							type="commons:SecureDateTime"
							minOccurs="0"
							maxOccurs="1">
				<xs:annotation>
					<xs:documentation>
						The date and time that the calendar item is to
						be completed.
					</xs:documentation>
					<xs:appinfo>
						2007-04-05T18:00:00Z
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element name="ResponsiblePerson"
							type="commons:ContactablePerson"
							minOccurs="0"
							maxOccurs="1">
				<xs:annotation>
					<xs:documentation>
						The person responsible for the item
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element	name="Attendees"
							type="cal:AttendeeType"
							minOccurs="0"
							maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>
						List of participants in the item
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element	name="Priority"
							type="cal:PriorityTypeEnum"
							minOccurs="0"
							maxOccurs="unbounded"/>
			<xs:element	name="Summary"
							type="commons:SecureRemark"
							minOccurs="0"
							maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>
						A short summary of the event.
					</xs:documentation>
					<xs:appinfo>
						Thelma will be showing this great property
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element	name="ModificationTimestamp"
							type="commons:ModificationTimestamp"
							minOccurs="0">
				<xs:annotation>
					<xs:documentation>
						A timestamp for the most recent modification of
						this record.
					</xs:documentation>
					<xs:appinfo>
						2007-01-15T11:23:09Z
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:any		namespace="##other"
							minOccurs="0"
							maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>

	<xs:complexType name="Calendar">
		<xs:sequence>
			<xs:element name="CalendarKey"
							type="commons:resource-key"
							minOccurs="1"
							maxOccurs="1">
				<xs:annotation>
					<xs:documentation>
						This the is the keyfield for the resource.
					</xs:documentation>
				</xs:annotation>				
			</xs:element>
			<xs:element name="CalendarId"
							type="xs:string"
							minOccurs="1"
							maxOccurs="1">
				<xs:annotation>
					<xs:documentation>
						System identifier for this calendar
					</xs:documentation>
					<xs:appinfo>
						cal23342
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element name="OwnerDisplayName"
							type="xs:string"
							minOccurs="1"
							maxOccurs="1">
				<xs:annotation>
					<xs:documentation>
						A display name for the calendar. It may be a person
						or other entity or may be some descriptive text.
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="OwnerId"
							type="commons:SecureString"
							minOccurs="0"
							maxOccurs="1">
				<xs:annotation>
					<xs:documentation>
						The system owner id. Some systems may suppress this
						information
					</xs:documentation>
					<xs:appinfo>
						p233432111
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element name="CalendarItem"
							type="cal:CalendarItem"
							minOccurs="0"
							maxOccurs="unbounded"/>
		</xs:sequence>
		<xs:attribute	name="versionTimestamp"
							type="xs:dateTime"
							use="required"
							fixed="2008-04-04T16:00:00Z">
		</xs:attribute>
	</xs:complexType>

	<!-- Element -->
	<xs:element	name="Calendar"
					type="cal:Calendar"/>
</xs:schema>
Collapse ComplexTypes:
Collapse Elements:
Collapse SimpleTypes: