Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions examples/full.xml
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,10 @@
<buy referring="all">
<price>850000</price>
<extra>25000</extra>
<priceRange>
<min>750000</min>
<max>950000</max>
</priceRange>
<wirPercentage>5</wirPercentage>
</buy>
<auction start="2012-12-13T12:12:12" expiration="2012-12-13T12:12:13">745</auction>
Expand Down
11 changes: 11 additions & 0 deletions schema/schema.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -713,6 +713,17 @@
<xs:all>
<xs:element minOccurs="1" maxOccurs="1" name="price" type="xs:positiveInteger" />
<xs:element minOccurs="0" maxOccurs="1" name="extra" type="xs:positiveInteger" />
<xs:element name="priceRange" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Optional price range to describe a more flexible pricing model for purchase</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="min" type="xs:positiveInteger" />
<xs:element minOccurs="1" maxOccurs="1" name="max" type="xs:positiveInteger" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="wirPercentage" type="percent" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>The percententage of the gross price which has to paid in WIR Franc electronic currency.</xs:documentation>
Expand Down