Пример описания участка

Вернуться к описанию XML-формата

 <?xml version="1.0" encoding="UTF-8"?>

<root>

    <offers>

        <offer>

            <id>123456</id>

            <part>загородная</part>

            <object-type>загородный участок</object-type>

            <description><![CDATA[Продается участок 10 сот в деревне Иваново, 20 километров от МКАД по Каширскому шоссе. Все коммуникации подведены к границе участка. Участок под ИЖС]]></description>

            <url><![CDATA[http://example.com/myplot.html]]></url>

            <created-at>2014-11-03 05:37:57</created-at>

            <updated-at>2014-11-01 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>750000</value>

                    <unit>total</unit>

                    <currency>RUR</currency>

                    <period>total</period>

                </price>

            </bargain>

            <seller>

                <phone>1 (234) 567-89-10</phone>

                <extension></extension>

                <name><![CDATA[Петр Петров]]></name>

                <email><![CDATA[petrov@example.com]]></email>

            </seller>

            <location>

                <country>Россия</country>

                <state>Московская</state>

                <town>Иваново</town>

                <district>Каширское</district>

                <latitude>55.798413</latitude>

                <longitude>37.530566</longitude>

                <highway>

                    <name>Каширское</name>

                    <distance>10</distance>

                </highway>

            </location>

            <area>

                <plot>10</plot>

            </area>

            <house-info/>

            <object-info/>

            <plot-info>

                <electricity>да</electricity>

                <water-supply>да</water-supply>

                <gas>да</gas>

                <plot-status>ижс</plot-status>

            </plot-info>

        </offer>

    </offers>

</root>

Вернуться к описанию XML-формата