<?xml version="1.0" encoding="UTF-8"?>
<!--
  STATIC SITEMAP — AutoBidLK
  ============================================================
  This file lists only stable, static URLs.

  DYNAMIC VEHICLE LISTINGS:
  Individual vehicle pages (/vehicles/{slug}) should be included
  in a dynamically generated sitemap served from the backend API.

  Recommended backend endpoint: GET /api/sitemap/vehicles
  This should return a sitemap XML (or sitemap index) containing
  all approved/active listing URLs in the format:
    https://autobid.lk/vehicles/{make}-{model}-{year}-{district}--{id}

  For large inventories use a sitemap index:
    /sitemap.xml              → this file (static pages)
    /sitemaps/vehicles-1.xml  → listings 1–50000
    /sitemaps/vehicles-2.xml  → listings 50001–100000
    /sitemaps/categories.xml  → make/model/district landing pages

  Only include APPROVED + ACTIVE listings.
  Never include draft, pending, rejected, or deleted listings.
  ============================================================
-->
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">

  <!-- Static pages sitemap (this file doubles as the index entry) -->
  <sitemap>
    <loc>https://autobid.lk/sitemap-static.xml</loc>
    <lastmod>2025-01-01</lastmod>
  </sitemap>

  <!--
    Backend-generated vehicle listings sitemap.
    Uncomment once the backend endpoint is live:

  <sitemap>
    <loc>https://api.autobid.lk/sitemap/vehicles.xml</loc>
  </sitemap>
  -->

</sitemapindex>
