<?xml version="1.0" encoding="UTF-8"?>
<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">

	<!--
		(C)2007 National Association of REALTOR(R)

		Tab stops
		:set ts=3
		
		File History
		======================
		$Header: Licensing.xsd, 2, 10/7/2007 10:44:43 PM, Paul Stusiak$

		$Log:
		 2    055_RETS_Standard 1.1         10/7/2007 10:44:43 PM  Paul Stusiak
		      general clean up of the schema, add missing retsid as necessary.
		 1    055_RETS_Standard 1.0         8/1/2007 10:53:35 AM   Gina Accawi     
		$
		======================
	-->

	<xs:annotation>
		<xs:documentation>
			A generalized type description for real estate licensing.
		</xs:documentation>
	</xs:annotation>

	<xs:include schemaLocation="Primitives.xsd"/>

	<xs:complexType	name="RELicense">
		<xs:sequence>
			<xs:element	name="RELicenseCategory"
							type="commons:SecureString"
							minOccurs="1"
							maxOccurs="1">
				<xs:annotation>
					<xs:documentation>
						The type of real estate license. This will
						vary based on the local types and
						jurisdictions.
					</xs:documentation>
					<xs:appinfo>
						<retsid>100078</retsid>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element	name="RELicenseNumber"
							type="commons:SecureString"
							minOccurs="1"
							maxOccurs="1">
				<xs:annotation>
					<xs:documentation>
						The Real Estate License Number.
					</xs:documentation>
					<xs:appinfo>
						<retsid>100079</retsid>
						<example>PA-6678921-a</example>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element	name="Jurisdiction"
							type="commons:SecureString"
							minOccurs="1"
							maxOccurs="1">
				<xs:annotation>
					<xs:documentation>
						A string representing the jurisdiction
						that the license issuing body is located.
					</xs:documentation>
					<xs:appinfo>
						<retsid>100080</retsid>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element	name="LicenseStartDateTime"
							type="commons:SecureDateTime"
							minOccurs="0"
							maxOccurs="1">
				<xs:annotation>
					<xs:appinfo>
						<retsid>100081</retsid>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element	name="LicenseExpirationDateTime"
							type="commons:SecureDateTime"
							minOccurs="0"
							maxOccurs="1">
				<xs:annotation>
					<xs:appinfo>
						<retsid>100082</retsid>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element	name="LicenseTransferDateTime"
							type="commons:SecureDateTime"
							minOccurs="0"
							maxOccurs="1">
				<xs:annotation>
					<xs:appinfo>
						<retsid>100083</retsid>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
</xs:schema>