Schema Name: Associations.xsd
Target Namespace: http://rets.org/xsd/Associations/2007-08
Documentation:
TBD
Collapse XSD Schema Code:

<xs:schema	xmlns:xs="http://www.w3.org/2001/XMLSchema"
				xmlns:assc="http://rets.org/xsd/Associations/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/Associations/2007-08"
				elementFormDefault="qualified"
				attributeFormDefault="unqualified">

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

		Tab stops
		:set ts=3

		File History
		======================
		$Header: Associations.xsd, 28, 1/24/08 2:30:32 PM EST, Paul Stusiak$
		
		$Log:
		 28   055_RETS_Standard 1.27        1/24/08 2:30:32 PM EST Paul Stusiak
		      correct copyright notice language
		 27   055_RETS_Standard 1.26        10/8/07 4:22:11 PM EDT Paul Stusiak
		      Update version timestamp
		 26   055_RETS_Standard 1.25        10/2/07 5:33:08 PM EDT Gina Accawi
		      Rename ContactMethod to ContactMethods. Add values to the
		      PhoneTypeEnum.
		 25   055_RETS_Standard 1.24        7/27/07 12:44:00 PM EDTGina Accawi
		      Modify documentation, pull from NRDSCommons for association id.
		 24   055_RETS_Standard 1.23        7/9/07 3:37:06 PM EDT  Paul Stusiak
		      Update versionTimestamp to 2007-07-09T19:21:00Z
		 23   055_RETS_Standard 1.22        7/5/07 5:25:50 PM EDT  Gina Accawi
		      Remove addresses, as they are now in the ContactMethod.
		 22   055_RETS_Standard 1.21        7/2/07 12:45:27 PM EDT Gina Accawi
		      Rename ResourceKey to be the actual ResourceNameKey.
		 21   055_RETS_Standard 1.20        6/29/07 3:34:37 PM EDT Gina Accawi
		      Add a key for the resource.
		 20   055_RETS_Standard 1.19        6/26/07 4:05:11 PM EDT Gina Accawi
		      Rename ContactInformation to ContactMethod.
		 19   055_RETS_Standard 1.18        6/13/07 3:39:02 PM EDT Gina Accawi
		      Indicate NRDSCommons items by renaming elements to include NRDS in the
		       name. As per May meeting suggestion in Rockville.
		 18   055_RETS_Standard 1.17        5/1/07 5:10:45 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
		 17   055_RETS_Standard 1.16        4/3/07 7:59:27 PM EDT  Paul Stusiak
		      use url resolution for include, import to test schema validation
		 16   055_RETS_Standard 1.15        4/3/07 4:43:55 AM EDT  Paul Stusiak
		      change namespace to remote location (www.ftc2.com) for testing
		 15   055_RETS_Standard 1.14        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
		 14   055_RETS_Standard 1.13        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
		 13   055_RETS_Standard 1.12        3/21/07 5:05:15 AM EDT Paul Stusiak
		      fix missing closing element tag
		 12   055_RETS_Standard 1.11        3/21/07 12:56:54 AM EDTPaul Stusiak
		      minor formatting change, change namespace to match filename
		 11   055_RETS_Standard 1.10        3/21/07 12:47:11 AM EDTPaul Stusiak
		      change filename to match global element name
		 10   055_RETS_Standard 1.9         3/20/07 12:41:20 PM EDTGina Accawi
		      Add annotation. Restore top-level type.
		 9    055_RETS_Standard 1.8         3/8/07 2:12:00 PM EST  Gina Accawi
		      Change root element from a global type reference to a local anonymous
		      definition. This will be the pattern for all container (root)
		      elements. Change version attribute to versionTimestamp on the root.
		 8    055_RETS_Standard 1.7         3/8/07 1:46:33 AM EST  Paul Stusiak
		      Clean up the project information for the purposes of document
		      generation.
		 7    055_RETS_Standard 1.6         2/28/07 3:35:10 AM EST Paul Stusiak
		      add standard header
		 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         9/20/06 3:43:24 PM EDT Jeff Brush
		      chgd schemaLocation to point to http://retsserver.rets.org:8080/xsd/
		 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
		$
		======================
		Description or Purpose
	-->

	<xs:annotation>
		<xs:documentation>
			TBD
		</xs:documentation>
	</xs:annotation>

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

	<!-- Types -->
	<xs:complexType name="Association">
		<xs:sequence>
			<xs:element name="AssociationKey"
							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="NRDSAssociationId"
							type="nrds:MLSAssociationId"
							minOccurs="0">
				<xs:annotation>
					<xs:documentation>
						An identifier of the regional MLS.
						NRDS expects a valid, unique 4 digit number.
					</xs:documentation>
					<xs:appinfo>
						4321
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element	name="NRDSAssociationType"
							type="nrds:AssociationType"
							minOccurs="0"/>
			<xs:element	name="NRDSAssociationName"
							type="nrds:AssociationName"
							minOccurs="0"/>
			<xs:element	name="ContactMethods"
							type="commons:ContactMethods"
							minOccurs="0"/>
			<xs:element	name="NRDSExecutiveOfficerInformation"
							type="nrds:AssociationExecutiveOfficerInfo"
							minOccurs="0"/>
			<xs:element	name="NRDSPointOfEntry"
							type="nrds:PointOfEntry"
							minOccurs="0"/>
			<xs:element	name="NRDSStatusCode"
							type="nrds:AssociationStatus"
							minOccurs="0"/>
			<xs:element	name="StatusChangeDateTime"
							type="commons:SecureDateTime"
							minOccurs="0">
				<xs:annotation>
					<xs:documentation>
						Datetime that the status of the Association
						changed.
					</xs:documentation>
					<xs:appinfo>
						2007-03-10T12:00:00-05:00
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element	name="NRDSLastCertificationDate" 
							type="nrds:AssociationLastCertificationDate"
							minOccurs="0"/>
			<xs:element	name="NRDSAssociationOfficers"
							type="nrds:AssociationOfficers"
							minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="Associations">
		<xs:sequence>
			<xs:element	name="Association"
							type="assc:Association"
							minOccurs="0"/>
		</xs:sequence>
		<xs:attribute	name="versionTimestamp"
							type="xs:dateTime"
							use="required"
							fixed="2007-10-08T16:27:23Z">
		</xs:attribute>
	</xs:complexType>

	<!-- Elements -->
	<xs:element	name="Associations"
					type="assc:Associations"/>
</xs:schema>
Collapse ComplexTypes:
Collapse Elements: