Schema Name: Courses.xsd
Target Namespace: http://rets.org/xsd/Courses/2007-08
Documentation:
Document related to professional development courses
Collapse XSD Schema Code:

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

	<!--
		(C)2007 National Association of REALTORS(R). All Rights Reserved

		Tab stops
		:set ts=3

		File History
		======================
		$Header: Courses.xsd, 25, 1/24/08 2:30:32 PM EST, Paul Stusiak$
		
		$Log:
		 25   055_RETS_Standard 1.24        1/24/08 2:30:32 PM EST Paul Stusiak
		      correct copyright notice language
		 24   055_RETS_Standard 1.23        10/8/07 4:22:11 PM EDT Paul Stusiak
		      Update version timestamp
		 23   055_RETS_Standard 1.22        7/27/07 12:03:22 AM EDTPaul Stusiak
		      update version timestamp
		 22   055_RETS_Standard 1.21        7/25/07 1:42:10 AM EDT Paul Stusiak
		      Rename complex type to CourseDeliveryMethod
		 21   055_RETS_Standard 1.20        7/9/07 3:37:05 PM EDT  Paul Stusiak
		      Update versionTimestamp to 2007-07-09T19:21:00Z
		 20   055_RETS_Standard 1.19        7/6/07 5:29:42 PM EDT  Gina Accawi
		      Rename ids.
		 19   055_RETS_Standard 1.18        7/2/07 12:45:29 PM EDT Gina Accawi
		      Rename ResourceKey to be the actual ResourceNameKey.
		 18   055_RETS_Standard 1.17        6/29/07 3:34:39 PM EDT Gina Accawi
		      Add a key for the resource.
		 17   055_RETS_Standard 1.16        6/26/07 2:59:34 PM EDT Gina Accawi
		      Rename items that are TotalBlah to BlahTotal for consistency
		      throughout.
		 16   055_RETS_Standard 1.15        5/1/07 6:38:51 PM EDT  Paul Stusiak
		      Update the version timestamp, make the schema relative again.
		 15   055_RETS_Standard 1.14        4/3/07 7:59:28 PM EDT  Paul Stusiak
		      use url resolution for include, import to test schema validation
		 14   055_RETS_Standard 1.13        4/3/07 4:43:55 AM EDT  Paul Stusiak
		      change namespace to remote location (www.ftc2.com) for testing
		 13   055_RETS_Standard 1.12        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
		 12   055_RETS_Standard 1.11        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
		 11   055_RETS_Standard 1.10        3/21/07 12:45:32 AM EDTPaul Stusiak
		      change namespace to match filename
		 10   055_RETS_Standard 1.9         3/21/07 12:44:54 AM EDTPaul Stusiak
		      rename file to match global element name
		 9    055_RETS_Standard 1.8         3/20/07 12:15:35 AM EDTPaul Stusiak
		      Reformat to standard style, move course information into file from
		      NRDSCommons.
		 8    055_RETS_Standard 1.7         3/8/07 2:50:36 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.
		 7    055_RETS_Standard 1.6         3/6/07 3:12:13 PM EST  Paul Stusiak
		      change ID to Id across files, added header and imported from
		      RETSCommons
		 6    055_RETS_Standard 1.5         2/22/07 6:34:45 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.
		 5    055_RETS_Standard 1.4         12/20/06 3:31:04 PM ESTJeff Brush
		      added retsserver location back to imports;  renamed Prospect to
		      SavedQuery; changed ListingHistory to track only select fields
		      identified by workgroup;renamed Agency to Agents and fixed references
		      in other schemas;changed TotalSqFeet references to TotalArea; per 12/7
		       MLS payload workgroup meeting
		 4    055_RETS_Standard 1.3         12/2/06 4:12:44 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         7/31/06 12:26:01 PM EDTJeff Brush
		      updated schemas to have child element of minOccurs="0" allowing for
		      empty root element to be returned in cases where the search results
		      are empty
		 2    055_RETS_Standard 1.1         4/8/06 10:16:20 PM EDT Jeff Brush
		      Added Version/Date to schema URI
		 1    055_RETS_Standard 1.0         4/4/06 11:06:05 AM EDT Jeff Brush
		      Updated schemas.  All MLS schemas have extensibility points.  New
		      ObjectReferenceList.xsd
		$
		======================
	-->

	<xs:annotation>
		<xs:documentation>
			Document related to professional development courses
		</xs:documentation>
	</xs:annotation>

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

	<xs:complexType name="CertificateName">
		<xs:annotation>
			<xs:documentation>
				The member's name as it should appear on the certificate,
				if different from the NRDs member name.
			</xs:documentation>
		</xs:annotation>
		<xs:simpleContent>
			<xs:extension base="commons:SecureString"/>
		</xs:simpleContent>
	</xs:complexType>

	<xs:complexType name="CourseInformation">
		<xs:sequence>
			<xs:element	name="CourseCode"
							type="nrds:CourseCode"
							minOccurs="0"/>
			<xs:element	name="CourseNumber"
							type="nrds:CourseNumber"
							minOccurs="0"/>
			<xs:element	name="CourseDescription"
							type="nrds:CourseDescription"
							minOccurs="0"/>
			<xs:element	name="CourseDate"
							type="nrds:CourseStartDate"
							minOccurs="0"/>
			<xs:element	name="CourseCompletionDate"
							type="nrds:CourseCompletionDate"
							minOccurs="0"/>
			<xs:element	name="CreditHours"
							type="nrds:CreditHours"
							minOccurs="0"/>
			<xs:element	name="StateCEHours"
							type="nrds:StateCEHours"
							minOccurs="0"/>
			<xs:element	name="Instructors"
							type="nrds:Instructors"
							minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>

	<xs:complexType	name="TestResultInformation">
		<xs:sequence>
			<xs:element	name="TestScore"
							type="nrds:TestScore"
							minOccurs="0"/>
			<xs:element	name="TestStatus"
							type="nrds:TestStatus"
							minOccurs="0"/>
			<xs:element	name="TestScoreChangeDate"
							type="nrds:TestScoreChangeDate"
							minOccurs="0"/>
			<xs:element	name="TestPreferedMail"
							type="nrds:MemberPreferredMail"
							minOccurs="0"/>
			<xs:element	name="SentToAgencyDate"
							type="nrds:SentToStateAgencyDate"
							minOccurs="0"/>
			<xs:element	name="SentToLocalAssociationDate"
							type="nrds:SentToAssociationDate"
							minOccurs="0"/>
			<xs:element	name="SentToStateAssociationDate"
							type="nrds:SentToStateAssociationDate"
							minOccurs="0"/>
			<xs:element	name="SentToNARDate"
							type="nrds:SentToNARDate"
							minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>

	<xs:complexType name="Course">
		<xs:sequence>
			<xs:element name="CourseKey"
							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="MemberId"
							type="commons:AssociationMemberId"
							minOccurs="0"/>
			<xs:element	name="AssociationId"
							type="nrds:AssociationId"
							minOccurs="0"/>
			<xs:element	name="CertificateName"
							type="course:CertificateName"
							minOccurs="0"/>
			<xs:element	name="CourseInformation"
							type="course:CourseInformation"
							minOccurs="0"/>
			<xs:element	name="TestResultInformation"
							type="course:CourseInformation"
							minOccurs="0"/>
			<xs:element	name="TotalHoursEarnedToDateTotal"
							type="nrds:HoursEarnedToDateTotal"
							minOccurs="0"/>
			<xs:element	name="SponsoringAssociationId"
							type="nrds:AssociationId"
							minOccurs="0"/>
			<xs:element	name="HostingAssociationId"
							type="nrds:AssociationId"
							minOccurs="0"/>
			<xs:element	name="CourseDeliveryMethod"
							type="nrds:CourseDeliveryMethodType"
							minOccurs="0"/>
			<xs:element	name="Comments"
							type="nrds:CourseComments"
							minOccurs="0"/>
			<xs:element	name="PaymentCode"
							type="nrds:CoursePaymentCode"
							minOccurs="0"/>
			<xs:element	name="PaymentAmount"
							type="nrds:CoursePaymentAmount"
							minOccurs="0"/>
			<xs:element	name="PointOfEntry"
							type="nrds:PointOfEntry"
							minOccurs="0"/>
			<xs:element	name="RecordChangeType"
							type="nrds:RecordChangeType"
							minOccurs="0"/>
		</xs:sequence>
		<xs:attribute	name="courseId"
							type="xs:string"
							use="required"/>
	</xs:complexType>

	<xs:element name="Courses">
		<xs:complexType>
			<xs:sequence>
				<xs:element	name="Course"
								type="course:Course"
								minOccurs="0"
								maxOccurs="unbounded"/>
			</xs:sequence>
			<xs:attribute	name="versionTimestamp"
								type="xs:dateTime"
								use="required"
								fixed="2007-10-08T16:27:23Z"/>
		</xs:complexType>
	</xs:element>
</xs:schema>
Collapse ComplexTypes:
Collapse Elements: