Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Additional Properties
Additional niches properties of products allow studying user preferences and calculating recommendations more accurately. This section describes allowing filling the product feed with niche features of real estate.
Realty
The "realty" element must be inside the "offer" element.
Code Block | ||||
---|---|---|---|---|
| ||||
<offer ...> ... <realty> ... </realty> </offer> |
Price
The "price" element must be inside the "offer" element and have the value of the area cost per 1m².
Code Block | ||||
---|---|---|---|---|
| ||||
<offer ...> ... <price>10.52</price> </offer> |
Space
The "space" element must be inside the "realty" element and includes a minimum, maximum and final value of the object's area:
Element | Metric Units | Description |
---|---|---|
min | Square Meter | Minimum size |
max | Square Meter | Maximum size |
final | Square Meter | Exact size |
Warning |
---|
Metric units are always square meters, even if the object is a 30 hectares-wide ground area. |
Code Block | ||||
---|---|---|---|---|
| ||||
<offer ...> ... <realty> <space> <!-- Here can be set minimum and maximum object group size or precise size of a particular object --> <min>30</min> <max>100</max> <final>37</final> </space> </realty> </offer> |
Floor
The "floor" element must be inside the "realty" element and includes the current floor of the object and the maximum floors:
Element | Description |
---|---|
current | Object floor |
total | Total number of floors in the building |
Code Block | ||||
---|---|---|---|---|
| ||||
<offer ...> ... <realty> <floor> <current>3</current> <total>12</total> </floor> </realty> </offer> |
Transaction Type
The "action" element must be inside the "realty" element and can have one of the following values:
Value | Description |
---|---|
rent | For lease |
sale | For sale |
Warning |
---|
If the same realty object is both on sale and leases simultaneously, the product feed should contain two separate objects, each having its own unique ID in a separate "offer" element with the required type of action (sale, rent). |
Code Block | ||||
---|---|---|---|---|
| ||||
<offer ...> ... <realty> ... <action>sale</action> </realty> </offer> |
Property Type
of PropertyMandatory parameter <type>
. Placed within the <offer>
subsection, inside the <realty>
section.
The "type" element must be inside the "realty" element and can have one of the following values:
Value | Description |
---|---|
flat | Flat |
office | Office |
warehouse | Warehouse |
land | Ground area |
Consider the following example of use:
Code Block | ||||||
---|---|---|---|---|---|---|
| ...
| |||||
<offer ...>
...
<realty>
<type>flat</type>
</realty>
</offer>
... |
Table of Contents | ||
---|---|---|
|