<?xml version="1.0" encoding="UTF-8"?>
<!--
  Faminga public sitemap.

  Scope rule: this file lists ONLY routes that render real content to a signed-out
  visitor. Those routes are the `if (!user)` <Switch> in client/src/App.tsx —
  keep the two in sync when a public route is added or removed.

  Deliberately excluded (public URLs, but not indexable content):
    /login /register /forgot-password /confirm-email /reset-password /auth/*
    /adminuser                      — authentication surfaces
    /cart /checkout /order/track    — per-session transactional state
    /join                           — referral landing, meaningless without ?ref=
    /r/:reference /verify/*         — private receipts and dossiers behind a token
    /profile/:userId                — user-generated profiles
    /datasets/marketplace           — duplicate of /datasets
    /impact/*                       — wildcard alias of /impact

  Parameterised routes: /news/:slug is enumerated below from real published rows
  in `press_articles`. The remaining detail routes — /careers/:id (job_postings),
  /datasets/:id, /market/product/:id, /market/seller/:sellerId, /products/:productId,
  /marketplace/agronomists/:identifier — are omitted because their identifiers are
  volatile database ids. To cover them, generate this file at build/deploy time by
  querying the published rows of each table rather than hand-maintaining slugs here.
-->
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">

  <!-- ───── Core ───── -->
  <url>
    <loc>https://faminga.app/</loc>
    <lastmod>2026-08-13</lastmod>
    <changefreq>daily</changefreq>
    <priority>1.0</priority>
  </url>
  <url>
    <loc>https://faminga.app/about</loc>
    <lastmod>2026-08-13</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://faminga.app/contact</loc>
    <lastmod>2026-08-13</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://faminga.app/partners</loc>
    <lastmod>2026-08-13</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.6</priority>
  </url>
  <url>
    <loc>https://faminga.app/careers</loc>
    <lastmod>2026-08-13</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.6</priority>
  </url>

  <!-- ───── Impact and editorial ───── -->
  <url>
    <loc>https://faminga.app/impact</loc>
    <lastmod>2026-08-13</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://faminga.app/impact/case-study</loc>
    <lastmod>2026-08-13</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.7</priority>
  </url>
  <url>
    <loc>https://faminga.app/news</loc>
    <lastmod>2026-08-13</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://faminga.app/news/aeoc-public-choice</loc>
    <lastmod>2025-11-01</lastmod>
    <changefreq>yearly</changefreq>
    <priority>0.6</priority>
  </url>
  <url>
    <loc>https://faminga.app/news/aeoc-2025-winner</loc>
    <lastmod>2025-11-01</lastmod>
    <changefreq>yearly</changefreq>
    <priority>0.6</priority>
  </url>
  <url>
    <loc>https://faminga.app/news/smart-africa-award</loc>
    <lastmod>2025-10-01</lastmod>
    <changefreq>yearly</changefreq>
    <priority>0.6</priority>
  </url>
  <url>
    <loc>https://faminga.app/news/agritech4rwanda-finalist</loc>
    <lastmod>2025-06-01</lastmod>
    <changefreq>yearly</changefreq>
    <priority>0.6</priority>
  </url>
  <url>
    <loc>https://faminga.app/news/tef-2025-fellowship</loc>
    <lastmod>2025-01-01</lastmod>
    <changefreq>yearly</changefreq>
    <priority>0.6</priority>
  </url>
  <url>
    <loc>https://faminga.app/news/hanga-pitchfest-top-25</loc>
    <lastmod>2024-10-01</lastmod>
    <changefreq>yearly</changefreq>
    <priority>0.6</priority>
  </url>

  <!-- ───── Knowledge and product documentation ───── -->
  <url>
    <loc>https://faminga.app/library</loc>
    <lastmod>2026-08-13</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.7</priority>
  </url>
  <url>
    <loc>https://faminga.app/user-guide</loc>
    <lastmod>2026-08-13</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.6</priority>
  </url>
  <url>
    <loc>https://faminga.app/api-docs</loc>
    <lastmod>2026-08-13</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.5</priority>
  </url>
  <url>
    <loc>https://faminga.app/try-ai</loc>
    <lastmod>2026-08-13</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>

  <!-- ───── Marketplace ───── -->
  <url>
    <loc>https://faminga.app/shop</loc>
    <lastmod>2026-08-13</lastmod>
    <changefreq>daily</changefreq>
    <priority>0.9</priority>
  </url>
  <url>
    <loc>https://faminga.app/marketplace/agronomists</loc>
    <lastmod>2026-08-13</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://faminga.app/marketplace/agrodealers</loc>
    <lastmod>2026-08-13</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://faminga.app/datasets</loc>
    <lastmod>2026-08-13</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.7</priority>
  </url>

  <!-- ───── Legal ─────
       Declared to Google Play (Privacy policy + Data safety account/data
       deletion URLs). Server-rendered for crawlers by server/legalPrerender.ts. -->
  <url>
    <loc>https://faminga.app/privacy-policy</loc>
    <lastmod>2026-07-29</lastmod>
    <changefreq>yearly</changefreq>
    <priority>0.7</priority>
  </url>
  <url>
    <loc>https://faminga.app/terms-of-service</loc>
    <lastmod>2026-07-29</lastmod>
    <changefreq>yearly</changefreq>
    <priority>0.7</priority>
  </url>
  <url>
    <loc>https://faminga.app/data-deletion-request</loc>
    <lastmod>2026-07-29</lastmod>
    <changefreq>yearly</changefreq>
    <priority>0.7</priority>
  </url>
</urlset>
