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

<xs:schema	xmlns:xs="http://www.w3.org/2001/XMLSchema"
				xmlns:ddetail="http://rets.org/xsd/DocumentDetails/2007-08"
				xmlns:doc="http://rets.org/xsd/Documents/2007-08"
				xmlns:commons="http://rets.org/xsd/RETSCommons/2007-08"
				xmlns:dlist="http://rets.org/xsd/DocumentList/2007-08"
				targetNamespace="http://rets.org/xsd/DocumentDetails/2007-08"
				elementFormDefault="qualified"
				attributeFormDefault="unqualified">

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

		Tab stops
		:set ts=3

		File History
		======================
		$Header: DocumentDetails.xsd, 23, 1/24/08 2:30:32 PM EST, Paul Stusiak$
		
		$Log:
		 23   055_RETS_Standard 1.22        1/24/08 2:30:32 PM EST Paul Stusiak
		      correct copyright notice language
		 22   055_RETS_Standard 1.21        10/8/07 4:22:12 PM EDT Paul Stusiak
		      Update version timestamp
		 21   055_RETS_Standard 1.20        7/27/07 12:04:34 AM EDTPaul Stusiak
		      update version timestamp
		 20   055_RETS_Standard 1.19        7/25/07 1:43:27 AM EDT Paul Stusiak
		      use boundedCardinalInteger to avoid code generation use of BigDecimal
		 19   055_RETS_Standard 1.18        7/9/07 3:37:06 PM EDT  Paul Stusiak
		      Update versionTimestamp to 2007-07-09T19:21:00Z
		 18   055_RETS_Standard 1.17        7/5/07 8:58:15 PM EDT  Paul Stusiak
		      use pattern of xs:nonNegativeInteger for elements or types with a name
		       <Property.Total> and a data type of decimal or integer
		 17   055_RETS_Standard 1.16        6/26/07 2:59:35 PM EDT Gina Accawi
		      Rename items that are TotalBlah to BlahTotal for consistency
		      throughout.
		 16   055_RETS_Standard 1.15        5/1/07 5:11:34 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
		 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:56 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:54 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:20 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 1:00:16 AM EDT Paul Stusiak
		      change namespace to match the filename
		 10   055_RETS_Standard 1.9         3/21/07 12:58:28 AM EDTPaul Stusiak
		      change filename to match the global element name
		 9    055_RETS_Standard 1.8         3/8/07 7:42:08 PM EST  Paul Stusiak
		      Add standard header, change document formatting, change complex type
		      name to DocumentDetail, add documentation stubs.
		 8    055_RETS_Standard 1.7         3/8/07 6:28:34 PM EST  Gina Accawi
		      Renamed root element to DocumentDetails rather than Documents.
		      Documents.xsd has that root element name covered.
		 7    055_RETS_Standard 1.6         3/8/07 2:55:02 PM EST  Gina Accawi
		      Rename documentID to documentId
		 6    055_RETS_Standard 1.5         2/28/07 3:42:36 AM EST Paul Stusiak
		      add standard header and refactoring RETSCommons changes
		 5    055_RETS_Standard 1.4         2/22/07 6:34:46 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.
		 4    055_RETS_Standard 1.3         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
		 3    055_RETS_Standard 1.2         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
		 2    055_RETS_Standard 1.1         11/28/06 4:41:32 AM ESTPaul Stusiak
		      updated version per meetings
		 1    055_RETS_Standard 1.0         11/21/06 6:03:03 PM ESTJeff Brush
		      updated TransactionList; created DocumentDetail and DocumentList from
		      Documents; per TMS workgroup comments 11/13/06
		$
	-->

	<xs:annotation>
		<xs:documentation>
			TODO
		</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/Documents/2007-08"
					schemaLocation="../../../xsd/Documents/2007-08/Documents.xsd"/>
	<xs:import	namespace="http://rets.org/xsd/DocumentList/2007-08"
					schemaLocation="../../../xsd/DocumentList/2007-08/DocumentList.xsd"/>

	<!-- Types -->
	<xs:complexType	name="AccessRoleType">
		<xs:annotation>
			<xs:documentation>
				TODO
			</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element	name="AccessRole"
							type="xs:string"
							minOccurs="0"
							maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType	name="SignerType">
		<xs:annotation>
			<xs:documentation>
				TODO
			</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element	name="Signer"
							type="commons:ContactablePerson"
							minOccurs="0"
							maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>	
	<xs:complexType	name="VersionType">
		<xs:annotation>
			<xs:documentation>
				TODO
			</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element	name="Description"
							type="dlist:DocumentDescription"
							minOccurs="0"/>
			<xs:element	name="Size"
							type="dlist:DocumentSize"
							minOccurs="0"/>
			<xs:element	name="MimeType"
							type="xs:string"
							minOccurs="0"/>
			<xs:element	name="DeliveryMethod"
							type="dlist:DeliveryMethod"
							minOccurs="0"/>
			<xs:element	name="documentLocation"
							type="commons:URL"
							minOccurs="0"/>
			<xs:element	name="CreatedDateTime"
							type="commons:SecureDateTime"
							minOccurs="0"/>
			<xs:element	name="UploadedRevisedDateTime"
							type="commons:SecureDateTime"
							minOccurs="0"/>
			<xs:element	name="SentDateTime"
							type="commons:SecureDateTime"
							minOccurs="0"/>
			<xs:element	name="ReceivedDateTime"
							type="commons:SecureDateTime"
							minOccurs="0"/>
			<xs:element	name="DueDateTime"
							type="commons:SecureDateTime"
							minOccurs="0"/>
			<xs:element	name="RespondedDateTime"
							type="commons:SecureDateTime"
							minOccurs="0"/>
			<xs:element	name="SignedDateTime"
							type="commons:SecureDateTime"
							minOccurs="0"/>
			<xs:element	name="AccessRoles"
							type="ddetail:AccessRoleType"
							minOccurs="0"/>
			<xs:element	name="Signers"
							type="ddetail:SignerType"
							minOccurs="0"/>
			<xs:element	name="SentBy"
							type="commons:ContactablePerson"
							minOccurs="0"/>
			<xs:element	name="Originator"
							type="commons:ContactablePerson"
							minOccurs="0"/>
			<xs:element	name="UploadedBy"
							type="commons:ContactablePerson"
							minOccurs="0"/>
			<xs:any		namespace="##other"
							minOccurs="0"
							maxOccurs="unbounded"/>
		</xs:sequence>
		<xs:attribute	name="versionNumber"
							type="xs:string"
							use="required"/>
		<xs:attribute	name="status"
							type="xs:string"
							use="required"/>
	</xs:complexType>
	<xs:complexType	name="DocumentDetail">
		<xs:annotation>
			<xs:documentation>
				TODO
			</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element	name="Version"
							type="ddetail:VersionType"
							minOccurs="0"
							maxOccurs="unbounded"/>
		</xs:sequence>
		<xs:attribute	name="documentId"
							type="xs:string"
							use="required"/>
		<xs:attribute	name="title"
							type="xs:string"
							use="required"/>
		<xs:attribute	name="status"
							type="xs:string"
							use="required"/>
		<xs:attribute	name="signable"
							type="xs:boolean"
							use="required"/>
		<xs:attribute	ref="dlist:category"
							use="optional"/>
		<xs:attribute	ref="dlist:categoryOtherDescription"
							use="optional"/>
		<xs:attribute	ref="dlist:standardName"
							use="optional"/>
		<xs:attribute	ref="dlist:standardNameOtherDescription"
							use="optional"/>
	</xs:complexType>

	<!-- Elements -->
	<xs:element name="DocumentDetails">
		<xs:annotation>
			<xs:documentation>
				TODO
			</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element	name="Document"
								type="ddetail:DocumentDetail"
								minOccurs="0"
								maxOccurs="unbounded"/>
			</xs:sequence>
			<xs:attribute	name="documentsTotal"
								type="commons:boundedCardinalInteger"
								use="required"/>
			<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: