<?xml version="1.0"?>
<xs:schema	xmlns:xs="http://www.w3.org/2001/XMLSchema"
				xmlns:commons="http://rets.org/xsd/RETSCommons/2007-08"
				targetNamespace="http://rets.org/xsd/RETSCommons/2007-08"
				elementFormDefault="qualified"
				attributeFormDefault="unqualified">

	<!--
		Tab stops
		:set ts=3

		File History
		======================
		$Header: Role.xsd, 2, 7/9/2007 9:55:05 AM, Gina Accawi$
		

		$Log:
		 2    055_RETS_Standard 1.1         7/9/2007 9:55:05 AM    Gina Accawi
		      Remove role union type.
		 1    055_RETS_Standard 1.0         7/9/2007 2:01:44 AM    Paul Stusiak    
		$
		======================
	-->

	<xs:annotation>
		<xs:documentation>
			Elements related to a Role that a Person,
			Member or Team may have.
		</xs:documentation>
	</xs:annotation>

	<xs:include schemaLocation="Primitives.xsd"/>

	<!-- Types -->
	<xs:complexType name="ParticipantRoleEnum">
		<xs:simpleContent>
			<xs:restriction base="commons:OtherEnumerationDescriptionString">
				<xs:enumeration value="Listing"/>
				<xs:enumeration value="Co-Listing"/>
				<xs:enumeration value="Selling"/>
				<xs:enumeration value="Co-Selling"/>
				<xs:enumeration value="Entry"/>
				<xs:enumeration value="Assistant"/>
				<xs:enumeration value="Owner"/>
				<xs:enumeration value="Occupant"/>
				<xs:enumeration value="Buyer"/>
				<xs:enumeration value="Seller"/>
				<xs:enumeration value="Service">
					<xs:annotation>
						<xs:documentation>
							Participant is providing a service during the
							transaction.
						</xs:documentation>
					</xs:annotation>
				</xs:enumeration>
				<xs:enumeration value="Other"/>
			</xs:restriction>
		</xs:simpleContent>
	</xs:complexType>

	<xs:complexType name="TeamRoleEnum">
		<xs:simpleContent>
			<xs:restriction base="commons:OtherEnumerationDescriptionString">
				<xs:enumeration value="Team Lead">
					<xs:annotation>
						<xs:documentation>
							The team leader or manager.
						</xs:documentation>
					</xs:annotation>
				</xs:enumeration>
				<xs:enumeration value="Marketing Lead">
					<xs:annotation>
						<xs:documentation>
							The primary marketing team member.
						</xs:documentation>
					</xs:annotation>
				</xs:enumeration>
				<xs:enumeration value="Photographer"/>
				<xs:enumeration value="Member"/>
				<xs:enumeration value="Marketing Member"/>
				<xs:enumeration value="Other"/>
			</xs:restriction>
		</xs:simpleContent>
	</xs:complexType>

</xs:schema>