<?xml version="1.0" encoding="UTF-8"?>
<!--
  ============================================================================
  SOU Realestate — property listings sitemap
  https://sourealty.com/sitemap-listings.xml

  ⚠️  DO NOT UPLOAD THIS FILE AS-IS.

  The three entries below are STRUCTURAL EXAMPLES showing the exact format
  each listing must follow. The listing IDs, prices, dates and image paths are
  placeholders. Uploading them would put 404s in your sitemap.

  This file must be GENERATED from your property database on every publish.
  Use generate-sitemap.js (included) or the Next.js route in nextjs-sitemap.ts.
  ============================================================================

  FORMAT NOTES

  1. Image markup is inline (xmlns:image) rather than in a separate image
     sitemap. This is Google's current recommendation and it associates each
     photo with its listing page, which a standalone image sitemap cannot do.
     Include up to ~1,000 images per URL; in practice list 3–8 per property.

  2. <lastmod> must be the real date the listing was created or last edited —
     price change, new photos, status change. Do not stamp every listing with
     today's date on every build; Google stops trusting lastmod when it sees that.

  3. SOLD LISTINGS: keep them in the sitemap. Do not delete the page. Mark it
     "Sold" on-page, set schema availability to https://schema.org/SoldOut, and
     leave it indexable. Sold-price history is genuinely useful content and
     attracts links. Only remove a URL if the page itself is being deleted.

  4. Split at 50,000 URLs or 50 MB uncompressed. Well below that today, but the
     generator handles chunking automatically (sitemap-listings-1.xml, -2.xml …).

  5. URL pattern: /property/{descriptive-slug}-{id}/
     The ID guarantees uniqueness; the slug carries the keywords.
     Never use /property?id=1042 — parameter URLs index badly.
-->
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
        xmlns:image="http://www.google.com/schemas/sitemap-image/1.1">

  <!-- ===== EXAMPLE 1 — resale flat ===== -->
  <url>
    <loc>https://sourealty.com/property/3-bhk-resale-flat-gotri-vadodara-1042/</loc>
    <lastmod>2026-08-04</lastmod>
    <image:image>
      <image:loc>https://sourealty.com/images/listings/1042-living-room.webp</image:loc>
      <image:title>3 BHK resale flat living room, Gotri, Vadodara</image:title>
    </image:image>
    <image:image>
      <image:loc>https://sourealty.com/images/listings/1042-kitchen.webp</image:loc>
      <image:title>Modular kitchen, 3 BHK resale flat, Gotri, Vadodara</image:title>
    </image:image>
    <image:image>
      <image:loc>https://sourealty.com/images/listings/1042-exterior.webp</image:loc>
      <image:title>Society exterior, Gotri Road, Vadodara</image:title>
    </image:image>
  </url>

  <!-- ===== EXAMPLE 2 — NA plot near the Statue of Unity ===== -->
  <url>
    <loc>https://sourealty.com/property/na-residential-plot-sou-road-rajpipla-1067/</loc>
    <lastmod>2026-07-28</lastmod>
    <image:image>
      <image:loc>https://sourealty.com/images/listings/1067-plot-frontage.webp</image:loc>
      <image:title>NA residential plot frontage on SOU Road, Rajpipla</image:title>
    </image:image>
    <image:image>
      <image:loc>https://sourealty.com/images/listings/1067-approach-road.webp</image:loc>
      <image:title>Approach road to NA plot near Statue of Unity, Rajpipla</image:title>
    </image:image>
  </url>

  <!-- ===== EXAMPLE 3 — resale tenement, SOLD (kept in sitemap) ===== -->
  <url>
    <loc>https://sourealty.com/property/2-bhk-resale-tenement-dabhoi-0981/</loc>
    <lastmod>2026-06-15</lastmod>
    <image:image>
      <image:loc>https://sourealty.com/images/listings/0981-front.webp</image:loc>
      <image:title>2 BHK resale tenement front elevation, Dabhoi</image:title>
    </image:image>
  </url>

</urlset>
