{
  "openapi": "3.1.0",
  "info": {
    "title": "islam.museum static JSON API",
    "version": "v1",
    "description": "Read-only JSON files generated from the museum's knowledge graph at build time. There is no runtime server: every response is a static file. Prose is CC BY-SA 4.0; structured data is CC0 1.0. See https://github.com/amado2k5/islam-museum/blob/main/docs/data/README.md.",
    "license": {
      "name": "CC0 1.0 (data); CC BY-SA 4.0 (prose)",
      "url": "https://creativecommons.org/publicdomain/zero/1.0/"
    }
  },
  "servers": [
    {
      "url": "https://api.islam.museum/api/v1",
      "description": "Production (Cloudflare R2)"
    }
  ],
  "paths": {
    "/index.json": {
      "get": {
        "operationId": "getIndex",
        "summary": "API front door",
        "description": "What this API holds: its top-level files and folders, the licences, and where its OpenAPI description is. Written from the list of files the build produced.",
        "responses": {
          "200": {
            "description": "API front door",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/meta/index.json": {
      "get": {
        "operationId": "getMetaIndex",
        "summary": "API version, generation date, classes and licences",
        "responses": {
          "200": {
            "description": "Index document",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/meta/coverage.json": {
      "get": {
        "operationId": "getCoverage",
        "summary": "Record counts by class, wing, period, region and review status",
        "responses": {
          "200": {
            "description": "Coverage document",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/themes/index.json": {
      "get": {
        "operationId": "getThemes",
        "summary": "Controlled themes with the ids of their entries",
        "responses": {
          "200": {
            "description": "Theme index",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/umam.json": {
      "get": {
        "operationId": "getUmam",
        "summary": "Umam Browser dataset",
        "description": "The Umam Browser dataset (متصفح الأمم والأديان والطوائف والشعوب غير المسلمة): every record tagged umam-browser with um-<section> tags — the recounted nations, the religions, sects and tribes, the peoples, the pre-Islamic Arab polytheists, the named figures, lands, concepts and books — plus every work, passage, event or question whose mentions edge names a member or whose text carries its unambiguous name, each with its computed sections (umam, adyan, tawaif, shuub, mushrikun, ayan, sukun, mafahim, kutub, dhikr), per-corpus mentions counts and edges.",
        "responses": {
          "200": {
            "description": "Every umam member with computed sections, per-corpus mentions counts and edges",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/{class}/index.json": {
      "get": {
        "operationId": "getClassIndex",
        "summary": "Compact rows for every record of a class",
        "parameters": [
          {
            "$ref": "#/components/parameters/class"
          }
        ],
        "responses": {
          "200": {
            "description": "Compact rows",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/{class}/{slug}.json": {
      "get": {
        "operationId": "getRecord",
        "summary": "Full record with resolved labels, connections and related records",
        "parameters": [
          {
            "$ref": "#/components/parameters/class"
          },
          {
            "$ref": "#/components/parameters/slug"
          }
        ],
        "responses": {
          "200": {
            "description": "Full record",
            "content": {
              "application/json": {}
            }
          },
          "404": {
            "description": "No record with this class and slug"
          }
        }
      }
    },
    "/graph/nodes.ndjson": {
      "get": {
        "operationId": "getGraphNodes",
        "summary": "Every node, one compact JSON object per line",
        "responses": {
          "200": {
            "description": "NDJSON stream of nodes",
            "content": {
              "application/x-ndjson": {}
            }
          }
        }
      }
    },
    "/graph/edges.ndjson": {
      "get": {
        "operationId": "getGraphEdges",
        "summary": "Every forward edge, one JSON object per line",
        "responses": {
          "200": {
            "description": "NDJSON stream of edges",
            "content": {
              "application/x-ndjson": {}
            }
          }
        }
      }
    },
    "/graph/{class}/{slug}.json": {
      "get": {
        "operationId": "getNeighbourhood",
        "summary": "Two-hop neighbourhood of a record (at most 40 nodes)",
        "parameters": [
          {
            "$ref": "#/components/parameters/class"
          },
          {
            "$ref": "#/components/parameters/slug"
          }
        ],
        "responses": {
          "200": {
            "description": "Centre, nodes and edges",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/companions.json": {
      "get": {
        "operationId": "getCompanions",
        "summary": "Companions dataset",
        "description": "Companions Browser dataset: every Companion record with gender, roles, birth and death, the Ten flag, circle and clan groups, events taken part in, the Hijri death year and decade (derived when converted from the Gregorian date), connections and prose languages",
        "responses": {
          "200": {
            "description": "Companions Browser dataset: every Companion record with gender, roles, birth and death, the Ten flag, circle and clan groups, events taken part in, the Hijri death year and decade (derived when converted from the Gregorian date), connections and prose languages",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
"/heroes.json": {
      "get": {
        "operationId": "getHeroes",
        "summary": "Heroes of Islam dataset",
        "description": "Heroes of Islam explorer dataset: the six virtue trails (sacrifice, courage, mercy, generosity, knowledge, steadfastness) as exhibit/hero-* records, each with its rooms — hero title, the 'what they gave' line and featured entity ids — and sources",
        "responses": {
          "200": {
            "description": "Heroes of Islam explorer dataset: the six virtue trails with their hero rooms and featured entity ids",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/inventions.json": {
      "get": {
        "operationId": "getInventions",
        "summary": "Inventions dataset",
        "description": "Inventions with domain and era filters, makers, attribution, origins, chains and media",
        "responses": {
          "200": {
            "description": "Inventions with domain and era filters, makers, attribution, origins, chains and media",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/inventions/chains.json": {
      "get": {
        "operationId": "getInventionChains",
        "summary": "Invention chains",
        "description": "Invention dependency graph with internal and external precursor and dependent links",
        "responses": {
          "200": {
            "description": "Invention dependency graph with internal and external precursor and dependent links",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/modern/index.json": {
      "get": {
        "operationId": "getModernIndex",
        "summary": "Modern Islam Browser index",
        "description": "The window (1976 to the build year), the nineteen sections with counts, the years with counts, the reach lists",
        "responses": {
          "200": {
            "description": "The window (1976 to the build year), the nineteen sections with counts, the years with counts, the reach lists",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/modern/{section}.json": {
      "get": {
        "operationId": "getModernSection",
        "summary": "Modern Islam Browser section",
        "description": "Every record of one derived section with year, kind, countries, honours and footprint counts and horizon",
        "responses": {
          "200": {
            "description": "Every record of one derived section with year, kind, countries, honours and footprint counts and horizon",
            "content": {
              "application/json": {}
            }
          }
        }
      },
      "parameters": [
        {
          "name": "section",
          "in": "path",
          "required": true,
          "schema": {
            "type": "string",
            "enum": [
              "web",
              "music",
              "film",
              "tv",
              "conferences",
              "heritage",
              "rights",
              "books",
              "upcoming",
              "figures",
              "organizations",
              "media",
              "sports",
              "awards",
              "achievements",
              "enterprise",
              "arts",
              "built",
              "learning"
            ]
          }
        }
      ]
    },
    "/modern/year/{year}.json": {
      "get": {
        "operationId": "getModernYear",
        "summary": "Modern Islam Browser year",
        "description": "Every record with a dated fact in one Gregorian year from 1976 on",
        "responses": {
          "200": {
            "description": "Every record with a dated fact in one Gregorian year from 1976 on",
            "content": {
              "application/json": {}
            }
          }
        }
      },
      "parameters": [
        {
          "name": "year",
          "in": "path",
          "required": true,
          "schema": {
            "type": "integer",
            "minimum": 1976
          }
        }
      ]
    },
    "/modern/top/{list}.json": {
      "get": {
        "operationId": "getModernTop",
        "summary": "Reach index",
        "description": "A reach index computed from cited inputs with the printed formula; not a ranking by taste",
        "responses": {
          "200": {
            "description": "A reach index computed from cited inputs with the printed formula; not a ranking by taste",
            "content": {
              "application/json": {}
            }
          }
        }
      },
      "parameters": [
        {
          "name": "list",
          "in": "path",
          "required": true,
          "schema": {
            "type": "string",
            "enum": [
              "songs",
              "albums",
              "websites",
              "channels",
              "books"
            ]
          }
        }
      ]
    },
    "/jobs.json": {
      "get": {
        "operationId": "getJobs",
        "summary": "Job Browser dataset",
        "description": "Every job with domain, kind, craft flag, era, edges and holders",
        "responses": {
          "200": {
            "description": "Every job with domain, kind, craft flag, era, edges and holders",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/nature.json": {
      "get": {
        "operationId": "getNature",
        "summary": "Nature Explorer dataset",
        "description": "The Nature Explorer dataset: every record tagged nature-browser (land animals, birds, insects, sea creatures, plants and trees, the phenomena of creation) with kind, wings, themes, tags and edges.",
        "responses": {
          "200": {
            "description": "Every nature record with kind, wings, themes, section tags and edges",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/angels.json": {
      "get": {
        "operationId": "getAngels",
        "summary": "Angels Browser dataset",
        "description": "The Angels Browser dataset: every record tagged angels-browser (named angels, orders and hosts, recording angels, angel-human encounters across the Qur'an, hadith, Seerah and Sunni books) with kind, wings, themes, tags and edges.",
        "responses": {
          "200": {
            "description": "Every angels record with kind, wings, themes, section tags and edges",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/dreams.json": {
      "get": {
        "operationId": "getDreams",
        "summary": "Dream Browser dataset",
        "description": "The Dream Browser dataset (متصفح الأحلام): every dream the museum's sources mention — Qur'an verses, hadith reports, seerah books and every harvested work — detected at build time plus the curated records tagged dream-browser, each with its corpus section (quran, sunnah, seerah, books, concepts), work, ref, text excerpt, kind, themes and edges.",
        "responses": {
          "200": {
            "description": "Every dream record with corpus section, work, ref, excerpt, kind, themes and edges",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/places.json": {
      "get": {
        "operationId": "getPlaces",
        "summary": "Sacred Places Browser dataset",
        "description": "The Sacred Places Browser dataset (متصفح الأماكن المقدسة والهامة وذات القيمة في الإسلام): every place and building of sanctity, importance and value in Islam — tagged places-browser records plus every record a passage mentions — each with its sanctity section (sanctuaries, hajj, seerah, quran, sacred, mentioned), per-corpus mention counts (quran, sunnah, seerah, books), kind, coordinates, regions, tags and edges.",
        "responses": {
          "200": {
            "description": "Every sacred or mentioned place/building record with section, mention counts, kind, coordinates and edges",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/duas.json": {
      "get": {
        "operationId": "getDuas",
        "summary": "Du'a Browser dataset",
        "description": "The Du'a Browser dataset (متصفح الأدعية): every supplication the museum's sources mention or write — Qur'anic prayers, hadith reports, seerah books and every harvested work — detected at build time plus the curated records tagged dua-browser, each with its corpus section (quran, sunnah, seerah, books, curated), dua_kind (formula or mention), matched signals, work, ref, text excerpt, kind, themes, tags and edges.",
        "responses": {
          "200": {
            "description": "Every du'a record with corpus section, kind, signals, work, ref, excerpt, themes and edges",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/akhlaq.json": {
      "get": {
        "summary": "Akhlaq and Mu'amalat Browser dataset",
        "description": "The Ethics and Dealings Browser dataset (متصفح الأخلاق والمعاملات): every mention of ethics and dealings in the Qur'an, the Sunnah, the seerah and every harvested book — virtues (truthfulness, trustworthiness, patience, gratitude, humility, sincerity, kindness to parents, kinship), vices (lying, treachery, pride, ostentation, envy, backbiting, slander, anger, injustice, hypocrisy) and dealings (sale, riba, debt, pledge, hire, bequest, inheritance, marriage, divorce, oaths, testimony, judgement, weights, reconciliation, gifts, guarantee, agency, partnership, salam, transfer, loans, usurpation, pre-emption, hoarding, coercion, interdiction, contracts) — detected at build time by scripts/akhlaq.ts plus the curated records tagged akhlaq-browser, each with its corpus section (quran, sunnah, seerah, books, curated), akhlaq_kind (virtue/vice/dealing/mention), kinds, tracks (akhlaq/mu'amalat), topics, matched signals, work, ref, text excerpt, kind, themes, tags and edges.",
        "responses": {
          "200": {
            "description": "Every akhlaq/mu'amalat record with corpus section, kind, tracks, topics, work, ref, excerpt, kind, themes and edges",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/ansab.json": {
      "get": {
        "summary": "The Genealogies, Peoples, Butun and Prophets' Tree Browser dataset",
        "description": "The Genealogies, Peoples, Butun and Prophets' Tree Browser dataset (متصفح الأنساب والأعراق والبطون وشجرة الأنبياء والمرسلين): every mention of genealogies, tribes, peoples, tribal subdivisions (butun) and the prophets' tree in the Qur'an, the Sunnah, the seerah, the reports of the Companions and Successors and every harvested book — the Prophet's lineage in its three parts (agreed to Adnan, disputed to Ismail ibn Ibrahim on the Ibn Ishaq/al-Tabari transmission, unestablished above Ibrahim), the Arab tribes and clans, the peoples (Arabs, Ajam, Rum, Habasha, Copts, Banu Isra'il and the rest) and the butun — the tribal subdivisions — detected at build time by scripts/ansab.ts and joined to the canonical mentions edges, plus the curated records tagged ansab-browser and the subjects index with per-corpus counts, each with its corpus section (quran, sunnah, seerah, books), subjects/topics chips, work, ref, text excerpt, kind, themes, tags and edges. A book harvested later enters the dataset automatically when its passage records land in the graph.",
        "responses": {
          "200": {
            "description": "Every ansab record with corpus section, subjects, topics, work, ref, excerpt, kind, themes and edges, plus the subjects index",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FeatureSet"
                }
              }
            }
          }
        }
      }
    },
    "/ibadat.json": {
      "get": {
        "summary": "Ibadat and Adhkar Browser dataset",
        "description": "The Worship and Adhkar Browser dataset (متصفح العبادات والأذكار): every act of worship and remembrance mentioned in the Qur'an, the Sunnah, the seerah and every harvested book — prayer, purification, fasting, zakat and charity, hajj and umrah, dhikr and adhkar, du'a (via the Du'a detector), recitation, repentance and ruqya — detected at build time plus the curated records tagged ibadat-browser, each with its corpus section (quran, sunnah, seerah, books, curated), ibadat_kind (act/mention), worship topics, matched signals, work, ref, text excerpt, kind, themes, tags and edges.",
        "responses": {
          "200": {
            "description": "Every ibadat record with corpus section, ibadat kind, topics, work, ref, excerpt, kind, themes and edges",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/jannas.json": {
      "get": {
        "operationId": "getJannas",
        "summary": "Paradise Browser dataset",
        "description": "The Paradise Browser dataset (متصفح الجنة): every mention of Paradise in the museum's sources — its Qur'anic names (al-Janna, Firdaws, Jannat al-Na'im, Dar al-Salam, Jannat Adn, al-Ma'wa, Jannat al-Khuld, Illiyyin), its gates, levels, rivers, food, drink, garments, spouses and eternity, plus worldly gardens (Adam's garden, the people's orchards) — detected at build time plus the curated records tagged janna-browser, each with its section (quran, sunnah, seerah, books, dunya, curated), janna_kind (garden or paradise), matched signals, work, ref, text excerpt, kind, themes, tags and edges.",
        "responses": {
          "200": {
            "description": "Every Paradise mention with section, kind, signals, work, ref, excerpt, themes and edges",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/qiyama.json": {
      "get": {
        "operationId": "getQiyama",
        "summary": "Resurrection and Reckoning Browser dataset",
        "description": "The Qiyama Browser dataset (متصفح البعث ويوم القيامة والحساب): every mention of the Resurrection, the Day of Judgement and the Reckoning in the museum's sources — the Day's names (al-Haqqa, al-Qari'a, al-Sakhkha, al-Ghashiya, yawm al-din, yawm al-fasl), the Trumpet, the raising from the graves and the gathering, the terrors, the display and the scrolls, the Scale, the Shade, the Hawd, the intercession and the Sirat — detected at build time plus the curated records tagged qiyama-browser, each with its section (quran, sunnah, seerah, books, curated), qiyama_kind (baath, yawm or hisab), matched signals, work, ref, text excerpt, kind, themes, tags and edges.",
        "responses": {
          "200": {
            "description": "Every qiyama mention with section, kind, signals, work, ref, excerpt, themes and edges",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/nar.json": {
      "get": {
        "operationId": "getNar",
        "summary": "Fire Browser dataset",
        "description": "The Fire Browser dataset (متصفح النار): every mention of the Fire in the museum's sources — the hellfire names (Jahannam, Saqar, al-Jahim, al-Hutama, Ladha, al-Hamiya, al-Hawiya, al-Sa'ir), its people, fuel, torment, keepers, food, drink and the Sirat over it, plus worldly fire (Ibrahim's fire, Musa's tree, the fire of war) — detected at build time plus the curated records tagged nar-browser, each with its section (quran, sunnah, seerah, books, dunya, curated), nar_kind (hellfire or worldly), matched signals, work, ref, text excerpt, kind, themes, tags and edges.",
        "responses": {
          "200": {
            "description": "Every fire mention with section, kind, signals, work, ref, excerpt, themes and edges",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/islamic-economy.json": {
      "get": {
        "operationId": "getIslamicEconomy",
        "summary": "Islamic Economy Browser dataset",
        "description": "The Islamic Economy Browser dataset (متصفح العملات والصكوك والوقف الإسلامي): every mention of money and Islamic economics, deeds/instruments/covenants, and endowments in the Qur'an, Sunnah, seerah and harvested books — currencies, usury, debt, trade contracts, weights and measures, fiscal dues, waqf and sadaqa jariya — detected at build time plus the curated records tagged islamic-economy-browser, each with its corpus section (quran, sunnah, seerah, books, curated), topic chips (money, sukuk, waqf), matched signals, work, ref, text excerpt, kind, themes, tags and edges.",
        "responses": {
          "200": {
            "description": "Every Islamic-economy record with corpus section, topics, signals, work, ref, excerpt, themes and edges",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/sayyiat.json": {
      "get": {
        "operationId": "getSayyiat",
        "summary": "Sayyi'at Browser dataset",
        "description": "The Sayyi'at Browser dataset (متصفح السيئات): every mention of the sayyi'at and the sins theme in the Qur'an, Sunnah, seerah and harvested books — the «سيّئ» family, the names of sin, guilt and disobedience, major and minor sins, transgression, immorality and wrongdoing — detected at build time plus the curated records tagged sayyiat-browser, each with its corpus section (quran, sunnah, seerah, books, curated), sayyiat_kind (sayyi or related), matched signals, work, ref, text excerpt, kind, themes, tags and edges.",
        "responses": {
          "200": {
            "description": "Every sayyi'at record with corpus section, kind, signals, work, ref, excerpt, themes and edges",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/arkan.json": {
      "get": {
        "operationId": "getArkan",
        "summary": "Pillars and Branches of Faith Browser dataset",
        "description": "The Pillars of Islam, Pillars of Faith, Branches of Faith and Traits of the Believer Browser dataset (متصفح أركان الإسلام وأركان الإيمان وشعب الإيمان وخصال المؤمن): every mention of the four themes in the Qur'an (a reviewed verse table), the Sunnah, the seerah, the reports of the Companions and Successors and every harvested book — detected at build time plus the curated records tagged arkan-browser, each with its corpus section (quran, sunnah, seerah, books, curated), topics (islam, iman, shuab, khisal), matched signals, work, ref, text excerpt, kind, themes, tags and edges.",
        "responses": {
          "200": {
            "description": "Every record with corpus section, topics, signals, work, ref, excerpt, themes and edges",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/halal.json": {
      "get": {
        "operationId": "getHalal",
        "summary": "Halal and Haram Browser dataset",
        "description": "The Halal and Haram Browser dataset (متصفح الحلال والحرام): every mention of the lawful and the unlawful in Islam (what God permitted and what He forbade in food, drink, dress, marriage and earnings) in the Qur'an, Sunnah, seerah, the reports of the Companions and Successors and every harvested book — detected at build time plus the curated records tagged halal-haram-browser, each with its corpus section (quran, sunnah, seerah, books, curated), halal_kind (halal, haram or both), matched signals, work, ref, text excerpt, kind, themes, tags and edges.",
        "responses": {
          "200": {
            "description": "Every halal and haram record with corpus section, kind, subjects (principles, food, drink, hunting-slaughter, earnings, marriage-family, dress, life-honour, conduct, worship, sanctuary, other), signals, work, ref, excerpt, themes and edges",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/hudud.json": {
      "get": {
        "operationId": "getHudud",
        "summary": "Hudud Allah and Kaba'ir Browser dataset",
        "description": "The Hudud Allah and Kaba'ir Browser dataset (متصفح حدود الله والكبائر): every mention of the limits of God, the fixed penalties (stoning, flogging, the amputated hand, discretionary punishment and their crimes) and the major sins in the Qur'an, Sunnah, seerah and harvested books — detected at build time plus the curated records tagged hudud-browser, each with its corpus section (quran, sunnah, seerah, books, curated), hudud_kind (hudud or kabair), matched signals, work, ref, text excerpt, kind, themes, tags and edges.",
        "responses": {
          "200": {
            "description": "Every hudud and kaba'ir record with corpus section, kind, signals, work, ref, excerpt, themes and edges",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/hisab.json": {
      "get": {
        "operationId": "getHisab",
        "summary": "Hasanat and Sayyi'at Ledger dataset",
        "description": "The Hasanat and Sayyi'at Ledger, Calculator and Counter dataset (قائمة وآلة حاسبة وعدّاد الحسنات والسيئات): every passage in the Qur'an, Sunnah, seerah and harvested books that counts, writes, multiplies, erases, weighs or reckons a good or bad deed, detected at build time, plus the curated records tagged hisab-browser. Each item has its corpus section (quran, sunnah, seerah, books, curated), hisab_kinds (hasanat, sayyiat, erasure, scale), matched signals, work, ref, text excerpt, themes, tags and edges; calculator rows carry a reckoning block with the figure a named text states for one act (hasanat, hasanat_max, sayyiat, erased, degrees, times, unbounded), the localized unit and result, and the basis passage ids.",
        "responses": {
          "200": {
            "description": "Every ledger record with corpus section, ledger kinds, signals, reckoning, work, ref, excerpt, themes and edges",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/hasanats.json": {
      "get": {
        "operationId": "getHasanats",
        "summary": "Hasanat Browser dataset",
        "description": "The Hasanat Browser dataset (متصفح الحسنات): every mention of the good deeds (al-hasanat) in the Qur'an, Sunnah, seerah and harvested books — «الحسنات»، «حسنات»، «الحسنة»، «حسنة»، the gated «الحسنى», and the fixed collocations «قرضا حسنا» and «بدل حسنا بعد سوء» — detected at build time plus the curated records tagged hasanat-browser, each with its corpus section (quran, sunnah, seerah, books, curated), hasanat_kind (hasanat, hasana or husna), matched signals, work, ref, text excerpt, kind, themes, tags and edges.",
        "responses": {
          "200": {
            "description": "Every good-deed record with corpus section, hasanat kind, signals, work, ref, excerpt, themes and edges",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/munazarat.json": {
      "get": {
        "operationId": "getMunazarat",
        "summary": "Munazarat Browser dataset",
        "description": "The Munazarat Browser dataset (متصفح المناظرات): every mention of debates and disputation in the Qur'an, Sunnah, seerah and harvested books — between Islam and the other religions and inside the ummah — detected at build time by a guarded lexicon plus the curated records tagged munazarat-browser, each with its corpus section (quran, sunnah, seerah, books, curated), munazarat_kind (debate, mention), opponent (scriptuaries, polytheists, intra, other), matched signals, work, ref, text excerpt, kind, themes, tags and edges.",
        "responses": {
          "200": {
            "description": "Every debate record with corpus section, munazarat kind, opponent class, signals, work, ref, excerpt, themes and edges",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/mukatabat.json": {
      "get": {
        "operationId": "getMukatabat",
        "summary": "Mukatabat Browser dataset",
        "description": "The Mukatabat Browser dataset (متصفح المكاتبات): every mention of correspondence in the Qur'an, Sunnah, seerah and harvested books — the letters the Prophet sent to kings and emperors, the letters, replies and reports that came back, the caliphs' letters and the chancery institutions, and Sulayman's letter to the Queen of Sheba — detected at build time by a guarded lexicon plus the curated records tagged mukatabat-browser, each with its corpus section (quran, sunnah, seerah, books, curated), mukatabat_kind (letter, mention), sender (prophetic, caliphal, royal, other), matched signals, work, ref, text excerpt, kind, themes, tags and edges.",
        "responses": {
          "200": {
            "description": "Every correspondence record with corpus section, mukatabat kind, sender, signals, work, ref, excerpt, themes and edges",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/magic.json": {
      "get": {
        "operationId": "getMagic",
        "summary": "Magic and Magicians Browser dataset",
        "description": "The Magic and Magicians Browser dataset (متصفح السحر والسحرة): every mention of magic and the magicians in the Qur'an, Sunnah, seerah and harvested books — sorcery, soothsaying and augury, ruqyah, the evil eye and envy — detected at build time plus the curated records tagged magic-browser, each with its corpus section (quran, sunnah, seerah, books, concepts), topic chips, work, ref, text excerpt, kind, themes and edges.",
        "responses": {
          "200": {
            "description": "Every magic record with corpus section, topics, work, ref, excerpt, kind, themes and edges",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/cosmos.json": {
      "get": {
        "operationId": "getCosmos",
        "summary": "Cosmos Browser dataset",
        "description": "The Cosmos Browser dataset (متصفح الكائنات الفضائية والأمم السابقة لبني البشر وأسرار الكون): every mention of creatures beyond the earth, the seven heavens and earths, who held the earth before Adam, the vanished and hidden peoples, the beginning of creation and the secrets of the cosmos in the Qur'an (verses from a reviewed table), Sunnah, seerah and harvested books (detected at build time) plus the curated records tagged cosmos-browser, each with its corpus section (quran, sunnah, seerah, books, concepts), topics (beyond-earth, many-worlds, heavens, origins, before-adam, lost-peoples, hidden-peoples, secrets), work, ref, text excerpt, kind, themes and edges.",
        "responses": {
          "200": {
            "description": "Every cosmos record with corpus section, topics, work, ref, excerpt, kind, themes and edges",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/qiraat.json": {
      "get": {
        "operationId": "getQiraat",
        "summary": "Qur'an Readings, Orthography, Scripts and Dotting Browser dataset",
        "description": "The Qur'an Readings, Orthography, Scripts and Dotting Browser dataset (متصفح قراءات القرآن والرسم الإملائي والخطوط والتنقيط): every mention of the readings of the Qur'an and the seven ahruf, the readers and their transmitters, the collection of the Qur'an and the codices, the orthography (rasm) of the mushaf and the debate over ordinary (imla'i) spelling, its dotting and vowel marks, and the scripts it was written in — Qur'an verses from a reviewed table, hadith, seerah and harvested-book passages detected at build time, plus the curated records tagged qiraat-browser — each with its section (quran, sunnah, seerah, books, sciences, people, scripts, works, mushafs), topics (ahruf, readings, readers, codex, rasm, naqt, khatt), work, ref, text excerpt, kind, themes and edges.",
        "responses": {
          "200": {
            "description": "Every readings, rasm, scripts and dotting record with section, topics, work, ref, excerpt, kind, themes and edges",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/ulama.json": {
      "get": {
        "operationId": "getUlama",
        "summary": "Ulama Browser dataset",
        "description": "The Ulama Browser dataset (متصفح المفكرون والعلماء والأدباء والمحدثون والكتاب): every thinker, scholar, litterateur, muhaddith and writer on record — persons qualified by role or occupation job (the five categories plus all knowledge professions; poets excluded) — plus every passage that mentions them, by canonical mentions edges, the reviewed Qur'an verse table or the guarded name lexicon, plus the curated records tagged ulama-browser. Person rows carry categories (alim, muhaddith, mufakkir, adib, katib, scientist); passage rows carry section (quran, sunnah, seerah, books), mentions_persons, signals, work, ref, text excerpt, kind, themes and edges.",
        "responses": {
          "200": {
            "description": "Every scholar record with categories and every mention with section, mentions_persons, signals, work, ref, excerpt, kind, themes and edges",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/wasaya.json": {
      "get": {
        "operationId": "getWasaya",
        "summary": "Testaments Browser dataset",
        "description": "The Testaments Browser dataset (متصفح وصايا الأنبياء والمرسلين والصالحين والأئمة والتابعين والخلفاء والصحابة قبل وفاتهم ومورثاتهم وأثرهم ومراقدهم): every mention of the last testaments and parting counsels of the prophets, the caliphs, the Companions, the Successors, the imams and the righteous, of their last hours, of what they left behind (estates and inheritance), of their relics and of their graves — Qur'an verses from a reviewed table, hadith, seerah and harvested-book passages detected at build time, plus the curated records tagged wasaya-browser — each with its section (quran, sunnah, seerah, books, prophets, caliphs, companions, successors, righteous, legacy, graves, works), topics (wasiyya, ihtidar, mirath, athar, marqad), work, ref, text excerpt, kind, date, themes and edges.",
        "responses": {
          "200": {
            "description": "Every testament, deathbed, estate, relic and grave record with section, topics, work, ref, excerpt, kind, date, themes and edges",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/nubuwat.json": {
      "get": {
        "operationId": "getNubuwat",
        "summary": "Prophecies and Miracles Browser dataset",
        "description": "The Prophecies and Miracles Browser dataset (متصفح النبؤات وأسرار القرآن ومعجزاته): every prophecy of the Prophet, proof of prophethood, secret and marvel of the Qur'an, miracle of the Prophet, report of unseen knowledge and eschatological prediction in the Qur'an, Sunnah, seerah and harvested books — detected at build time plus the curated records tagged nubuwat-browser, each with its corpus section (quran, sunnah, seerah, books, curated), topics chips, work, ref, text excerpt, kind, themes, tags and edges.",
        "responses": {
          "200": {
            "description": "Every nubuwat record with corpus section, topics, work, ref, excerpt, kind, themes and edges",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/eschatology.json": {
      "get": {
        "operationId": "getEschatology",
        "summary": "Signs of the Hour Browser dataset",
        "description": "The Signs of the Hour Browser dataset (متصفح علامات الساعة): every mention of the signs of the Hour and all eschatology in the Qur'an, Sunnah, seerah and harvested books — the major and minor signs, the barzakh, resurrection and gathering, reckoning and the Scale, the Sirat and the Hawd, paradise and hell — detected at build time plus the curated records tagged eschatology-browser, each with its corpus section, topics chips, work, ref, text excerpt, kind, themes and edges.",
        "responses": {
          "200": {
            "description": "Every eschatology record with corpus section, topics, work, ref, excerpt, kind, themes and edges",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/bayt.json": {
      "get": {
        "operationId": "getBayt",
        "summary": "Household of the Prophet Browser dataset",
        "description": "The Household of the Prophet Browser dataset (متصفح بيت النبوة وآل النبي): everything mentioned about the Prophet's household and family — Ahl al-Bayt, the 'itrah, Banu Hashim and Banu Abd al-Muttalib, the wives, daughters, children and descendants, the imams line — detected at build time plus the curated records tagged bayt-browser, each with its corpus section (quran, sunnah, seerah, books, ahl, mawaqif, concepts), work, ref, text excerpt, kind, themes and edges.",
        "responses": {
          "200": {
            "description": "Every bayt record with corpus section, work, ref, excerpt, kind, themes and edges",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/jinn-devils.json": {
      "get": {
        "operationId": "getJinnDevils",
        "summary": "Jinn & Devils Browser dataset",
        "description": "The Jinn & Devils Browser dataset (متصفح الشياطين والجن): every record tagged jinn-devils-browser — jinn, devils and demons, angels, and the dreams that carry them — plus angels-browser angel records, with kind, wings, themes, section tags and edges.",
        "responses": {
          "200": {
            "description": "Every jinn/devils/angels/dreams record with kind, wings, themes, section tags and edges",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/messengers.json": {
      "get": {
        "operationId": "getMessengers",
        "summary": "Messengers and Prophets Browser dataset",
        "description": "The Messengers and Prophets Browser dataset (متصفح الرسل والأنبياء): every mention of the messengers and prophets in the Qur'an, Sunnah, seerah and harvested books — named prophets, the class terms and unnamed prophets — detected at build time and joined to the canonical mentions edges, plus the curated messengers-browser records and the subjects index, each with its corpus section (quran, sunnah, seerah, books, curated), subjects/topics chips, work, ref, text excerpt and edges.",
        "responses": {
          "200": {
            "description": "Every messenger/prophet mention record with corpus section, subjects, topics, work, ref, excerpt and edges, plus the subjects index",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/miracles.json": {
      "get": {
        "operationId": "getMiracles",
        "summary": "Divine and Prophetic Miracles Browser dataset",
        "description": "The Divine and Prophetic Miracles Browser dataset (متصفح المعجزات الإلهية ومعجزات الرسل): every mention of the divine miracles and the prophets' miracles in the Qur'an, Sunnah, seerah and harvested books — the miracle of the Qur'an, the Prophet's signs, the staff, the sea, the she-camel, the ark, the fire, the clay bird, the cradle speech, the heavenly table, Sulayman's signs, the dreams, the annunciation, the covenant chest, the cosmic signs and the destruction of the nations — detected at build time and joined to the canonical mentions edges, plus the curated miracles-browser records and the subjects index, each with its corpus section (quran, sunnah, seerah, books, curated), kind (event/sign/mention), subjects/topics chips, work, ref, text excerpt and edges.",
        "responses": {
          "200": {
            "description": "Every miracle mention record with corpus section, kind, subjects, topics, work, ref, excerpt and edges, plus the subjects index",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/qurun.json": {
      "get": {
        "operationId": "getQurun",
        "summary": "Centuries, Years and Months Browser dataset",
        "description": "The Centuries, Years and Months Browser dataset (متصفح القرون والسنين والشهور الهامة والأشهر الحرم): every mention of the centuries and generations, the years and the named years, the important months and the sacred months in the Qur'an, Sunnah, seerah and harvested books — the qurun, the named years of the seerah (the Year of the Elephant, the Year of Sorrow, the Year of the Delegations, the Year of al-Ramada), the twelve lunar months from Muharram to Dhu al-Hijja, the four sacred months, the intercalation (al-Nasi'), the days of Tashriq, the day of 'Arafa, the Night of Power, the Jahiliyya month-names and the Persian months — detected at build time and joined to the canonical mentions edges, plus the curated qurun-browser records and the subjects index, each with its corpus section (quran, sunnah, seerah, books, curated), kind (period/mention), subjects/topics chips, work, ref, text excerpt and edges.",
        "responses": {
          "200": {
            "description": "Every time-mention record with corpus section, kind, subjects, topics, work, ref, excerpt and edges, plus the subjects index",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/madhahib.json": {
      "get": {
        "operationId": "getMadhahib",
        "summary": "Four Madhhabs Browser dataset",
        "description": "The Four Madhhabs Browser dataset (متصفح المذاهب الأربعة): every record tagged madhahib-browser with mh-<section> tags — the four imams and schools, other schools, the salaf forebears, the canonical books, the fiqh/usul concepts — plus every work, passage, event, exhibit or question whose mentions edge names a madhhab group or the madhhab concept, each with its computed sections (aima, hanafi, maliki, shafii, hanbali, ukhra, salaf, kutub, mafahim, dhikr), kind, traditions, themes and edges.",
        "responses": {
          "200": {
            "description": "Every madhhab record with computed sections, kind, traditions, themes and edges",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/ghayb.json": {
      "get": {
        "operationId": "getQudsi",
        "summary": "Hadith Qudsi Browser dataset",
        "description": "The Ghayb Browser dataset: every record tagged ghayb-browser (unseen topics — jinn, angels, the soul, time measures, the Ascent, unseen creations, the barzakh, signs of the Hour) with kind, wings, themes, tags and edges.",
        "responses": {
          "200": {
            "description": "Every hadith qudsi narration of the six books and the Muwatta with work, ref, matn excerpt, hadith tag, themes and edges",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/qudsi.json": {
      "get": {
        "operationId": "getQudsi",
        "summary": "Hadith Qudsi Browser dataset",
        "description": "Every hadith qudsi narration of the six books and the Muwatta with work, ref, matn excerpt, hadith tag, themes and edges",
        "responses": {
          "200": {
            "description": "Every hadith qudsi narration of the six books and the Muwatta with work, ref, matn excerpt, hadith tag, themes and edges",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/fatwa.json": {
      "get": {
        "operationId": "getFatwa",
        "summary": "Fatwa Explorer dataset",
        "description": "Every fatwa and fatwa collection with publisher, URL, languages, dates and edges",
        "responses": {
          "200": {
            "description": "Every fatwa and fatwa collection with publisher, URL, languages, dates and edges",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/asma.json": {
      "get": {
        "operationId": "getAsma",
        "summary": "Asma ul Husna Browser dataset",
        "description": "The 99 divine-name concepts in enumeration order with transliteration, root, enumeration, trilingual labels and edges",
        "responses": {
          "200": {
            "description": "The 99 divine names with order, name_meta and edges",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/battles.json": {
      "get": {
        "operationId": "getBattles",
        "summary": "Battles, Wars and Conquests Browser dataset",
        "description": "Every military-kind event — battle, siege, conquest, war, campaign, raid, revolt, civil-war, skirmish, naval-battle, mutiny — with date, periods, sides, outcome, casualties, map and the derived ghazwa flag for prophetic-era expeditions",
        "responses": {
          "200": {
            "description": "The military engagements with sides, outcome and edges",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/khulafa.json": {
      "get": {
        "operationId": "getKhulafa",
        "summary": "Khulafa Browser dataset",
        "description": "Every caliph person record with roles and story_roles reigns",
        "responses": {
          "200": {
            "description": "The caliphs with roles and reign story_roles",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/khulafa/chains.json": {
      "get": {
        "operationId": "getKhulafaChains",
        "summary": "Khulafa Browser succession chains",
        "description": "The ordered succession chain of each caliphate, computed from story_roles reigns",
        "responses": {
          "200": {
            "description": "Per-polity ordered caliph chains",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/khutab.json": {
      "get": {
        "operationId": "getKhutab",
        "summary": "Khutab and Durus dataset",
        "description": "Every sermon, lesson and lecture series with speaker, occasion, host, audience, order and edges",
        "responses": {
          "200": {
            "description": "Every sermon, lesson and lecture series with speaker, occasion, host, audience, order and edges",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/poetry.json": {
      "get": {
        "operationId": "getPoetry",
        "summary": "Poetry dataset",
        "description": "Every poem and diwan with poets, language, genre, metre and edges",
        "responses": {
          "200": {
            "description": "Every poem and diwan with poets, language, genre, metre and edges",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/screens.json": {
      "get": {
        "operationId": "getScreens",
        "summary": "Screening Room dataset",
        "description": "Every film, series and programme with format, relevance, titles, release, countries, languages, approach, depiction, ids and edges",
        "responses": {
          "200": {
            "description": "Every film, series and programme with format, relevance, titles, release, countries, languages, approach, depiction, ids and edges",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/time-browser/index.json": {
      "get": {
        "operationId": "getTimeBrowserIndex",
        "summary": "Time Browser subject index",
        "description": "The curated subjects: id, kind, titles, node count, journey flag, span",
        "responses": {
          "200": {
            "description": "The curated subjects: id, kind, titles, node count, journey flag, span",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/tafsir.json": {
      "get": {
        "operationId": "getTafsir",
        "summary": "Tafsir Browser dataset",
        "description": "The commentaries in the catalogue and each printed volume as a tafsir-volume work, with part_of and about edges to the verses each volume covers. Each row carries role (commentary or volume), volume_of (the commentary a volume belongs to) and verses_covered",
        "responses": {
          "200": {
            "description": "The commentary and each of its volumes with their verse coverage",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/tibb.json": {
      "get": {
        "summary": "Medicine Browser — prophetic medicine, medicine, anatomy, surgery, drugs and treatment dataset",
        "description": "The Medicine Browser dataset (متصفح الطب النبوي والطب والتشريح والجراحة والدواء والتداوي في الإسلام): everything the museum's sources mention about prophetic medicine, medicine and illness, anatomy, surgery, drugs and the seeking of treatment in the Qur'an, Sunnah, seerah, Companion and Tabi'in reports, the medical classics and every harvested book — passages detected at build time by a guarded lexicon (scripts/tibb.ts) plus the curated tibb-browser records (physicians, hospitals, medical books, remedies, rulings). Each item carries section (quran, sunnah, seerah, books, curated), topics (nabawi, tibb, tashrih, jiraha, dawa, tadawi), matched signals, work, ref and edges.",
        "responses": {
          "200": {
            "description": "Medicine dataset",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        },
        "tags": [
          "tibb"
        ]
      }
    },
    "/usra.json": {
      "get": {
        "summary": "Usra Browser — Family and Marriages dataset",
        "description": "The Usra Browser dataset (متصفح الأسرة والزيجات): everything the museum's sources mention about the most famous marriages in Islam, Muslim families, their dwellings, livelihood, daily life and social customs in the Qur'an, Sunnah, seerah, Companion and Tabi'in reports and every harvested book — passages detected at build time by a guarded lexicon (marital-context gating on «زواج/زوج», marriage-context gating on «خطبة», divine-voice exclusion on nafaqa verbs, publisher «دار» excluded, false positives by id) plus the curated usra-browser records (36 records incl. the usra/maskan/maisha/istidhan/diyafa seeds and event/marriage-of-fatima-and-ali) — each with its section (quran, sunnah, seerah, books, curated), usra_kind, topical topics (marriages, family, homes, livelihood, daily, customs), matched signals, work, ref, text excerpt, kind, themes, tags and edges.",
        "responses": {
          "200": {
            "description": "Usra dataset",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        },
        "tags": [
          "usra"
        ]
      }
    },
    "/ubuwwa.json": {
      "get": {
        "summary": "Ubuwwa Browser — Fatherhood in Islam dataset",
        "description": "The Ubuwwa Browser dataset (متصفح الأبوة في الإسلام): every mention of the father and fatherhood in Islam — the Qur'anic fathers and their counsel, dutifulness to the parents (birr) and disobedience ('uquq), the Prophet as a father, fathers raising and counselling children, paternity and lineage (nasab), and the orphan whose father is lost — in the Qur'an, Sunnah, seerah, Companion and Tabi'in reports and every harvested book — passages detected at build time by a guarded lexicon (the kunya «أبو فلان» never counts, child vocabulary gated on a father word in the same window, false positives excluded by id) plus the curated ubuwwa-browser records — each with its section (quran, sunnah, seerah, books, curated), topical topics (ab, birr, tarbiyya, nasab, yatm), matched signals, work, ref, text excerpt, kind, themes, tags and edges.",
        "responses": {
          "200": {
            "description": "Ubuwwa dataset",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        },
        "tags": [
          "ubuwwa"
        ]
      }
    },
    "/ukhuwwa.json": {
      "get": {
        "summary": "Ukhuwwa Browser — Brotherhood in Islam dataset",
        "description": "The Ukhuwwa Browser dataset (متصفح الأخوة في الإسلام): everything the museum's sources mention about brotherhood and sisterhood in Islam — faith-brotherhood («المؤمنون إخوة», «المسلم أخو المسلم»), the brothers and sisters themselves, the Prophet's brothering (المؤاخاة) of the Muhajirun and the Ansar, love for God's sake (الحب في الله), altruism and aid (الإيثار ونصرة الأخ), the rights a Muslim owes a Muslim (حقوق الأخ) and what breaks brotherhood (حسد، بغض، هجر، ظن السوء) — in the Qur'an, Sunnah, seerah, Companion and Tabi'in reports and every harvested book — passages detected at build time by a guarded lexicon (possessed-form gating on bare «أخ», isnad-shape exclusion on «عن أخيه», rights-context gating on «عيادة/تشميت», brother-context gating on «حسد/غيبة/هجر», false positives by id) plus the curated ukhuwwa-browser records — each with its section (quran, sunnah, seerah, books, curated), topical topics (ikwha, muakhat, hubb, ithar, huquq, tahdhir), matched signals, work, ref, text excerpt, kind, themes, tags and edges.",
        "responses": {
          "200": {
            "description": "Ukhuwwa dataset",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        },
        "tags": [
          "ukhuwwa"
        ]
      }
    },
    "/openapi.json": {
      "get": {
        "operationId": "getOpenApi",
        "summary": "This document",
        "description": "The OpenAPI description of the API, served beside the data.",
        "responses": {
          "200": {
            "description": "This document",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/chains.json": {
      "get": {
        "operationId": "getChains",
        "summary": "Succession chains",
        "description": "Every successor_of relation of the graph with its sources (edges), and the maximal runs in which each link has one predecessor and one successor, earliest first (chains). Nothing is inferred. The caliphate chains and the invention dependency chains are separate files named in see_also.",
        "responses": {
          "200": {
            "description": "Succession chains",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/meta/counts.json": {
      "get": {
        "operationId": "getCounts",
        "summary": "Site-wide counts",
        "description": "wings: records of each wing's own class (what the menu's noun counts); halls: records tagged with each wing, drafts included (what the hall lists); entities: every record with a page. definitions says which population each key counts.",
        "responses": {
          "200": {
            "description": "Site-wide counts",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/meta/search-canon.{lang}.json": {
      "get": {
        "operationId": "getSearchCanon",
        "summary": "Canon-first search index",
        "description": "keys maps a normalised name to an index into records (id, title, summary), one entry per canon record. lang is ar, en or ur.",
        "parameters": [
          {
            "name": "lang",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "ar",
                "en",
                "ur"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The index",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/trade.json": {
      "get": {
        "operationId": "getTrade",
        "summary": "Trade Browser dataset",
        "description": "The Trade Browser dataset (متصفح قافلة الشتاء والصيف وطريق الحرير وتجارة المسلمين): every mention of the Quraysh winter and summer caravans, the Silk Road and Muslim trade in the Qur'an, Sunnah, seerah and harvested books — the ilaf, caravans and way-stations, the Silk Road and the trade roads, markets, merchants, weights and measures, maritime and caravan commerce — detected at build time plus the curated records tagged trade-browser, each with its corpus section (quran, sunnah, seerah, books, curated), topic chips (caravans, silk-road, trade), matched signals, work, ref, text excerpt, kind, themes, tags and edges.",
        "responses": {
          "200": {
            "description": "Every trade record with corpus section, topics, signals, work, ref, excerpt, themes and edges",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    }
  },
  "components": {
    "parameters": {
      "class": {
        "name": "class",
        "in": "path",
        "required": true,
        "description": "One of the 21 record classes.",
        "schema": {
          "type": "string",
          "enum": [
            "person",
            "group",
            "polity",
            "event",
            "period",
            "journey",
            "place",
            "building",
            "object",
            "media",
            "work",
            "passage",
            "concept",
            "language",
            "practice",
            "exhibit",
            "question",
            "source",
            "dataset",
            "listing",
            "screen"
          ]
        }
      },
      "slug": {
        "name": "slug",
        "in": "path",
        "required": true,
        "description": "ASCII slug of the record, without the class prefix.",
        "schema": {
          "type": "string",
          "pattern": "^[a-z0-9-]+$"
        }
      }
    }
  }
}