<?xml version="1.0" encoding="UTF-8"?>
<!--
  Bookmi sitemap (§19) — the fixed public routes only.

  Every URL here is prerendered at build time by frontend/scripts/prerender.mjs,
  so a crawler that does not run JavaScript still receives a real title,
  description, canonical, hreflang set and JSON-LD.

  Venue pages (/venues/:id) are deliberately NOT hand-listed: a static list goes
  stale the moment a venue is added or deactivated. They are served from the
  database instead at /sitemap-venues.xml (backend, one <url> per ACTIVE venue).
  robots.txt points search engines at both files.

  Note the namespace: sitemaps.org, with the s. An earlier revision of this file
  said "sitemap.org", which is not the schema URI.
-->
<urlset
  xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
  xmlns:xhtml="http://www.w3.org/1999/xhtml"
>
  <url>
    <loc>https://bookmi.website/</loc>
    <changefreq>daily</changefreq>
    <priority>1.0</priority>
    <xhtml:link rel="alternate" hreflang="en" href="https://bookmi.website/?lang=en" />
    <xhtml:link rel="alternate" hreflang="ar" href="https://bookmi.website/?lang=ar" />
    <xhtml:link rel="alternate" hreflang="x-default" href="https://bookmi.website/" />
  </url>

  <url>
    <loc>https://bookmi.website/search</loc>
    <changefreq>hourly</changefreq>
    <priority>0.9</priority>
    <xhtml:link rel="alternate" hreflang="en" href="https://bookmi.website/search?lang=en" />
    <xhtml:link rel="alternate" hreflang="ar" href="https://bookmi.website/search?lang=ar" />
    <xhtml:link rel="alternate" hreflang="x-default" href="https://bookmi.website/search" />
  </url>

  <!--
    The geo hub. Its children (/jordan/:governorate, /jordan/:governorate/:area
    and the two /play/:activity crossings) are NOT hand-listed: which of them
    exist depends on where venues actually are, so they come from
    /sitemap-geo.xml, generated from the database. The hub is listed in both
    files on purpose — a duplicate <loc> across sitemaps is valid and deduped by
    search engines, and this keeps the entry point discoverable even if the API
    is down.
  -->
  <url>
    <loc>https://bookmi.website/jordan</loc>
    <changefreq>daily</changefreq>
    <priority>0.9</priority>
    <xhtml:link rel="alternate" hreflang="en" href="https://bookmi.website/jordan?lang=en" />
    <xhtml:link rel="alternate" hreflang="ar" href="https://bookmi.website/jordan?lang=ar" />
    <xhtml:link rel="alternate" hreflang="x-default" href="https://bookmi.website/jordan" />
  </url>

  <url>
    <loc>https://bookmi.website/pricing</loc>
    <changefreq>monthly</changefreq>
    <priority>0.7</priority>
    <xhtml:link rel="alternate" hreflang="en" href="https://bookmi.website/pricing?lang=en" />
    <xhtml:link rel="alternate" hreflang="ar" href="https://bookmi.website/pricing?lang=ar" />
    <xhtml:link rel="alternate" hreflang="x-default" href="https://bookmi.website/pricing" />
  </url>

  <url>
    <loc>https://bookmi.website/faqs</loc>
    <changefreq>monthly</changefreq>
    <priority>0.6</priority>
    <xhtml:link rel="alternate" hreflang="en" href="https://bookmi.website/faqs?lang=en" />
    <xhtml:link rel="alternate" hreflang="ar" href="https://bookmi.website/faqs?lang=ar" />
    <xhtml:link rel="alternate" hreflang="x-default" href="https://bookmi.website/faqs" />
  </url>

  <url>
    <loc>https://bookmi.website/contact</loc>
    <changefreq>monthly</changefreq>
    <priority>0.5</priority>
    <xhtml:link rel="alternate" hreflang="en" href="https://bookmi.website/contact?lang=en" />
    <xhtml:link rel="alternate" hreflang="ar" href="https://bookmi.website/contact?lang=ar" />
    <xhtml:link rel="alternate" hreflang="x-default" href="https://bookmi.website/contact" />
  </url>

  <url>
    <loc>https://bookmi.website/terms</loc>
    <changefreq>yearly</changefreq>
    <priority>0.3</priority>
    <xhtml:link rel="alternate" hreflang="en" href="https://bookmi.website/terms?lang=en" />
    <xhtml:link rel="alternate" hreflang="ar" href="https://bookmi.website/terms?lang=ar" />
    <xhtml:link rel="alternate" hreflang="x-default" href="https://bookmi.website/terms" />
  </url>

  <url>
    <loc>https://bookmi.website/privacy</loc>
    <changefreq>yearly</changefreq>
    <priority>0.3</priority>
    <xhtml:link rel="alternate" hreflang="en" href="https://bookmi.website/privacy?lang=en" />
    <xhtml:link rel="alternate" hreflang="ar" href="https://bookmi.website/privacy?lang=ar" />
    <xhtml:link rel="alternate" hreflang="x-default" href="https://bookmi.website/privacy" />
  </url>

  <url>
    <loc>https://bookmi.website/fair-use</loc>
    <changefreq>yearly</changefreq>
    <priority>0.4</priority>
    <xhtml:link rel="alternate" hreflang="en" href="https://bookmi.website/fair-use?lang=en" />
    <xhtml:link rel="alternate" hreflang="ar" href="https://bookmi.website/fair-use?lang=ar" />
    <xhtml:link rel="alternate" hreflang="x-default" href="https://bookmi.website/fair-use" />
  </url>
</urlset>
