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
languagexml
themeMidnight
<offer ...>
    ...
    <realty>
        ...
    </realty>
</offer>



Price

The "price" element must be inside the "offer" element and have a the value per unit area (1m², 1ft², etc)of the area cost per 1m².

Code Block
languagexml
themeMidnight
<offer ...>
    ...
    <price>10.52</price>
</offer>


Space

Optional parameter <space>. Placed within the <offer> subsection, inside the <realty> section.

Consider the following table of possible values:

Value

The "space" element must be inside the "realty" element and includes a minimum, maximum and final value of the object's area:

ElementMetric UnitsDescription
minSquare MeterMinimum size
maxSquare MeterMaximum size
finalSquare MeterExact size

title
Info
Warning
NOTE

Metric units are always square metermeters, even if the object is a 30 hectares-wide ground area.

Consider the following example of use:


 ...
Code Block
languagexml
titlethemeXML example
Midnight
<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>
...

Object Floor 

Optional parameter <floor>. Placed within the <offer> subsection, inside the <realty> section.

Consider the following table of available subparameters:

ParameterDescription<current>

Floor 

The "floor" element must be inside the "realty" element and includes the current floor of the object and the maximum floors:

ElementDescription
currentObject floor
<total>
totalTotal number of floors in the building

Consider the following example of use:


 ...
Code Block
languagexml
titlethemeXML example
Midnight
<offer ...>
    ...
	<realty>
	    <floor>
			<!-- Object floor -->
			<current>3</current>
			<!-- Total number of floor in the building -->
			<total>12</total>
		</floor>
	</realty>
</offer>
...


Transaction

type 

Mandatory parameter <action>. Placed within the <offer> subsection, inside the <realty> section.

Consider the following table of possible

Type 

The "action" element must be inside the "realty" element and can have one of the following values:

ValueDescription
rentFor lease
sale

For sale


Infowarning

If the same realty object is both on sale and lease leases simultaneously, XML-file  the product feed should contain two separate objects, each having its own unique ID , and each specifying in the <offer> section the in a separate "offer" element with the required type of action (sale, rent).

Consider the following example of use:


 ...
Code Block
languagexml
titlethemeXML example
Midnight
<offer ...>
    ...
	<realty>
	    ...
		<action>sale</action>
	</realty>
</offer>
...

Type of Property

Mandatory parameter <type>. Placed within the <offer> subsection, inside the <realty> section.

Consider the following table of possible values:

ValueDescription
flatFlat
office

Office

warehouseWarehouse
landGround area


Consider the following example of use:

Code Block
languagexml
titleXML example
 ...
<offer ...>
    ...
	<realty>
	    <type>flat</type>
	</realty>
</offer>
...


Table of Contents
classpersonaclick-fixed-position