Rent temporary XML

This page documents example XML feeds for publishing listings to Pararius and Huurwoningen. The XML is also available for Download.

To describe a house with temporary rent you add to the <rent> tag:

 <duration>
   <maximum>12</maximum>
   <temporary>1</temporary>
 </duration>

The <maximum> tag describes the maximum duration of the contract in months. The <temporary> tag describes that the rent is temporary. You should not add the <minimum> tag.

When you want to describe a house with a minimum duration you add:

 <duration>
   <minimum>12</minimum>
   <temporary>0</temporary>
 </duration>

Complete example

  <?xml version="1.0" encoding="UTF-8" ?>
<listings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://feed.casco.io/v2 casco-v2.xsd" xmlns="https://feed.casco.io/v2">
  <listing id="a3c30174-95df-436c-bd19-dc8a8d7328f7">
    <details>
      <original-url>https://website-of-agent.nl/listings/a3c30174-95df-436c-bd19-dc8a8d7328f7</original-url>
      <descriptions>
        <nl>
          Nederlandse beschrijving, mag niet leeg zijn.
        </nl>
      </descriptions>
      <available-since>2021-01-01</available-since>
      <house-number-visibility>1</house-number-visibility>
      <viewing-full>0</viewing-full>
    </details>
    <address>
      <country>NL</country>
      <postal-code>4071DD</postal-code>
      <house-number>12</house-number>
      <house-number-suffix>a</house-number-suffix>
      <street>Bospad</street>
      <city>Roosendaal</city>
    </address>
    <property>
      <house>
        <kind>single family</kind>
        <type>corner</type>
        <construction>
          <type>newly</type>
          <year>2005</year>
        </construction>
        <layout>
          <number-of-rooms>5</number-of-rooms>
        </layout>
        <dimensions>
          <surface-area>200</surface-area>
        </dimensions>
      </house>
    </property>

    <rent>
      <status>to rent</status>
      <price>800</price>
      <price-type>rent price</price-type>
      <price-period>monthly</price-period>
      <specifications>
        <specification>incl internet</specification>
        <specification>incl service costs</specification>
        <specification>incl gas</specification>
        <specification>incl electricity</specification>
        <specification>incl water</specification>
      </specifications>
      <duration>
        <maximum>12</maximum>
        <temporary>1</temporary>
      </duration>
    </rent>

    <media-set>
      <media>
        <category>photo</category>
        <main-media>1</main-media>
        <position>1</position>
        <url>https://agent-website.nl/images/1.jpg</url>
        <title>Vooraanzicht</title>
        <modified-on>2020-12-20T12:45:29</modified-on>
      </media>

      <media>
        <category>photo</category>
        <main-media>0</main-media>
        <position>2</position>
        <url>https://agent-website.nl/images/2.jpg</url>
        <title>Woonkamer</title>
        <modified-on>2020-12-20T12:45:29</modified-on>
      </media>
    </media-set>
  </listing>
</listings>