<?xml version="1.0" encoding="UTF-8"?>
<!--
  Petsked – Static Sitemap Placeholder
  AEO Phase 1

  This file covers the static / shell pages of the SPA.
  Business profile URLs (/{slug}) will be added dynamically
  by the Express backend endpoint GET /sitemap.xml once Task 6
  (dynamic sitemap) is implemented.

  To enable the dynamic sitemap:
    1. Implement GET /sitemap.xml on the Express backend
       (query all active businesses, emit one <url> per slug).
    2. Add an nginx rewrite in nginx.conf:
         location = /sitemap.xml { proxy_pass http://api:3000/sitemap.xml; }
       (already present in the nginx.conf included in this repo)
    3. Remove or redirect this static file so the proxy takes over.

  Validation: https://www.xml-sitemaps.com/validate-xml-sitemap.html
  Submit to:  Google Search Console, Bing Webmaster Tools
-->
<urlset
  xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="
    http://www.sitemaps.org/schemas/sitemap/0.9
    http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">

  <!-- ── Static shell pages ──────────────────────────────── -->

  <url>
    <loc>https://petsked.com/</loc>
    <lastmod>2026-03-01</lastmod>
    <changefreq>daily</changefreq>
    <priority>1.0</priority>
  </url>

  <url>
    <loc>https://petsked.com/shops</loc>
    <lastmod>2026-03-01</lastmod>
    <changefreq>daily</changefreq>
    <priority>0.9</priority>
  </url>

  <url>
    <loc>https://petsked.com/search</loc>
    <lastmod>2026-03-01</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.8</priority>
  </url>

  <url>
    <loc>https://petsked.com/about</loc>
    <lastmod>2026-03-01</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.6</priority>
  </url>

  <url>
    <loc>https://petsked.com/contact</loc>
    <lastmod>2026-03-01</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.5</priority>
  </url>

  <!--
    TODO (Phase 1 → Phase 2):
    ──────────────────────────────────────────────────────────────
    Replace this static file with the dynamic Express endpoint:

      GET /sitemap.xml
      → Queries all active business slugs from the database
      → Returns an XML sitemap with one <url> per slug, e.g.:

      <url>
        <loc>https://petsked.com/{slug}</loc>
        <lastmod>{updatedAt}</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.8</priority>
      </url>

    The nginx.conf in this repo already proxies /sitemap.xml
    to http://api:3000/sitemap.xml — just remove this static
    file once the backend endpoint is live.
    ──────────────────────────────────────────────────────────────
  -->

</urlset>
