<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:svc="http://rets.org/xsd/ServiceOrders/2007-08"
xmlns:commons="http://rets.org/xsd/RETSCommons/2007-08"
xmlns:con="http://rets.org/xsd/Contacts/2007-08"
targetNamespace="http://rets.org/xsd/ServiceOrders/2007-08"
elementFormDefault="qualified"
attributeFormDefault="unqualified">
<!--
(C)2007 National Association of REALTORS(R). All Rights Reserved
Tab stops
:set ts=3
File History
======================
$Header: ServiceOrders.xsd, 23, 3/27/08 11:08:58 AM EDT, Gina Accawi$
$Log:
23 055_RETS_Standard 1.22 3/27/08 11:08:58 AM EDTGina Accawi
Make ServiceProvider unbounded.
22 055_RETS_Standard 1.21 1/24/08 2:30:35 PM EST Paul Stusiak
correct copyright notice language
21 055_RETS_Standard 1.20 10/8/07 4:22:16 PM EDT Paul Stusiak
Update version timestamp
20 055_RETS_Standard 1.19 10/2/07 3:19:34 PM EDT Gina Accawi
Create reusable type for systemId. Reference it where used. Ensure
there is a systemId on the primary single and optional on plural
version of resource payloads.
19 055_RETS_Standard 1.18 7/9/07 3:37:03 PM EDT Paul Stusiak
Update versionTimestamp to 2007-07-09T19:21:00Z
18 055_RETS_Standard 1.17 7/6/07 5:30:06 PM EDT Gina Accawi
Rename ids
17 055_RETS_Standard 1.16 5/2/07 4:35:21 PM EDT Paul Stusiak
change namespace reference, remove unneeded complex types (date)
already defined in RETSCommons, use RETSCommons date time type, update
version time stamp
16 055_RETS_Standard 1.15 4/3/07 7:59:33 PM EDT Paul Stusiak
use url resolution for include, import to test schema validation
15 055_RETS_Standard 1.14 4/3/07 4:43:03 AM EDT Paul Stusiak
change namespace to remote location (www.ftc2.com) for testing
14 055_RETS_Standard 1.13 4/2/07 2:26:58 PM EDT Paul Stusiak
change namespace to match responding server and to use the URI
versioning suggested by both HP and XFront
13 055_RETS_Standard 1.12 3/30/07 9:19:06 PM EDT Paul Stusiak
Update of the versionTimestamp and the namespace (namespace to
200704). Change formating to a standard format
12 055_RETS_Standard 1.11 3/21/07 12:13:25 AM EDTPaul Stusiak
Change namespace to agree with the global element name.
11 055_RETS_Standard 1.10 3/21/07 12:08:54 AM EDTPaul Stusiak
Change name to match global element name
10 055_RETS_Standard 1.9 3/8/07 2:03:50 AM EST Paul Stusiak
Clean up the project information for the purposes of document
generation.
9 055_RETS_Standard 1.8 2/28/07 4:10:16 AM EST Paul Stusiak
add standard header and refactoring RETSCommons changes
8 055_RETS_Standard 1.7 2/22/07 6:34:55 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.
7 055_RETS_Standard 1.6 12/20/06 3:31:13 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
6 055_RETS_Standard 1.5 12/2/06 4:12:46 AM EST Paul Stusiak
various mechanical fixes tho the schema and a re-direct from
retsserver.realtors.org to www.ftc2.com
5 055_RETS_Standard 1.4 11/28/06 4:41:33 AM ESTPaul Stusiak
updated version per meetings
4 055_RETS_Standard 1.3 9/20/06 3:43:30 PM EDT Jeff Brush
chgd schemaLocation to point to http://retsserver.rets.org:8080/xsd/
3 055_RETS_Standard 1.2 4/7/06 10:36:41 PM EDT Jeff Brush
renamed version attribute to versionTimestamp for schema versioning
2 055_RETS_Standard 1.1 4/7/06 4:37:44 PM EDT Jeff Brush
modified to have schema versioning as datetime, add year month to
namespaces, minor corrections
1 055_RETS_Standard 1.0 4/4/06 11:06:09 AM EDT Jeff Brush
Updated schemas. All MLS schemas have extensibility points. New
ObjectReferenceList.xsd
$
======================
-->
<xs:annotation>
<xs:documentation>
Elements related to Transaction Services Ordering.
</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/Contacts/2007-08"
schemaLocation="../../../xsd/Contacts/2007-08/Contacts.xsd"/>
<!-- Attributes -->
<xs:attribute name="status">
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="Requested"/>
<xs:enumeration value="Accepted"/>
<xs:enumeration value="Completed"/>
<xs:enumeration value="Cancelled"/>
<xs:enumeration value="Rejected"/>
<xs:enumeration value="Other"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<!-- Types -->
<xs:complexType name="Question">
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute ref="commons:isgSecurityClass"
use="required"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="Answer">
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute ref="commons:isgSecurityClass"
use="required"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="Comments">
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute ref="commons:isgSecurityClass"
use="required"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="Description">
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute ref="commons:isgSecurityClass"
use="required"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="Host">
<xs:attribute name="name"
type="xs:string"
use="optional"/>
<xs:attribute name="systemId" type="commons:system-id" use="optional"/>
<xs:attribute ref="commons:isgSecurityClass"
use="required"/>
</xs:complexType>
<xs:complexType name="Vendor">
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="orderId"
type="xs:string"
use="optional"/>
<xs:attribute name="status"
type="xs:string"
use="optional"/>
<xs:attribute ref="commons:isgSecurityClass"
use="required"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="Note">
<xs:sequence>
<xs:element name="SentFrom"
type="commons:ContactablePerson"/>
<xs:element name="SentTo"
type="commons:ContactablePerson"/>
<xs:element name="Message"
type="con:Message"/>
</xs:sequence>
<xs:attribute name="noteId"
type="xs:string"
use="required"/>
<xs:attribute name="status"
type="xs:string"
use="required"/>
<xs:attribute ref="commons:isgSecurityClass"
use="required"/>
</xs:complexType>
<xs:complexType name="Notes">
<xs:sequence>
<xs:element name="Note"
type="svc:Note"
minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ProviderOfficeName">
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="providerOfficeId"
type="xs:string"
use="optional"/>
<xs:attribute name="name"
type="xs:string"
use="optional"/>
<xs:attribute ref="commons:isgSecurityClass"
use="required"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="ServiceProvider">
<xs:sequence>
<xs:element name="Provider"
type="commons:ContactablePerson"/>
<xs:element name="OfficeName"
type="svc:ProviderOfficeName"/>
</xs:sequence>
<xs:attribute name="systemId" type="commons:system-id" use="required"/>
</xs:complexType>
<xs:complexType name="RequestedBy">
<xs:sequence>
<xs:element name="Person"
type="commons:ContactablePerson"/>
</xs:sequence>
<xs:attribute name="systemId" type="commons:system-id" use="optional"/>
</xs:complexType>
<xs:complexType name="ServiceProviders">
<xs:sequence>
<xs:element name="ServiceProvider"
type="svc:ServiceProvider"
minOccurs="0"
maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ServiceOrder">
<xs:sequence>
<xs:element name="Description"
type="svc:Description"
minOccurs="0"/>
<xs:element name="Comments"
type="svc:Comments"
minOccurs="0"/>
<xs:element name="RequestedDateTime"
type="commons:SecureDateTime"
minOccurs="0"/>
<xs:element name="AcceptanceDueDateTime"
type="commons:SecureDateTime"
minOccurs="0"/>
<xs:element name="CompletionDueDateTime"
type="commons:SecureDateTime"
minOccurs="0"/>
<xs:element name="LastUpdatedDateTime"
type="commons:SecureDateTime"
minOccurs="0"/>
<xs:element name="RequestedBy"
type="svc:RequestedBy"
minOccurs="0"/>
<xs:element name="ServiceProviders"
type="svc:ServiceProviders"
minOccurs="0"/>
<xs:element name="Vendor"
type="svc:Vendor"
minOccurs="0"/>
<xs:element name="Question"
type="svc:Question"
minOccurs="0"/>
<xs:element name="Answer"
type="svc:Question"
minOccurs="0"/>
<xs:element name="NotesToVendor"
type="svc:Notes"
minOccurs="0"/>
<xs:element name="NotesToOrderer"
type="svc:Notes"
minOccurs="0"/>
<xs:any namespace="##other"
minOccurs="0"
maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="status"
type="xs:NMTOKEN"
use="required"/>
<xs:attribute name="statusOtherDescription"
type="xs:NMTOKEN"/>
<xs:attribute name="systemId" type="commons:system-id" use="required"/>
<xs:attribute name="type"
type="xs:string"
use="required"/>
</xs:complexType>
<xs:complexType name="ServiceOrders">
<xs:sequence>
<xs:element name="Host"
type="svc:Description"
minOccurs="0"/>
<xs:element name="ServiceOrder"
type="svc:ServiceOrder"
minOccurs="0"
maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="transactionName"
type="xs:string"
use="required"/>
<xs:attribute name="transactionStatus"
type="xs:string"
use="required"/>
<xs:attribute name="transactionSystemId"
type="xs:string"
use="required"/>
<xs:attribute name="versionTimestamp"
type="xs:dateTime"
use="required"
fixed="2007-07-09T19:21:00Z"/>
</xs:complexType>
<!-- Elements -->
<xs:element name="ServiceOrders"
type="svc:ServiceOrders"/>
</xs:schema>
|