Пример описания коммерческого объекта
Вернуться к описанию XML-формата
<?xml version="1.0" encoding="UTF-8"?>
<root>
<offers>
<offer>
<id>123456</id>
<part>коммерческая</part>
<object-type>офис</object-type>
<description><![CDATA[Аренда офиса в здании класса А+, в центре Москвы. Вся инфраструктура рядом, метро в 5 минутах ходьбы]]></description>
<url><![CDATA[http://example.com/myoffice.html]]></url>
<created-at>2014-09-18 07:54:16</created-at>
<updated-at>2014-09-22 00:00:00</updated-at>
<images>
<image primary="1"><![CDATA[http://example.com/img/foto1.jpg]]></image>
<image primary="0"><![CDATA[http://example.com/img/foto2.jpg]]></image>
<image primary="0"><![CDATA[http://example.com/img/foto4.jpg]]></image>
<image primary="0"><![CDATA[http://example.com/img/foto5.jpg]]></image>
</images>
<bargain>
<type>аренда</type>
<price>
<value>8000</value>
<unit>m2</unit>
<currency>RUR</currency>
<period>year</period>
</price>
</bargain>
<seller>
<phone>1 (234) 567-89-10</phone>
<extension></extension>
<name><![CDATA[Иван Иванов]]></name>
<email><![CDATA[ivan@example.com]]></email>
</seller>
<location>
<country>Россия</country>
<state>Московская</state>
<town>Москва</town>
<town-region>Аэропорт</town-region>
<district>Северный</district>
<street>Викторенко</street>
<house>
<number>7</number>
</house>
<latitude>55.798413</latitude>
<longitude>37.530566</longitude>
<subway>
<name>Аэропорт</name>
<distance>5</distance>
<distance-type>минут пешком</distance-type>
</subway>
</location>
<floor>
<total>20</total>
<current>16</current>
</floor>
<area>
<total>50</total>
</area>
<house-info>
<building-class>A+</building-class>
<parking>да</parking>
<hatched-area>да</hatched-area>
<security>да</security>
</house-info>
<object-info/>
<plot-info/>
</offer>
</offers>
</root>