{"openapi":"3.1.0","info":{"title":"Desh API","version":"1.0.0","description":"Free, open, bilingual API for Bangladesh: reference data (geo, banks, universities, holidays, hotlines), Bangla language tools, validators, and calculators (income tax, VAT, loans, zakat), today's gold, market and fuel prices, and mobile financial services (bKash, Nagad, Rocket, Upay, TAP).\n\n- Every response is `{ success, data, meta }`; `meta.source` and `meta.last_updated` say where the data came from.\n- Errors are `{ success: false, error: { code, message } }` with a matching HTTP status.\n- Numbers can be sent in Latin (1250) or Bangla (১২৫০) digits.\n- No API key required for public access (120 req/min, 10,000 req/day). Optional API key (X-API-Key) unlocks higher Developer and Enterprise quotas.\n- Validators check formats only and never store or log what you send.\n- Gold and market prices are read live (BAJUS, TCB). Where a source cannot be reached, the last list read (within 7 days) is served with `freshness: \"last_known\"`; with none, the API answers 503 `upstream_unavailable`.\n- Where an official source is English-only (bank branches, most universities), `name_bn` is omitted rather than invented.","license":{"name":"Code MIT, data CC BY 4.0"}},"servers":[{"url":"/","description":"This server"}],"tags":[{"name":"Geo","description":"Divisions, districts, upazilas, unions and post offices with English and Bangla names. Sources: BBS geocodes and the Post Office list."},{"name":"Bangla toolkit","description":"Number and taka in words, digit conversion, lakh/crore formatting, Bangla calendar dates, ordinals, slugs and Avro Phonetic transliteration."},{"name":"Phone","description":"Validate and normalise Bangladesh mobile numbers. The operator is the original prefix allocation; ported numbers cannot be detected."},{"name":"Convert","description":"Convert text between legacy Bijoy (SutonnyMJ) encoding and Unicode Bangla."},{"name":"Land","description":"Convert land measurements (katha, bigha, decimal, acre, …). Sizes of some units vary by region; standard values only."},{"name":"Validate","description":"Format checks for NID, vehicle registration plates, e-TIN, VAT BIN and postcodes. Values are never looked up, stored or logged."},{"name":"Hotlines","description":"National hotline numbers checked against official government pages. In an emergency, call 999."},{"name":"Fun","description":"Traditional proverbs and riddles, quiz questions and history events (each citing its source), and GI-registered traditional foods by district. Pass `seed` for a repeatable pick."},{"name":"Holidays","description":"Official government holiday lists (general, executive-order and optional), holiday checks and working-day counts. Only years with a published official list are served; moon-dependent dates are tentative until confirmed."},{"name":"Finance","description":"Income tax for individuals from the Finance Act (keyed by tax year; tax year 2027-28 = income earned July 2026 – June 2027), VAT, loan EMI, DPS maturity and statutory gratuity. Every response cites its legal source and carries a disclaimer; these are estimates, not tax, financial or legal advice."},{"name":"Mock data","description":"Synthetic Bangladeshi people and addresses for testing apps: bilingual names, format-valid phones and NIDs, example.com emails, and addresses consistent with real upazilas and postcodes. Nothing describes a real person. Pass `seed` for repeatable output."},{"name":"Banks","description":"Scheduled banks and their branches from Bangladesh Bank (as on 31 August 2026), by district and upazila, and routing-number lookup. Routing numbers come from a secondary table and are included only when they match the branch and pass the check digit; confirm with your bank before sending money."},{"name":"Education","description":"UGC universities, 11 statutory education boards (BISE, Madrasah, Technical) with district jurisdictions, and official GPA 5.0 grading scale reference and exam GPA calculator."},{"name":"Gold & zakat","description":"Gold and silver prices read live from the Bangladesh Jewellers Association (BAJUS), per gram and per vori (11.664 g), and a zakat calculator using the classical nisab (7.5 vori gold or 52.5 vori silver)."},{"name":"Market prices","description":"Today's retail prices of essential goods in Dhaka from the Trading Corporation of Bangladesh (read live from TCB's daily spreadsheet, with English names added), and the government's monthly fuel prices."},{"name":"MFS","description":"Mobile Financial Services (bKash, Nagad, Rocket, Upay, TAP) tariff schedules, USSD codes, transaction fee calculator and ranking comparison."},{"name":"Prayer Times & Ramadan","description":"Daily 5 prayer times (Fajr, Dhuhr, Asr, Maghrib, Isha), Sehri cutoff, and 30-day Ramadan timetable for all 64 districts based on Islamic Foundation Bangladesh standards."},{"name":"Dhaka Metro Rail","description":"Dhaka Metro Rail (MRT Line-6) stations, GPS coordinates, fare calculator with 10% MRT Pass discount, timetables, and line overview from DMTCL."},{"name":"Health","description":"National government hospitals, specialized medical institutes, bed capacities, emergency casualty hotlines, and GPS coordinates from DGHS."},{"name":"Weather & Disaster Signals","description":"Bangladesh Meteorological Department (BMD) maritime (1-11) and inland riverport (1-4) storm signals, Department of Environment AQI categories, and traditional 6 Bangla seasons."},{"name":"Bangladesh Railway","description":"Bangladesh Railway (BR) intercity express trains, train schedules, weekly off-days, standard coach classes, and major railway junction stations."},{"name":"Constituencies","description":"300 general single-member territorial constituencies of Jatiya Sangsad (জাতীয় সংসদীয় আসন ১-৩০০) with seat numbers, boundaries, and district breakdowns from the Bangladesh Election Commission."},{"name":"Airports","description":"Civil Aviation Authority of Bangladesh (CAAB) international airports, domestic operational airports, STOL airstrips, IATA/ICAO codes, coordinates, and runway dimensions."},{"name":"Heritage","description":"UNESCO World Heritage sites, archaeological monuments, eco-tourism reserves, and national landmarks (Department of Archaeology & Bangladesh Parjatan Corporation)."},{"name":"Rivers","description":"Major river networks of Bangladesh (BWDB & Banglapedia): origins, outflows, traversed districts, lengths, and transboundary relations."},{"name":"Ports","description":"Statutory land ports and border customs stations across Bangladesh (Bangladesh Land Port Authority - BLPA)."},{"name":"Bangla NLP","description":"Natural Language Processing tools for Bengali: canonical stopwords, Unicode text normalizer, sentence and word tokenization, and rule-based affix-stripping stemmer."},{"name":"Developer","description":"Developer authentication, API key validation, daily request quotas, and rate limit inspection."}],"components":{"schemas":{"Division":{"type":"object","properties":{"slug":{"type":"string","pattern":"^[a-z0-9]+(-[a-z0-9]+)*$","example":"dhaka"},"name_en":{"type":"string","minLength":1,"maxLength":100},"name_bn":{"type":"string","minLength":1,"maxLength":100},"aliases":{"type":"array","items":{"type":"string","minLength":1},"description":"Alternate or historical spellings"},"bbs_code":{"type":"string","pattern":"^BD\\d+$","description":"Official BBS geocode"},"url":{"type":"string","description":"Official website"},"lat":{"type":"number","minimum":20.5,"maximum":26.7},"lon":{"type":"number","minimum":88,"maximum":92.7}},"required":["slug","name_en","name_bn","aliases"],"example":{"slug":"dhaka","name_en":"Dhaka","name_bn":"ঢাকা","aliases":[],"bbs_code":"BD30","lat":23.7104,"lon":90.4074}},"Meta":{"type":"object","properties":{"source":{"type":"string"},"last_updated":{"type":"string"},"version":{"type":"string","enum":["v1"]},"disclaimer":{"type":"string"},"pagination":{"type":"object","properties":{"page":{"type":"integer"},"per_page":{"type":"integer"},"total":{"type":"integer"}},"required":["page","per_page","total"]}},"required":["source","last_updated","version"]},"Error":{"type":"object","properties":{"success":{"type":"boolean","enum":[false]},"error":{"type":"object","properties":{"code":{"type":"string","example":"not_found"},"message":{"type":"string"},"message_bn":{"type":"string"},"details":{}},"required":["code","message"]},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","error","meta"]},"District":{"type":"object","properties":{"slug":{"type":"string","pattern":"^[a-z0-9]+(-[a-z0-9]+)*$","example":"dhaka"},"name_en":{"type":"string","minLength":1,"maxLength":100},"name_bn":{"type":"string","minLength":1,"maxLength":100},"aliases":{"type":"array","items":{"type":"string","minLength":1},"description":"Alternate or historical spellings"},"bbs_code":{"type":"string","pattern":"^BD\\d+$","description":"Official BBS geocode"},"url":{"type":"string","description":"Official website"},"lat":{"type":"number","minimum":20.5,"maximum":26.7},"lon":{"type":"number","minimum":88,"maximum":92.7},"division":{"type":"string","pattern":"^[a-z0-9]+(-[a-z0-9]+)*$","example":"dhaka"}},"required":["slug","name_en","name_bn","aliases","division"],"example":{"slug":"cumilla","name_en":"Cumilla","name_bn":"কুমিল্লা","aliases":["Comilla"],"division":"chattogram","bbs_code":"BD2019","lat":23.4683,"lon":91.1788}},"Upazila":{"type":"object","properties":{"slug":{"type":"string","pattern":"^[a-z0-9]+(-[a-z0-9]+)*$","example":"dhaka"},"name_en":{"type":"string","minLength":1,"maxLength":100},"name_bn":{"type":"string","minLength":1,"maxLength":100},"aliases":{"type":"array","items":{"type":"string","minLength":1},"description":"Alternate or historical spellings"},"bbs_code":{"type":"string","pattern":"^BD\\d+$","description":"Official BBS geocode"},"url":{"type":"string","description":"Official website"},"lat":{"type":"number","minimum":20.5,"maximum":26.7},"lon":{"type":"number","minimum":88,"maximum":92.7},"district":{"type":"string","pattern":"^[a-z0-9]+(-[a-z0-9]+)*$","example":"dhaka"}},"required":["slug","name_en","name_bn","aliases","district"],"example":{"slug":"debidwar","name_en":"Debidwar","name_bn":"দেবিদ্বার","aliases":[],"district":"cumilla","bbs_code":"BD20190040","lat":23.5797,"lon":90.9981}},"Parents":{"type":"object","properties":{"division":{"$ref":"#/components/schemas/Ref"},"district":{"$ref":"#/components/schemas/Ref"},"upazila":{"$ref":"#/components/schemas/Ref"},"city_corporation":{"$ref":"#/components/schemas/Ref"}}},"Ref":{"type":"object","properties":{"slug":{"type":"string","pattern":"^[a-z0-9]+(-[a-z0-9]+)*$","example":"dhaka"},"name_en":{"type":"string","minLength":1,"maxLength":100},"name_bn":{"type":"string","minLength":1,"maxLength":100}},"required":["slug","name_en","name_bn"]},"Union":{"type":"object","properties":{"slug":{"type":"string","pattern":"^[a-z0-9]+(-[a-z0-9]+)*$","example":"dhaka","description":"Unique within its upazila"},"name_en":{"type":"string","minLength":1,"maxLength":100},"name_bn":{"type":"string","minLength":1,"maxLength":100},"aliases":{"type":"array","items":{"type":"string","minLength":1},"description":"Alternate or historical spellings"},"bbs_code":{"type":"string","pattern":"^BD\\d+$","description":"Official BBS geocode"},"url":{"type":"string","description":"Official website"},"lat":{"type":"number","minimum":20.5,"maximum":26.7},"lon":{"type":"number","minimum":88,"maximum":92.7},"upazila":{"type":"string","pattern":"^[a-z0-9]+(-[a-z0-9]+)*$","example":"dhaka"}},"required":["slug","name_en","name_bn","aliases","upazila"],"example":{"slug":"subil","name_en":"Subil","name_bn":"সুবিল","aliases":[],"upazila":"debidwar","bbs_code":"BD20194095","lat":23.6195,"lon":91.011}},"PostcodeLookup":{"type":"object","properties":{"postcode":{"type":"string"},"post_offices":{"type":"array","items":{"$ref":"#/components/schemas/PostOffice"}}},"required":["postcode","post_offices"],"example":{"postcode":"1205","post_offices":[{"postcode":"1205","name_en":"New Market TSO","name_bn":null,"thana_en":"New market","district":"dhaka","city_corporation":"dhaka-south","lat":23.7433,"lon":90.3841}]}},"PostOffice":{"type":"object","properties":{"postcode":{"type":"string","pattern":"^\\d{4}$"},"name_en":{"type":"string","minLength":1,"maxLength":100},"name_bn":{"type":["string","null"],"minLength":1,"maxLength":100,"description":"Not yet available for post offices (null until contributed)"},"thana_en":{"type":"string","minLength":1,"maxLength":100,"description":"Postal thana as published by the Post Office"},"district":{"type":"string","pattern":"^[a-z0-9]+(-[a-z0-9]+)*$","example":"dhaka"},"upazila":{"type":"string","pattern":"^[a-z0-9]+(-[a-z0-9]+)*$","example":"dhaka"},"city_corporation":{"type":"string","pattern":"^[a-z0-9]+(-[a-z0-9]+)*$","example":"dhaka"},"lat":{"type":"number","minimum":20.5,"maximum":26.7},"lon":{"type":"number","minimum":88,"maximum":92.7}},"required":["postcode","name_en","name_bn","thana_en","district"],"example":{"postcode":"1205","name_en":"New Market","name_bn":null,"thana_en":"Dhanmondi","district":"dhaka","city_corporation":"dhaka-south","lat":23.7383,"lon":90.3833}},"SearchHit":{"type":"object","properties":{"level":{"type":"string","enum":["division","district","upazila","union","post_office"]},"slug":{"type":"string"},"name_en":{"type":"string","minLength":1,"maxLength":100},"name_bn":{"type":["string","null"],"minLength":1,"maxLength":100},"postcode":{"type":"string"},"parents":{"$ref":"#/components/schemas/Parents"}},"required":["level","slug","name_en","name_bn","parents"],"example":{"level":"district","slug":"cumilla","name_en":"Cumilla","name_bn":"কুমিল্লা","parents":{"division":{"slug":"chattogram","name_en":"Chattogram","name_bn":"চট্টগ্রাম"}}}},"NearestArea":{"type":"object","properties":{"area":{"$ref":"#/components/schemas/SearchHit"},"distance_km":{"type":"number"}},"required":["area","distance_km"],"example":{"area":{"level":"district","slug":"dhaka","name_en":"Dhaka","name_bn":"ঢাকা","parents":{"division":{"slug":"dhaka","name_en":"Dhaka","name_bn":"ঢাকা"}}},"distance_km":6.07}},"NumberWords":{"type":"object","properties":{"input":{"type":"number"},"words":{"type":"string"}},"required":["input","words"],"example":{"input":1250,"words":"এক হাজার দুইশত পঞ্চাশ"}},"TakaWords":{"type":"object","properties":{"input":{"type":"number"},"words":{"type":"string"},"taka":{"type":"integer"},"paisa":{"type":"integer"}},"required":["input","words","taka","paisa"],"example":{"input":1250.5,"words":"এক হাজার দুইশত পঞ্চাশ টাকা পঞ্চাশ পয়সা","taka":1250,"paisa":50}},"Digits":{"type":"object","properties":{"input":{"type":"string"},"output":{"type":"string"}},"required":["input","output"],"example":{"input":"2026","output":"২০২৬"}},"FormattedNumber":{"type":"object","properties":{"input":{"type":"number"},"formatted":{"type":"string"}},"required":["input","formatted"],"example":{"input":1250000,"formatted":"১২,৫০,০০০"}},"BanglaDate":{"type":"object","properties":{"gregorian":{"type":"string"},"day":{"type":"integer"},"day_bn":{"type":"string"},"month":{"type":"object","properties":{"name_bn":{"type":"string"},"name_en":{"type":"string"},"index":{"type":"integer"}},"required":["name_bn","name_en","index"]},"year":{"type":"integer"},"year_bn":{"type":"string"},"weekday":{"type":"object","properties":{"name_bn":{"type":"string"},"name_en":{"type":"string"}},"required":["name_bn","name_en"]},"season":{"type":"object","properties":{"name_bn":{"type":"string"},"name_en":{"type":"string"}},"required":["name_bn","name_en"]},"formatted_bn":{"type":"string"}},"required":["gregorian","day","day_bn","month","year","year_bn","weekday","season","formatted_bn"],"example":{"gregorian":"2026-12-16","day":1,"day_bn":"১","month":{"index":9,"name_bn":"পৌষ","name_en":"Poush"},"year":1433,"year_bn":"১৪৩৩","weekday":{"name_bn":"বুধবার","name_en":"Wednesday"},"season":{"name_bn":"শীত","name_en":"Sheet (winter)"},"formatted_bn":"১ পৌষ ১৪৩৩ বঙ্গাব্দ"}},"Ordinal":{"type":"object","properties":{"input":{"type":"integer"},"ordinal":{"type":"string"},"short":{"type":"string"}},"required":["input","ordinal","short"],"example":{"input":3,"ordinal":"তৃতীয়","short":"৩য়"}},"SlugResult":{"type":"object","properties":{"input":{"type":"string"},"slug":{"type":"string"}},"required":["input","slug"],"example":{"input":"আমার সোনার বাংলা","slug":"amar-sonar-bangla"}},"Transliteration":{"type":"object","properties":{"input":{"type":"string"},"output":{"type":"string"},"scheme":{"type":"string","enum":["avro-phonetic"]}},"required":["input","output","scheme"],"example":{"input":"ami bhalo achi","output":"আমি ভালো আছি","scheme":"avro-phonetic"}},"PhoneResult":{"type":"object","properties":{"input":{"type":"string"},"valid":{"type":"boolean"},"reason":{"type":"string","enum":["invalid_chars","invalid_length","invalid_prefix"]},"normalized":{"type":"string","description":"Local 11-digit form"},"international":{"type":"string","description":"E.164 form"},"operator":{"allOf":[{"$ref":"#/components/schemas/Ref"},{"description":"Original operator for the prefix"}]},"portability_notice":{"type":"string"}},"required":["input","valid","portability_notice"],"example":{"input":"+8801712345678","valid":true,"normalized":"01712345678","international":"+8801712345678","operator":{"slug":"grameenphone","name_en":"Grameenphone","name_bn":"গ্রামীণফোন"},"portability_notice":"Operator reflects the original prefix allocation; the number may have been ported."}},"Conversion":{"type":"object","properties":{"input_length":{"type":"integer"},"output":{"type":"string"}},"required":["input_length","output"],"example":{"input_length":18,"output":"আমার সোনার বাংলা"}},"ConvertRequest":{"type":"object","properties":{"text":{"type":"string","minLength":1}},"required":["text"],"example":{"text":"Avgvi †mvbvi evsjv"}},"LandUnit":{"type":"object","properties":{"slug":{"type":"string","pattern":"^[a-z0-9]+(-[a-z0-9]+)*$","example":"dhaka"},"name_en":{"type":"string","minLength":1,"maxLength":100},"name_bn":{"type":"string","minLength":1,"maxLength":100},"aliases":{"type":"array","items":{"type":"string","minLength":1}},"sqft":{"type":"number","exclusiveMinimum":0,"description":"Square feet in one unit (standard value)"},"variants":{"type":"array","items":{"type":"object","properties":{"region":{"type":"string","pattern":"^[a-z0-9]+(-[a-z0-9]+)*$","example":"dhaka"},"sqft":{"type":"number","exclusiveMinimum":0},"source":{"type":"string","minLength":1}},"required":["region","sqft","source"]},"description":"Regional sizes, listed only when a source is cited"}},"required":["slug","name_en","name_bn","aliases","sqft","variants"],"example":{"slug":"katha","name_en":"Katha","name_bn":"কাঠা","aliases":["kata","kattha"],"sqft":720,"variants":[]}},"LandConversion":{"type":"object","properties":{"input":{"type":"object","properties":{"value":{"type":"number"},"unit":{"type":"string","pattern":"^[a-z0-9]+(-[a-z0-9]+)*$","example":"dhaka"},"name_bn":{"type":"string"}},"required":["value","unit","name_bn"]},"region":{"type":"string"},"result":{"type":"object","properties":{"value":{"type":"number"},"unit":{"type":"string","pattern":"^[a-z0-9]+(-[a-z0-9]+)*$","example":"dhaka"}},"required":["value","unit"]},"all":{"type":"object","additionalProperties":{"type":"number"}}},"required":["input","region","all"],"example":{"input":{"value":5,"unit":"katha","name_bn":"কাঠা"},"region":"standard","result":{"value":3600,"unit":"sqft"},"all":{"sqft":3600,"sqm":334.45,"decimal":8.26,"katha":5,"bigha":0.25,"acre":0.08}}},"ValidationResult":{"type":"object","properties":{"type":{"type":"string","enum":["nid","vehicle","tin","bin","postcode","routing"]},"valid":{"type":"boolean"},"reason":{"type":"string","enum":["invalid_chars","invalid_length","invalid_birth_year","invalid_format","unknown_area","unknown_class","invalid_check_digit"]},"normalized":{"type":"string"},"details":{"type":"object","additionalProperties":{},"description":"Type-specific parsed parts"}},"required":["type","valid"],"example":{"type":"vehicle","valid":true,"normalized":"ঢাকা মেট্রো-গ ১১-২২৩৩","details":{"area":{"slug":"dhaka","name_en":"Dhaka","name_bn":"ঢাকা"},"metro":true,"class":"গ","series":11,"number":2233}}},"Hotline":{"type":"object","properties":{"number":{"type":"string","pattern":"^\\d{3,6}$"},"name_en":{"type":"string","minLength":1,"maxLength":100},"name_bn":{"type":"string","minLength":1,"maxLength":100},"category":{"type":"string","enum":["emergency","health","women-children","disaster","information","legal-aid","government-service","transport","utility"]},"toll_free":{"type":"boolean","description":"Only present when the source states it"},"hours":{"type":"string","description":"Only present when the source states it"},"notes_en":{"type":"string"},"source":{"type":"string","format":"uri","description":"Official page the number was checked against"},"last_verified":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date the number was last checked against `source`"}},"required":["number","name_en","name_bn","category","source","last_verified"],"example":{"number":"999","name_en":"National Emergency Service (police, fire, ambulance)","name_bn":"জাতীয় জরুরি সেবা","category":"emergency","toll_free":true,"hours":"24/7","source":"https://bangladesh.gov.bd/pages/static-pages/69a55ba386514399668e4e89","last_verified":"2026-11-14"}},"HotlineCategory":{"type":"object","properties":{"slug":{"type":"string","enum":["emergency","health","women-children","disaster","information","legal-aid","government-service","transport","utility"]},"name_en":{"type":"string"},"name_bn":{"type":"string"},"count":{"type":"integer"}},"required":["slug","name_en","name_bn","count"],"example":{"slug":"emergency","name_en":"Emergency","name_bn":"জরুরি","count":3}},"Proverb":{"type":"object","properties":{"id":{"type":"string","pattern":"^proverb-\\d{4}$"},"text_bn":{"type":"string","minLength":1,"maxLength":100},"meaning_bn":{"type":"string","minLength":1},"meaning_en":{"type":"string","minLength":1},"source":{"type":"string","minLength":1}},"required":["id","text_bn","meaning_bn","meaning_en","source"],"example":{"id":"proverb-0001","text_bn":"অতি লোভে তাঁতি নষ্ট","meaning_bn":"বেশি লোভ করলে ক্ষতি হয়।","meaning_en":"Excessive greed leads to ruin.","source":"Traditional (public domain)"}},"Riddle":{"type":"object","properties":{"id":{"type":"string","pattern":"^riddle-\\d{4}$"},"question_bn":{"type":"string","minLength":1},"answer_bn":{"type":"string","minLength":1},"answer_en":{"type":"string"},"source":{"type":"string","minLength":1}},"required":["id","question_bn","answer_bn","source"],"example":{"id":"riddle-0001","question_bn":"বন থেকে বেরোল টিয়ে, সোনার টোপর মাথায় দিয়ে।","answer_bn":"আনারস","answer_en":"Pineapple","source":"Traditional (public domain)"}},"QuizQuestion":{"type":"object","properties":{"id":{"type":"string","pattern":"^quiz-\\d{4}$"},"topic":{"type":"string","enum":["liberation-war","geography","culture","history"]},"question_bn":{"type":"string","minLength":1},"question_en":{"type":"string","minLength":1},"options":{"type":"array","items":{"type":"object","properties":{"bn":{"type":"string","minLength":1},"en":{"type":"string","minLength":1}},"required":["bn","en"]},"minItems":2,"maxItems":5},"answer_index":{"type":"integer","minimum":0},"source":{"type":"string","format":"uri"}},"required":["id","topic","question_bn","question_en","options","answer_index","source"],"example":{"id":"quiz-0001","topic":"culture","question_bn":"বাংলাদেশের জাতীয় ফুল কোনটি?","question_en":"What is the national flower of Bangladesh?","options":[{"bn":"শাপলা","en":"Water lily"},{"bn":"গোলাপ","en":"Rose"},{"bn":"জবা","en":"Hibiscus"}],"answer_index":0,"source":"https://en.wikipedia.org/wiki/National_symbols_of_Bangladesh"}},"QuizTopic":{"type":"object","properties":{"slug":{"type":"string","enum":["liberation-war","geography","culture","history"]},"name_en":{"type":"string"},"name_bn":{"type":"string"},"count":{"type":"integer"}},"required":["slug","name_en","name_bn","count"],"example":{"slug":"culture","name_en":"Culture","name_bn":"সংস্কৃতি","count":10}},"Dish":{"type":["object","null"],"properties":{"slug":{"type":"string","pattern":"^[a-z0-9]+(-[a-z0-9]+)*$","example":"dhaka"},"name_en":{"type":"string","minLength":1,"maxLength":100},"name_bn":{"type":"string","minLength":1,"maxLength":100},"district":{"type":"string","pattern":"^[a-z0-9]+(-[a-z0-9]+)*$","example":"dhaka","description":"Absent for national GI products"},"gi_application":{"type":"string","description":"GI application number as printed by DPDT"},"description_en":{"type":"string","minLength":1},"description_bn":{"type":"string","minLength":1},"source":{"type":"string","format":"uri"}},"required":["slug","name_en","name_bn","description_en","description_bn","source"],"example":{"slug":"bogura-doi","name_en":"Curd (doi) of Bogura","name_bn":"বগুড়ার দই","district":"bogura","gi_application":"জি আই-২৯","description_en":"Registered Geographical Indication (GI) product of Bangladesh.","description_bn":"বাংলাদেশের নিবন্ধিত ভৌগোলিক নির্দেশক (জিআই) পণ্য।","source":"https://dpdt.gov.bd/pages/static-pages/6922dff0933eb65569e24bcf"}},"HistoryEvent":{"type":"object","properties":{"id":{"type":"string","pattern":"^history-\\d{4}$"},"month":{"type":"integer","minimum":1,"maximum":12},"day":{"type":"integer","minimum":1,"maximum":31},"year":{"type":"integer","minimum":1000,"maximum":2100},"title_en":{"type":"string","minLength":1},"title_bn":{"type":"string","minLength":1},"source":{"type":"string","format":"uri"}},"required":["id","month","day","year","title_en","title_bn","source"],"example":{"id":"history-0001","month":2,"day":21,"year":1952,"title_en":"Students are shot by police during the Bengali Language Movement in Dhaka.","title_bn":"ঢাকায় ভাষা আন্দোলনে পুলিশের গুলিতে ছাত্ররা শহীদ হন।","source":"https://en.wikipedia.org/wiki/Bengali_language_movement"}},"HolidayYear":{"type":"object","properties":{"year":{"type":"integer","minimum":2000,"maximum":2100},"calendar":{"type":"string","enum":["general","bank"]},"documents":{"type":"array","items":{"type":"object","properties":{"ref":{"type":"string","minLength":1},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"url":{"type":"string","format":"uri"},"title_bn":{"type":"string"}},"required":["ref","date","url"]},"minItems":1}},"required":["year","calendar","documents"],"example":{"year":2027,"calendar":"general","documents":[{"ref":"MoPA notification 05.00.0000.175.08.0008.25-105 (5 Nov 2026)","date":"2026-11-05","url":"https://mopa.gov.bd/pages/go-ultimates/6aec1a0f47e3ef92265ec740"}]}},"HolidayWithBanglaDates":{"allOf":[{"$ref":"#/components/schemas/Holiday"},{"type":"object","properties":{"bangla_dates":{"type":"array","items":{"type":"string"}}},"required":["bangla_dates"]}],"example":{"id":"2027-general-victory-day","year":2027,"calendar":"general","name_en":"Victory Day","name_bn":"বিজয় দিবস","type":"general","dates":["2027-12-16"],"tentative":false,"source":"MoPA notification 05.00.0000.175.08.0008.25-105 (5 Nov 2026)","bangla_dates":["১ পৌষ ১৪৩৪ বঙ্গাব্দ"]}},"Holiday":{"type":"object","properties":{"id":{"type":"string","pattern":"^\\d{4}-(general|bank)-[a-z0-9]+(-[a-z0-9]+)*$"},"year":{"type":"integer","minimum":2000,"maximum":2100},"calendar":{"type":"string","enum":["general","bank"]},"name_en":{"type":"string","minLength":1,"maxLength":100},"name_bn":{"type":"string","minLength":1,"maxLength":100,"description":"Absent when the source document is English-only"},"type":{"type":"string","enum":["general","executive-order","optional","bank"]},"community":{"type":"string","enum":["muslim","hindu","christian","buddhist","ethnic-minority"]},"districts":{"type":"array","items":{"type":"string","pattern":"^[a-z0-9]+(-[a-z0-9]+)*$","example":"dhaka"},"minItems":1,"description":"When present, the holiday applies only in these districts"},"dates":{"type":"array","items":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"minItems":1},"tentative":{"type":"boolean"},"source":{"type":"string","minLength":1,"description":"`ref` of the official document"},"amended_by":{"type":"string","description":"`ref` of the document that changed it"}},"required":["id","year","calendar","name_en","type","dates","tentative","source"]},"HolidayDates":{"type":"array","items":{"type":"string"},"example":["2027-01-24","2027-02-21","2027-03-05"]},"DayStatus":{"type":"object","properties":{"date":{"type":"string"},"bangla_date":{"type":"string"},"weekend":{"type":"boolean"},"holiday":{"type":"boolean"},"working_day":{"type":"boolean"},"tentative":{"type":"boolean"},"holidays":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name_en":{"type":"string"},"name_bn":{"type":"string"},"type":{"type":"string","enum":["general","executive-order","optional","bank"]}},"required":["id","name_en","type"]}},"other_holidays":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name_en":{"type":"string"},"name_bn":{"type":"string"},"type":{"type":"string","enum":["general","executive-order","optional","bank"]}},"required":["id","name_en","type"]},"description":"Optional or district-only holidays on this day; they do not close offices generally"}},"required":["date","bangla_date","weekend","holiday","working_day","tentative","holidays","other_holidays"],"example":{"date":"2027-12-16","bangla_date":"১ পৌষ ১৪৩৪ বঙ্গাব্দ","weekend":false,"holiday":true,"working_day":false,"tentative":false,"holidays":[{"id":"2027-general-victory-day","name_en":"Victory Day","name_bn":"বিজয় দিবস","type":"general"}],"other_holidays":[]}},"WorkingDays":{"type":"object","properties":{"from":{"type":"string"},"to":{"type":"string"},"weekend":{"type":"array","items":{"type":"string"}},"days":{"type":"integer"},"working_days":{"type":"integer"},"weekend_days":{"type":"integer"},"holidays":{"type":"integer","description":"Holiday days that are not weekend days"},"holiday_list":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name_en":{"type":"string"},"name_bn":{"type":"string"},"type":{"type":"string","enum":["general","executive-order","optional","bank"]}},"required":["id","name_en","type"]}},"tentative":{"type":"boolean"}},"required":["from","to","weekend","days","working_days","weekend_days","holidays","holiday_list","tentative"],"example":{"from":"2027-12-01","to":"2027-12-31","weekend":["fri","sat"],"days":31,"working_days":22,"weekend_days":8,"holidays":1,"holiday_list":[{"id":"2027-general-victory-day","name_en":"Victory Day","name_bn":"বিজয় দিবস","type":"general"}],"tentative":false}},"TaxYearWithNames":{"type":"object","properties":{"tax_year":{"type":"string","pattern":"^\\d{4}-\\d{2}$"},"income_year":{"type":"object","properties":{"from":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"to":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"}},"required":["from","to"]},"thresholds":{"type":"array","items":{"type":"object","properties":{"category":{"type":"string","pattern":"^[a-z0-9]+(-[a-z0-9]+)*$","example":"dhaka"},"name_en":{"type":"string"},"name_bn":{"type":"string"},"amount":{"type":"number","minimum":0}},"required":["category","name_en","name_bn","amount"]}},"disabled_dependant_extra":{"type":"number","minimum":0},"slabs":{"type":"array","items":{"type":"object","properties":{"width":{"type":["number","null"],"exclusiveMinimum":0},"rate":{"type":"number","minimum":0,"maximum":100}},"required":["width","rate"]},"minItems":1,"description":"Bands above the tax-free threshold; the last has `width: null`"},"minimum_tax":{"type":"object","properties":{"general":{"type":"number","minimum":0},"new_taxpayer":{"type":"number","minimum":0}},"required":["general","new_taxpayer"]},"employment_exemption":{"type":"object","properties":{"divisor":{"type":"number","exclusiveMinimum":0},"cap":{"type":"number","minimum":0}},"required":["divisor","cap"],"description":"Exempt = lower of employment income ÷ divisor and cap"},"investment_rebate":{"type":"object","properties":{"income_rate":{"type":"number","minimum":0,"maximum":100},"investment_rate":{"type":"number","minimum":0,"maximum":100},"cap":{"type":"number","minimum":0}},"required":["income_rate","investment_rate","cap"]},"sources":{"type":"array","items":{"type":"object","properties":{"ref":{"type":"string","minLength":1},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"url":{"type":"string","format":"uri"},"kind":{"type":"string","enum":["act","summary","news"],"description":"`act` = the law itself; `summary` = professional summary; `news` = news report"}},"required":["ref","date","kind"]},"minItems":1},"unverified":{"type":"array","items":{"type":"string"},"description":"Rules that rest only on secondary sources and are not yet checked against the gazette"},"note":{"type":"string","minLength":1,"description":"Caveat for this tax year, e.g. rates set in advance that a later Act may change"}},"required":["tax_year","income_year","thresholds","disabled_dependant_extra","slabs","minimum_tax","employment_exemption","investment_rebate","sources","unverified"],"example":{"tax_year":"2027-28","income_year":{"from":"2026-07-01","to":"2027-06-30"},"thresholds":[{"category":"general","name_en":"General taxpayer","name_bn":"সাধারণ করদাতা","amount":400000},{"category":"woman","name_en":"Woman taxpayer","name_bn":"নারী করদাতা","amount":450000}],"disabled_dependant_extra":50000,"slabs":[{"width":300000,"rate":10},{"width":400000,"rate":15},{"width":500000,"rate":20},{"width":2000000,"rate":25},{"width":null,"rate":30}],"minimum_tax":{"general":5000,"new_taxpayer":1000},"employment_exemption":{"divisor":3,"cap":500000},"investment_rebate":{"income_rate":3,"investment_rate":10,"cap":750000},"sources":[{"ref":"Finance Act 2026 (passed 29 June 2026; Bangladesh Gazette, 30 June 2026)","date":"2026-06-30","kind":"act"}],"unverified":["employment_exemption.cap"]}},"IncomeTax":{"type":"object","properties":{"tax_year":{"type":"string"},"income_year":{"type":"object","properties":{"from":{"type":"string"},"to":{"type":"string"}},"required":["from","to"]},"category":{"type":"object","properties":{"slug":{"type":"string","pattern":"^[a-z0-9]+(-[a-z0-9]+)*$","example":"dhaka"},"name_en":{"type":"string"},"name_bn":{"type":"string"}},"required":["slug","name_en","name_bn"]},"income":{"type":"number","minimum":0},"employment_exemption":{"type":"number","minimum":0},"taxable_income":{"type":"number","minimum":0},"tax_free_threshold":{"type":"number","minimum":0},"slabs":{"type":"array","items":{"type":"object","properties":{"from":{"type":"number","minimum":0},"to":{"type":["number","null"],"minimum":0},"rate":{"type":"number","minimum":0,"maximum":100},"taxed":{"type":"number","minimum":0},"tax":{"type":"number","minimum":0}},"required":["from","to","rate","taxed","tax"]}},"gross_tax":{"type":"number","minimum":0},"rebate":{"type":"object","properties":{"eligible_investment":{"type":"number","minimum":0},"amount":{"type":"number","minimum":0},"limited_by":{"type":"string","enum":["none","income","investment","cap","tax"],"description":"Which limit set the rebate: 3% of taxable income, 10% of investment, the cap, or the tax itself"}},"required":["eligible_investment","amount","limited_by"]},"minimum_tax":{"type":"number","minimum":0},"minimum_tax_applied":{"type":"boolean"},"tax_payable":{"type":"number","minimum":0},"effective_rate":{"type":"number","minimum":0,"maximum":100,"description":"Tax payable as % of income"},"unverified":{"type":"array","items":{"type":"string"}},"note":{"type":"string"}},"required":["tax_year","income_year","category","income","employment_exemption","taxable_income","tax_free_threshold","slabs","gross_tax","rebate","minimum_tax","minimum_tax_applied","tax_payable","effective_rate","unverified"],"example":{"tax_year":"2027-28","income_year":{"from":"2026-07-01","to":"2027-06-30"},"category":{"slug":"general","name_en":"General taxpayer","name_bn":"সাধারণ করদাতা"},"income":1000000,"employment_exemption":0,"taxable_income":1000000,"tax_free_threshold":400000,"slabs":[{"from":0,"to":400000,"rate":0,"taxed":400000,"tax":0},{"from":400000,"to":700000,"rate":10,"taxed":300000,"tax":30000},{"from":700000,"to":1100000,"rate":15,"taxed":300000,"tax":45000}],"gross_tax":75000,"rebate":{"eligible_investment":0,"amount":0,"limited_by":"none"},"minimum_tax":5000,"minimum_tax_applied":false,"tax_payable":75000,"effective_rate":7.5,"unverified":[]}},"Emi":{"type":"object","properties":{"principal":{"type":"number","minimum":0},"annual_rate":{"type":"number","minimum":0,"maximum":100},"months":{"type":"integer"},"emi":{"type":"number","minimum":0},"total_payment":{"type":"number","minimum":0},"total_interest":{"type":"number","minimum":0},"schedule":{"type":"array","items":{"type":"object","properties":{"month":{"type":"integer"},"payment":{"type":"number","minimum":0},"principal":{"type":"number","minimum":0},"interest":{"type":"number","minimum":0},"balance":{"type":"number","minimum":0}},"required":["month","payment","principal","interest","balance"]}}},"required":["principal","annual_rate","months","emi","total_payment","total_interest"],"example":{"principal":1000000,"annual_rate":9,"months":60,"emi":20758.36,"total_payment":1245501.23,"total_interest":245501.23}},"Vat":{"type":"object","properties":{"rate":{"type":"number","minimum":0,"maximum":100},"inclusive":{"type":"boolean"},"net":{"type":"number","minimum":0},"vat":{"type":"number","minimum":0},"gross":{"type":"number","minimum":0}},"required":["rate","inclusive","net","vat","gross"],"example":{"rate":15,"inclusive":false,"net":1000,"vat":150,"gross":1150}},"Dps":{"type":"object","properties":{"monthly_deposit":{"type":"number","minimum":0},"annual_rate":{"type":"number","minimum":0,"maximum":100},"years":{"type":"integer"},"compounding":{"type":"string","enum":["monthly","quarterly","half-yearly","yearly"]},"total_deposit":{"type":"number","minimum":0},"interest":{"type":"number","minimum":0},"maturity_value":{"type":"number","minimum":0}},"required":["monthly_deposit","annual_rate","years","compounding","total_deposit","interest","maturity_value"],"example":{"monthly_deposit":5000,"annual_rate":8,"years":5,"compounding":"monthly","total_deposit":300000,"interest":69833.51,"maturity_value":369833.51}},"Gratuity":{"type":"object","properties":{"monthly_wage":{"type":"number","minimum":0},"service":{"type":"object","properties":{"years":{"type":"integer"},"months":{"type":"integer"}},"required":["years","months"]},"counted_years":{"type":"integer"},"days_per_year":{"type":"integer"},"daily_wage":{"type":"number","minimum":0},"gratuity":{"type":"number","minimum":0}},"required":["monthly_wage","service","counted_years","days_per_year","daily_wage","gratuity"],"example":{"monthly_wage":30000,"service":{"years":12,"months":8},"counted_years":13,"days_per_year":45,"daily_wage":1000,"gratuity":585000}},"MockPerson":{"type":"object","properties":{"name_en":{"type":"string"},"name_bn":{"type":"string"},"gender":{"type":"string","enum":["male","female"]},"date_of_birth":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"phone":{"type":"string","pattern":"^01[3-9]\\d{8}$"},"email":{"type":"string","format":"email"},"nid":{"type":"string","pattern":"^[1-9]\\d{9}$"},"address":{"$ref":"#/components/schemas/MockAddress"}},"required":["name_en","name_bn","gender","date_of_birth","phone","email","nid","address"],"example":{"name_en":"Nusrat Rahman","name_bn":"নুসরাত রহমান","gender":"female","date_of_birth":"1994-03-21","phone":"01712345678","email":"nusrat.rahman42@example.com","nid":"4512398765","address":{"line_en":"House 12, Road 5","line_bn":"বাড়ি ১২, রোড ৫","upazila":{"slug":"debidwar","name_en":"Debidwar","name_bn":"দেবিদ্বার"},"district":{"slug":"cumilla","name_en":"Cumilla","name_bn":"কুমিল্লা"},"division":{"slug":"chattogram","name_en":"Chattogram","name_bn":"চট্টগ্রাম"},"postcode":"3530"}}},"MockAddress":{"type":"object","properties":{"line_en":{"type":"string"},"line_bn":{"type":"string"},"upazila":{"$ref":"#/components/schemas/Ref"},"district":{"$ref":"#/components/schemas/Ref"},"division":{"$ref":"#/components/schemas/Ref"},"postcode":{"type":"string","pattern":"^\\d{4}$"}},"required":["line_en","line_bn","upazila","district","division","postcode"],"example":{"line_en":"House 12, Road 5","line_bn":"বাড়ি ১২, রোড ৫","upazila":{"slug":"debidwar","name_en":"Debidwar","name_bn":"দেবিদ্বার"},"district":{"slug":"cumilla","name_en":"Cumilla","name_bn":"কুমিল্লা"},"division":{"slug":"chattogram","name_en":"Chattogram","name_bn":"চট্টগ্রাম"},"postcode":"3530"}},"BankWithCounts":{"allOf":[{"$ref":"#/components/schemas/Bank"},{"type":"object","properties":{"branch_count":{"type":"integer"},"branches_with_routing":{"type":"integer"}},"required":["branch_count","branches_with_routing"]}],"example":{"slug":"sonali-bank","name_en":"SONALI BANK PLC.","bb_id":15,"routing_code":"200","branch_count":1239,"branches_with_routing":1081}},"Bank":{"type":"object","properties":{"slug":{"type":"string","pattern":"^[a-z0-9]+(-[a-z0-9]+)*$","example":"dhaka"},"name_en":{"type":"string","minLength":1,"maxLength":100,"description":"As written in the Bangladesh Bank list"},"bb_id":{"type":"integer","exclusiveMinimum":0,"description":"Bangladesh Bank bank ID"},"routing_code":{"type":"string","pattern":"^\\d{3}$","description":"First 3 digits of its routing numbers, when known"}},"required":["slug","name_en","bb_id"]},"BranchDetail":{"type":"object","properties":{"id":{"type":"string","pattern":"^\\d{6,7}$","description":"Bangladesh Bank branch ID"},"name_en":{"type":"string","minLength":1,"maxLength":100,"description":"As written in the Bangladesh Bank list"},"thana":{"type":"string","description":"Thana as written by Bangladesh Bank"},"routing_number":{"type":"string","pattern":"^\\d{9}$","description":"9 digits: bank (3), district (2), branch (3), check digit (1)"},"bank":{"type":"object","properties":{"slug":{"type":"string","pattern":"^[a-z0-9]+(-[a-z0-9]+)*$","example":"dhaka"},"name_en":{"type":"string"},"bb_id":{"type":"integer"}},"required":["slug","name_en","bb_id"]},"district":{"$ref":"#/components/schemas/Ref"},"division":{"$ref":"#/components/schemas/Ref"},"upazila":{"$ref":"#/components/schemas/Ref"}},"required":["id","name_en","thana","bank","district","division"],"example":{"id":"110003","name_en":"KACHUA BAZAR","thana":"KACHUA","routing_number":"010130065","bank":{"slug":"agrani-bank","name_en":"AGRANI BANK PLC.","bb_id":11},"district":{"slug":"chandpur","name_en":"Chandpur","name_bn":"চাঁদপুর"},"division":{"slug":"chattogram","name_en":"Chattogram","name_bn":"চট্টগ্রাম"},"upazila":{"slug":"kachua-chandpur","name_en":"Kachua","name_bn":"কচুয়া"}}},"UniversityCategoryWithCount":{"allOf":[{"$ref":"#/components/schemas/UniversityCategory"},{"type":"object","properties":{"count":{"type":"integer"}},"required":["count"]}],"example":{"slug":"public","name_en":"Public Universities","name_bn":"পাবলিক বিশ্ববিদ্যালয়","description":"Government-funded universities established by act of parliament.","count":61}},"UniversityCategory":{"type":"object","properties":{"slug":{"type":"string","enum":["public","private","international","cbhe"]},"name_en":{"type":"string","minLength":1,"maxLength":100},"name_bn":{"type":"string","minLength":1,"maxLength":100},"description":{"type":"string","minLength":1}},"required":["slug","name_en","name_bn","description"]},"University":{"type":"object","properties":{"slug":{"type":"string","pattern":"^[a-z0-9]+(-[a-z0-9]+)*$","example":"dhaka","description":"As used by UGC (ugc.gov.bd/university/{slug})"},"ugc_id":{"type":"integer","exclusiveMinimum":0},"name_en":{"type":"string","minLength":1,"maxLength":100},"name_bn":{"type":"string","minLength":1,"maxLength":100,"description":"Only when UGC publishes it"},"category":{"type":"string","enum":["public","private","international","cbhe"]},"established":{"type":"integer","minimum":1800,"maximum":2100},"website":{"type":"string","minLength":3},"campus":{"type":"string","minLength":3,"description":"Campus address as given by UGC"},"district":{"type":"string","pattern":"^[a-z0-9]+(-[a-z0-9]+)*$","example":"dhaka","description":"Only when the campus address names exactly one district"},"emails":{"type":"array","items":{"type":"string","format":"email"}},"phone":{"type":"string","minLength":3},"fax":{"type":"string","minLength":3},"ugc_notes":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string"},"description":{"type":"string"},"type":{"type":"string"}},"required":["title","description","type"]},"description":"UGC notes on programmes (usually Bangla), as published"}},"required":["slug","ugc_id","name_en","category"],"example":{"slug":"university-of-dhaka","ugc_id":180,"name_en":"University of Dhaka","category":"public","established":1921,"website":"www.du.ac.bd","campus":"Dhaka University, Ramna, Dhaka-1000","district":"dhaka","emails":["vcoffice@du.ac.bd","registrar@du.ac.bd"],"phone":"+88-09666911463","fax":"+880-2-9667222"}},"EducationBoard":{"type":"object","properties":{"slug":{"type":"string","pattern":"^[a-z0-9]+(-[a-z0-9]+)*$","example":"dhaka","description":"Canonical board slug (e.g. dhaka, chattogram, madrasah)"},"code":{"type":"string","minLength":3,"maxLength":3,"description":"3-letter board code used in exam portals (e.g. DHA, CHI, RAJ, MAD, TEC)"},"name_en":{"type":"string","minLength":1,"maxLength":100},"name_bn":{"type":"string","minLength":1,"maxLength":100},"short_name_en":{"type":"string","minLength":1},"short_name_bn":{"type":"string","minLength":1},"type":{"$ref":"#/components/schemas/EducationBoardType"},"established":{"type":"integer","minimum":1900,"maximum":2100},"headquarters":{"type":"string","minLength":1},"website":{"type":"string","format":"uri"},"phone":{"type":"string","minLength":1},"email":{"type":"string","format":"email"},"districts":{"type":"array","items":{"type":"string","pattern":"^[a-z0-9]+(-[a-z0-9]+)*$","example":"dhaka"},"description":"District slugs under this board’s territorial jurisdiction (all 64 for madrasah/technical)"}},"required":["slug","code","name_en","name_bn","short_name_en","short_name_bn","type","established","headquarters","website","phone","email","districts"],"example":{"slug":"dhaka","code":"DHA","name_en":"Board of Intermediate and Secondary Education, Dhaka","name_bn":"মাধ্যমিক ও উচ্চমাধ্যমিক শিক্ষা বোর্ড, ঢাকা","short_name_en":"BISE Dhaka","short_name_bn":"ঢাকা শিক্ষা বোর্ড","type":"general","established":1921,"headquarters":"Dhaka","website":"https://www.dhakaeducationboard.gov.bd","phone":"+880-2-9669701","email":"chairmandhakaedu@gmail.com","districts":["dhaka","gazipur","narayanganj","tangail","kishoreganj","manikganj","munshiganj","narsingdi","faridpur","gopalganj","madaripur","rajbari","shariatpur"]}},"EducationBoardType":{"type":"string","enum":["general","madrasah","technical"]},"GradeTier":{"type":"object","properties":{"slug":{"type":"string","pattern":"^[a-z0-9]+(-[a-z0-9]+)*$","example":"dhaka"},"grade":{"type":"string","minLength":1,"maxLength":2,"description":"Letter grade: A+, A, A-, B, C, D, or F"},"grade_point":{"type":"number","minimum":0,"maximum":5,"description":"Grade Point on 5.0 scale"},"min_marks":{"type":"integer","minimum":0,"maximum":100},"max_marks":{"type":"integer","minimum":0,"maximum":100},"remark_en":{"type":"string","minLength":1},"remark_bn":{"type":"string","minLength":1}},"required":["slug","grade","grade_point","min_marks","max_marks","remark_en","remark_bn"],"example":{"slug":"a-plus","grade":"A+","grade_point":5,"min_marks":80,"max_marks":100,"remark_en":"Outstanding","remark_bn":"অসাধারণ"}},"CalculateGpaResponse":{"type":"object","properties":{"gpa":{"type":"number","minimum":0,"maximum":5,"description":"Final GPA (capped at 5.00)"},"letter_grade":{"type":"string","description":"Overall letter grade (A+, A, A-, B, C, D, F)"},"passed":{"type":"boolean","description":"True if no mandatory subject failed (grade F)"},"golden_a_plus":{"type":"boolean","description":"True if all mandatory subjects scored GPA 5.00 (Grade A+)"},"total_mandatory_subjects":{"type":"integer"},"mandatory_grade_points":{"type":"number"},"fourth_subject_bonus":{"type":"number"},"subjects":{"type":"array","items":{"$ref":"#/components/schemas/SubjectEvaluation"}}},"required":["gpa","letter_grade","passed","golden_a_plus","total_mandatory_subjects","mandatory_grade_points","fourth_subject_bonus","subjects"],"example":{"gpa":5,"letter_grade":"A+","passed":true,"golden_a_plus":false,"total_mandatory_subjects":5,"mandatory_grade_points":24,"fourth_subject_bonus":3,"subjects":[{"name":"Bangla","marks":82,"grade":"A+","grade_point":5,"is_fourth_subject":false,"fourth_subject_bonus_points":0},{"name":"English","marks":75,"grade":"A","grade_point":4,"is_fourth_subject":false,"fourth_subject_bonus_points":0},{"name":"Mathematics","marks":91,"grade":"A+","grade_point":5,"is_fourth_subject":false,"fourth_subject_bonus_points":0},{"name":"Physics","marks":84,"grade":"A+","grade_point":5,"is_fourth_subject":false,"fourth_subject_bonus_points":0},{"name":"Chemistry","marks":80,"grade":"A+","grade_point":5,"is_fourth_subject":false,"fourth_subject_bonus_points":0},{"name":"Biology","marks":88,"grade":"A+","grade_point":5,"is_fourth_subject":true,"fourth_subject_bonus_points":3}]}},"SubjectEvaluation":{"type":"object","properties":{"name":{"type":"string"},"marks":{"type":"number"},"grade":{"type":"string"},"grade_point":{"type":"number"},"is_fourth_subject":{"type":"boolean"},"fourth_subject_bonus_points":{"type":"number"}},"required":["grade","grade_point","is_fourth_subject","fourth_subject_bonus_points"]},"CalculateGpaRequest":{"type":"object","properties":{"subjects":{"type":"array","items":{"$ref":"#/components/schemas/SubjectScoreInput"},"minItems":1,"maxItems":20}},"required":["subjects"],"example":{"subjects":[{"name":"Bangla","marks":82},{"name":"English","marks":75},{"name":"Mathematics","marks":91},{"name":"Physics","marks":84},{"name":"Chemistry","marks":80},{"name":"Biology","marks":88,"is_fourth_subject":true}]}},"SubjectScoreInput":{"type":"object","properties":{"name":{"type":"string","description":"Subject name or code","example":"Bangla"},"marks":{"type":"number","minimum":0,"maximum":100,"description":"Exam mark (0-100). Either marks or grade_point is required","example":85},"grade_point":{"type":"number","minimum":0,"maximum":5,"description":"Grade point (0.0 to 5.0)","example":5},"is_fourth_subject":{"type":"boolean","description":"True if this is the optional 4th subject","example":false}}},"GoldPrices":{"type":"object","properties":{"effective_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"currency":{"type":"string","enum":["BDT"]},"gold":{"type":"object","properties":{"22k":{"type":"object","properties":{"per_gram":{"type":"number","exclusiveMinimum":0},"per_vori":{"type":"number","exclusiveMinimum":0,"description":"Per gram × 11.664, rounded to the taka"}},"required":["per_gram","per_vori"]},"21k":{"type":"object","properties":{"per_gram":{"type":"number","exclusiveMinimum":0},"per_vori":{"type":"number","exclusiveMinimum":0,"description":"Per gram × 11.664, rounded to the taka"}},"required":["per_gram","per_vori"]},"18k":{"type":"object","properties":{"per_gram":{"type":"number","exclusiveMinimum":0},"per_vori":{"type":"number","exclusiveMinimum":0,"description":"Per gram × 11.664, rounded to the taka"}},"required":["per_gram","per_vori"]},"traditional":{"type":"object","properties":{"per_gram":{"type":"number","exclusiveMinimum":0},"per_vori":{"type":"number","exclusiveMinimum":0,"description":"Per gram × 11.664, rounded to the taka"}},"required":["per_gram","per_vori"]}},"required":["22k","21k","18k","traditional"]},"silver":{"type":"object","properties":{"22k":{"type":"object","properties":{"per_gram":{"type":"number","exclusiveMinimum":0},"per_vori":{"type":"number","exclusiveMinimum":0,"description":"Per gram × 11.664, rounded to the taka"}},"required":["per_gram","per_vori"]},"21k":{"type":"object","properties":{"per_gram":{"type":"number","exclusiveMinimum":0},"per_vori":{"type":"number","exclusiveMinimum":0,"description":"Per gram × 11.664, rounded to the taka"}},"required":["per_gram","per_vori"]},"18k":{"type":"object","properties":{"per_gram":{"type":"number","exclusiveMinimum":0},"per_vori":{"type":"number","exclusiveMinimum":0,"description":"Per gram × 11.664, rounded to the taka"}},"required":["per_gram","per_vori"]},"traditional":{"type":"object","properties":{"per_gram":{"type":"number","exclusiveMinimum":0},"per_vori":{"type":"number","exclusiveMinimum":0,"description":"Per gram × 11.664, rounded to the taka"}},"required":["per_gram","per_vori"]}},"required":["22k","21k","18k","traditional"]},"source_url":{"type":"string","format":"uri"},"fetched_at":{"type":"string","description":"When this list was read from BAJUS"},"freshness":{"type":"string","enum":["live","last_known"],"description":"`last_known` when BAJUS could not be read from this region and the last list read (within 7 days) is served"}},"required":["effective_date","currency","gold","silver","source_url","fetched_at","freshness"],"example":{"effective_date":"2026-11-14","currency":"BDT","gold":{"22k":{"per_gram":18655,"per_vori":217592},"21k":{"per_gram":17815,"per_vori":207794},"18k":{"per_gram":15300,"per_vori":178459},"traditional":{"per_gram":12500,"per_vori":145800}},"silver":{"22k":{"per_gram":300,"per_vori":3499},"21k":{"per_gram":290,"per_vori":3383},"18k":{"per_gram":250,"per_vori":2916},"traditional":{"per_gram":190,"per_vori":2216}},"source_url":"https://www.bajus.org/gold-price","fetched_at":"2026-11-15T06:00:00.000Z","freshness":"live"}},"Zakat":{"type":"object","properties":{"wealth":{"type":"number","minimum":0},"basis":{"type":"string","enum":["gold","silver"]},"karat":{"type":"string","enum":["22k","21k","18k","traditional"]},"price_per_gram":{"type":"number","exclusiveMinimum":0},"nisab_grams":{"type":"number","exclusiveMinimum":0},"nisab_value":{"type":"number","exclusiveMinimum":0},"due":{"type":"boolean"},"rate":{"type":"number","enum":[2.5]},"zakat":{"type":"number","minimum":0},"other_basis":{"type":"object","properties":{"basis":{"type":"string","enum":["gold","silver"]},"nisab_value":{"type":"number"},"due":{"type":"boolean"}},"required":["basis","nisab_value","due"]},"prices_effective_date":{"type":"string"}},"required":["wealth","basis","karat","price_per_gram","nisab_grams","nisab_value","due","rate","zakat","other_basis","prices_effective_date"],"example":{"wealth":1000000,"basis":"silver","karat":"22k","price_per_gram":300,"nisab_grams":612.36,"nisab_value":183708,"due":true,"rate":2.5,"zakat":25000,"other_basis":{"basis":"gold","nisab_value":1631939.4,"due":false},"prices_effective_date":"2026-11-14"}},"MarketPrices":{"type":"object","properties":{"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"market":{"type":"string","enum":["dhaka"]},"serial":{"type":"integer"},"reference":{"type":"string"},"file_url":{"type":"string","format":"uri"},"fetched_at":{"type":"string"},"freshness":{"type":"string","enum":["live","last_known"]},"items":{"type":"array","items":{"type":"object","properties":{"slug":{"type":"string","pattern":"^[a-z0-9]+(-[a-z0-9]+)*$","example":"dhaka","description":"Absent for an item not yet in our catalog"},"name_en":{"type":"string"},"name_bn":{"type":"string"},"unit_en":{"type":"string"},"unit_bn":{"type":"string"},"category":{"type":"string","enum":["rice","flour","edible-oil","pulses","spices","fish-meat","milk-powder","misc"]},"price":{"type":["object","null"],"properties":{"min":{"type":"number","minimum":0},"max":{"type":"number","minimum":0}},"required":["min","max"],"description":"Today, Tk; null when TCB lists 0–0 (not available)"},"week_ago":{"type":["object","null"],"properties":{"min":{"type":"number","minimum":0},"max":{"type":"number","minimum":0}},"required":["min","max"]},"month_ago":{"type":["object","null"],"properties":{"min":{"type":"number","minimum":0},"max":{"type":"number","minimum":0}},"required":["min","max"]},"year_ago":{"type":["object","null"],"properties":{"min":{"type":"number","minimum":0},"max":{"type":"number","minimum":0}},"required":["min","max"]},"change_month_pct":{"type":["number","null"]},"change_year_pct":{"type":["number","null"]}},"required":["name_bn","unit_bn","price","week_ago","month_ago","year_ago","change_month_pct","change_year_pct"]}}},"required":["date","market","file_url","fetched_at","freshness","items"],"example":{"date":"2026-11-12","market":"dhaka","serial":282,"reference":"নং-২৬.০৫.০০০০.০১৭.৩১.০১.২৬-৯১০","file_url":"https://tcb.gov.bd/pages/daily-rmps","fetched_at":"2026-11-15T06:00:00.000Z","freshness":"live","items":[{"slug":"rice-coarse","name_en":"Coarse rice (swarna/China IRRI)","name_bn":"চাল (মোটা)/স্বর্ণা/চায়না ইরি","unit_en":"per kg","unit_bn":"প্রতি কেজি","category":"rice","price":{"min":50,"max":58},"week_ago":{"min":50,"max":55},"month_ago":{"min":50,"max":55},"year_ago":{"min":54,"max":60},"change_month_pct":2.86,"change_year_pct":-5.26}]}},"FuelPrices":{"type":"object","properties":{"month":{"type":"string","pattern":"^\\d{4}-\\d{2}$"},"effective_from":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"prices":{"type":"object","properties":{"diesel":{"type":"number","exclusiveMinimum":0},"octane":{"type":"number","exclusiveMinimum":0},"petrol":{"type":"number","exclusiveMinimum":0},"kerosene":{"type":"number","exclusiveMinimum":0}},"required":["diesel","octane","petrol","kerosene"]},"source":{"type":"object","properties":{"ref":{"type":"string","minLength":1},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"url":{"type":"string","format":"uri"}},"required":["ref","date","url"]}},"required":["month","effective_from","prices","source"],"example":{"month":"2026-11","effective_from":"2026-11-01","prices":{"diesel":135,"octane":165,"petrol":160,"kerosene":155},"source":{"ref":"Energy and Mineral Resources Division memo 28.00.0000.000.026.35.0116.24.499 (29 Oct 2026)","date":"2026-10-29","url":"https://bpc.gov.bd/"}}},"MfsProvider":{"type":"object","properties":{"slug":{"type":"string","example":"bkash"},"name_en":{"type":"string","example":"bKash"},"name_bn":{"type":"string","example":"বিকাশ"},"parent_en":{"type":"string","example":"BRAC Bank PLC"},"parent_bn":{"type":"string","example":"ব্র্যাক ব্যাংক পিএলসি"},"ussd_code":{"type":"string","example":"*247#"},"helpline":{"type":"string","example":"16247"},"website":{"type":"string","format":"uri","example":"https://www.bkash.com"},"charges":{"$ref":"#/components/schemas/MfsCharges"},"limits":{"$ref":"#/components/schemas/MfsLimits"},"last_verified":{"type":"string","example":"2026-11-16"},"source_url":{"type":"string","format":"uri"}},"required":["slug","name_en","name_bn","parent_en","parent_bn","ussd_code","helpline","website","charges","limits","last_verified","source_url"],"example":{"slug":"bkash","name_en":"bKash","name_bn":"বিকাশ","parent_en":"BRAC Bank PLC","parent_bn":"ব্র্যাক ব্যাংক পিএলসি","ussd_code":"*247#","helpline":"16247","website":"https://www.bkash.com","charges":{"cash_out":{"app":{"rate_percent":1.75,"per_thousand":17.5,"vat_included":true,"notes_en":"Standard cash-out charge via bKash App (1.75%)","notes_bn":"বিকাশ অ্যাপের মাধ্যমে স্ট্যান্ডার্ড ক্যাশ আউট চার্জ (১.৭৫%)"},"ussd":{"rate_percent":1.85,"per_thousand":18.5,"vat_included":true,"notes_en":"Standard cash-out charge via USSD *247# (1.85%)","notes_bn":"ইউএসএসডি *২৪৭# এর মাধ্যমে ক্যাশ আউট চার্জ (১.৮৫%)"},"atm":{"rate_percent":1.49,"per_thousand":14.9,"vat_included":true,"notes_en":"Cash out from partner bank ATMs (1.49%)","notes_bn":"পার্টনার ব্যাংকের এটিএম থেকে ক্যাশ আউট চার্জ (১.৪৯%)"},"special":{"rate_percent":1.49,"per_thousand":14.9,"vat_included":true,"notes_en":"Priyo Agent cash out up to ৳25,000/month (1.49%)","notes_bn":"প্রিয় এজেন্ট ক্যাশ আউট প্রতি মাসে ২৫,০০০ টাকা পর্যন্ত (১.৪৯%)"}},"send_money":{"app":{"fee_fixed":5,"free_conditions_en":"Free up to 5 Priyo numbers (up to ৳25,000/month or ৳100/day single transaction)","free_conditions_bn":"৫টি প্রিয় নম্বরে প্রতি মাসে ২৫,০০০ টাকা বা দৈনিক ১০০ টাকা পর্যন্ত ফ্রি","notes_en":"৳5 for non-priyo numbers or above free limits; ৳10 for amounts over ৳25,000","notes_bn":"নন-প্রিয় নম্বরে বা ফ্রি সীমার উপরে ৫ টাকা; ২৫,০০০ টাকার বেশি হলে ১০ টাকা"},"ussd":{"fee_fixed":5,"free_conditions_en":"Free up to 5 Priyo numbers up to ৳100/day","free_conditions_bn":"৫টি প্রিয় নম্বরে দৈনিক ১০০ টাকা পর্যন্ত ফ্রি","notes_en":"Standard ৳5 per transaction","notes_bn":"স্ট্যান্ডার্ড ৫ টাকা প্রতি লেনদেনে"}}},"limits":{"cash_out_max_per_txn":25000,"cash_out_daily_max":25000,"send_money_max_per_txn":25000},"last_verified":"2026-11-16","source_url":"https://www.bkash.com/support/tariff-limits"}},"MfsCharges":{"type":"object","properties":{"cash_out":{"$ref":"#/components/schemas/MfsCashOutCharges"},"send_money":{"$ref":"#/components/schemas/MfsSendMoneyCharges"}},"required":["cash_out","send_money"]},"MfsCashOutCharges":{"type":"object","properties":{"app":{"$ref":"#/components/schemas/MfsFeeRate"},"ussd":{"$ref":"#/components/schemas/MfsFeeRate"},"atm":{"$ref":"#/components/schemas/MfsFeeRate"},"special":{"$ref":"#/components/schemas/MfsFeeRate"}},"required":["app","ussd"]},"MfsFeeRate":{"type":"object","properties":{"rate_percent":{"type":"number","example":1.75},"per_thousand":{"type":"number","example":17.5},"vat_included":{"type":"boolean","example":true},"notes_en":{"type":"string"},"notes_bn":{"type":"string"}},"required":["rate_percent","per_thousand","vat_included"]},"MfsSendMoneyCharges":{"type":"object","properties":{"app":{"$ref":"#/components/schemas/MfsSendMoneyFee"},"ussd":{"$ref":"#/components/schemas/MfsSendMoneyFee"}},"required":["app","ussd"]},"MfsSendMoneyFee":{"type":"object","properties":{"fee_fixed":{"type":"number","example":5},"free_conditions_en":{"type":"string"},"free_conditions_bn":{"type":"string"},"notes_en":{"type":"string"},"notes_bn":{"type":"string"}},"required":["fee_fixed"]},"MfsLimits":{"type":"object","properties":{"cash_out_max_per_txn":{"type":"number","example":25000},"cash_out_daily_max":{"type":"number","example":25000},"send_money_max_per_txn":{"type":"number","example":25000}},"required":["cash_out_max_per_txn","cash_out_daily_max","send_money_max_per_txn"]},"MfsChargeCalculation":{"type":"object","properties":{"provider":{"type":"string","example":"bkash"},"provider_name_en":{"type":"string","example":"bKash"},"provider_name_bn":{"type":"string","example":"বিকাশ"},"action":{"type":"string","enum":["cash-out","send-money"],"example":"cash-out"},"channel":{"type":"string","enum":["app","ussd","atm","special"],"example":"app"},"amount":{"type":"number","example":5000},"fee":{"type":"number","example":87.5},"total_deducted":{"type":"number","example":5087.5},"rate_percent":{"type":"number","example":1.75},"vat_included":{"type":"boolean","example":true},"notes_en":{"type":"string"},"notes_bn":{"type":"string"},"exceeds_single_transaction_limit":{"type":"boolean","example":false}},"required":["provider","provider_name_en","provider_name_bn","action","channel","amount","fee","total_deducted","vat_included","exceeds_single_transaction_limit"],"example":{"provider":"bkash","provider_name_en":"bKash","provider_name_bn":"বিকাশ","action":"cash-out","channel":"app","amount":5000,"fee":87.5,"total_deducted":5087.5,"rate_percent":1.75,"vat_included":true,"notes_en":"Standard cash-out charge via bKash App (1.75%)","notes_bn":"বিকাশ অ্যাপের মাধ্যমে স্ট্যান্ডার্ড ক্যাশ আউট চার্জ (১.৭৫%)","exceeds_single_transaction_limit":false}},"MfsComparisonResult":{"type":"object","properties":{"amount":{"type":"number","example":10000},"action":{"type":"string","enum":["cash-out","send-money"],"example":"cash-out"},"channel":{"type":"string","enum":["app","ussd","atm","special"],"example":"app"},"rankings":{"type":"array","items":{"$ref":"#/components/schemas/MfsChargeCalculation"}}},"required":["amount","action","channel","rankings"],"example":{"amount":10000,"action":"cash-out","channel":"app","rankings":[{"provider":"nagad","provider_name_en":"Nagad","provider_name_bn":"নগদ","action":"cash-out","channel":"app","amount":10000,"fee":114.9,"total_deducted":10114.9,"rate_percent":1.149,"vat_included":true,"notes_en":"৳9.99 per ৳1,000 + 15% VAT = ৳11.49 via Nagad App (1.149%)","notes_bn":"নগদ অ্যাপে প্রতি হাজারে ৯.৯৯ টাকা + ১৫% ভ্যাট = ১১.৪৯ টাকা (১.১৪৯%)","exceeds_single_transaction_limit":false}]}},"MfsUssdEntry":{"type":"object","properties":{"provider":{"type":"string","example":"bkash"},"name_en":{"type":"string","example":"bKash"},"name_bn":{"type":"string","example":"বিকাশ"},"ussd_code":{"type":"string","example":"*247#"},"helpline":{"type":"string","example":"16247"},"parent_en":{"type":"string","example":"BRAC Bank PLC"}},"required":["provider","name_en","name_bn","ussd_code","helpline","parent_en"],"example":{"provider":"bkash","name_en":"bKash","name_bn":"বিকাশ","ussd_code":"*247#","helpline":"16247","parent_en":"BRAC Bank PLC"}},"DailyPrayerTimes":{"type":"object","properties":{"date":{"type":"string","example":"2026-03-20"},"hijri_date":{"type":"string","example":"1 Ramadan 1447 AH"},"hijri_date_bn":{"type":"string","example":"১ রমজান ১৪৪৭ হিজরি"},"bangla_date":{"type":"string","example":"৬ চৈত্র ১৪৩২ বঙ্গাব্দ"},"district":{"$ref":"#/components/schemas/PrayerDistrict"},"school":{"type":"string","enum":["hanafi","shafi"],"example":"hanafi"},"times":{"$ref":"#/components/schemas/PrayerTimes24h"},"times_12h":{"$ref":"#/components/schemas/PrayerTimes12h"},"times_bn":{"$ref":"#/components/schemas/PrayerTimesBn"}},"required":["date","hijri_date","hijri_date_bn","bangla_date","district","school","times","times_12h","times_bn"],"example":{"date":"2026-03-20","hijri_date":"1 Ramadan 1447 AH","hijri_date_bn":"১ রমজান ১৪৪৭ হিজরি","bangla_date":"৬ চৈত্র ১৪৩২ বঙ্গাব্দ","district":{"slug":"dhaka","name_en":"Dhaka","name_bn":"ঢাকা","division":"dhaka"},"school":"hanafi","times":{"sehri_cutoff":"04:52","fajr":"04:55","sunrise":"06:12","dhuhr":"12:05","asr":"16:18","maghrib":"18:08","sunset":"18:08","isha":"19:22"},"times_12h":{"sehri_cutoff":"04:52 AM","fajr":"04:55 AM","sunrise":"06:12 AM","dhuhr":"12:05 PM","asr":"04:18 PM","maghrib":"06:08 PM","isha":"07:22 PM"},"times_bn":{"sehri_cutoff":"০৪:৫২ ভোর","fajr":"০৪:৫৫ ভোর","sunrise":"০৬:১২ সকাল","dhuhr":"১২:০৫ দুপুর","asr":"০৪:১৮ বিকাল","maghrib":"০৬:০৮ সন্ধ্যা","isha":"০৭:২২ রাত"}}},"PrayerDistrict":{"type":"object","properties":{"slug":{"type":"string","example":"dhaka"},"name_en":{"type":"string","example":"Dhaka"},"name_bn":{"type":"string","example":"ঢাকা"},"division":{"type":"string","example":"dhaka"}},"required":["slug","name_en","name_bn","division"]},"PrayerTimes24h":{"type":"object","properties":{"sehri_cutoff":{"type":"string","example":"04:52"},"fajr":{"type":"string","example":"04:55"},"sunrise":{"type":"string","example":"06:12"},"dhuhr":{"type":"string","example":"12:05"},"asr":{"type":"string","example":"16:18"},"maghrib":{"type":"string","example":"18:08"},"isha":{"type":"string","example":"19:22"},"sunset":{"type":"string","example":"18:08"}},"required":["sehri_cutoff","fajr","sunrise","dhuhr","asr","maghrib","isha","sunset"]},"PrayerTimes12h":{"type":"object","properties":{"sehri_cutoff":{"type":"string","example":"04:52 AM"},"fajr":{"type":"string","example":"04:55 AM"},"sunrise":{"type":"string","example":"06:12 AM"},"dhuhr":{"type":"string","example":"12:05 PM"},"asr":{"type":"string","example":"04:18 PM"},"maghrib":{"type":"string","example":"06:08 PM"},"isha":{"type":"string","example":"07:22 PM"}},"required":["sehri_cutoff","fajr","sunrise","dhuhr","asr","maghrib","isha"]},"PrayerTimesBn":{"type":"object","properties":{"sehri_cutoff":{"type":"string","example":"০৪:৫২ ভোর"},"fajr":{"type":"string","example":"০৪:৫৫ ভোর"},"sunrise":{"type":"string","example":"০৬:১২ সকাল"},"dhuhr":{"type":"string","example":"১২:০৫ দুপুর"},"asr":{"type":"string","example":"০৪:১৮ বিকাল"},"maghrib":{"type":"string","example":"০৬:০৮ সন্ধ্যা"},"isha":{"type":"string","example":"০৭:২২ রাত"}},"required":["sehri_cutoff","fajr","sunrise","dhuhr","asr","maghrib","isha"]},"RamadanSchedule":{"type":"object","properties":{"year_hijri":{"type":"integer","example":1447},"year_gregorian":{"type":"integer","example":2026},"district":{"$ref":"#/components/schemas/PrayerDistrict"},"disclaimer_en":{"type":"string","example":"Dates are tentative and subject to the sighting of the moon (Islamic Foundation Bangladesh)."},"disclaimer_bn":{"type":"string","example":"তারিখ চাঁদ দেখার ওপর নির্ভরশীল (ইসলামিক ফাউন্ডেশন বাংলাদেশ)।"},"days":{"type":"array","items":{"$ref":"#/components/schemas/RamadanDay"}}},"required":["year_hijri","year_gregorian","district","disclaimer_en","disclaimer_bn","days"],"example":{"year_hijri":1447,"year_gregorian":2026,"district":{"slug":"dhaka","name_en":"Dhaka","name_bn":"ঢাকা","division":"dhaka"},"disclaimer_en":"Dates are tentative and subject to the sighting of the moon (Islamic Foundation Bangladesh).","disclaimer_bn":"তারিখ চাঁদ দেখার ওপর নির্ভরশীল (ইসলামিক ফাউন্ডেশন বাংলাদেশ)।","days":[{"day":1,"gregorian_date":"2026-02-18","bangla_date":"৬ ফাল্গুন ১৪৩২","hijri_date":"1 Ramadan 1447","sehri_cutoff":"05:08","fajr":"05:11","iftar":"17:58","sehri_cutoff_12h":"05:08 AM","iftar_12h":"05:58 PM","sehri_cutoff_bn":"০৫:০৮ ভোর","iftar_bn":"০৫:৫৮ সন্ধ্যা"}]}},"RamadanDay":{"type":"object","properties":{"day":{"type":"integer","example":1},"gregorian_date":{"type":"string","example":"2026-02-18"},"bangla_date":{"type":"string","example":"৬ ফাল্গুন ১৪৩২"},"hijri_date":{"type":"string","example":"1 Ramadan 1447"},"sehri_cutoff":{"type":"string","example":"05:08"},"fajr":{"type":"string","example":"05:11"},"iftar":{"type":"string","example":"17:58"},"sehri_cutoff_12h":{"type":"string","example":"05:08 AM"},"iftar_12h":{"type":"string","example":"05:58 PM"},"sehri_cutoff_bn":{"type":"string","example":"০৫:০৮ ভোর"},"iftar_bn":{"type":"string","example":"০৫:৫৮ সন্ধ্যা"}},"required":["day","gregorian_date","bangla_date","hijri_date","sehri_cutoff","fajr","iftar","sehri_cutoff_12h","iftar_12h","sehri_cutoff_bn","iftar_bn"],"example":{"day":1,"gregorian_date":"2026-02-18","bangla_date":"৬ ফাল্গুন ১৪৩২","hijri_date":"1 Ramadan 1447","sehri_cutoff":"05:08","fajr":"05:11","iftar":"17:58","sehri_cutoff_12h":"05:08 AM","iftar_12h":"05:58 PM","sehri_cutoff_bn":"০৫:০৮ ভোর","iftar_bn":"০৫:৫৮ সন্ধ্যা"}},"DistrictOffset":{"type":"object","properties":{"slug":{"type":"string","example":"chattogram"},"name_en":{"type":"string","example":"Chattogram"},"name_bn":{"type":"string","example":"চট্টগ্রাম"},"bbs_code":{"type":"string","example":"BD2015"},"division":{"type":"string","example":"chattogram"},"sehri_offset_minutes":{"type":"number","example":-5},"iftar_offset_minutes":{"type":"number","example":-5},"fajr_offset_minutes":{"type":"number","example":-5},"dhuhr_offset_minutes":{"type":"number","example":-5},"asr_offset_minutes":{"type":"number","example":-5},"maghrib_offset_minutes":{"type":"number","example":-5},"isha_offset_minutes":{"type":"number","example":-5}},"required":["slug","name_en","name_bn","bbs_code","division","sehri_offset_minutes","iftar_offset_minutes","fajr_offset_minutes","dhuhr_offset_minutes","asr_offset_minutes","maghrib_offset_minutes","isha_offset_minutes"],"example":{"slug":"chattogram","name_en":"Chattogram","name_bn":"চট্টগ্রাম","bbs_code":"BD2015","division":"chattogram","sehri_offset_minutes":-5,"iftar_offset_minutes":-5,"fajr_offset_minutes":-5,"dhuhr_offset_minutes":-5,"asr_offset_minutes":-5,"maghrib_offset_minutes":-5,"isha_offset_minutes":-5}},"MetroStation":{"type":"object","properties":{"slug":{"type":"string","example":"uttara-north"},"order":{"type":"integer","example":1},"code":{"type":"string","example":"UN"},"name_en":{"type":"string","example":"Uttara North"},"name_bn":{"type":"string","example":"উত্তরা উত্তর"},"line":{"type":"string","example":"MRT-6"},"status":{"type":"string","enum":["operational","under_construction"],"example":"operational"},"lat":{"type":"number","example":23.8741},"lon":{"type":"number","example":90.3857},"division":{"type":"string","example":"dhaka"},"district":{"type":"string","example":"dhaka"},"connecting_routes":{"type":"array","items":{"type":"string"}},"features":{"type":"array","items":{"type":"string"},"example":["elevator","escalator","ticket_vending_machine","accessible_toilet"]},"distance_from_start_km":{"type":"number","example":0}},"required":["slug","order","code","name_en","name_bn","line","status","lat","lon","division","district","features","distance_from_start_km"],"example":{"slug":"uttara-north","order":1,"code":"UN","name_en":"Uttara North","name_bn":"উত্তরা উত্তর","line":"MRT-6","status":"operational","lat":23.8741,"lon":90.3857,"division":"dhaka","district":"dhaka","features":["elevator","escalator","ticket_vending_machine","accessible_toilet"],"distance_from_start_km":0}},"MetroFareCalculation":{"type":"object","properties":{"from":{"$ref":"#/components/schemas/MetroStationBrief"},"to":{"$ref":"#/components/schemas/MetroStationBrief"},"stations_traversed":{"type":"integer","example":16},"distance_km":{"type":"number","example":20.1},"estimated_time_minutes":{"type":"integer","example":32},"single_journey_fare":{"type":"number","example":100},"single_journey_fare_bn":{"type":"string","example":"১০০"},"mrt_pass_fare":{"type":"number","example":90},"mrt_pass_fare_bn":{"type":"string","example":"৯০"},"discount_percent":{"type":"number","example":10},"currency":{"type":"string","enum":["BDT"],"example":"BDT"},"concessions":{"type":"object","properties":{"children_under_3ft":{"type":"string","example":"Free when accompanied by a paying guardian"},"freedom_fighters":{"type":"string","example":"Free travel with valid certificate"},"persons_with_disabilities":{"type":"string","example":"Special concession on Rapid Pass"}},"required":["children_under_3ft","freedom_fighters","persons_with_disabilities"]}},"required":["from","to","stations_traversed","distance_km","estimated_time_minutes","single_journey_fare","single_journey_fare_bn","mrt_pass_fare","mrt_pass_fare_bn","discount_percent","currency","concessions"],"example":{"from":{"slug":"uttara-north","code":"UN","name_en":"Uttara North","name_bn":"উত্তরা উত্তর"},"to":{"slug":"motijheel","code":"MJ","name_en":"Motijheel","name_bn":"মতিঝিল"},"stations_traversed":16,"distance_km":20.1,"estimated_time_minutes":32,"single_journey_fare":100,"single_journey_fare_bn":"১০০","mrt_pass_fare":90,"mrt_pass_fare_bn":"৯০","discount_percent":10,"currency":"BDT","concessions":{"children_under_3ft":"Free when accompanied by a paying guardian","freedom_fighters":"Free travel with valid certificate","persons_with_disabilities":"Special concession on Rapid Pass"}}},"MetroStationBrief":{"type":"object","properties":{"slug":{"type":"string","example":"uttara-north"},"code":{"type":"string","example":"UN"},"name_en":{"type":"string","example":"Uttara North"},"name_bn":{"type":"string","example":"উত্তরা উত্তর"}},"required":["slug","code","name_en","name_bn"]},"MetroTimetable":{"type":"object","properties":{"line":{"type":"string","example":"MRT Line-6"},"operating_days":{"type":"array","items":{"type":"string"},"example":["Saturday","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday"]},"regular_service":{"type":"object","properties":{"first_train_uttara_north":{"type":"string","example":"07:10"},"last_train_uttara_north":{"type":"string","example":"20:30"},"first_train_motijheel":{"type":"string","example":"07:30"},"last_train_motijheel":{"type":"string","example":"21:00"},"extended_mrt_pass_last_train_uttara":{"type":"string","example":"21:00"},"extended_mrt_pass_last_train_motijheel":{"type":"string","example":"21:40"},"schedule_windows":{"type":"array","items":{"$ref":"#/components/schemas/MetroScheduleWindow"}}},"required":["first_train_uttara_north","last_train_uttara_north","first_train_motijheel","last_train_motijheel","extended_mrt_pass_last_train_uttara","extended_mrt_pass_last_train_motijheel","schedule_windows"]},"friday_service":{"type":"object","properties":{"description_en":{"type":"string","example":"Special afternoon service only"},"description_bn":{"type":"string","example":"শুধুমাত্র শুক্রবার বিকাল ও রাতে সেবা চালু থাকে"},"first_train":{"type":"string","example":"15:00"},"last_train":{"type":"string","example":"21:40"},"headway_minutes":{"type":"number","example":10}},"required":["description_en","description_bn","first_train","last_train","headway_minutes"]},"notes_en":{"type":"array","items":{"type":"string"}},"notes_bn":{"type":"array","items":{"type":"string"}}},"required":["line","operating_days","regular_service","friday_service","notes_en","notes_bn"],"example":{"line":"MRT Line-6","operating_days":["Saturday","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday"],"regular_service":{"first_train_uttara_north":"07:10","last_train_uttara_north":"20:30","first_train_motijheel":"07:30","last_train_motijheel":"21:00","extended_mrt_pass_last_train_uttara":"21:00","extended_mrt_pass_last_train_motijheel":"21:40","schedule_windows":[{"period_en":"Peak Hours (Morning)","period_bn":"পিক আওয়ার (সকাল)","start_time":"07:10","end_time":"11:30","headway_minutes":8}]},"friday_service":{"description_en":"Special afternoon service only","description_bn":"শুধুমাত্র শুক্রবার বিকাল ও রাতে সেবা চালু থাকে","first_train":"15:00","last_train":"21:40","headway_minutes":10},"notes_en":["Single Journey tickets must be used on the day of purchase."],"notes_bn":["একক যাত্রার টিকিট ক্রয়ের দিনই ব্যবহার করতে হয়।"]}},"MetroScheduleWindow":{"type":"object","properties":{"period_en":{"type":"string","example":"Peak Hours (Morning)"},"period_bn":{"type":"string","example":"পিক আওয়ার (সকাল)"},"start_time":{"type":"string","example":"07:10"},"end_time":{"type":"string","example":"11:30"},"headway_minutes":{"type":"number","example":8}},"required":["period_en","period_bn","start_time","end_time","headway_minutes"]},"MetroLine":{"type":"object","properties":{"id":{"type":"string","example":"mrt-line-6"},"name_en":{"type":"string","example":"MRT Line-6"},"name_bn":{"type":"string","example":"এমআরটি লাইন-৬"},"color_hex":{"type":"string","example":"#008751"},"operator_en":{"type":"string","example":"Dhaka Mass Transit Company Limited (DMTCL)"},"operator_bn":{"type":"string","example":"ঢাকা ম্যাস ট্রানজিট কোম্পানি লিমিটেড (ডিএমটিসিএল)"},"total_length_km":{"type":"number","example":21.26},"operational_length_km":{"type":"number","example":20.1},"stations_count":{"type":"integer","example":16},"terminals_en":{"type":"array","items":{"type":"string"},"example":["Uttara North","Motijheel"]},"terminals_bn":{"type":"array","items":{"type":"string"},"example":["উত্তরা উত্তর","মতিঝিল"]},"track_gauge":{"type":"string","example":"1435 mm (Standard Gauge)"},"electrification":{"type":"string","example":"1500 V DC Overhead Catenary"},"phase":{"type":"string","example":"Phase 1 & 2 Operational, Kamalapur extension ongoing"}},"required":["id","name_en","name_bn","color_hex","operator_en","operator_bn","total_length_km","operational_length_km","stations_count","terminals_en","terminals_bn","track_gauge","electrification","phase"],"example":{"id":"mrt-line-6","name_en":"MRT Line-6","name_bn":"এমআরটি লাইন-৬","color_hex":"#008751","operator_en":"Dhaka Mass Transit Company Limited (DMTCL)","operator_bn":"ঢাকা ম্যাস ট্রানজিট কোম্পানি লিমিটেড (ডিএমটিসিএল)","total_length_km":21.26,"operational_length_km":20.1,"stations_count":16,"terminals_en":["Uttara North","Motijheel"],"terminals_bn":["উত্তরা উত্তর","মতিঝিল"],"track_gauge":"1435 mm (Standard Gauge)","electrification":"1500 V DC Overhead Catenary","phase":"Phase 1 & 2 Operational, Kamalapur extension ongoing"}},"Hospital":{"type":"object","properties":{"slug":{"type":"string","pattern":"^[a-z0-9]+(-[a-z0-9]+)*$","example":"dhaka-medical-college-hospital"},"dghs_code":{"type":"string","minLength":6,"maxLength":10,"description":"Official DGHS 8-digit health facility identifier code","example":"10000033"},"name_en":{"type":"string","minLength":1,"maxLength":100,"example":"Dhaka Medical College Hospital"},"name_bn":{"type":"string","minLength":1,"maxLength":100,"example":"ঢাকা মেডিকেল কলেজ হাসপাতাল"},"type":{"$ref":"#/components/schemas/HospitalType"},"division":{"type":"string","pattern":"^[a-z0-9]+(-[a-z0-9]+)*$","example":"dhaka"},"district":{"type":"string","pattern":"^[a-z0-9]+(-[a-z0-9]+)*$","example":"dhaka"},"upazila":{"type":"string","pattern":"^[a-z0-9]+(-[a-z0-9]+)*$","example":"ramna"},"established":{"type":"integer","minimum":1800,"maximum":2100,"example":1946},"bed_capacity":{"type":"integer","exclusiveMinimum":0,"example":2600},"has_emergency_24h":{"type":"boolean","example":true},"phone":{"type":"string","minLength":1,"example":"+880-2-55165088"},"emergency_phone":{"type":"string","minLength":1,"example":"+880-2-55165088"},"email":{"type":"string","format":"email","example":"dmch@hospi.dghs.gov.bd"},"website":{"type":"string","format":"uri","example":"https://dmch.gov.bd"},"address":{"type":"string","minLength":1,"example":"Secretariat Road, Ramna, Dhaka-1000"},"coordinates":{"$ref":"#/components/schemas/HospitalCoordinates"},"services":{"type":"array","items":{"type":"string","minLength":1},"example":["Emergency & Casualty 24/7","Burn & Plastic Surgery affiliate","Cardiology & CCU","Neurosurgery","Nephrology & Dialysis"]}},"required":["slug","name_en","name_bn","type","division","district","bed_capacity","has_emergency_24h","phone","emergency_phone","email","website","address","coordinates","services"],"example":{"slug":"dhaka-medical-college-hospital","dghs_code":"10000033","name_en":"Dhaka Medical College Hospital","name_bn":"ঢাকা মেডিকেল কলেজ হাসপাতাল","type":"medical_college","division":"dhaka","district":"dhaka","established":1946,"bed_capacity":2600,"has_emergency_24h":true,"phone":"+880-2-55165088","emergency_phone":"+880-2-55165088","email":"dmch@hospi.dghs.gov.bd","website":"https://dmch.gov.bd","address":"Secretariat Road, Ramna, Dhaka-1000","coordinates":{"latitude":23.7259,"longitude":90.3976},"services":["Emergency & Casualty 24/7","Burn & Plastic Surgery affiliate","Cardiology & CCU","Neurosurgery"]}},"HospitalType":{"type":"string","enum":["specialized_institute","medical_college","general_hospital","district_hospital"]},"HospitalCoordinates":{"type":"object","properties":{"latitude":{"type":"number","minimum":20,"maximum":27,"example":23.7259},"longitude":{"type":"number","minimum":88,"maximum":93,"example":90.3976}},"required":["latitude","longitude"]},"EmergencyHealthSummary":{"type":"object","properties":{"national_hotlines":{"type":"array","items":{"type":"object","properties":{"name_en":{"type":"string"},"name_bn":{"type":"string"},"number":{"type":"string"},"description_en":{"type":"string"},"description_bn":{"type":"string"}},"required":["name_en","name_bn","number","description_en","description_bn"]}},"trauma_and_burn_centers":{"type":"array","items":{"type":"object","properties":{"slug":{"type":"string","pattern":"^[a-z0-9]+(-[a-z0-9]+)*$","example":"dhaka"},"name_en":{"type":"string"},"name_bn":{"type":"string"},"division":{"type":"string"},"emergency_phone":{"type":"string"}},"required":["slug","name_en","name_bn","division","emergency_phone"]}},"ambulance_services":{"type":"array","items":{"type":"object","properties":{"name_en":{"type":"string"},"name_bn":{"type":"string"},"number":{"type":"string"},"notes":{"type":"string"}},"required":["name_en","name_bn","number","notes"]}}},"required":["national_hotlines","trauma_and_burn_centers","ambulance_services"],"example":{"national_hotlines":[{"name_en":"Shastho Batayan","name_bn":"স্বাস্থ্য বাতায়ন","number":"16263","description_en":"24/7 National health advice helpline operated by DGHS","description_bn":"স্বাস্থ্য অধিদপ্তরের সার্বক্ষণিক জাতীয় স্বাস্থ্য সেবা হটলাইন"},{"name_en":"National Emergency Service","name_bn":"জাতীয় জরুরি সেবা","number":"999","description_en":"Toll-free police, ambulance, and fire rescue","description_bn":"টোল-ফ্রি পুলিশ, অ্যাম্বুলেন্স ও ফায়ার সার্ভিস"}],"trauma_and_burn_centers":[{"slug":"national-institute-of-traumatology-and-orthopaedic-rehabilitation","name_en":"National Institute of Traumatology & Orthopaedic Rehabilitation (Pangu Hospital)","name_bn":"জাতীয় অর্থোপেডিক হাসপাতাল ও পুনর্বাসন প্রতিষ্ঠান","division":"dhaka","emergency_phone":"+880-2-9114075"}],"ambulance_services":[{"name_en":"National Emergency Ambulance","name_bn":"জাতীয় জরুরি অ্যাম্বুলেন্স","number":"999","notes":"Toll-free, nationwide dispatch"}]}},"MaritimeSignal":{"type":"object","properties":{"number":{"type":"integer","minimum":1,"maximum":11,"example":10},"slug":{"type":"string","pattern":"^[a-z0-9]+(-[a-z0-9]+)*$","example":"great-danger-10"},"name_en":{"type":"string","minLength":1,"maxLength":100,"example":"Great Danger Signal No. 10"},"name_bn":{"type":"string","minLength":1,"maxLength":100,"example":"মহাবিপদ সংকেত ১০"},"severity":{"$ref":"#/components/schemas/SignalSeverity"},"wind_speed_kmh":{"type":"string","example":"89 km/h or higher"},"meaning_en":{"type":"string"},"meaning_bn":{"type":"string"},"action_required":{"type":"string"}},"required":["number","slug","name_en","name_bn","severity","wind_speed_kmh","meaning_en","meaning_bn","action_required"],"example":{"number":10,"slug":"great-danger-10","name_en":"Great Danger Signal No. 10","name_bn":"মহাবিপদ সংকেত ১০","severity":"extreme","wind_speed_kmh":"89 km/h or higher","meaning_en":"Port will experience severe weather from a cyclonic storm of great intensity expected to cross the coast directly over or near the port.","meaning_bn":"বন্দরটি একটি প্রচণ্ড তীব্রতার ঘূর্ণিঝড়ের কবলে পড়বে যা সরাসরি বন্দরের উপর দিয়ে বা খুব নিকট দিয়ে উপকূল অতিক্রম করবে।","action_required":"Catastrophic danger: entire port area and surrounding coastal population must take immediate shelter in cyclone centers."}},"SignalSeverity":{"type":"string","enum":["low","moderate","high","critical","extreme"]},"RiverportSignal":{"type":"object","properties":{"number":{"type":"integer","minimum":1,"maximum":4,"example":2},"slug":{"type":"string","pattern":"^[a-z0-9]+(-[a-z0-9]+)*$","example":"warning-2"},"name_en":{"type":"string","minLength":1,"maxLength":100,"example":"Riverport Warning Signal No. 2"},"name_bn":{"type":"string","minLength":1,"maxLength":100,"example":"নদীবন্দর হুঁশিয়ারি সংকেত ২"},"severity":{"$ref":"#/components/schemas/SignalSeverity"},"wind_speed_kmh":{"type":"string","example":"65–88 km/h"},"meaning_en":{"type":"string"},"meaning_bn":{"type":"string"},"vessel_guideline":{"type":"string"}},"required":["number","slug","name_en","name_bn","severity","wind_speed_kmh","meaning_en","meaning_bn","vessel_guideline"],"example":{"number":2,"slug":"warning-2","name_en":"Riverport Warning Signal No. 2","name_bn":"নদীবন্দর হুঁশিয়ারি সংকেত ২","severity":"moderate","wind_speed_kmh":"65–88 km/h","meaning_en":"A squall or storm of wind speed 65–88 km/h will soon affect the riverport area.","meaning_bn":"নদীবন্দর এলাকায় ৬৫–৮৮ কিমি/ঘণ্টা বেগে ঝড় বয়ে যেতে পারে।","vessel_guideline":"Vessels of length 65 feet or less must remain in safe shelter; larger motorized launches may proceed with extreme caution."}},"AqiCategory":{"type":"object","properties":{"slug":{"type":"string","pattern":"^[a-z0-9]+(-[a-z0-9]+)*$","example":"unhealthy"},"name_en":{"type":"string","minLength":1,"maxLength":100,"example":"Unhealthy"},"name_bn":{"type":"string","minLength":1,"maxLength":100,"example":"অস্বাস্থ্যকর"},"min_aqi":{"type":"integer","minimum":0,"example":151},"max_aqi":{"type":"integer","example":200},"color_hex":{"type":"string","example":"#FF0000"},"health_implication_en":{"type":"string"},"health_implication_bn":{"type":"string"},"cautionary_statement_en":{"type":"string"},"cautionary_statement_bn":{"type":"string"}},"required":["slug","name_en","name_bn","min_aqi","max_aqi","color_hex","health_implication_en","health_implication_bn","cautionary_statement_en","cautionary_statement_bn"],"example":{"slug":"unhealthy","name_en":"Unhealthy","name_bn":"অস্বাস্থ্যকর","min_aqi":151,"max_aqi":200,"color_hex":"#FF0000","health_implication_en":"Everyone may begin to experience health effects; members of sensitive groups may experience more serious health effects.","health_implication_bn":"সকলের স্বাস্থ্য ঝুঁকি দেখা দিতে পারে; সংবেদনশীল জনগোষ্ঠীর ক্ষেত্রে মারাত্মক স্বাস্থ্য সমস্যা হতে পারে।","cautionary_statement_en":"Active children and adults, and people with respiratory disease, such as asthma, should avoid prolonged outdoor exertion.","cautionary_statement_bn":"শিশু, বয়োবৃদ্ধ ও শ্বাসকষ্টের রোগীদের দীর্ঘ সময় বাইরে পরিশ্রম পরিহার করা উচিত।"}},"AqiLookupResponse":{"type":"object","properties":{"aqi":{"type":"integer","minimum":0,"example":165},"category":{"$ref":"#/components/schemas/AqiCategory"},"recommendation_en":{"type":"string"},"recommendation_bn":{"type":"string"}},"required":["aqi","category","recommendation_en","recommendation_bn"],"example":{"aqi":165,"category":{"slug":"unhealthy","name_en":"Unhealthy","name_bn":"অস্বাস্থ্যকর","min_aqi":151,"max_aqi":200,"color_hex":"#FF0000","health_implication_en":"Everyone may begin to experience health effects; members of sensitive groups may experience more serious health effects.","health_implication_bn":"সকলের স্বাস্থ্য ঝুঁকি দেখা দিতে পারে; সংবেদনশীল জনগোষ্ঠীর ক্ষেত্রে মারাত্মক স্বাস্থ্য সমস্যা হতে পারে।","cautionary_statement_en":"Active children and adults, and people with respiratory disease, such as asthma, should avoid prolonged outdoor exertion.","cautionary_statement_bn":"শিশু, বয়োবৃদ্ধ ও শ্বাসকষ্টের রোগীদের দীর্ঘ সময় বাইরে পরিশ্রম পরিহার করা উচিত।"},"recommendation_en":"Wear an N95 mask outdoors and keep indoor windows closed.","recommendation_bn":"বাইরে বের হলে এন৯৫ মাস্ক পরিধান করুন এবং ঘরের জানালা বন্ধ রাখুন।"}},"BanglaSeason":{"type":"object","properties":{"order":{"type":"integer","minimum":1,"maximum":6,"example":1},"slug":{"type":"string","pattern":"^[a-z0-9]+(-[a-z0-9]+)*$","example":"grishma"},"name_en":{"type":"string","minLength":1,"maxLength":100,"example":"Summer"},"name_bn":{"type":"string","minLength":1,"maxLength":100,"example":"গ্রীষ্ম"},"bangla_months":{"type":"array","items":{"type":"string"},"example":["বৈশাখ","জ্যৈষ্ঠ"]},"approx_gregorian_span":{"type":"string","example":"Mid-April to Mid-June"},"description_en":{"type":"string"},"description_bn":{"type":"string"}},"required":["order","slug","name_en","name_bn","bangla_months","approx_gregorian_span","description_en","description_bn"],"example":{"order":1,"slug":"grishma","name_en":"Summer","name_bn":"গ্রীষ্ম","bangla_months":["বৈশাখ","জ্যৈষ্ঠ"],"approx_gregorian_span":"Mid-April to Mid-June","description_en":"The hottest season with Kalbaishakhi thunderstorms and tropical fruit harvests.","description_bn":"তীব্র রোদ ও গরমের ঋতু; কালবৈশাখী ঝড় এবং মৌসুমি ফলের সমাহারে সমৃদ্ধ মধুমাস।"}},"RailwayTrain":{"type":"object","properties":{"number":{"type":"string","minLength":1,"maxLength":5,"description":"Official BR train number (e.g. 701, 702, 788)","example":"701"},"slug":{"type":"string","pattern":"^[a-z0-9]+(-[a-z0-9]+)*$","example":"suborno-express-701"},"name_en":{"type":"string","minLength":1,"maxLength":100,"example":"Suborno Express"},"name_bn":{"type":"string","minLength":1,"maxLength":100,"example":"সুবর্ণ এক্সপ্রেস"},"origin_station":{"type":"string","pattern":"^[a-z0-9]+(-[a-z0-9]+)*$","example":"chattogram"},"destination_station":{"type":"string","pattern":"^[a-z0-9]+(-[a-z0-9]+)*$","example":"dhaka"},"origin_city":{"type":"string","example":"Chattogram"},"destination_city":{"type":"string","example":"Dhaka"},"departure_time":{"type":"string","pattern":"^\\d{2}:\\d{2}$","description":"Departure time (24h format HH:MM)","example":"07:00"},"arrival_time":{"type":"string","pattern":"^\\d{2}:\\d{2}$","description":"Arrival time (24h format HH:MM)","example":"12:15"},"off_day_en":{"type":"string","example":"Monday"},"off_day_bn":{"type":"string","example":"সোমবার"},"classes":{"type":"array","items":{"$ref":"#/components/schemas/RailwayClassCode"},"example":["S_CHAIR","SNIGDHA"]},"major_halts":{"type":"array","items":{"type":"string"},"example":["Chattogram","Dhaka Airport","Dhaka (Kamalapur)"]}},"required":["number","slug","name_en","name_bn","origin_station","destination_station","origin_city","destination_city","departure_time","arrival_time","off_day_en","off_day_bn","classes","major_halts"],"example":{"number":"701","slug":"suborno-express-701","name_en":"Suborno Express","name_bn":"সুবর্ণ এক্সপ্রেস","origin_station":"chattogram","destination_station":"dhaka","origin_city":"Chattogram","destination_city":"Dhaka","departure_time":"07:00","arrival_time":"12:15","off_day_en":"Monday","off_day_bn":"সোমবার","classes":["S_CHAIR","SNIGDHA"],"major_halts":["Chattogram","Dhaka Airport","Dhaka (Kamalapur)"]}},"RailwayClassCode":{"type":"string","enum":["SHOVON","S_CHAIR","FIRST_SEAT","FIRST_BERTH","SNIGDHA","AC_S","AC_B"]},"RailwayClass":{"type":"object","properties":{"code":{"$ref":"#/components/schemas/RailwayClassCode"},"slug":{"type":"string","pattern":"^[a-z0-9]+(-[a-z0-9]+)*$","example":"snigdha"},"name_en":{"type":"string","minLength":1,"maxLength":100,"example":"Snigdha (AC Chair)"},"name_bn":{"type":"string","minLength":1,"maxLength":100,"example":"স্নিগ্ধা"},"is_ac":{"type":"boolean","example":true},"description_en":{"type":"string"},"description_bn":{"type":"string"}},"required":["code","slug","name_en","name_bn","is_ac","description_en","description_bn"],"example":{"code":"SNIGDHA","slug":"snigdha","name_en":"Snigdha (AC Chair)","name_bn":"স্নিগ্ধা","is_ac":true,"description_en":"Air-conditioned individual reclining chair car seating.","description_bn":"শীতাতপ নিয়ন্ত্রিত রিক্লাইনিং চেয়ার কার আসন।"}},"RailwayStation":{"type":"object","properties":{"code":{"type":"string","minLength":2,"maxLength":5,"example":"DA"},"slug":{"type":"string","pattern":"^[a-z0-9]+(-[a-z0-9]+)*$","example":"dhaka"},"name_en":{"type":"string","minLength":1,"maxLength":100,"example":"Dhaka Railway Station (Kamalapur)"},"name_bn":{"type":"string","minLength":1,"maxLength":100,"example":"ঢাকা রেলওয়ে স্টেশন (কমলাপুর)"},"division":{"type":"string","pattern":"^[a-z0-9]+(-[a-z0-9]+)*$","example":"dhaka"},"district":{"type":"string","pattern":"^[a-z0-9]+(-[a-z0-9]+)*$","example":"dhaka"},"coordinates":{"$ref":"#/components/schemas/RailwayStationCoordinates"}},"required":["code","slug","name_en","name_bn","division","district","coordinates"],"example":{"code":"DA","slug":"dhaka","name_en":"Dhaka Railway Station (Kamalapur)","name_bn":"ঢাকা রেলওয়ে স্টেশন (কমলাপুর)","division":"dhaka","district":"dhaka","coordinates":{"latitude":23.7314,"longitude":90.4267}}},"RailwayStationCoordinates":{"type":"object","properties":{"latitude":{"type":"number","minimum":20,"maximum":27,"example":23.7314},"longitude":{"type":"number","minimum":88,"maximum":93,"example":90.4267}},"required":["latitude","longitude"]},"Airport":{"type":"object","properties":{"slug":{"type":"string","pattern":"^[a-z0-9]+(-[a-z0-9]+)*$","example":"hazrat-shahjalal-international-airport"},"iata_code":{"type":"string","minLength":3,"maxLength":3,"example":"DAC"},"icao_code":{"type":"string","minLength":4,"maxLength":4,"example":"VGHS"},"name_en":{"type":"string","minLength":1,"maxLength":100,"example":"Hazrat Shahjalal International Airport"},"name_bn":{"type":"string","minLength":1,"maxLength":100,"example":"হযরত শাহজালাল আন্তর্জাতিক বিমানবন্দর"},"type":{"$ref":"#/components/schemas/AirportType"},"status":{"$ref":"#/components/schemas/AirportStatus"},"division":{"type":"string","pattern":"^[a-z0-9]+(-[a-z0-9]+)*$","example":"dhaka"},"district":{"type":"string","pattern":"^[a-z0-9]+(-[a-z0-9]+)*$","example":"dhaka"},"city":{"type":"string","example":"Dhaka"},"coordinates":{"$ref":"#/components/schemas/AirportCoordinates"},"elevation_ft":{"type":"integer","example":30},"runways":{"type":"array","items":{"$ref":"#/components/schemas/AirportRunway"}},"website":{"type":"string","format":"uri","example":"https://caab.gov.bd"}},"required":["slug","name_en","name_bn","type","status","division","district","city","coordinates","elevation_ft","runways","website"],"example":{"slug":"hazrat-shahjalal-international-airport","iata_code":"DAC","icao_code":"VGHS","name_en":"Hazrat Shahjalal International Airport","name_bn":"হযরত শাহজালাল আন্তর্জাতিক বিমানবন্দর","type":"international","status":"operational","division":"dhaka","district":"dhaka","city":"Dhaka","coordinates":{"latitude":23.8433,"longitude":90.3978},"elevation_ft":30,"runways":[{"length_ft":10500,"surface":"Asphalt"}],"website":"https://caab.gov.bd"}},"AirportType":{"type":"string","enum":["international","domestic","short_takeoff","military_airstrip"]},"AirportStatus":{"type":"string","enum":["operational","under_development","inactive"]},"AirportCoordinates":{"type":"object","properties":{"latitude":{"type":"number","minimum":20,"maximum":27,"example":23.8433},"longitude":{"type":"number","minimum":88,"maximum":93,"example":90.3978}},"required":["latitude","longitude"]},"AirportRunway":{"type":"object","properties":{"length_ft":{"type":"integer","exclusiveMinimum":0,"example":10500},"surface":{"type":"string","minLength":1,"example":"Asphalt"}},"required":["length_ft","surface"]},"HeritageSite":{"type":"object","properties":{"slug":{"type":"string","pattern":"^[a-z0-9]+(-[a-z0-9]+)*$","example":"somapura-mahavihara"},"name_en":{"type":"string","minLength":1,"maxLength":100,"example":"Somapura Mahavihara (Paharpur Buddhist Vihara)"},"name_bn":{"type":"string","minLength":1,"maxLength":100,"example":"সোমপুর মহাবিহার (পাহাড়পুর বৌদ্ধ বিহার)"},"category":{"$ref":"#/components/schemas/HeritageCategory"},"type":{"$ref":"#/components/schemas/HeritageType"},"unesco_id":{"type":"integer","exclusiveMinimum":0,"example":322},"period_era":{"type":"string","example":"Pala Empire (late 8th century CE)"},"division":{"type":"string","pattern":"^[a-z0-9]+(-[a-z0-9]+)*$","example":"rajshahi"},"district":{"type":"string","pattern":"^[a-z0-9]+(-[a-z0-9]+)*$","example":"naogaon"},"upazila":{"type":"string","example":"Badalgachhi"},"coordinates":{"$ref":"#/components/schemas/HeritageCoordinates"},"description_en":{"type":"string","example":"8th-century Buddhist monastery complex built by King Dharmapala, among the largest south of the Himalayas and a UNESCO World Heritage site."},"description_bn":{"type":"string","example":"রাজা ধর্মপাল কর্তৃক নির্মিত ৮ম শতাব্দীর অন্যতম বৃহত্তম বৌদ্ধ মঠ ও বিহার এবং ইউনেস্কো বিশ্ব ঐতিহ্যবাহী স্থান।"},"highlights":{"type":"array","items":{"type":"string"},"example":["UNESCO World Heritage site (1985)","Central cruciform stupa","Over 2,000 terracotta plaques"]},"best_time_to_visit":{"type":"string","example":"October to March"},"entry_fee":{"$ref":"#/components/schemas/HeritageEntryFee"}},"required":["slug","name_en","name_bn","category","type","division","district","coordinates","description_en","description_bn","highlights"],"example":{"slug":"somapura-mahavihara","name_en":"Somapura Mahavihara (Paharpur Buddhist Vihara)","name_bn":"সোমপুর মহাবিহার (পাহাড়পুর বৌদ্ধ বিহার)","category":"archaeological","type":"unesco_world_heritage","unesco_id":322,"period_era":"Pala Empire (late 8th century CE)","division":"rajshahi","district":"naogaon","upazila":"Badalgachhi","coordinates":{"latitude":25.0315,"longitude":88.9769},"description_en":"8th-century Buddhist monastery complex built by King Dharmapala, among the largest south of the Himalayas and a UNESCO World Heritage site.","description_bn":"রাজা ধর্মপাল কর্তৃক নির্মিত ৮ম শতাব্দীর অন্যতম বৃহত্তম বৌদ্ধ মঠ ও বিহার এবং ইউনেস্কো বিশ্ব ঐতিহ্যবাহী স্থান।","highlights":["UNESCO World Heritage site (1985)","Central cruciform stupa","Over 2,000 terracotta plaques"],"best_time_to_visit":"October to March","entry_fee":{"citizen_bdt":30,"saarc_bdt":100,"foreign_bdt":300,"is_free":false}}},"HeritageCategory":{"type":"string","enum":["archaeological","historical","natural","cultural","monument"]},"HeritageType":{"type":"string","enum":["unesco_world_heritage","national_heritage","eco_tourism","landmark"]},"HeritageCoordinates":{"type":"object","properties":{"latitude":{"type":"number","minimum":20.5,"maximum":26.8,"example":25.0315},"longitude":{"type":"number","minimum":88,"maximum":92.8,"example":88.9769}},"required":["latitude","longitude"]},"HeritageEntryFee":{"type":"object","properties":{"citizen_bdt":{"type":"integer","minimum":0,"example":30},"saarc_bdt":{"type":"integer","minimum":0,"example":100},"foreign_bdt":{"type":"integer","minimum":0,"example":300},"is_free":{"type":"boolean","example":false}}},"River":{"type":"object","properties":{"slug":{"type":"string","pattern":"^[a-z0-9]+(-[a-z0-9]+)*$","example":"padma"},"name_en":{"type":"string","minLength":1,"maxLength":100,"example":"Padma"},"name_bn":{"type":"string","minLength":1,"maxLength":100,"example":"পদ্মা"},"origin":{"type":"string","example":"Himalayas (Gangotri Glacier), flows through India as the Ganges and enters Bangladesh at Shibganj (Chapainababganj)"},"outflow":{"type":"string","example":"Lower Meghna River near Chandpur"},"length_km":{"type":"number","exclusiveMinimum":0,"example":120},"divisions":{"type":"array","items":{"type":"string","pattern":"^[a-z0-9]+(-[a-z0-9]+)*$","example":"dhaka"},"example":["rajshahi","dhaka","khulna","barishal"]},"districts":{"type":"array","items":{"type":"string","pattern":"^[a-z0-9]+(-[a-z0-9]+)*$","example":"dhaka"},"example":["chapainababganj","rajshahi","pabna","kushtia","rajbari","faridpur","munshiganj"]},"tributaries":{"type":"array","items":{"type":"string"},"example":["Mahananda","Jamuna"]},"distributaries":{"type":"array","items":{"type":"string"},"example":["Gorai","Madhumati","Arialkhan"]},"is_transboundary":{"type":"boolean","example":true},"description_en":{"type":"string","example":"One of the three principal rivers of the Bengal Delta, carrying the combined flows of the Ganges and Jamuna to the Bay of Bengal."},"description_bn":{"type":"string","example":"বঙ্গীয় বদ্বীপের অন্যতম প্রধান নদী, যা গঙ্গা ও যমুনার সম্মিলিত জলধারা বহন করে মেঘনায় পতিত হয়।"},"special_features":{"type":"array","items":{"type":"string"},"example":["Combined flow with Jamuna at Goalondo Ghat","Traversed by Padma Multipurpose Bridge (6.15 km)","One of the three principal rivers of the Bengal Delta"]}},"required":["slug","name_en","name_bn","origin","outflow","length_km","divisions","districts","tributaries","distributaries","is_transboundary","description_en","description_bn","special_features"],"example":{"slug":"padma","name_en":"Padma","name_bn":"পদ্মা","origin":"Himalayas (Gangotri Glacier), flows through India as the Ganges and enters Bangladesh at Shibganj (Chapainababganj)","outflow":"Lower Meghna River near Chandpur","length_km":120,"divisions":["rajshahi","dhaka","khulna","barishal"],"districts":["chapainababganj","rajshahi","pabna","kushtia","rajbari","faridpur","manikganj","munshiganj","shariatpur","chandpur"],"tributaries":["Mahananda","Jamuna"],"distributaries":["Gorai","Madhumati","Arialkhan"],"is_transboundary":true,"description_en":"One of the three principal rivers of the Bengal Delta, carrying the combined flows of the Ganges and Jamuna to the Bay of Bengal.","description_bn":"বঙ্গীয় বদ্বীপের অন্যতম প্রধান নদী, যা গঙ্গা ও যমুনার সম্মিলিত জলধারা বহন করে মেঘনায় পতিত হয়।","special_features":["Combined flow with Jamuna at Goalondo Ghat","Traversed by Padma Multipurpose Bridge (6.15 km)","One of the three principal rivers of the Bengal Delta"]}},"LandPort":{"type":"object","properties":{"slug":{"type":"string","pattern":"^[a-z0-9]+(-[a-z0-9]+)*$","example":"benapole"},"code":{"type":"string","minLength":3,"maxLength":3,"example":"BEN"},"name_en":{"type":"string","minLength":1,"maxLength":100,"example":"Benapole Land Port"},"name_bn":{"type":"string","minLength":1,"maxLength":100,"example":"বেনাপোল স্থলবন্দর"},"status":{"$ref":"#/components/schemas/LandPortStatus"},"operator_type":{"$ref":"#/components/schemas/LandPortOperatorType"},"established_year":{"type":"integer","exclusiveMinimum":0,"example":2002},"division":{"type":"string","pattern":"^[a-z0-9]+(-[a-z0-9]+)*$","example":"khulna"},"district":{"type":"string","pattern":"^[a-z0-9]+(-[a-z0-9]+)*$","example":"jashore"},"upazila":{"type":"string","example":"Sharsha"},"counterpart_indian_lcs":{"type":"string","example":"Petrapole (North 24 Parganas, West Bengal)"},"counterpart_state":{"type":"string","example":"West Bengal"},"key_commodities":{"type":"array","items":{"type":"string"},"example":["Garments & textile fabric","Industrial raw materials","Motor vehicles & chassis","Chemicals"]},"facilities":{"type":"array","items":{"type":"string"},"example":["Integrated Check Post (ICP)","Passenger immigration terminal","Rail container terminal","Automated digital cargo gatepass"]},"has_rail_link":{"type":"boolean","example":true},"has_passenger_immigration":{"type":"boolean","example":true},"description_en":{"type":"string","example":"The largest and busiest land port in Bangladesh, handling over 80% of total land-route bilateral trade with India."},"description_bn":{"type":"string","example":"বাংলাদেশের বৃহত্তম ও ব্যস্ততম স্থলবন্দর, যা ভারত-বাংলাদেশ স্থল বাণিজ্যের ৮০ শতাংশেরও বেশি পরিচালনা করে।"}},"required":["slug","code","name_en","name_bn","status","operator_type","established_year","division","district","upazila","counterpart_indian_lcs","counterpart_state","key_commodities","facilities","has_rail_link","has_passenger_immigration","description_en","description_bn"],"example":{"slug":"benapole","code":"BEN","name_en":"Benapole Land Port","name_bn":"বেনাপোল স্থলবন্দর","status":"operational","operator_type":"blpa_operated","established_year":2002,"division":"khulna","district":"jashore","upazila":"Sharsha","counterpart_indian_lcs":"Petrapole (North 24 Parganas, West Bengal)","counterpart_state":"West Bengal","key_commodities":["Garments & textile fabric","Industrial raw materials","Motor vehicles & chassis","Chemicals"],"facilities":["Integrated Check Post (ICP)","Passenger immigration terminal","Rail container terminal","Automated digital cargo gatepass"],"has_rail_link":true,"has_passenger_immigration":true,"description_en":"The largest and busiest land port in Bangladesh, handling over 80% of total land-route bilateral trade with India.","description_bn":"বাংলাদেশের বৃহত্তম ও ব্যস্ততম স্থলবন্দর, যা ভারত-বাংলাদেশ স্থল বাণিজ্যের ৮০ শতাংশেরও বেশি পরিচালনা করে।"}},"LandPortStatus":{"type":"string","enum":["operational","under_development","inactive"]},"LandPortOperatorType":{"type":"string","enum":["blpa_operated","private_bot","railway_joint"]},"StopwordsResponse":{"type":"object","properties":{"count":{"type":"integer","example":550},"categories":{"type":"array","items":{"type":"string"},"example":["conjunction","pronoun","postposition"]},"words":{"type":"array","items":{"type":"string"},"example":["এবং","কিন্তু","বা","সুতরাং"]}},"required":["count","categories","words"],"example":{"count":4,"categories":["conjunction","pronoun"],"words":["এবং","কিন্তু","বা","সুতরাং"]}},"StopwordRemoveResponse":{"type":"object","properties":{"original":{"type":"string","example":"আমি এবং আমার ভাই গতকাল স্কুলে গিয়েছিলাম কিন্তু সেখানে কেউ ছিল না।"},"cleaned":{"type":"string","example":"ভাই স্কুলে গিয়েছিলাম কেউ।"},"removed_count":{"type":"integer","example":6},"removed_words":{"type":"array","items":{"type":"string"},"example":["আমি","এবং","আমার","গতকাল","কিন্তু","সেখানে","ছিল","না"]}},"required":["original","cleaned","removed_count","removed_words"],"example":{"original":"আমি এবং আমার ভাই গতকাল স্কুলে গিয়েছিলাম কিন্তু সেখানে কেউ ছিল না।","cleaned":"ভাই স্কুলে গিয়েছিলাম কেউ।","removed_count":6,"removed_words":["আমি","এবং","আমার","গতকাল","কিন্তু","সেখানে"]}},"StopwordRemoveRequest":{"type":"object","properties":{"text":{"type":"string","minLength":1,"maxLength":50000,"example":"আমি এবং আমার ভাই গতকাল স্কুলে গিয়েছিলাম কিন্তু সেখানে কেউ ছিল না।","description":"Bengali input text from which to strip stopwords"}},"required":["text"]},"NormalizeResponse":{"type":"object","properties":{"original":{"type":"string","example":"বাংলা‌দেশ একটি সুন্দর দেশ।"},"normalized":{"type":"string","example":"বাংলাদেশ একটি সুন্দর দেশ।"},"changes_detected":{"type":"boolean","example":true}},"required":["original","normalized","changes_detected"],"example":{"original":"বাংলা‌দেশ একটি সুন্দর দেশ।","normalized":"বাংলাদেশ একটি সুন্দর দেশ।","changes_detected":true}},"NormalizeRequest":{"type":"object","properties":{"text":{"type":"string","minLength":1,"maxLength":50000,"example":"বাংলা‌দেশ একটি সুন্দর দেশ।","description":"Bengali input text to normalize"},"strip_zw":{"type":"boolean","default":true,"example":true,"description":"Strip redundant zero-width joiners and non-joiners"}},"required":["text"]},"TokenizeResponse":{"type":"object","properties":{"mode":{"type":"string","enum":["word","sentence"],"example":"sentence"},"count":{"type":"integer","example":2},"tokens":{"type":"array","items":{"type":"string"},"example":["আমার সোনার বাংলা, আমি তোমায় ভালোবাসি","চিরদিন তোমার আকাশ, তোমার বাতাস, আমার প্রাণে বাজায় বাঁশি"]}},"required":["mode","count","tokens"],"example":{"mode":"sentence","count":2,"tokens":["আমার সোনার বাংলা, আমি তোমায় ভালোবাসি","চিরদিন তোমার আকাশ, তোমার বাতাস, আমার প্রাণে বাজায় বাঁশি"]}},"TokenizeRequest":{"type":"object","properties":{"text":{"type":"string","minLength":1,"maxLength":50000,"example":"আমার সোনার বাংলা, আমি তোমায় ভালোবাসি। চিরদিন তোমার আকাশ, তোমার বাতাস, আমার প্রাণে বাজায় বাঁশি!","description":"Bengali input text to tokenize"},"mode":{"type":"string","enum":["word","sentence"],"default":"word","example":"sentence","description":"Tokenization mode: \"word\" splits on word boundaries, \"sentence\" splits on Bengali sentence terminals (।, ?, !)"}},"required":["text"]},"StemResponse":{"type":"object","properties":{"input":{"type":"string","example":"ছাত্রদেরকে"},"stem":{"type":"string","example":"ছাত্র"},"suffix":{"type":"string","example":"দেরকে"},"rule_applied":{"type":"string","example":"Plural personal accusative marker"},"results":{"type":"array","items":{"$ref":"#/components/schemas/StemItemResult"}}},"example":{"input":"ছাত্রদেরকে","stem":"ছাত্র","suffix":"দেরকে","rule_applied":"Plural personal accusative marker"}},"StemItemResult":{"type":"object","properties":{"input":{"type":"string","example":"ছাত্রদেরকে"},"stem":{"type":"string","example":"ছাত্র"},"suffix":{"type":"string","example":"দেরকে"},"rule_applied":{"type":"string","example":"Plural personal accusative marker"}},"required":["input","stem"]},"StemRequest":{"type":"object","properties":{"word":{"type":"string","minLength":1,"example":"ছাত্রদেরকে","description":"Single Bengali word to stem"},"words":{"type":"array","items":{"type":"string","minLength":1},"maxItems":100,"example":["ছাত্রদেরকে","বইগুলো","স্বাভাবিকভাবে"],"description":"Array of Bengali words to stem in bulk (max 100)"}}},"Constituency":{"type":"object","properties":{"number":{"type":"integer","minimum":1,"maximum":300,"description":"Constituency seat number (1 to 300)","example":174},"number_bn":{"type":"string","description":"Constituency seat number in Bengali numerals","example":"১৭৪"},"code":{"type":"string","description":"URL-friendly slug / code identifier","example":"dhaka-1"},"name_en":{"type":"string","description":"Official English constituency name","example":"Dhaka-1"},"name_bn":{"type":"string","description":"Official Bengali constituency name","example":"ঢাকা-১"},"division":{"type":"string","description":"Division slug","example":"dhaka"},"district":{"type":"string","description":"District slug","example":"dhaka"},"area_en":{"type":"string","description":"Constituency boundary details in English (upazilas, thanas, wards)","example":"Dohar Upazila and Nawabganj Upazila"},"area_bn":{"type":"string","description":"Constituency boundary details in Bengali","example":"দোহার উপজেলা এবং নবাবগঞ্জ উপজেলা"}},"required":["number","number_bn","code","name_en","name_bn","division","district","area_en","area_bn"],"example":{"number":174,"number_bn":"১৭৪","code":"dhaka-1","name_en":"Dhaka-1","name_bn":"ঢাকা-১","division":"dhaka","district":"dhaka","area_en":"Dohar Upazila and Nawabganj Upazila","area_bn":"দোহার উপজেলা এবং নবাবগঞ্জ উপজেলা"}},"DistrictConstituencies":{"type":"object","properties":{"district":{"type":"string","description":"District slug","example":"dhaka"},"district_name_en":{"type":"string","description":"District English name","example":"Dhaka"},"district_name_bn":{"type":"string","description":"District Bengali name","example":"ঢাকা"},"division":{"type":"string","description":"Division slug","example":"dhaka"},"seat_count":{"type":"integer","minimum":1,"description":"Total number of parliamentary seats allocated to this district","example":20},"constituencies":{"type":"array","items":{"type":"object","properties":{"number":{"type":"integer","minimum":1,"maximum":300},"number_bn":{"type":"string"},"code":{"type":"string"},"name_en":{"type":"string"},"name_bn":{"type":"string"}},"required":["number","number_bn","code","name_en","name_bn"]},"description":"List of seats in this district"}},"required":["district","district_name_en","district_name_bn","division","seat_count","constituencies"],"example":{"district":"dhaka","district_name_en":"Dhaka","district_name_bn":"ঢাকা","division":"dhaka","seat_count":20,"constituencies":[{"number":174,"number_bn":"১৭৪","code":"dhaka-1","name_en":"Dhaka-1","name_bn":"ঢাকা-১"}]}},"DeveloperQuota":{"type":"object","properties":{"tier":{"type":"string","example":"developer"},"tier_name":{"type":"string","example":"Developer"},"api_key":{"type":["string","null"],"example":"desh_dev_***"},"key_name":{"type":["string","null"],"example":"Developer Test Key"},"rate_limit_per_minute":{"type":"number","example":600},"daily_quota":{"type":"number","example":50000},"daily_used":{"type":"number","example":12},"daily_remaining":{"type":"number","example":49988},"resets_at":{"type":"string","example":"2026-11-17T00:00:00.000Z"},"reset_seconds":{"type":"number","example":38400}},"required":["tier","tier_name","api_key","key_name","rate_limit_per_minute","daily_quota","daily_used","daily_remaining","resets_at","reset_seconds"],"example":{"tier":"developer","tier_name":"Developer","api_key":"desh_dev_***","key_name":"Developer Test Key","rate_limit_per_minute":600,"daily_quota":50000,"daily_used":12,"daily_remaining":49988,"resets_at":"2026-11-17T00:00:00.000Z","reset_seconds":38400}},"DeveloperTiersResponse":{"type":"object","properties":{"tiers":{"type":"array","items":{"type":"object","properties":{"tier":{"type":"string","example":"developer"},"name":{"type":"string","example":"Developer"},"description":{"type":"string","example":"For personal projects, mobile apps, and startup backends"},"rate_limit_per_minute":{"type":"number","example":600},"daily_quota":{"type":"number","example":50000},"price_bdt":{"type":"number","example":0},"features":{"type":"array","items":{"type":"string"},"example":["50k requests / day","600 req/min burst","Commercial use allowed"]}},"required":["tier","name","description","rate_limit_per_minute","daily_quota","price_bdt","features"]}}},"required":["tiers"],"example":{"tiers":[{"tier":"anonymous","name":"Free / Anonymous","description":"Instant zero-configuration access for quick testing and open scripts","rate_limit_per_minute":120,"daily_quota":10000,"price_bdt":0,"features":["No signup required","10k requests / day","120 req/min burst"]},{"tier":"developer","name":"Developer","description":"For personal projects, client websites, mobile apps, and microservices","rate_limit_per_minute":600,"daily_quota":50000,"price_bdt":0,"features":["Free API Key","50k requests / day","600 req/min burst","Telemetry & Quota Monitoring"]},{"tier":"enterprise","name":"Enterprise / Partner","description":"For high-volume fintechs, government portals, and national platforms","rate_limit_per_minute":1800,"daily_quota":500000,"price_bdt":0,"features":["500k+ requests / day","Dedicated edge priority","Direct Slack/Discord channel","Custom endpoints"]}]}},"GeneratedKeyResponse":{"type":"object","properties":{"api_key":{"type":"string","example":"desh_dev_a1b2c3d4e5f6g7h8"},"name":{"type":"string","example":"My Dhaka Ride App"},"tier":{"type":"string","example":"developer"},"rate_limit_per_minute":{"type":"number","example":600},"daily_quota":{"type":"number","example":50000},"created_at":{"type":"string","example":"2026-11-17T16:00:00.000Z"},"instructions":{"type":"string","example":"Pass your key in HTTP header: X-API-Key: desh_dev_a1b2c3d4e5f6g7h8 or Authorization: Bearer desh_dev_a1b2c3d4e5f6g7h8"}},"required":["api_key","name","tier","rate_limit_per_minute","daily_quota","created_at","instructions"],"example":{"api_key":"desh_dev_a1b2c3d4e5f6g7h8","name":"My Dhaka Ride App","tier":"developer","rate_limit_per_minute":600,"daily_quota":50000,"created_at":"2026-11-17T16:00:00.000Z","instructions":"Pass your key in HTTP header: X-API-Key: desh_dev_a1b2c3d4e5f6g7h8 or Authorization: Bearer desh_dev_a1b2c3d4e5f6g7h8"}}},"parameters":{}},"paths":{"/v1/divisions":{"get":{"tags":["Geo"],"summary":"List all 8 divisions","responses":{"200":{"description":"All divisions","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"array","items":{"$ref":"#/components/schemas/Division"}},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/divisions/{division}":{"get":{"tags":["Geo"],"summary":"Get one division","parameters":[{"schema":{"type":"string","pattern":"^[a-z0-9]+(-[a-z0-9]+)*$","example":"dhaka"},"required":true,"name":"division","in":"path"}],"responses":{"200":{"description":"The division","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/Division"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/divisions/{division}/districts":{"get":{"tags":["Geo"],"summary":"List the districts of a division","parameters":[{"schema":{"type":"string","pattern":"^[a-z0-9]+(-[a-z0-9]+)*$","example":"chattogram"},"required":true,"name":"division","in":"path"}],"responses":{"200":{"description":"Districts in the division","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"array","items":{"$ref":"#/components/schemas/District"}},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/districts":{"get":{"tags":["Geo"],"summary":"List districts, optionally filtered by division","parameters":[{"schema":{"type":"string","example":"dhaka"},"required":false,"name":"division","in":"query","description":"Division slug"}],"responses":{"200":{"description":"Districts","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"array","items":{"$ref":"#/components/schemas/District"}},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/districts/{district}":{"get":{"tags":["Geo"],"summary":"Get one district","parameters":[{"schema":{"type":"string","pattern":"^[a-z0-9]+(-[a-z0-9]+)*$","example":"cumilla"},"required":true,"name":"district","in":"path"}],"responses":{"200":{"description":"The district","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/District"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/upazilas":{"get":{"tags":["Geo"],"summary":"List the upazilas of a district","parameters":[{"schema":{"type":"string","example":"cumilla"},"required":true,"name":"district","in":"query","description":"District slug"},{"schema":{"type":"string"},"required":false,"name":"page","in":"query","description":"Page number, starting at 1"},{"schema":{"type":"string"},"required":false,"name":"per_page","in":"query","description":"Items per page (1–500, default 100)"}],"responses":{"200":{"description":"Upazilas in the district","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"array","items":{"$ref":"#/components/schemas/Upazila"}},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/upazilas/{upazila}":{"get":{"tags":["Geo"],"summary":"Get one upazila with its parent district and division","parameters":[{"schema":{"type":"string","pattern":"^[a-z0-9]+(-[a-z0-9]+)*$","example":"debidwar"},"required":true,"name":"upazila","in":"path"}],"responses":{"200":{"description":"The upazila","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"allOf":[{"$ref":"#/components/schemas/Upazila"},{"type":"object","properties":{"parents":{"$ref":"#/components/schemas/Parents"}},"required":["parents"]}],"example":{"slug":"debidwar","name_en":"Debidwar","name_bn":"দেবিদ্বার","aliases":[],"district":"cumilla","bbs_code":"BD20190040","lat":23.5797,"lon":90.9981}},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/unions":{"get":{"tags":["Geo"],"summary":"List the unions of an upazila","parameters":[{"schema":{"type":"string","example":"debidwar"},"required":true,"name":"upazila","in":"query","description":"Upazila slug"},{"schema":{"type":"string"},"required":false,"name":"page","in":"query","description":"Page number, starting at 1"},{"schema":{"type":"string"},"required":false,"name":"per_page","in":"query","description":"Items per page (1–500, default 100)"}],"responses":{"200":{"description":"Unions in the upazila","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"array","items":{"$ref":"#/components/schemas/Union"}},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/postcodes/{code}":{"get":{"tags":["Geo"],"summary":"Look up the post office(s) for a 4-digit postcode","parameters":[{"schema":{"type":"string","example":"1205"},"required":true,"name":"code","in":"path"}],"responses":{"200":{"description":"Post offices with this postcode","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/PostcodeLookup"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/search":{"get":{"tags":["Geo"],"summary":"Search divisions, districts, upazilas, unions, and post offices in English or Bangla","description":"Matches names and historical spellings (e.g. \"comilla\" finds Cumilla). Ranking: exact, prefix, word prefix, substring; then division > district > upazila > post office > union.","parameters":[{"schema":{"type":"string","minLength":2,"maxLength":50,"example":"mirpur"},"required":true,"name":"q","in":"query","description":"2–50 characters"},{"schema":{"type":"string","enum":["division","district","upazila","union","post_office"]},"required":false,"name":"level","in":"query"},{"schema":{"type":"string"},"required":false,"name":"limit","in":"query","description":"Max results (1–20, default 10)"}],"responses":{"200":{"description":"Matching areas","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"array","items":{"$ref":"#/components/schemas/SearchHit"}},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/nearest":{"get":{"tags":["Geo"],"summary":"Find the district or upazila nearest to a coordinate inside Bangladesh","parameters":[{"schema":{"type":"string","example":"23.81"},"required":true,"name":"lat","in":"query"},{"schema":{"type":"string","example":"90.41"},"required":true,"name":"lon","in":"query"},{"schema":{"type":"string","enum":["district","upazila"]},"required":false,"name":"level","in":"query","description":"Default: district"}],"responses":{"200":{"description":"Nearest area and its distance from the point","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/NearestArea"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/bangla/num-to-words":{"get":{"tags":["Bangla toolkit"],"summary":"Number to Bangla words (lakh/crore system)","description":"Accepts 0 to 999,999,999,999,999 with up to 2 decimals, in Latin or Bangla digits.","parameters":[{"schema":{"type":"string","example":"1250"},"required":true,"name":"n","in":"query","description":"The number"}],"responses":{"200":{"description":"Number in words","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/NumberWords"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/bangla/taka-in-words":{"get":{"tags":["Bangla toolkit"],"summary":"Amount to \"taka … paisa\" words for invoices and cheques","parameters":[{"schema":{"type":"string","example":"1250.50"},"required":true,"name":"amount","in":"query","description":"Amount in taka, up to 2 decimals"}],"responses":{"200":{"description":"Amount in words","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/TakaWords"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/bangla/digits":{"get":{"tags":["Bangla toolkit"],"summary":"Convert digits in text between Latin (0-9) and Bangla (০-৯)","parameters":[{"schema":{"type":"string","minLength":1,"maxLength":1000,"example":"2026"},"required":true,"name":"text","in":"query","description":"1–1000 characters"},{"schema":{"type":"string","enum":["bn","en"],"example":"bn"},"required":true,"name":"to","in":"query"}],"responses":{"200":{"description":"Converted text","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/Digits"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/bangla/format-number":{"get":{"tags":["Bangla toolkit"],"summary":"Format a number with lakh/crore grouping (12,50,000)","parameters":[{"schema":{"type":"string","example":"1250000"},"required":true,"name":"n","in":"query","description":"The number"},{"schema":{"type":"string","enum":["bn","en"]},"required":false,"name":"digits","in":"query","description":"Output digits (default bn)"}],"responses":{"200":{"description":"Formatted number","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/FormattedNumber"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/bangla/date":{"get":{"tags":["Bangla toolkit"],"summary":"Gregorian date to the Bangla calendar (revised 2019)","description":"Dates from 1971-01-01 to 2100-12-31. Without `date`, uses today in Asia/Dhaka.","parameters":[{"schema":{"type":"string","example":"2026-12-16"},"required":false,"name":"date","in":"query","description":"YYYY-MM-DD"}],"responses":{"200":{"description":"Bangla date","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/BanglaDate"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/bangla/ordinal":{"get":{"tags":["Bangla toolkit"],"summary":"Bangla ordinal for 1–100 (৩ → তৃতীয়)","parameters":[{"schema":{"type":"string","example":"3"},"required":true,"name":"n","in":"query","description":"1–100"}],"responses":{"200":{"description":"Ordinal","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/Ordinal"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/bangla/slug":{"get":{"tags":["Bangla toolkit"],"summary":"URL-safe slug from Bangla text (approximate romanisation)","parameters":[{"schema":{"type":"string","minLength":1,"maxLength":200,"example":"আমার সোনার বাংলা"},"required":true,"name":"text","in":"query","description":"1–200 characters"}],"responses":{"200":{"description":"Slug","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/SlugResult"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/bangla/transliterate":{"get":{"tags":["Bangla toolkit"],"summary":"Romanised (Avro Phonetic) text to Bangla","description":"Avro Phonetic is case-sensitive: `dh` → ধ, `Dh` → ঢ.","parameters":[{"schema":{"type":"string","minLength":1,"maxLength":1000,"example":"ami bhalo achi"},"required":true,"name":"text","in":"query","description":"1–1000 characters"}],"responses":{"200":{"description":"Bangla text","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/Transliteration"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Bangla toolkit"],"summary":"Romanised (Avro Phonetic) text to Bangla, for longer text","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"text":{"type":"string","minLength":1,"maxLength":10240}},"required":["text"],"example":{"text":"amar sonar bangla"}}}}},"responses":{"200":{"description":"Bangla text","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/Transliteration"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/phone/{number}":{"get":{"tags":["Phone"],"summary":"Validate and normalise a Bangladesh mobile number","description":"Format check only: the number is never looked up, stored, or logged. Invalid numbers return 200 with `valid: false` and a `reason`. Prefer POST /v1/phone/validate to keep numbers out of URLs.","parameters":[{"schema":{"type":"string","example":"+8801712345678"},"required":true,"name":"number","in":"path"}],"responses":{"200":{"description":"Validation result","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/PhoneResult"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/phone/validate":{"post":{"tags":["Phone"],"summary":"Validate one number sent in the request body","description":"Format check only: the number is never looked up, stored, or logged. Invalid numbers return 200 with `valid: false` and a `reason`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"number":{"type":"string","maxLength":64}},"required":["number"],"example":{"number":"01712345678"}}}}},"responses":{"200":{"description":"Validation result","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/PhoneResult"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/phone/bulk":{"post":{"tags":["Phone"],"summary":"Validate up to 100 numbers at once","description":"Format check only: the number is never looked up, stored, or logged. Invalid numbers return 200 with `valid: false` and a `reason`. Results are returned in the same order as the input.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"numbers":{"type":"array","items":{"type":"string","maxLength":64},"minItems":1}},"required":["numbers"],"example":{"numbers":["01712345678","+8801812345678"]}}}}},"responses":{"200":{"description":"Validation result","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"array","items":{"$ref":"#/components/schemas/PhoneResult"}},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"More than 100 numbers","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/convert/bijoy-to-unicode":{"post":{"tags":["Convert"],"summary":"Convert Bijoy (SutonnyMJ) text to Unicode","description":"Send `{ \"text\": \"…\" }` as JSON, or the raw text with `Content-Type: text/plain`. Bodies up to 100 KB. The whole input is treated as Bijoy, so English words mixed into Bijoy text will be mapped too. The input is not echoed back.","requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConvertRequest"}},"text/plain":{"schema":{"type":"string","example":"Avgvi †mvbvi evsjv"}}}},"responses":{"200":{"description":"Converted text","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/Conversion"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Missing or empty text","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Body larger than 100 KB","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/convert/unicode-to-bijoy":{"post":{"tags":["Convert"],"summary":"Convert Unicode Bangla to Bijoy (SutonnyMJ)","description":"Send `{ \"text\": \"…\" }` as JSON, or the raw text with `Content-Type: text/plain`. Bodies up to 100 KB. The whole input is treated as Bijoy, so English words mixed into Bijoy text will be mapped too. The input is not echoed back.","requestBody":{"required":false,"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ConvertRequest"},{"example":{"text":"আমার সোনার বাংলা"}}]}},"text/plain":{"schema":{"type":"string","example":"আমার সোনার বাংলা"}}}},"responses":{"200":{"description":"Converted text","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/Conversion"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Missing or empty text","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Body larger than 100 KB","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/land/units":{"get":{"tags":["Land"],"summary":"List supported land units with their size in square feet","parameters":[{"schema":{"type":"string"},"required":false,"name":"region","in":"query","description":"Default: standard"}],"responses":{"200":{"description":"Land units","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"array","items":{"$ref":"#/components/schemas/LandUnit"}},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/land/convert":{"get":{"tags":["Land"],"summary":"Convert between land units (katha, bigha, decimal, acre, sq ft, …)","description":"Units can be given by slug, alias (shotangsho, gaj, m2) or Bangla name (কাঠা, শতাংশ). Values are rounded to 2 decimals. Without `to`, only `all` is returned.","parameters":[{"schema":{"type":"string","example":"5"},"required":true,"name":"value","in":"query","description":"> 0"},{"schema":{"type":"string","example":"katha"},"required":true,"name":"from","in":"query"},{"schema":{"type":"string","example":"sqft"},"required":false,"name":"to","in":"query","description":"Target unit"},{"schema":{"type":"string"},"required":false,"name":"region","in":"query","description":"Default: standard"}],"responses":{"200":{"description":"Conversion","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/LandConversion"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/validate/nid/{number}":{"get":{"tags":["Validate"],"summary":"Check an NID number format","description":"Format check only: the value is never looked up, stored or logged. Malformed values return 200 with `valid: false` and a `reason`. Prefer POST /v1/validate/nid to keep values out of URLs.","parameters":[{"schema":{"type":"string","maxLength":64,"example":"1234567890"},"required":true,"name":"number","in":"path"}],"responses":{"200":{"description":"Validation result","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/ValidationResult"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Missing value or unknown type","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/validate/tin/{number}":{"get":{"tags":["Validate"],"summary":"Check an e-TIN format","description":"Format check only: the value is never looked up, stored or logged. Malformed values return 200 with `valid: false` and a `reason`. Prefer POST /v1/validate/tin to keep values out of URLs.","parameters":[{"schema":{"type":"string","maxLength":64,"example":"123456789012"},"required":true,"name":"number","in":"path"}],"responses":{"200":{"description":"Validation result","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/ValidationResult"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Missing value or unknown type","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/validate/bin/{number}":{"get":{"tags":["Validate"],"summary":"Check a VAT BIN format","description":"Format check only: the value is never looked up, stored or logged. Malformed values return 200 with `valid: false` and a `reason`. Prefer POST /v1/validate/bin to keep values out of URLs.","parameters":[{"schema":{"type":"string","maxLength":64,"example":"000123456"},"required":true,"name":"number","in":"path"}],"responses":{"200":{"description":"Validation result","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/ValidationResult"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Missing value or unknown type","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/validate/routing/{number}":{"get":{"tags":["Validate"],"summary":"Check a bank routing number format and check digit","description":"Format check only: the value is never looked up, stored or logged. Malformed values return 200 with `valid: false` and a `reason`. Prefer POST /v1/validate/routing to keep values out of URLs.","parameters":[{"schema":{"type":"string","maxLength":64,"example":"010130065"},"required":true,"name":"number","in":"path"}],"responses":{"200":{"description":"Validation result","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/ValidationResult"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Missing value or unknown type","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/validate/postcode/{code}":{"get":{"tags":["Validate"],"summary":"Check a postcode format and whether it exists","description":"Format check only: the value is never looked up, stored or logged. Malformed values return 200 with `valid: false` and a `reason`. Prefer POST /v1/validate/postcode to keep values out of URLs.","parameters":[{"schema":{"type":"string","maxLength":64,"example":"1205"},"required":true,"name":"code","in":"path"}],"responses":{"200":{"description":"Validation result","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/ValidationResult"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Missing value or unknown type","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/validate/vehicle":{"get":{"tags":["Validate"],"summary":"Check a vehicle registration plate format","description":"Format check only: the value is never looked up, stored or logged. Malformed values return 200 with `valid: false` and a `reason`. Accepts Bangla (ঢাকা মেট্রো-গ ১১-২২৩৩) or English (Dhaka Metro-Ga 11-2233). The class letter is checked to be a Bangla consonant; its meaning is not asserted.","parameters":[{"schema":{"type":"string","minLength":1,"maxLength":64,"example":"ঢাকা মেট্রো-গ ১১-২২৩৩"},"required":true,"name":"plate","in":"query"}],"responses":{"200":{"description":"Validation result","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/ValidationResult"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Missing value or unknown type","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/validate/{type}":{"post":{"tags":["Validate"],"summary":"Check any supported identifier sent in the request body","description":"Format check only: the value is never looked up, stored or logged. Malformed values return 200 with `valid: false` and a `reason`.","parameters":[{"schema":{"type":"string","enum":["nid","vehicle","tin","bin","postcode","routing"],"example":"nid"},"required":true,"name":"type","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"value":{"type":"string","maxLength":64}},"required":["value"],"example":{"value":"1234567890"}}}}},"responses":{"200":{"description":"Validation result","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/ValidationResult"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Missing value or unknown type","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/hotlines":{"get":{"tags":["Hotlines"],"summary":"List national hotline numbers, optionally by category","description":"Every number cites the official page it was checked against (`source`) and when (`last_verified`).","parameters":[{"schema":{"type":"string"},"required":false,"name":"category","in":"query","description":"emergency, health, women-children, disaster, information, legal-aid, government-service, transport, utility"}],"responses":{"200":{"description":"Hotlines","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"array","items":{"$ref":"#/components/schemas/Hotline"}},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/hotlines/categories":{"get":{"tags":["Hotlines"],"summary":"List hotline categories with counts","responses":{"200":{"description":"Categories","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"array","items":{"$ref":"#/components/schemas/HotlineCategory"}},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/hotlines/{number}":{"get":{"tags":["Hotlines"],"summary":"Get one hotline by its number","parameters":[{"schema":{"type":"string","example":"999"},"required":true,"name":"number","in":"path"}],"responses":{"200":{"description":"The hotline","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/Hotline"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/fun/proverb/random":{"get":{"tags":["Fun"],"summary":"A random traditional Bangla proverb with its meaning","parameters":[{"schema":{"type":"string","maxLength":64},"required":false,"name":"seed","in":"query","description":"Same seed, same pick (cacheable)"}],"responses":{"200":{"description":"A proverb","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/Proverb"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/fun/riddle/random":{"get":{"tags":["Fun"],"summary":"A random traditional Bangla riddle (ধাঁধা) with its answer","parameters":[{"schema":{"type":"string","maxLength":64},"required":false,"name":"seed","in":"query","description":"Same seed, same pick (cacheable)"}],"responses":{"200":{"description":"A riddle","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/Riddle"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/fun/quiz":{"get":{"tags":["Fun"],"summary":"Random quiz questions, optionally by topic","parameters":[{"schema":{"type":"string"},"required":false,"name":"topic","in":"query","description":"liberation-war, geography, culture, history"},{"schema":{"type":"string"},"required":false,"name":"count","in":"query","description":"1–10, default 1"},{"schema":{"type":"string","maxLength":64},"required":false,"name":"seed","in":"query","description":"Same seed, same pick (cacheable)"}],"responses":{"200":{"description":"Quiz questions","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"array","items":{"$ref":"#/components/schemas/QuizQuestion"}},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/fun/quiz/topics":{"get":{"tags":["Fun"],"summary":"Quiz topics with question counts","responses":{"200":{"description":"Topics","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"array","items":{"$ref":"#/components/schemas/QuizTopic"}},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/fun/food/random":{"get":{"tags":["Fun"],"summary":"A random GI-registered traditional food, optionally by district or division","parameters":[{"schema":{"type":"string","example":"tangail"},"required":false,"name":"region","in":"query","description":"District or division slug"},{"schema":{"type":"string","maxLength":64},"required":false,"name":"seed","in":"query","description":"Same seed, same pick (cacheable)"}],"responses":{"200":{"description":"A food, or null when the region has none listed yet","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/Dish"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/fun/today-in-history":{"get":{"tags":["Fun"],"summary":"Bangladesh history events on a calendar day","description":"Without `date`, uses today in Asia/Dhaka. Returns an empty list on days with no listed events.","parameters":[{"schema":{"type":"string","example":"12-16"},"required":false,"name":"date","in":"query","description":"MM-DD"}],"responses":{"200":{"description":"Events, oldest first","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"array","items":{"$ref":"#/components/schemas/HistoryEvent"}},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/holidays/years":{"get":{"tags":["Holidays"],"summary":"Years and calendars with an official holiday list, and their source documents","responses":{"200":{"description":"Available years","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"array","items":{"$ref":"#/components/schemas/HolidayYear"}},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Year not available","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/holidays":{"get":{"tags":["Holidays"],"summary":"Official public holidays for a year","description":"Includes general holidays, executive-order holidays and optional (community) holidays. Use `closed=true` for only the holidays that close offices, or `type` with several comma-separated values. Moon-dependent dates have `tentative: true` until confirmed. Years without a published official list return 404.","parameters":[{"schema":{"type":"string","example":"2027"},"required":true,"name":"year","in":"query"},{"schema":{"type":"string"},"required":false,"name":"calendar","in":"query","description":"general (default) or bank"},{"schema":{"type":"string","example":"general,executive-order"},"required":false,"name":"type","in":"query","description":"One or more, comma-separated: general, executive-order, optional, bank"},{"schema":{"type":"string"},"required":false,"name":"community","in":"query","description":"For optional holidays: muslim, hindu, christian, buddhist, ethnic-minority"},{"schema":{"type":"string"},"required":false,"name":"closed","in":"query","description":"true = only holidays that close offices (no optional or other-district holidays)"},{"schema":{"type":"string"},"required":false,"name":"district","in":"query","description":"District slug; with closed=true, includes that district-only holiday"}],"responses":{"200":{"description":"Holidays sorted by first date","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"array","items":{"$ref":"#/components/schemas/HolidayWithBanglaDates"}},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Year not available","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/holidays/dates":{"get":{"tags":["Holidays"],"summary":"Holiday dates for a year as a flat, sorted list","description":"Each date appears once, even when several holidays fall on it. Takes the same filters as /v1/holidays; `closed=true` gives the days offices are closed.","parameters":[{"schema":{"type":"string","example":"2027"},"required":true,"name":"year","in":"query"},{"schema":{"type":"string"},"required":false,"name":"calendar","in":"query","description":"general (default) or bank"},{"schema":{"type":"string","example":"general,executive-order"},"required":false,"name":"type","in":"query","description":"One or more, comma-separated: general, executive-order, optional, bank"},{"schema":{"type":"string"},"required":false,"name":"community","in":"query","description":"For optional holidays: muslim, hindu, christian, buddhist, ethnic-minority"},{"schema":{"type":"string"},"required":false,"name":"closed","in":"query","description":"true = only holidays that close offices (no optional or other-district holidays)"},{"schema":{"type":"string"},"required":false,"name":"district","in":"query","description":"District slug; with closed=true, includes that district-only holiday"}],"responses":{"200":{"description":"Dates in YYYY-MM-DD, in calendar order","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/HolidayDates"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Year not available","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/is-holiday":{"get":{"tags":["Holidays"],"summary":"Is a date a holiday, a weekend, or a working day?","description":"Weekend defaults to Friday and Saturday. Optional (community) holidays and district-only holidays are listed under `other_holidays` and do not make the day a holiday, unless `district` matches a district-only holiday.","parameters":[{"schema":{"type":"string","example":"2027-12-16"},"required":true,"name":"date","in":"query","description":"YYYY-MM-DD"},{"schema":{"type":"string"},"required":false,"name":"calendar","in":"query","description":"general (default) or bank"},{"schema":{"type":"string"},"required":false,"name":"weekend","in":"query","description":"Comma list of days, default fri,sat"},{"schema":{"type":"string"},"required":false,"name":"district","in":"query","description":"District slug, applies district-only holidays"}],"responses":{"200":{"description":"Day status","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/DayStatus"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Year not available","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/working-days":{"get":{"tags":["Holidays"],"summary":"Count working days between two dates (inclusive, up to 366 days)","parameters":[{"schema":{"type":"string","example":"2027-12-01"},"required":true,"name":"from","in":"query"},{"schema":{"type":"string","example":"2027-12-31"},"required":true,"name":"to","in":"query"},{"schema":{"type":"string"},"required":false,"name":"calendar","in":"query","description":"general (default) or bank"},{"schema":{"type":"string"},"required":false,"name":"weekend","in":"query","description":"Comma list of days, default fri,sat"},{"schema":{"type":"string"},"required":false,"name":"district","in":"query","description":"District slug, applies district-only holidays"}],"responses":{"200":{"description":"Working-day count","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/WorkingDays"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Year not available","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/finance/tax-years":{"get":{"tags":["Finance"],"summary":"Income tax rules per tax year (thresholds, slabs, minimum tax, rebate)","description":"Rules from the Finance Act, keyed by tax year. `income_year` is the period the income is earned in: tax year 2027-28 covers income from 1 July 2026 to 30 June 2027. Years from 2028-29 were set in advance by the Finance Act 2026 and carry a `note`.","responses":{"200":{"description":"Tax years, oldest first","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"array","items":{"$ref":"#/components/schemas/TaxYearWithNames"}},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/finance/income-tax":{"get":{"tags":["Finance"],"summary":"Income tax for an individual (Finance Act slabs, exemption, rebate, minimum tax)","description":"Pass total annual income from all sources (gross salary included). With `employment_income`, the lower of one-third of it or the cap is exempted first. `investment` is the amount eligible for the investment rebate. Amounts accept Bangla digits and lakh/crore grouping (১২,০০,০০০).","parameters":[{"schema":{"type":"string","example":"1000000"},"required":true,"name":"income","in":"query","description":"Total annual income in Taka (≥ 0)"},{"schema":{"type":"string","example":"2027-28"},"required":false,"name":"tax_year","in":"query","description":"e.g. 2027-28 (2026-27 to 2030-31). Default: the current tax year, whose income year contains today in Bangladesh"},{"schema":{"type":"string","example":"general"},"required":false,"name":"category","in":"query","description":"general (default), woman, senior, disabled, third-gender, freedom-fighter, july-warrior; Bangla names accepted"},{"schema":{"type":"string"},"required":false,"name":"disabled_dependants","in":"query","description":"Number of disabled children/dependants: +Tk 50,000 each for a parent or guardian (if both parents are taxpayers, only one may claim it)"},{"schema":{"type":"string"},"required":false,"name":"employment_income","in":"query","description":"Part of `income` that is income from employment (gross salary)"},{"schema":{"type":"string"},"required":false,"name":"investment","in":"query","description":"Eligible investment for the rebate, in Taka"},{"schema":{"type":"string"},"required":false,"name":"new_taxpayer","in":"query","description":"true for a first return (lower minimum tax)"}],"responses":{"200":{"description":"Tax computation","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/IncomeTax"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Tax year not available","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/finance/emi":{"get":{"tags":["Finance"],"summary":"Loan EMI (equal monthly instalment) on a reducing balance","description":"Totals come from the paisa-rounded schedule; the last instalment absorbs rounding so the balance ends at 0. Add `schedule=true` for the month-by-month breakdown.","parameters":[{"schema":{"type":"string","example":"1000000"},"required":true,"name":"principal","in":"query","description":"Loan amount in Taka (> 0)"},{"schema":{"type":"string","example":"9"},"required":true,"name":"rate","in":"query","description":"Annual interest rate in % (0–100)"},{"schema":{"type":"string","example":"60"},"required":true,"name":"months","in":"query","description":"Tenure in months (1–600)"},{"schema":{"type":"string"},"required":false,"name":"schedule","in":"query","description":"true to include the amortisation schedule"}],"responses":{"200":{"description":"Instalment","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/Emi"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/finance/vat":{"get":{"tags":["Finance"],"summary":"Add VAT to a price, or extract it from a VAT-inclusive price","parameters":[{"schema":{"type":"string","example":"1000"},"required":true,"name":"amount","in":"query","description":"Amount in Taka (≥ 0)"},{"schema":{"type":"string"},"required":false,"name":"rate","in":"query","description":"VAT rate in % (default 15, the standard rate)"},{"schema":{"type":"string"},"required":false,"name":"inclusive","in":"query","description":"true when `amount` already includes VAT"}],"responses":{"200":{"description":"VAT split","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/Vat"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/finance/dps":{"get":{"tags":["Finance"],"summary":"DPS (monthly deposit scheme) maturity value","description":"One deposit at the start of each month; interest accrues monthly and is credited each compounding period.","parameters":[{"schema":{"type":"string","example":"5000"},"required":true,"name":"monthly","in":"query","description":"Monthly deposit in Taka (> 0)"},{"schema":{"type":"string","example":"8"},"required":true,"name":"rate","in":"query","description":"Annual interest rate in % (0–100)"},{"schema":{"type":"string","example":"5"},"required":true,"name":"years","in":"query","description":"Term in whole years (1–50)"},{"schema":{"type":"string","example":"monthly"},"required":false,"name":"compounding","in":"query","description":"monthly (default), quarterly, half-yearly or yearly"}],"responses":{"200":{"description":"Maturity","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/Dps"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/finance/gratuity":{"get":{"tags":["Finance"],"summary":"Statutory minimum gratuity (Labour Act 2006, s. 2(10))","description":"30 days' last wages for every completed year of service, counting a final part over six months as a year; 45 days per year when service is more than 10 years. One day's wage = monthly wage ÷ 30.","parameters":[{"schema":{"type":"string","example":"30000"},"required":true,"name":"wage","in":"query","description":"Last monthly wage in Taka (> 0)"},{"schema":{"type":"string","example":"12"},"required":true,"name":"years","in":"query","description":"Completed years of service (0–60)"},{"schema":{"type":"string","example":"8"},"required":false,"name":"months","in":"query","description":"Extra months of service (0–11)"}],"responses":{"200":{"description":"Gratuity","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/Gratuity"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/mock/people":{"get":{"tags":["Mock data"],"summary":"Synthetic Bangladeshi people for testing (bilingual names, phone, NID, address)","description":"Every record is made up. Phones and NIDs pass this API’s own validators. Pass `seed` for repeatable output.","parameters":[{"schema":{"type":"string","example":"10"},"required":false,"name":"count","in":"query","description":"1–100 (default 10)"},{"schema":{"type":"string","maxLength":64},"required":false,"name":"seed","in":"query","description":"Same seed, same records (cacheable)"},{"schema":{"type":"string"},"required":false,"name":"gender","in":"query","description":"male or female"},{"schema":{"type":"string"},"required":false,"name":"district","in":"query","description":"District slug, e.g. cumilla"}],"responses":{"200":{"description":"People","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"array","items":{"$ref":"#/components/schemas/MockPerson"}},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/mock/addresses":{"get":{"tags":["Mock data"],"summary":"Synthetic addresses consistent with real upazilas, districts and postcodes","parameters":[{"schema":{"type":"string","example":"10"},"required":false,"name":"count","in":"query","description":"1–100 (default 10)"},{"schema":{"type":"string","maxLength":64},"required":false,"name":"seed","in":"query","description":"Same seed, same records (cacheable)"},{"schema":{"type":"string"},"required":false,"name":"district","in":"query","description":"District slug, e.g. sylhet"}],"responses":{"200":{"description":"Addresses","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"array","items":{"$ref":"#/components/schemas/MockAddress"}},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/banks":{"get":{"tags":["Banks"],"summary":"All scheduled banks with their Bangladesh Bank ID and branch counts","responses":{"200":{"description":"Banks","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"array","items":{"$ref":"#/components/schemas/BankWithCounts"}},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/banks/{bank}":{"get":{"tags":["Banks"],"summary":"One bank by slug or Bangladesh Bank ID","parameters":[{"schema":{"type":"string","example":"sonali-bank"},"required":true,"name":"bank","in":"path","description":"Slug (sonali-bank) or Bangladesh Bank ID (15)"}],"responses":{"200":{"description":"Bank","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/BankWithCounts"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/banks/{bank}/branches":{"get":{"tags":["Banks"],"summary":"Branches of a bank, filtered by district, upazila or name","description":"Sorted by branch name. `q` matches the branch or thana name. Routing numbers are included where confirmed (see `meta.disclaimer`).","parameters":[{"schema":{"type":"string","example":"agrani-bank"},"required":true,"name":"bank","in":"path","description":"Slug or Bangladesh Bank ID"},{"schema":{"type":"string","example":"chandpur"},"required":false,"name":"district","in":"query","description":"District slug"},{"schema":{"type":"string"},"required":false,"name":"upazila","in":"query","description":"Upazila slug"},{"schema":{"type":"string"},"required":false,"name":"q","in":"query","description":"Search in branch and thana names"},{"schema":{"type":"string"},"required":false,"name":"page","in":"query","description":"Page (default 1)"},{"schema":{"type":"string"},"required":false,"name":"per_page","in":"query","description":"Items per page (1–500, default 100)"}],"responses":{"200":{"description":"Branches","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"array","items":{"$ref":"#/components/schemas/BranchDetail"}},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/branches/{id}":{"get":{"tags":["Banks"],"summary":"A branch by its Bangladesh Bank branch ID","parameters":[{"schema":{"type":"string","example":"110003"},"required":true,"name":"id","in":"path","description":"Bangladesh Bank branch ID"}],"responses":{"200":{"description":"Branch","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/BranchDetail"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/routing/{number}":{"get":{"tags":["Banks"],"summary":"Find the branch for a routing number","description":"The number must have 9 digits and a valid check digit (400 otherwise). A valid number that is not in the list returns 404, naming the bank when its code is known.","parameters":[{"schema":{"type":"string","example":"010130065"},"required":true,"name":"number","in":"path","description":"9-digit routing number"}],"responses":{"200":{"description":"Branch","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/BranchDetail"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/universities/categories":{"get":{"tags":["Education"],"summary":"UGC's university categories with counts","responses":{"200":{"description":"Categories","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"array","items":{"$ref":"#/components/schemas/UniversityCategoryWithCount"}},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/universities":{"get":{"tags":["Education"],"summary":"Universities listed by the University Grants Commission","description":"Public, private, international and cross-border (CBHE) universities, sorted by name. `district` is set only when the campus address names one district.","parameters":[{"schema":{"type":"string","example":"public"},"required":false,"name":"category","in":"query","description":"public, private, international or cbhe"},{"schema":{"type":"string"},"required":false,"name":"district","in":"query","description":"District slug, e.g. dhaka"},{"schema":{"type":"string","example":"engineering"},"required":false,"name":"q","in":"query","description":"Search in university names"}],"responses":{"200":{"description":"Universities","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"array","items":{"$ref":"#/components/schemas/University"}},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/universities/{slug}":{"get":{"tags":["Education"],"summary":"One university: founding year, campus, institutional contacts and UGC notes","parameters":[{"schema":{"type":"string","example":"university-of-dhaka"},"required":true,"name":"slug","in":"path"}],"responses":{"200":{"description":"University","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/University"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/education/boards":{"get":{"tags":["Education"],"summary":"Intermediate and Secondary Education Boards (BISE, Madrasah, Technical)","description":"Official statutory education boards conducting SSC, HSC, Dakhil, Alim and vocational examinations. Supports filtering by board type or district.","parameters":[{"schema":{"type":"string","example":"general"},"required":false,"name":"type","in":"query","description":"general, madrasah or technical"},{"schema":{"type":"string","example":"dhaka"},"required":false,"name":"district","in":"query","description":"District slug to find governing boards"},{"schema":{"type":"string","example":"dhaka"},"required":false,"name":"q","in":"query","description":"Search board name, short name, or code"}],"responses":{"200":{"description":"Education boards","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"array","items":{"$ref":"#/components/schemas/EducationBoard"}},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/education/boards/{code}":{"get":{"tags":["Education"],"summary":"Lookup an education board by 3-letter code or slug","description":"Resolves education boards using official 3-letter result codes (e.g. DHA, CHI, RAJ, MAD, TEC) or board slugs (e.g. dhaka, chattogram, madrasah).","parameters":[{"schema":{"type":"string","example":"DHA"},"required":true,"name":"code","in":"path"}],"responses":{"200":{"description":"Education board details","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/EducationBoard"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/education/grading-scale":{"get":{"tags":["Education"],"summary":"Official Bangladesh GPA 5.0 grading scale tiers","description":"Uniform 7-tier grading scale (A+, A, A-, B, C, D, F) used for SSC, HSC, JSC, Dakhil, and equivalent examinations.","responses":{"200":{"description":"Grading scale tiers","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"array","items":{"$ref":"#/components/schemas/GradeTier"}},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/education/grade-lookup":{"get":{"tags":["Education"],"summary":"Convert exam marks (0-100) to letter grade and GPA","description":"Looks up the grade tier, grade point (0.0 to 5.0), and performance assessment for a given mark.","parameters":[{"schema":{"type":"string","example":"85"},"required":true,"name":"marks","in":"query","description":"Marks obtained (0-100)"}],"responses":{"200":{"description":"Grade tier for marks","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/GradeTier"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/education/calculate-gpa":{"post":{"tags":["Education"],"summary":"Calculate overall GPA and letter grade with 4th-subject bonus","description":"Computes GPA on 5.0 scale according to Ministry of Education examination rules. If any mandatory subject fails (grade F), the overall result fails. Points above 2.0 in the optional 4th subject are added as bonus.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculateGpaRequest"}}}},"responses":{"200":{"description":"Calculated GPA result","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/CalculateGpaResponse"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/gold/prices":{"get":{"tags":["Gold & zakat"],"summary":"Current gold and silver prices from BAJUS (per gram and per vori)","description":"Read live from the Bangladesh Jewellers Association price page (cached up to 30 minutes). Per-vori prices are per gram × 11.664, rounded to the taka. 503 if BAJUS cannot be read.","responses":{"200":{"description":"Prices","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/GoldPrices"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"BAJUS prices unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/zakat":{"get":{"tags":["Gold & zakat"],"summary":"Zakat on net wealth, with the nisab from current BAJUS prices","description":"Zakat is 2.5% when net zakatable wealth reaches the nisab. `basis` chooses silver (52.5 vori, default) or gold (7.5 vori); the response also shows the other basis.","parameters":[{"schema":{"type":"string","example":"1000000"},"required":true,"name":"wealth","in":"query","description":"Net zakatable wealth in Taka"},{"schema":{"type":"string"},"required":false,"name":"basis","in":"query","description":"silver (default) or gold"},{"schema":{"type":"string"},"required":false,"name":"karat","in":"query","description":"Price used for the nisab: 22k (default), 21k, 18k, traditional"}],"responses":{"200":{"description":"Zakat","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/Zakat"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"BAJUS prices unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/market/prices":{"get":{"tags":["Market prices"],"summary":"Today's retail prices of essential goods in Dhaka (TCB)","description":"Read from TCB's newest daily price list (cached up to 30 minutes): today's lowest and highest price, a week, a month and a year ago, and TCB's % changes. Items TCB marks 0–0 have `price: null`. Where TCB cannot be reached, the last list read (within 7 days) is served as `freshness: \"last_known\"`; with none, 503.","parameters":[{"schema":{"type":"string","example":"edible-oil"},"required":false,"name":"category","in":"query","description":"One of: rice, flour, edible-oil, pulses, spices, fish-meat, milk-powder, misc"},{"schema":{"type":"string","example":"lentil"},"required":false,"name":"q","in":"query","description":"Search item names in English or Bangla"}],"responses":{"200":{"description":"Price list","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/MarketPrices"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"TCB prices unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/fuel/prices":{"get":{"tags":["Market prices"],"summary":"Government fuel prices per litre (diesel, octane, petrol, kerosene)","description":"Set monthly by the Energy and Mineral Resources Division. Without `month`, the latest month in the data.","parameters":[{"schema":{"type":"string","example":"2026-11"},"required":false,"name":"month","in":"query","description":"YYYY-MM"}],"responses":{"200":{"description":"Fuel prices","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/FuelPrices"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Month not available","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/mfs/providers":{"get":{"tags":["MFS"],"summary":"List licensed Bangladesh MFS providers","description":"Returns all Bangladesh Bank-licensed Mobile Financial Services (MFS) providers (bKash, Nagad, Rocket, Upay, TAP) with tariff schedules, USSD codes, limits, and parent institutions.","parameters":[{"schema":{"type":"string","example":"bkash"},"required":false,"name":"q","in":"query","description":"Filter by provider or parent bank name (English or Bangla)"}],"responses":{"200":{"description":"List of MFS providers","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"array","items":{"$ref":"#/components/schemas/MfsProvider"}},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/mfs/providers/{provider}":{"get":{"tags":["MFS"],"summary":"Get details and fee schedule for a specific MFS provider","parameters":[{"schema":{"type":"string","example":"bkash"},"required":true,"name":"provider","in":"path"}],"responses":{"200":{"description":"Provider details","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/MfsProvider"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/mfs/charges":{"get":{"tags":["MFS"],"summary":"Calculate fee for an MFS transaction","description":"Calculates transaction fees (cash-out or send-money) based on published tariffs. Accepts Latin or Bangla digits for amount.","parameters":[{"schema":{"type":"string","example":"bkash"},"required":true,"name":"provider","in":"query","description":"Provider slug"},{"schema":{"type":"string","example":"5000"},"required":true,"name":"amount","in":"query","description":"Transaction amount in BDT (accepts Bangla or Latin digits)"},{"schema":{"type":"string","enum":["cash-out","send-money"],"default":"cash-out","example":"cash-out"},"required":false,"name":"action","in":"query","description":"Transaction action: cash-out or send-money"},{"schema":{"type":"string","enum":["app","ussd","atm","special"],"default":"app","example":"app"},"required":false,"name":"channel","in":"query","description":"Channel: app, ussd, atm, or special (e.g. priyo agent)"}],"responses":{"200":{"description":"Fee calculation result","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/MfsChargeCalculation"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/mfs/compare":{"get":{"tags":["MFS"],"summary":"Compare fees across all MFS providers for a transaction","description":"Compares fees across all supported providers for a given amount, ranked from lowest fee to highest.","parameters":[{"schema":{"type":"string","example":"10000"},"required":true,"name":"amount","in":"query","description":"Transaction amount in BDT (accepts Bangla or Latin digits)"},{"schema":{"type":"string","enum":["cash-out","send-money"],"default":"cash-out","example":"cash-out"},"required":false,"name":"action","in":"query","description":"Transaction action: cash-out or send-money"},{"schema":{"type":"string","enum":["app","ussd","atm","special"],"default":"app","example":"app"},"required":false,"name":"channel","in":"query","description":"Channel: app, ussd, atm"}],"responses":{"200":{"description":"Comparison ranking across providers","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/MfsComparisonResult"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/mfs/ussd":{"get":{"tags":["MFS"],"summary":"Quick cheat sheet of USSD codes for all MFS providers","responses":{"200":{"description":"USSD codes and helplines","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"array","items":{"$ref":"#/components/schemas/MfsUssdEntry"}},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/prayer/times":{"get":{"tags":["Prayer Times & Ramadan"],"summary":"Daily prayer times by district","description":"Calculates the 5 daily prayer times (Fajr, Dhuhr, Asr, Maghrib, Isha) plus Sunrise, Sehri cutoff, and Sunset for any district in Bangladesh according to Islamic Foundation Bangladesh conventions. Accepts Latin or Bangla digits for dates.","parameters":[{"schema":{"type":"string","example":"dhaka"},"required":false,"name":"district","in":"query","description":"District slug or BBS code (defaults to dhaka)"},{"schema":{"type":"string","example":"2026-03-20"},"required":false,"name":"date","in":"query","description":"Date in YYYY-MM-DD format (defaults to today in Dhaka)"},{"schema":{"type":"string","enum":["hanafi","shafi"],"example":"hanafi"},"required":false,"name":"school","in":"query","description":"Jurisprudential school for Asr time calculation (defaults to hanafi)"}],"responses":{"200":{"description":"Daily prayer times for the requested district","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/DailyPrayerTimes"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/prayer/ramadan":{"get":{"tags":["Prayer Times & Ramadan"],"summary":"Ramadan Sehri and Iftar timetable","description":"Provides the complete 30-day Sehri & Iftar timetable for the holy month of Ramadan for any district in Bangladesh, mapped to Gregorian and revised Bangla Academy dates.","parameters":[{"schema":{"type":"string","example":"dhaka"},"required":false,"name":"district","in":"query","description":"District slug or BBS code (defaults to dhaka)"},{"schema":{"type":"string","example":"1447"},"required":false,"name":"year","in":"query","description":"Hijri year (e.g. 1447) or Gregorian year (e.g. 2026)"},{"schema":{"type":"string","example":"1"},"required":false,"name":"day","in":"query","description":"Specific Ramadan day (1 to 30)"}],"responses":{"200":{"description":"30-day Ramadan schedule (or filtered to a single day when ?day= is provided)","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/RamadanSchedule"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/prayer/offsets":{"get":{"tags":["Prayer Times & Ramadan"],"summary":"Official IFB district prayer time offsets","description":"Lists all 64 districts in Bangladesh with their official Islamic Foundation Bangladesh minute offsets for Sehri and Iftar relative to the Dhaka baseline.","parameters":[{"schema":{"type":"string","example":"sylhet"},"required":false,"name":"q","in":"query","description":"Filter by district or division name in English or Bangla"}],"responses":{"200":{"description":"List of 64 district offsets","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"array","items":{"$ref":"#/components/schemas/DistrictOffset"}},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/prayer/offsets/{district}":{"get":{"tags":["Prayer Times & Ramadan"],"summary":"District prayer time offset details","description":"Returns the official IFB minute offset for a single district by slug or BBS code.","parameters":[{"schema":{"type":"string","example":"sylhet"},"required":true,"name":"district","in":"path"}],"responses":{"200":{"description":"District offset details","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/DistrictOffset"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/metro/stations":{"get":{"tags":["Dhaka Metro Rail"],"summary":"List Dhaka Metro Rail (MRT Line-6) stations","description":"Returns all 16 operational MRT Line-6 stations plus Kamalapur under construction, in north-to-south sequence with GPS coordinates, official station codes, and bilingual names.","parameters":[{"schema":{"type":"string","enum":["operational","under_construction"],"example":"operational"},"required":false,"name":"status","in":"query","description":"Filter by station status (operational or under_construction)"},{"schema":{"type":"string","example":"mirpur"},"required":false,"name":"q","in":"query","description":"Filter by station name in English or Bangla, or station code"}],"responses":{"200":{"description":"List of MRT Line-6 stations","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"array","items":{"$ref":"#/components/schemas/MetroStation"}},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/metro/stations/{slug}":{"get":{"tags":["Dhaka Metro Rail"],"summary":"Get details of a single MRT station","description":"Returns full station information including GPS coordinates, accessibility features, order, and connection routes by station slug or code.","parameters":[{"schema":{"type":"string","example":"uttara-north"},"required":true,"name":"slug","in":"path","description":"Station slug or code"}],"responses":{"200":{"description":"Station details","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/MetroStation"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/metro/fare":{"get":{"tags":["Dhaka Metro Rail"],"summary":"Calculate station-to-station metro rail fare","description":"Calculates the official DMTCL fare between any two stations on MRT Line-6, comparing Single Journey Ticket price against the 10% MRT Pass / Rapid Pass discount, and includes estimated travel time.","parameters":[{"schema":{"type":"string","example":"uttara-north"},"required":true,"name":"from","in":"query","description":"Origin station slug or code"},{"schema":{"type":"string","example":"motijheel"},"required":true,"name":"to","in":"query","description":"Destination station slug or code"}],"responses":{"200":{"description":"Fare calculation and travel summary","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/MetroFareCalculation"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/metro/timetable":{"get":{"tags":["Dhaka Metro Rail"],"summary":"Dhaka Metro Rail operating timetable & schedule","description":"Returns official DMTCL train schedules: Saturday–Thursday regular service hours, peak vs off-peak headways, last train cutoffs for MRT Pass holders, and Friday afternoon schedule.","responses":{"200":{"description":"Metro operating timetable","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/MetroTimetable"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/metro/lines":{"get":{"tags":["Dhaka Metro Rail"],"summary":"MRT Line-6 network details","description":"Returns technical and operational details for Dhaka Metro Rail Line-6: route length, terminal stations, gauge, power system, and phase statuses.","responses":{"200":{"description":"MRT Line-6 specifications","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/MetroLine"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/health/hospitals":{"get":{"tags":["Health"],"summary":"National government hospitals and specialized healthcare institutes","description":"Directory of major government medical college hospitals, specialized institutes, bed counts, emergency casualty phones and GPS coordinates across all 8 divisions.","parameters":[{"schema":{"type":"string","example":"dhaka"},"required":false,"name":"division","in":"query","description":"Division slug, e.g. dhaka, chattogram"},{"schema":{"type":"string","example":"dhaka"},"required":false,"name":"district","in":"query","description":"District slug, e.g. dhaka, coxs-bazar"},{"schema":{"type":"string","example":"medical_college"},"required":false,"name":"type","in":"query","description":"specialized_institute, medical_college, general_hospital, district_hospital"},{"schema":{"type":"string","example":"true"},"required":false,"name":"has_emergency","in":"query","description":"true or false"},{"schema":{"type":"string","example":"cardiac"},"required":false,"name":"q","in":"query","description":"Search in hospital name, address or services"}],"responses":{"200":{"description":"List of hospitals","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"array","items":{"$ref":"#/components/schemas/Hospital"}},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/health/hospitals/{slug}":{"get":{"tags":["Health"],"summary":"Lookup a hospital by slug","description":"Returns complete hospital details including bed capacity, 24/7 casualty hotline, specialized facilities, and GPS coordinates.","parameters":[{"schema":{"type":"string","example":"dhaka-medical-college-hospital"},"required":true,"name":"slug","in":"path"}],"responses":{"200":{"description":"Hospital details","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/Hospital"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/health/emergency":{"get":{"tags":["Health"],"summary":"Emergency medical hotlines, ambulance dispatch, and trauma centers","description":"Immediate medical emergency directory: 24/7 Shastho Batayan (16263), National Emergency (999), top trauma/burn institutes, and ambulance numbers.","responses":{"200":{"description":"Emergency healthcare directory","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/EmergencyHealthSummary"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/weather/signals/maritime":{"get":{"tags":["Weather & Disaster Signals"],"summary":"BMD Maritime Storm Warning Signals (1 to 11)","description":"Official Bangladesh Meteorological Department (BMD) maritime storm warning signals from Distant Cautionary 1 to Communication Failure 11 with wind speeds, coastal tracking, and safety instructions.","responses":{"200":{"description":"Maritime warning signals","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"array","items":{"$ref":"#/components/schemas/MaritimeSignal"}},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/weather/signals/maritime/{number}":{"get":{"tags":["Weather & Disaster Signals"],"summary":"Lookup a maritime storm signal by number (1-11) or slug","description":"Returns details of a specific maritime storm signal including Bengali nomenclature, port danger level, wind speeds, and evacuation directions.","parameters":[{"schema":{"type":"string","example":"10"},"required":true,"name":"number","in":"path","description":"Signal number (1 to 11) or slug"}],"responses":{"200":{"description":"Maritime signal details","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/MaritimeSignal"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/weather/signals/riverport":{"get":{"tags":["Weather & Disaster Signals"],"summary":"BMD Inland Riverport Warning Signals (1 to 4)","description":"Inland riverport warning signals issued jointly by BMD and BIWTA for passenger ferries, motor launches, and cargo trawlers on inland waterways.","responses":{"200":{"description":"Riverport warning signals","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"array","items":{"$ref":"#/components/schemas/RiverportSignal"}},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/weather/signals/riverport/{number}":{"get":{"tags":["Weather & Disaster Signals"],"summary":"Lookup an inland riverport signal by number (1-4) or slug","description":"Returns riverport signal details including 65-foot vessel navigation rules, squall thresholds, and safety measures.","parameters":[{"schema":{"type":"string","example":"2"},"required":true,"name":"number","in":"path","description":"Riverport signal number (1 to 4) or slug"}],"responses":{"200":{"description":"Riverport signal details","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/RiverportSignal"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/weather/aqi/categories":{"get":{"tags":["Weather & Disaster Signals"],"summary":"Department of Environment (DoE) Air Quality Index (AQI) categories","description":"Official 6-tier national AQI classification (0-50 Good to 301+ Hazardous) with HEX colors, health impact descriptions, and sensitive group precautions.","responses":{"200":{"description":"AQI categories","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"array","items":{"$ref":"#/components/schemas/AqiCategory"}},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/weather/aqi/lookup":{"get":{"tags":["Weather & Disaster Signals"],"summary":"Convert raw AQI number to category, color, and health advisory","description":"Maps any Air Quality Index value (0 to 500+) to its corresponding DoE classification with actionable outdoor and mask recommendations.","parameters":[{"schema":{"type":"string","example":"165"},"required":true,"name":"value","in":"query","description":"Numeric AQI value (0 to 500+)"}],"responses":{"200":{"description":"AQI classification and advisory","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/AqiLookupResponse"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/weather/seasons":{"get":{"tags":["Weather & Disaster Signals"],"summary":"Traditional 6 Bangla seasons (ষড়ঋতু)","description":"The six traditional Bengali seasons (গ্রীষ্ম, বর্ষা, শরৎ, হেমন্ত, শীত, বসন্ত) with their corresponding Bangla months, Gregorian dates, and climatic traits.","responses":{"200":{"description":"Bangla seasons","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"array","items":{"$ref":"#/components/schemas/BanglaSeason"}},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/railway/trains":{"get":{"tags":["Bangladesh Railway"],"summary":"Bangladesh Railway intercity express trains directory","description":"List of major intercity express trains with official train numbers, departure/arrival schedules, weekly off-days, and available coach classes.","parameters":[{"schema":{"type":"string","example":"dhaka"},"required":false,"name":"origin","in":"query","description":"Origin station or city (e.g. dhaka, chattogram)"},{"schema":{"type":"string","example":"chattogram"},"required":false,"name":"destination","in":"query","description":"Destination station or city (e.g. rajshahi, sylhet)"},{"schema":{"type":"string","example":"SNIGDHA"},"required":false,"name":"class","in":"query","description":"Coach class: SHOVON, S_CHAIR, SNIGDHA, AC_S, AC_B"},{"schema":{"type":"string","example":"Monday"},"required":false,"name":"off_day","in":"query","description":"Weekly off day (e.g. Monday, Wednesday)"},{"schema":{"type":"string","example":"suborno"},"required":false,"name":"q","in":"query","description":"Search train name, number, or intermediate halts"}],"responses":{"200":{"description":"List of intercity trains","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"array","items":{"$ref":"#/components/schemas/RailwayTrain"}},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/railway/trains/{number}":{"get":{"tags":["Bangladesh Railway"],"summary":"Lookup a train by official 3-digit number or slug","description":"Returns complete route details, departure and arrival times, intermediate major halts, and available coach classes.","parameters":[{"schema":{"type":"string","example":"701"},"required":true,"name":"number","in":"path","description":"Train number (e.g. 701, 788) or slug"}],"responses":{"200":{"description":"Train route details","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/RailwayTrain"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/railway/classes":{"get":{"tags":["Bangladesh Railway"],"summary":"Official Bangladesh Railway coach and seat classes","description":"All 7 standard BR passenger coach classes (Shovon, Shovon Chair, Snigdha, First Class Seat/Berth, AC Seat/Berth) with AC status and descriptions.","responses":{"200":{"description":"Coach classes","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"array","items":{"$ref":"#/components/schemas/RailwayClass"}},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/railway/stations":{"get":{"tags":["Bangladesh Railway"],"summary":"Major railway junction and division stations","description":"Directory of primary railway stations, station codes, divisions, districts, and GPS coordinates across East and West railway zones.","parameters":[{"schema":{"type":"string","example":"dhaka"},"required":false,"name":"division","in":"query","description":"Division slug (e.g. dhaka, chattogram, rajshahi)"},{"schema":{"type":"string","example":"dhaka"},"required":false,"name":"district","in":"query","description":"District slug"},{"schema":{"type":"string","example":"kamalapur"},"required":false,"name":"q","in":"query","description":"Search station name or 2-3 letter code"}],"responses":{"200":{"description":"Railway stations","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"array","items":{"$ref":"#/components/schemas/RailwayStation"}},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/railway/stations/{code}":{"get":{"tags":["Bangladesh Railway"],"summary":"Lookup a railway station by code or slug","description":"Returns station details, station code (e.g. DA, CG, AIR, SYL, SNT), and GPS coordinates.","parameters":[{"schema":{"type":"string","example":"DA"},"required":true,"name":"code","in":"path","description":"Station code (e.g. DA, CG) or slug"}],"responses":{"200":{"description":"Railway station details","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/RailwayStation"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/airports":{"get":{"tags":["Airports"],"summary":"List international and domestic airports in Bangladesh","description":"Directory of international airports, domestic operational airports, STOL airstrips and CAAB aviation facilities with IATA and ICAO codes.","parameters":[{"schema":{"type":"string","example":"dhaka"},"required":false,"name":"division","in":"query","description":"Division slug, e.g. dhaka, chattogram"},{"schema":{"type":"string","example":"dhaka"},"required":false,"name":"district","in":"query","description":"District slug, e.g. dhaka, coxs-bazar"},{"schema":{"type":"string","example":"international"},"required":false,"name":"type","in":"query","description":"international, domestic, short_takeoff, military_airstrip"},{"schema":{"type":"string","example":"operational"},"required":false,"name":"status","in":"query","description":"operational, under_development, inactive"},{"schema":{"type":"string","example":"Shahjalal"},"required":false,"name":"q","in":"query","description":"Search by airport name, city, IATA or ICAO code"}],"responses":{"200":{"description":"List of airports","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"array","items":{"$ref":"#/components/schemas/Airport"}},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/airports/{identifier}":{"get":{"tags":["Airports"],"summary":"Lookup an airport by IATA code, ICAO code, or slug","description":"Returns complete airport data including IATA/ICAO codes, coordinates, runway lengths, elevation, and operational status.","parameters":[{"schema":{"type":"string","example":"DAC","description":"IATA code (e.g. DAC, CGP), ICAO code (e.g. VGHS, VGEG), or slug"},"required":true,"description":"IATA code (e.g. DAC, CGP), ICAO code (e.g. VGHS, VGEG), or slug","name":"identifier","in":"path"}],"responses":{"200":{"description":"Airport details","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/Airport"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/heritage":{"get":{"tags":["Heritage"],"summary":"List UNESCO World Heritage sites, archaeological monuments, and tourist landmarks","description":"Directory of UNESCO World Heritage sites, archaeological antiquities, eco-tourism reserves, and national landmarks verified against Department of Archaeology and Bangladesh Parjatan Corporation.","parameters":[{"schema":{"type":"string","example":"rajshahi"},"required":false,"name":"division","in":"query","description":"Division slug, e.g. dhaka, rajshahi, khulna"},{"schema":{"type":"string","example":"naogaon"},"required":false,"name":"district","in":"query","description":"District slug, e.g. naogaon, bagerhat, bogura"},{"schema":{"type":"string","example":"archaeological"},"required":false,"name":"category","in":"query","description":"archaeological, historical, natural, cultural, monument"},{"schema":{"type":"string","example":"unesco_world_heritage"},"required":false,"name":"type","in":"query","description":"unesco_world_heritage, national_heritage, eco_tourism, landmark"},{"schema":{"type":"string","example":"Paharpur"},"required":false,"name":"q","in":"query","description":"Search by site name, historical era, or description"}],"responses":{"200":{"description":"List of heritage and tourist sites","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"array","items":{"$ref":"#/components/schemas/HeritageSite"}},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/heritage/{identifier}":{"get":{"tags":["Heritage"],"summary":"Get a heritage or tourist site by slug or UNESCO ID","description":"Resolves a single site by its unique slug (e.g. somapura-mahavihara, shat-gombuj-mosque, sundarbans) or UNESCO ID (e.g. 322, 421, 798).","parameters":[{"schema":{"type":"string","example":"somapura-mahavihara"},"required":true,"name":"identifier","in":"path"}],"responses":{"200":{"description":"Single heritage site details","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/HeritageSite"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/rivers":{"get":{"tags":["Rivers"],"summary":"List major rivers of Bangladesh (নদীমাতৃক বাংলাদেশ)","description":"Directory of principal rivers, origins, outflows, traversed districts, lengths, and transboundary relations verified against Bangladesh Water Development Board (BWDB) and Banglapedia.","parameters":[{"schema":{"type":"string","example":"dhaka"},"required":false,"name":"division","in":"query","description":"Division slug, e.g. dhaka, chattogram, rajshahi"},{"schema":{"type":"string","example":"dhaka"},"required":false,"name":"district","in":"query","description":"District slug, e.g. dhaka, kurigram, chandpur"},{"schema":{"type":"string","example":"true"},"required":false,"name":"is_transboundary","in":"query","description":"Filter by transboundary status: \"true\" or \"false\""},{"schema":{"type":"string","example":"Padma"},"required":false,"name":"q","in":"query","description":"Search by river name, origin, outflow, or description"}],"responses":{"200":{"description":"List of rivers","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"array","items":{"$ref":"#/components/schemas/River"}},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/rivers/{slug}":{"get":{"tags":["Rivers"],"summary":"Get river details by slug","description":"Resolves a single river by its unique slug (e.g. padma, meghna, jamuna, karnaphuli, halda, teesta).","parameters":[{"schema":{"type":"string","example":"padma"},"required":true,"name":"slug","in":"path"}],"responses":{"200":{"description":"Single river details","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/River"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/ports/land":{"get":{"tags":["Ports"],"summary":"List statutory land ports and border customs stations","description":"Directory of all 24 statutory land ports of Bangladesh with counterpart Indian/Myanmar customs stations, rail connectivity, facilities, and key trade commodities verified against Bangladesh Land Port Authority (BLPA).","parameters":[{"schema":{"type":"string","example":"khulna"},"required":false,"name":"division","in":"query","description":"Division slug, e.g. khulna, rangpur, sylhet"},{"schema":{"type":"string","example":"jashore"},"required":false,"name":"district","in":"query","description":"District slug, e.g. jashore, lalmonirhat, sylhet"},{"schema":{"type":"string","example":"operational"},"required":false,"name":"status","in":"query","description":"operational, under_development, inactive"},{"schema":{"type":"string","example":"true"},"required":false,"name":"has_rail_link","in":"query","description":"Filter by rail connection: \"true\" or \"false\""},{"schema":{"type":"string","example":"true"},"required":false,"name":"has_passenger_immigration","in":"query","description":"Filter by passenger immigration: \"true\" or \"false\""},{"schema":{"type":"string","example":"Benapole"},"required":false,"name":"q","in":"query","description":"Search by port name, 3-letter code, Indian LCS, or commodity"}],"responses":{"200":{"description":"List of land ports","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"array","items":{"$ref":"#/components/schemas/LandPort"}},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/ports/land/{identifier}":{"get":{"tags":["Ports"],"summary":"Get land port details by code or slug","description":"Resolves a single land port by its 3-letter port code (e.g. BEN, BUR, TAM, BGB, AKH) or unique slug.","parameters":[{"schema":{"type":"string","example":"BEN"},"required":true,"name":"identifier","in":"path"}],"responses":{"200":{"description":"Single land port details","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/LandPort"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/nlp/stopwords":{"get":{"tags":["Bangla NLP"],"summary":"List canonical Bangla stopwords","description":"Curated corpus of 500+ high-frequency Bengali functional stopwords categorized by part-of-speech (conjunctions, pronouns, adverbs, postpositions, auxiliaries).","parameters":[{"schema":{"type":"string","example":"conjunction","description":"Filter stopwords by grammatical category"},"required":false,"description":"Filter stopwords by grammatical category","name":"category","in":"query"},{"schema":{"type":"integer","exclusiveMinimum":0,"maximum":1000,"example":100},"required":false,"name":"limit","in":"query"},{"schema":{"type":["integer","null"],"minimum":0,"example":0},"required":false,"name":"offset","in":"query"}],"responses":{"200":{"description":"List of Bangla stopwords","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/StopwordsResponse"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter or missing body","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/nlp/stopwords/remove":{"post":{"tags":["Bangla NLP"],"summary":"Remove Bangla stopwords from text","description":"Tokenizes input text, filters out canonical Bengali functional stopwords, and returns clean text alongside the inventory of removed tokens.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StopwordRemoveRequest"}}}},"responses":{"200":{"description":"Text with stopwords removed","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/StopwordRemoveResponse"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter or missing body","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/nlp/normalize":{"post":{"tags":["Bangla NLP"],"summary":"Normalize Bangla Unicode text","description":"Normalizes Bengali text to canonical Unicode NFC representation, cleans redundant zero-width joiners/non-joiners, composite nukta glyphs (ড়, ঢ়, য়), and normalizes spacing.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NormalizeRequest"}}}},"responses":{"200":{"description":"Normalized Bengali text","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/NormalizeResponse"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter or missing body","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/nlp/tokenize":{"post":{"tags":["Bangla NLP"],"summary":"Tokenize Bangla text into words or sentences","description":"Linguistically splits Bengali text into sentence tokens (delimited by Dari \"।\", Double Dari \"॥\", \"?\", \"!\", and line breaks) or word tokens respecting conjunctive ligatures.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenizeRequest"}}}},"responses":{"200":{"description":"Tokenized text array","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/TokenizeResponse"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter or missing body","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/nlp/stem":{"post":{"tags":["Bangla NLP"],"summary":"Rule-based Bangla affix-stripping stemmer","description":"Deterministic rule-based stemmer that strips common nominal case markers (-দেরকে, -গুলোকে, -য়ের), plural suffixes (-গুলো, -গণ, -সমূহ), and verbal inflections (-ছিলেন, -ছেন, -লেন).","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StemRequest"}}}},"responses":{"200":{"description":"Stemmed word or word list","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/StemResponse"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter or missing body","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/constituencies":{"get":{"tags":["Constituencies"],"summary":"300 Bangladesh parliamentary constituencies","description":"List of the 300 general single-member territorial constituencies of Jatiya Sangsad with official seat numbers (1-300), English/Bengali names, and administrative boundaries.","parameters":[{"schema":{"type":"string","example":"dhaka"},"required":false,"name":"division","in":"query","description":"Filter by division slug (e.g. dhaka, rangpur)"},{"schema":{"type":"string","example":"dhaka"},"required":false,"name":"district","in":"query","description":"Filter by district slug (e.g. dhaka, panchagarh)"},{"schema":{"type":"string","example":"dhaka-1"},"required":false,"name":"search","in":"query","description":"Search by constituency name, seat number or area"},{"schema":{"type":"string","example":"20"},"required":false,"name":"limit","in":"query","description":"Maximum items to return"},{"schema":{"type":"string","example":"0"},"required":false,"name":"offset","in":"query","description":"Items to skip"}],"responses":{"200":{"description":"List of constituencies","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"array","items":{"$ref":"#/components/schemas/Constituency"}},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/constituencies/districts":{"get":{"tags":["Constituencies"],"summary":"Parliamentary seat breakdown by district","description":"Distribution of the 300 parliamentary seats across Bangladesh 64 districts with seat counts.","parameters":[{"schema":{"type":"string","example":"dhaka"},"required":false,"name":"division","in":"query","description":"Filter by division slug (e.g. dhaka)"},{"schema":{"type":"string","example":"dhaka"},"required":false,"name":"district","in":"query","description":"Filter by district slug (e.g. dhaka)"}],"responses":{"200":{"description":"District seat breakdowns","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"array","items":{"$ref":"#/components/schemas/DistrictConstituencies"}},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/constituencies/{identifier}":{"get":{"tags":["Constituencies"],"summary":"Get a single parliamentary constituency","description":"Fetch details of a constituency using seat number (1-300 or Bengali numerals ১-৩০০) or slug (e.g. dhaka-1).","parameters":[{"schema":{"type":"string","example":"174"},"required":true,"name":"identifier","in":"path","description":"Seat number (1-300) or code slug (e.g. dhaka-1)"}],"responses":{"200":{"description":"Constituency details","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/Constituency"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/developer/quota":{"get":{"tags":["Developer"],"summary":"Check API key quota and rate limits","description":"Returns current tier limits, daily request quota, requests used today, and reset timestamp.","responses":{"200":{"description":"Current developer rate limits and daily quota usage","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/DeveloperQuota"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"401":{"description":"Invalid or inactive API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/developer/tiers":{"get":{"tags":["Developer"],"summary":"List available developer access tiers and rate limits","description":"Returns all platform access tiers (Anonymous, Developer, Enterprise) with rate limits, daily quotas, and capabilities.","responses":{"200":{"description":"Available platform tiers","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/DeveloperTiersResponse"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}}}}},"/v1/developer/keys/generate":{"post":{"tags":["Developer"],"summary":"Generate a self-service developer sandbox API key","description":"Creates a developer API key token for immediate use in testing, local development, and CI environments.","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":2,"maxLength":64,"example":"My Dhaka Ride App"},"email":{"type":"string","format":"email","example":"dev@example.com"}},"required":["name"]}}}},"responses":{"200":{"description":"Successfully generated developer API key","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/GeneratedKeyResponse"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["success","data","meta"]}}}},"400":{"description":"Invalid key generation request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"webhooks":{}}