<?xml version="1.0" encoding="UTF-8"?>
<!--
  RoomsOnline Sitemap
  Last updated: 2026-03-20
  
  NOTE: For production, property and journal entries should be dynamically
  generated from the database via an edge function that queries:
  - properties table (where is_active = true AND permanently_deleted_at IS NULL)
  - journals table (where status = 'published')
-->
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
        xmlns:xhtml="http://www.w3.org/1999/xhtml"
        xmlns:image="http://www.google.com/schemas/sitemap-image/1.1">
  
  <!-- ============================================ -->
  <!-- STATIC PAGES — book.sleepinafrica.roomsonline.co.za -->
  <!-- ============================================ -->
  
  <url>
    <loc>https://book.sleepinafrica.roomsonline.co.za/</loc>
    <lastmod>2026-03-20</lastmod>
    <changefreq>daily</changefreq>
    <priority>1.0</priority>
  </url>
  
  <url>
    <loc>https://book.sleepinafrica.roomsonline.co.za/about</loc>
    <lastmod>2026-03-20</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.7</priority>
  </url>
  
  <url>
    <loc>https://book.sleepinafrica.roomsonline.co.za/contact</loc>
    <lastmod>2026-03-20</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.6</priority>
  </url>
  
  <url>
    <loc>https://book.sleepinafrica.roomsonline.co.za/journals</loc>
    <lastmod>2026-03-20</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.8</priority>
  </url>
  
  <url>
    <loc>https://book.sleepinafrica.roomsonline.co.za/how-our-booking-engine-works</loc>
    <lastmod>2026-03-20</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>

  <url>
    <loc>https://book.sleepinafrica.roomsonline.co.za/property_listing</loc>
    <lastmod>2026-03-20</lastmod>
    <changefreq>daily</changefreq>
    <priority>0.9</priority>
  </url>
  
  <url>
    <loc>https://book.sleepinafrica.roomsonline.co.za/privacy-policy</loc>
    <lastmod>2026-03-20</lastmod>
    <changefreq>yearly</changefreq>
    <priority>0.3</priority>
  </url>
  
  <url>
    <loc>https://book.sleepinafrica.roomsonline.co.za/terms-of-service</loc>
    <lastmod>2026-03-20</lastmod>
    <changefreq>yearly</changefreq>
    <priority>0.3</priority>
  </url>

  <url>
    <loc>https://book.sleepinafrica.roomsonline.co.za/llms.txt</loc>
    <lastmod>2026-03-20</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.2</priority>
  </url>
  
  <!-- ============================================ -->
  <!-- CONNECT PORTAL — connect.roomsonline.co.za -->
  <!-- ============================================ -->

  <url>
    <loc>https://connect.roomsonline.co.za/</loc>
    <lastmod>2026-03-20</lastmod>
    <changefreq>weekly</changefreq>
    <priority>1.0</priority>
  </url>

  <url>
    <loc>https://connect.roomsonline.co.za/features</loc>
    <lastmod>2026-03-20</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>

  <url>
    <loc>https://connect.roomsonline.co.za/integrations</loc>
    <lastmod>2026-03-20</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.7</priority>
  </url>

  <url>
    <loc>https://connect.roomsonline.co.za/pricing</loc>
    <lastmod>2026-03-20</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>

  <url>
    <loc>https://connect.roomsonline.co.za/docs</loc>
    <lastmod>2026-03-20</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.9</priority>
  </url>

  <url>
    <loc>https://connect.roomsonline.co.za/docs/quickstart</loc>
    <lastmod>2026-03-20</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.7</priority>
  </url>

  <url>
    <loc>https://connect.roomsonline.co.za/docs/wordpress</loc>
    <lastmod>2026-03-20</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.6</priority>
  </url>

  <url>
    <loc>https://connect.roomsonline.co.za/faq</loc>
    <lastmod>2026-03-20</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.6</priority>
  </url>

  <url>
    <loc>https://connect.roomsonline.co.za/about</loc>
    <lastmod>2026-03-20</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.5</priority>
  </url>

  <url>
    <loc>https://connect.roomsonline.co.za/get-started</loc>
    <lastmod>2026-03-20</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>

  <url>
    <loc>https://connect.roomsonline.co.za/privacy-policy</loc>
    <lastmod>2026-03-20</lastmod>
    <changefreq>yearly</changefreq>
    <priority>0.3</priority>
  </url>

  <url>
    <loc>https://connect.roomsonline.co.za/terms-of-service</loc>
    <lastmod>2026-03-20</lastmod>
    <changefreq>yearly</changefreq>
    <priority>0.3</priority>
  </url>

  <!-- ============================================ -->
  <!-- PROPERTY PAGES (Dynamic) -->
  <!-- Query: SELECT slug, updated_at FROM properties 
       WHERE is_active = true AND permanently_deleted_at IS NULL -->
  <!-- ============================================ -->
  
  <!--
  <url>
    <loc>https://book.sleepinafrica.roomsonline.co.za/property/{slug}</loc>
    <lastmod>{updated_at}</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.8</priority>
    <image:image>
      <image:loc>{first_image_url}</image:loc>
      <image:title>{property_name}</image:title>
    </image:image>
  </url>
  -->
  
  <!-- ============================================ -->
  <!-- JOURNAL PAGES (Dynamic) -->
  <!-- Query: SELECT slug, updated_at FROM journals 
       WHERE status = 'published' -->
  <!-- ============================================ -->
  
  <!--
  <url>
    <loc>https://book.sleepinafrica.roomsonline.co.za/journals/{slug}</loc>
    <lastmod>{updated_at}</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.7</priority>
  </url>
  -->

</urlset>
