<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:record="http://rets.org/xsd/PublicRecords/2007-08"
xmlns:commons="http://rets.org/xsd/RETSCommons/2007-08"
targetNamespace="http://rets.org/xsd/PublicRecords/2007-08"
elementFormDefault="qualified"
attributeFormDefault="unqualified">
<!--
(C)2007 National Association of REALTORS(R). All Rights Reserved
Tab stops
:set ts=3
File History
======================
$Header: PublicRecords.xsd, 40, 4/4/08 5:32:27 AM EDT, Paul Stusiak$
$Log:
40 055_RETS_Standard 1.39 4/4/08 5:32:27 AM EDT Paul Stusiak
Change PropertyCondition to an enum in commons.
39 055_RETS_Standard 1.38 1/24/08 2:30:34 PM EST Paul Stusiak
correct copyright notice language
38 055_RETS_Standard 1.37 11/29/07 1:15:20 PM ESTPaul Stusiak
Multiple change requests from Boston, Calgary meetings
37 055_RETS_Standard 1.36 11/22/07 4:52:47 AM ESTPaul Stusiak
Work in progress check-in
36 055_RETS_Standard 1.35 10/8/07 4:22:15 PM EDT Paul Stusiak
Update version timestamp
35 055_RETS_Standard 1.34 10/2/07 3:19:33 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.
34 055_RETS_Standard 1.33 9/24/07 12:03:45 PM EDTGina Accawi
Remove unused type.
33 055_RETS_Standard 1.32 7/26/07 10:17:38 PM EDTPaul Stusiak
Remove unused complexTypes
32 055_RETS_Standard 1.31 7/26/07 5:15:16 PM EDT Paul Stusiak
Add systemId
31 055_RETS_Standard 1.30 7/26/07 4:08:03 PM EDT Gina Accawi
Add parcel number to tax info from geographic data in commons.
30 055_RETS_Standard 1.29 7/25/07 1:46:30 AM EDT Paul Stusiak
use boundedCardinalInteger to avoid code generation use of BigDecimal;
replace Owner, Seller, Buyer with ContactablePerson; use
YearBuiltType
29 055_RETS_Standard 1.28 7/24/07 4:00:33 PM EDT Gina Accawi
Add keys.
28 055_RETS_Standard 1.27 7/24/07 3:41:16 PM EDT Gina Accawi
Remove local Mortgage type definition.
27 055_RETS_Standard 1.26 7/24/07 2:51:45 PM EDT Gina Accawi
Remove PIN.
26 055_RETS_Standard 1.25 7/9/07 3:37:05 PM EDT Paul Stusiak
Update versionTimestamp to 2007-07-09T19:21:00Z
25 055_RETS_Standard 1.24 7/4/07 9:47:26 PM EDT Paul Stusiak
fix for cr 45 following an unsuccessful check in of change.
24 055_RETS_Standard 1.23 7/3/07 3:59:00 AM EDT Paul Stusiak
Change names of lotacreage and pricepersqft to have units and currency
attributes and change the name to be units neutral.
23 055_RETS_Standard 1.22 7/3/07 3:47:06 AM EDT Paul Stusiak
remove redundant types and update version timestamp
22 055_RETS_Standard 1.21 6/26/07 2:59:42 PM EDT Gina Accawi
Rename items that are TotalBlah to BlahTotal for consistency
throughout.
21 055_RETS_Standard 1.20 6/25/07 6:31:11 PM EDT Gina Accawi
Rename TotalBlah to BlahTotal. Remove reference to custom total count
types.
20 055_RETS_Standard 1.19 5/2/07 4:31:14 PM EDT Paul Stusiak
change complex type names to resolve code generation errors.
19 055_RETS_Standard 1.18 5/1/07 7:16:18 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
18 055_RETS_Standard 1.17 4/3/07 7:59:32 PM EDT Paul Stusiak
use url resolution for include, import to test schema validation
17 055_RETS_Standard 1.16 4/3/07 4:44:10 AM EDT Paul Stusiak
change namespace to remote location (www.ftc2.com) for testing
16 055_RETS_Standard 1.15 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
15 055_RETS_Standard 1.14 3/30/07 9:20:07 PM EDT Paul Stusiak
Update of the versionTimestamp and the namespace (namespace to
200704). Change formating to a standard format
14 055_RETS_Standard 1.13 3/8/07 3:23:53 PM EST Paul Stusiak
Change PublicRecord -> PublicRecords namespace reference. Formatting
change for readability. Added placeholders for documentation
13 055_RETS_Standard 1.12 3/8/07 1:49:34 PM EST Paul Stusiak
Rename to correctly reflect the root element.
12 055_RETS_Standard 1.11 3/8/07 2:01:54 AM EST Paul Stusiak
Clean up the project information for the purposes of document
generation.
11 055_RETS_Standard 1.10 3/6/07 5:02:06 PM EST Paul Stusiak
Added header with tab stop information, clean up, use Primitives fix
element BasementSqFeet -> BasementArea and BuildingSqFeet ->
BuildingArea.
10 055_RETS_Standard 1.9 2/22/07 6:34:54 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.
9 055_RETS_Standard 1.8 2/22/07 3:20:08 PM EST Paul Stusiak
From 2006-12-29 Paula O'Brien - change Water, Sewer elements to
Utilites
From 2007-02-22 Paul Stusiak - minor format change, check in missing
2006-12-29 change
8 055_RETS_Standard 1.7 12/20/06 3:31:09 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
7 055_RETS_Standard 1.6 12/2/06 4:12:45 AM EST Paul Stusiak
various mechanical fixes tho the schema and a re-direct from
retsserver.realtors.org to www.ftc2.com
6 055_RETS_Standard 1.5 11/28/06 4:41:33 AM ESTPaul Stusiak
updated version per meetings
5 055_RETS_Standard 1.4 7/31/06 12:26:03 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
4 055_RETS_Standard 1.3 4/7/06 10:36:40 PM EDT Jeff Brush
renamed version attribute to versionTimestamp for schema versioning
3 055_RETS_Standard 1.2 4/7/06 4:37:41 PM EDT Jeff Brush
modified to have schema versioning as datetime, add year month to
namespaces, minor corrections
2 055_RETS_Standard 1.1 4/4/06 11:05:59 AM EDT Jeff Brush
Updated schemas. All MLS schemas have extensibility points. New
ObjectReferenceList.xsd
1 055_RETS_Standard 1.0 3/6/06 11:13:40 AM EST Paul Stusiak
$
======================
-->
<xs:annotation>
<xs:documentation>
Public Record of a Property.
</xs:documentation>
</xs:annotation>
<xs:import namespace="http://www.w3.org/XML/1998/namespace"
schemaLocation="http://www.w3.org/2001/xml.xsd"/>
<xs:import namespace="http://rets.org/xsd/RETSCommons/2007-08"
schemaLocation="../../../xsd/RETSCommons/2007-08/RETSCommons.xsd"/>
<!-- Types -->
<xs:complexType name="RecordingDate">
<xs:annotation>
<xs:documentation>
TODO
</xs:documentation>
</xs:annotation>
<xs:simpleContent>
<xs:extension base="commons:SecureDateTime"/>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="StateUse">
<xs:annotation>
<xs:documentation>
TODO
</xs:documentation>
</xs:annotation>
<xs:simpleContent>
<xs:extension base="commons:SecureString"/>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="UniversalLandUse">
<xs:annotation>
<xs:documentation>
TODO
</xs:documentation>
</xs:annotation>
<xs:simpleContent>
<xs:extension base="commons:SecureString"/>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="FloodZonePanel">
<xs:annotation>
<xs:documentation>
TODO
</xs:documentation>
</xs:annotation>
<xs:simpleContent>
<xs:extension base="commons:SecureString"/>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="FloodZoneDate">
<xs:annotation>
<xs:documentation>
TODO
</xs:documentation>
</xs:annotation>
<xs:simpleContent>
<xs:extension base="commons:SecureDateTime"/>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="FloodZoneCode">
<xs:annotation>
<xs:documentation>
TODO
</xs:documentation>
</xs:annotation>
<xs:simpleContent>
<xs:extension base="commons:SecureString"/>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="TaxYear">
<xs:annotation>
<xs:documentation>
TODO
</xs:documentation>
</xs:annotation>
<xs:simpleContent>
<xs:extension base="commons:SecureYear"/>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="AssessmentYear">
<xs:annotation>
<xs:documentation>
TODO
</xs:documentation>
</xs:annotation>
<xs:simpleContent>
<xs:extension base="commons:SecureYear"/>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="AnnualTax">
<xs:annotation>
<xs:documentation>
TODO
</xs:documentation>
</xs:annotation>
<xs:simpleContent>
<xs:extension base="commons:SecureMoney"/>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="LandAssessment">
<xs:annotation>
<xs:documentation>
TODO
</xs:documentation>
</xs:annotation>
<xs:simpleContent>
<xs:extension base="commons:SecureMoney"/>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="ImprovedAssessment">
<xs:annotation>
<xs:documentation>
TODO
</xs:documentation>
</xs:annotation>
<xs:simpleContent>
<xs:extension base="commons:SecureMoney"/>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="AssessmentTotal">
<xs:annotation>
<xs:documentation>
TODO
</xs:documentation>
</xs:annotation>
<xs:simpleContent>
<xs:extension base="commons:SecureMoney"/>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="PercentImproved">
<xs:annotation>
<xs:documentation>
TODO
</xs:documentation>
</xs:annotation>
<xs:simpleContent>
<xs:extension base="commons:SecureDecimal"/>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="TaxArea">
<xs:annotation>
<xs:documentation>
TODO
</xs:documentation>
</xs:annotation>
<xs:simpleContent>
<xs:extension base="commons:SecureString"/>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="TaxAppraisalArea" >
<xs:annotation>
<xs:documentation>
TODO
</xs:documentation>
</xs:annotation>
<xs:simpleContent>
<xs:extension base="commons:SecureString"/>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="LotNumber">
<xs:annotation>
<xs:documentation>
TODO
</xs:documentation>
</xs:annotation>
<xs:simpleContent>
<xs:extension base="commons:SecureString"/>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="DeedType">
<xs:annotation>
<xs:documentation>
TODO
</xs:documentation>
</xs:annotation>
<xs:simpleContent>
<xs:extension base="commons:SecureString"/>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="LotArea">
<xs:annotation>
<xs:documentation>
TODO
</xs:documentation>
</xs:annotation>
<xs:simpleContent>
<xs:extension base="commons:SecureArea"/>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="Sales">
<xs:sequence>
<xs:element name="RecordingDate"
type="record:RecordingDate"
minOccurs="0"/>
<xs:element name="Price"
type="commons:SecureMoney"
minOccurs="0"/>
<xs:element name="Buyers"
type="record:Buyers"
minOccurs="0"/>
<xs:element name="Sellers"
type="record:Sellers"
minOccurs="0"/>
<xs:element name="DocumentType"
type="commons:DocumentType"
minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="History">
<xs:sequence>
<xs:element name="Sales"
type="record:Sales"
minOccurs="0"
maxOccurs="unbounded"/>
<xs:element name="Mortgage"
type="commons:MortgageType"
minOccurs="0"
maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="FloodZone">
<xs:sequence>
<xs:element name="Panel"
type="record:FloodZonePanel"
minOccurs="0"/>
<xs:element name="PanelDate"
type="record:FloodZoneDate"
minOccurs="0"/>
<xs:element name="Code"
type="record:FloodZoneCode"
minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="LastMarketSale">
<xs:sequence>
<xs:element name="RecordingDate"
type="record:RecordingDate"
minOccurs="0"/>
<xs:element name="Price"
type="commons:SecureMoney"
minOccurs="0"/>
<xs:element name="DeedType"
type="record:DeedType"
minOccurs="0"/>
<xs:element name="Owners"
type="record:ParcelOwners"
minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ParcelLocation">
<xs:sequence>
<xs:element name="Address"
type="commons:Address"
minOccurs="0"/>
<xs:element name="MailingAddress"
type="commons:MailingAddress"
minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ParcelOwner">
<xs:sequence>
<xs:element name="OwnersName"
type="commons:ContactablePerson"
minOccurs="0"/>
<xs:element name="OwnershipType"
type="commons:OwnershipType"
minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ParcelOwners">
<xs:sequence>
<xs:element name="Owner"
type="record:ParcelOwner"
minOccurs="0"
maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="OwnerInformation">
<xs:sequence>
<xs:element name="Owners"
type="record:ParcelOwners"
minOccurs="0"/>
<xs:element name="TaxAddress"
type="commons:Address"
minOccurs="0"/>
<xs:element name="AnnualTax"
type="record:AnnualTax"
minOccurs="0"/>
<xs:element name="StateUse"
type="record:StateUse"
minOccurs="0"/>
<xs:element name="UniversalLandUse"
type="record:UniversalLandUse"
minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="Sellers">
<xs:sequence>
<xs:element name="Seller"
type="commons:ContactablePerson"
minOccurs="0"
maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="Buyers">
<xs:sequence>
<xs:element name="Buyer"
type="commons:ContactablePerson"
minOccurs="0"
maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="Location">
<xs:sequence>
<xs:element name="ParcelLocation"
type="record:ParcelLocation"
minOccurs="0"/>
<xs:element name="SchoolDistrict"
type="commons:SchoolDistrict"
minOccurs="0"/>
<xs:element name="Subdivision"
type="commons:Subdivision"
minOccurs="0"/>
<xs:element name="CensusTract"
type="commons:CensusTract"
minOccurs="0"/>
<xs:element name="FloodZone"
type="record:FloodZone"
minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="TaxDataType">
<xs:sequence>
<xs:element name="ParcelNumber"
type="commons:ParcelNumber"
minOccurs="0"
maxOccurs="unbounded"/>
<xs:element name="TaxArea"
type="record:TaxArea"
minOccurs="0"/>
<xs:element name="TaxAppraisalArea"
type="record:TaxAppraisalArea"
minOccurs="0"/>
<xs:element name="LegalDescription"
type="commons:LegalDescription"
minOccurs="0"/>
<xs:element name="LotNumber"
type="record:LotNumber"
minOccurs="0"/>
<xs:element name="TaxYear"
type="record:TaxYear"
minOccurs="0"/>
<xs:element name="AnnualTax"
type="record:AnnualTax"
minOccurs="0"/>
<xs:element name="AssessmentYear"
type="record:AssessmentYear"
minOccurs="0"/>
<xs:element name="LandAssessmentAmount"
type="record:LandAssessment"
minOccurs="0"/>
<xs:element name="ImprovedAssessmentAmount"
type="record:ImprovedAssessment"
minOccurs="0"/>
<xs:element name="AssessmentAmountTotal"
type="record:AssessmentTotal"
minOccurs="0"/>
<xs:element name="PercentImproved"
type="record:PercentImproved"
minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="Feature">
<xs:sequence>
<xs:element name="Description"
type="xs:string"
minOccurs="0"/>
<xs:element name="Number"
type="xs:decimal"
minOccurs="0"/>
<xs:element name="Width"
minOccurs="0">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="commons:Measurement"/>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="Depth" minOccurs="0">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="commons:Measurement"/>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="YearBuilt"
type="commons:YearBuiltType"
minOccurs="0"/>
<xs:element name="Value"
type="xs:decimal"
minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="Features">
<xs:sequence>
<xs:element name="Feature"
type="record:Feature"
minOccurs="0"
maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="Characteristics">
<xs:sequence>
<xs:element name="LotArea"
type="record:LotArea"
minOccurs="0"/>
<xs:element name="BasementType"
type="commons:BasementType"
minOccurs="0"/>
<xs:element name="BasementArea"
type="commons:Area"
minOccurs="0"/>
<xs:element name="BuildingArea"
type="commons:Area"
minOccurs="0"/>
<xs:element name="BuildingsTotal"
type="commons:boundedCardinalInteger"
minOccurs="0"/>
<xs:element name="Style"
type="commons:Style"
minOccurs="0"/>
<xs:element name="Stories"
type="commons:Stories"
minOccurs="0"/>
<xs:element name="YearBuilt"
type="commons:YearBuiltType"
minOccurs="0"/>
<xs:element name="Condition"
type="commons:PropertyConditionEnum"
minOccurs="0"/>
<xs:element name="RoomsTotal"
type="commons:boundedCardinalInteger"
minOccurs="0"/>
<xs:element name="BedsTotal"
type="commons:boundedCardinalInteger"
minOccurs="0"/>
<xs:element name="BathsTotal"
type="commons:boundedCardinalInteger"
minOccurs="0"/>
<xs:element name="Parking"
type="commons:ParkingType"
minOccurs="0"/>
<xs:element name="PatioStyleType"
type="commons:PatioStyleType"
minOccurs="0"/>
<xs:element name="HVAC"
type="commons:HVACType"
minOccurs="0"/>
<xs:element name="FireplaceTotal"
type="commons:boundedCardinalInteger"
minOccurs="0"
maxOccurs="1"/>
<xs:element name="Utilities"
type="commons:UtilitiesType"
minOccurs="0"/>
<xs:element name="Roof"
type="commons:RoofType"
minOccurs="0"/>
<xs:element name="Exterior"
type="commons:Exterior"
minOccurs="0"/>
<xs:element name="Topography"
type="commons:TopographyEnum"
minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="PublicRecord">
<xs:sequence>
<xs:element name="PublicRecordKey"
type="commons:resource-key"
minOccurs="1"
maxOccurs="1">
<xs:annotation>
<xs:documentation>
This the is the keyfield for the public record.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ModificationTimestamp"
type="commons:ModificationTimestamp"
minOccurs="1"
maxOccurs="1">
</xs:element>
<xs:element name="OwnerInformation"
type="record:OwnerInformation"
minOccurs="0"/>
<xs:element name="Location"
type="record:Location"
minOccurs="0"/>
<xs:element name="TaxData"
type="record:TaxDataType"
minOccurs="0"/>
<xs:element name="Characteristics"
type="record:Characteristics"
minOccurs="0"/>
<xs:element name="LastMarketSale"
type="record:LastMarketSale"
minOccurs="0"/>
<xs:element name="History"
type="record:History"
minOccurs="0"/>
<xs:element name="Features"
type="record:Features"
minOccurs="0"/>
<xs:any namespace="##other"
minOccurs="0"
maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute ref="xml:lang"
use="optional"/>
<xs:attribute name="systemId" type="commons:system-id" use="required">
<xs:annotation>
<xs:documentation>
An identifier of the system that the listing
'belongs' to when the collection involves more
than one system.
</xs:documentation>
<xs:appinfo>
<retsid>Maricopa County Recorder's Office</retsid>
</xs:appinfo>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<!-- Elements -->
<xs:element name="PublicRecords">
<xs:complexType>
<xs:sequence>
<xs:element name="PublicRecordsKey"
type="commons:resource-key"
minOccurs="1"
maxOccurs="1">
<xs:annotation>
<xs:documentation>
This the is the keyfield for the collection of public records.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PublicRecord"
type="record:PublicRecord"
minOccurs="0"
maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="versionTimestamp"
type="xs:dateTime"
use="required"
fixed="2007-11-29T16:00:00Z"/>
<xs:attribute name="systemId" type="commons:system-id" use="optional"/>
</xs:complexType>
</xs:element>
</xs:schema>
|