<?xml version="1.0" encoding="UTF-8"?>
<!-- Sitemap *index*. The static marketing-pages sitemap and the dynamic
     listings sitemap (Supabase edge function) live behind this. -->
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">

  <sitemap>
    <loc>https://tapcre.com/sitemap-static.xml</loc>
  </sitemap>

  <sitemap>
    <!-- Dynamic listings + market×sector + comps URLs, regenerated on
         every request from mls_properties. Cross-origin sitemaps are
         allowed by the sitemap protocol as long as both hosts are
         declared in Search Console for the same property. -->
    <loc>https://gskpwxwnhmsewxedgkcw.supabase.co/functions/v1/generate-sitemap</loc>
  </sitemap>

  <sitemap>
    <!-- TAP off-market ("pocket") listing pages. These are NOT in the MLS, so
         the generate-sitemap function above cannot see them; the file is
         written at build time by scripts/prerender-offmarket.mjs from the
         CRM's public listings API. -->
    <loc>https://tapcre.com/sitemap-offmarket.xml</loc>
  </sitemap>

</sitemapindex>
