Back to SwissRETS

noNamespace
complexType prices

Super Types
{http://www.w3.org/2001/XMLSchema}anyType
|
+--{}prices (restriction)

Documentation
Sell, rent, deposit and auction prices.
Properties
This component is not nillable.

Model
<...
  currency = xs:string>
(rent ; buy ; auction ; deposit ; additionalOffers)
</...>


Nested Element Summary
 additionalOffers
          List of extras. 
 auction
          Starting price for an auction. 
 buy
          One time buy prices. 
 deposit
          Required amount of deposit. 
 rent
          Recurring rental price. 

Attribute Summary
 xs:stringcurrency
          

Attribute Detail

currency

Type:
based on
with :
Use:
optional
Form:
unqualified

Source
<xs:complexType name="prices">
<xs:all>
<xs:element maxOccurs="1" minOccurs="0" name="rent">
<xs:complexType>
<xs:all>
<xs:element maxOccurs="1" minOccurs="0" name="gross" type="xs:positiveInteger"/>
<xs:element maxOccurs="1" minOccurs="0" name="net" type="xs:positiveInteger"/>
<xs:element maxOccurs="1" minOccurs="0" name="extra" type="xs:positiveInteger"/>
</xs:all>
<xs:attribute name="interval" type="priceInterval" use="optional"/>
<xs:attribute name="referring" type="priceReferring" use="optional"/>
</xs:complexType>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" name="buy">
<xs:complexType>
<xs:all>
<xs:element maxOccurs="1" minOccurs="0" name="price" type="xs:positiveInteger"/>
<xs:element maxOccurs="1" minOccurs="0" name="extra" type="xs:positiveInteger"/>
<xs:element maxOccurs="1" minOccurs="0" name="wirPercentage" type="percent">
</xs:element>
</xs:all>
<xs:attribute name="referring" type="priceReferring"/>
</xs:complexType>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" name="auction">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:positiveInteger">
<xs:attribute name="start" type="xs:dateTime"/>
<xs:attribute name="expiration" type="xs:dateTime"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" name="deposit">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:positiveInteger">
<xs:attribute name="type">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="bank-guarantee"/>
<xs:enumeration value="deposit-guarantee"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" name="additionalOffers">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="1" name="offer">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:positiveInteger">
<xs:attribute name="type">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="parking-exterior-space"/>
<xs:enumeration value="parking-carport"/>
<xs:enumeration value="parking-garage"/>
<xs:enumeration value="parking-garage-connected"/>
<xs:enumeration value="parking-garage-box"/>
<xs:enumeration value="parking-garage-underground"/>
<xs:enumeration value="parking-house"/>
<xs:enumeration value="parking-duplex"/>
<xs:enumeration value="parking-double-garage"/>
<xs:enumeration value="room-workroom"/>
<xs:enumeration value="room-storage-basement"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="interval" type="priceInterval" use="optional"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:all>
<xs:attribute name="currency">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="3"/>
<xs:maxLength value="3"/>
<xs:pattern value="[A-Z]{3}"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>

Back to SwissRETS

Submit a bug or a feature.
Created by xsddoc, a sub project of xframe, hosted at http://xframe.sourceforge.net.