{"openapi":"3.1.0","info":{"title":"The Second Bulgarian Empire — public data API","version":"1","description":"Read-only, static JSON over the site's datasets. No authentication, no rate limit, and every response can be cached: files change only when the site is deployed.\n\nEvery record has a stable id (the last segment of its page URL on the site), bilingual text as `{ bg, en }`, and the URL of its page. Where a fact comes from a printed book, the record cites the book and page.\n\nThere is no server-side filtering or paging: download the dataset file and filter it in your code. The largest list is under 1 MB.\n\nThe same data is reachable by AI clients through the MCP server at https://medievalbulgaria.com/api/mcp.","license":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/"},"contact":{"name":"medievalbulgaria.com","url":"https://medievalbulgaria.com/contact"}},"externalDocs":{"description":"Developer guide","url":"https://medievalbulgaria.com/developers"},"servers":[{"url":"https://medievalbulgaria.com/data/v1"}],"tags":[{"name":"index","description":"Start here."},{"name":"rulers","description":"Every person in the family tree: the tsars and their relatives, with reigns, kinship and a cited biography."},{"name":"dynasties","description":"The ruling houses and which tsars belong to each."},{"name":"battles","description":"The battles with their own article: date, place, sides, commanders and outcome."},{"name":"battle-record","description":"The win–loss register: every dated engagement of the tsardom, with the book page it rests on."},{"name":"coins","description":"The coin catalogue: every type by ruler, metal, mint, legends, size and rarity, with its photographed specimens and drawings."},{"name":"places","description":"Towns, fortresses, ports and monasteries with coordinates and their links to rulers, battles and manuscripts."},{"name":"manuscripts","description":"Manuscripts and royal charters: dates, repositories, shelfmarks and links to digitised copies."},{"name":"events","description":"The dated events of the timeline."},{"name":"glossary","description":"Offices, titles, institutions and terms, defined in both languages."},{"name":"map-periods","description":"The nine atlas snapshots, each realm's ruler and situation, and a link to the boundaries as GeoJSON."},{"name":"pages","description":"Every article on the site: metadata and citations in the list, full Markdown body per record."},{"name":"sources","description":"The bibliography the site is built from."},{"name":"territories","description":"Political boundaries of the Balkans, one GeoJSON file per atlas year."},{"name":"export","description":"Whole datasets as CSV (UTF-8 with BOM) or GeoJSON."}],"paths":{"/index.json":{"get":{"tags":["index"],"summary":"What is available","description":"Lists every dataset with its record count and URL, the bulk exports, the GeoJSON boundaries and the MCP endpoint.","responses":{"200":{"description":"The index","content":{"application/json":{"example":{"version":"1","base":"https://medievalbulgaria.com/data/v1","licence":{"data":"CC BY 4.0","dataUrl":"https://creativecommons.org/licenses/by/4.0/","attribution":"The Second Bulgarian Empire (medievalbulgaria.com)"},"documentation":"https://medievalbulgaria.com/developers","openapi":"https://medievalbulgaria.com/data/v1/openapi.json","mcp":"https://medievalbulgaria.com/api/mcp","datasets":[{"name":"rulers","description":"Every person in the family tree: the tsars and their relatives, with reigns, kinship and a cited biography.","count":129,"url":"https://medievalbulgaria.com/data/v1/rulers.json","item":"https://medievalbulgaria.com/data/v1/rulers/{id}.json"},{"name":"dynasties","description":"The ruling houses and which tsars belong to each.","count":5,"url":"https://medievalbulgaria.com/data/v1/dynasties.json","item":null},{"name":"battles","description":"The battles with their own article: date, place, sides, commanders and outcome.","count":15,"url":"https://medievalbulgaria.com/data/v1/battles.json","item":"https://medievalbulgaria.com/data/v1/battles/{id}.json"},{"name":"battle-record","description":"The win–loss register: every dated engagement of the tsardom, with the book page it rests on.","count":161,"url":"https://medievalbulgaria.com/data/v1/battle-record.json","item":null},{"name":"coins","description":"The coin catalogue: every type by ruler, metal, mint, legends, size and rarity, with its photographed specimens and drawings.","count":114,"url":"https://medievalbulgaria.com/data/v1/coins.json","item":"https://medievalbulgaria.com/data/v1/coins/{id}.json"},{"name":"places","description":"Towns, fortresses, ports and monasteries with coordinates and their links to rulers, battles and manuscripts.","count":27,"url":"https://medievalbulgaria.com/data/v1/places.json","item":"https://medievalbulgaria.com/data/v1/places/{id}.json"},{"name":"manuscripts","description":"Manuscripts and royal charters: dates, repositories, shelfmarks and links to digitised copies.","count":26,"url":"https://medievalbulgaria.com/data/v1/manuscripts.json","item":"https://medievalbulgaria.com/data/v1/manuscripts/{id}.json"},{"name":"events","description":"The dated events of the timeline.","count":24,"url":"https://medievalbulgaria.com/data/v1/events.json","item":null},{"name":"glossary","description":"Offices, titles, institutions and terms, defined in both languages.","count":53,"url":"https://medievalbulgaria.com/data/v1/glossary.json","item":null},{"name":"map-periods","description":"The nine atlas snapshots, each realm's ruler and situation, and a link to the boundaries as GeoJSON.","count":9,"url":"https://medievalbulgaria.com/data/v1/map-periods.json","item":null},{"name":"pages","description":"Every article on the site: metadata and citations in the list, full Markdown body per record.","count":179,"url":"https://medievalbulgaria.com/data/v1/pages.json","item":"https://medievalbulgaria.com/data/v1/pages/{id}.json"},{"name":"sources","description":"The bibliography the site is built from.","count":11,"url":"https://medievalbulgaria.com/data/v1/sources.json","item":null}],"territories":[{"year":1186,"url":"https://medievalbulgaria.com/data/v1/territories/1186.geojson"},{"year":1205,"url":"https://medievalbulgaria.com/data/v1/territories/1205.geojson"},{"year":1230,"url":"https://medievalbulgaria.com/data/v1/territories/1230.geojson"},{"year":1261,"url":"https://medievalbulgaria.com/data/v1/territories/1261.geojson"},{"year":1300,"url":"https://medievalbulgaria.com/data/v1/territories/1300.geojson"},{"year":1331,"url":"https://medievalbulgaria.com/data/v1/territories/1331.geojson"},{"year":1355,"url":"https://medievalbulgaria.com/data/v1/territories/1355.geojson"},{"year":1371,"url":"https://medievalbulgaria.com/data/v1/territories/1371.geojson"},{"year":1396,"url":"https://medievalbulgaria.com/data/v1/territories/1396.geojson"}],"exports":[{"name":"rulers.csv","format":"csv","rows":129,"bytes":20049,"columns":["id","name_bg","name_en","epithet_en","title","dynasty","reigned","reign_from","reign_to","born","died","wikidata","url"],"url":"https://medievalbulgaria.com/data/v1/export/rulers.csv"},{"name":"battles.csv","format":"csv","rows":15,"bytes":3925,"columns":["id","year","name_bg","name_en","location_en","lat","lng","outcome","result_en","commanders","url"],"url":"https://medievalbulgaria.com/data/v1/export/battles.csv"},{"name":"battle-record.csv","format":"csv","rows":161,"bytes":43115,"columns":["id","year","kind","side","ruler","opponent","result","name_bg","name_en","note_en","sources"],"url":"https://medievalbulgaria.com/data/v1/export/battle-record.csv"},{"name":"coins.csv","format":"csv","rows":114,"bytes":105289,"columns":["id","catalogue_number","ruler","ruler_en","reign","metal","imitative","title_en","mint_en","obverse_en","reverse_en","diameter_mm","weight_g","rarity","specimens","drawings","image","url"],"url":"https://medievalbulgaria.com/data/v1/export/coins.csv"},{"name":"places.csv","format":"csv","rows":27,"bytes":4418,"columns":["id","kind","name_bg","name_en","modern_en","lat","lng","rulers","battles","url"],"url":"https://medievalbulgaria.com/data/v1/export/places.csv"},{"name":"events.csv","format":"csv","rows":24,"bytes":7686,"columns":["id","year","month","day","title_bg","title_en","description_en"],"url":"https://medievalbulgaria.com/data/v1/export/events.csv"},{"name":"glossary.csv","format":"csv","rows":53,"bytes":16591,"columns":["id","category","term_bg","term_en","definition_bg","definition_en"],"url":"https://medievalbulgaria.com/data/v1/export/glossary.csv"},{"name":"pages.csv","format":"csv","rows":179,"bytes":95022,"columns":["id","type","title_bg","title_en","summary_en","citations","url"],"url":"https://medievalbulgaria.com/data/v1/export/pages.csv"},{"name":"statistics-armies.csv","format":"csv","rows":54,"bytes":12333,"columns":["id","year","record","event_en","kind","side","force_bg","force_en","count","count_to","witness_en","verdict","second_estimate_of","part_of_army","sources"],"url":"https://medievalbulgaria.com/data/v1/export/statistics-armies.csv"},{"name":"statistics-reigns.csv","format":"csv","rows":21,"bytes":2590,"columns":["ruler","name_en","year","fate","note_en","sources"],"url":"https://medievalbulgaria.com/data/v1/export/statistics-reigns.csv"},{"name":"statistics-marriages.csv","format":"csv","rows":25,"bytes":3063,"columns":["person","spouse","spouse_en","direction","court","sources"],"url":"https://medievalbulgaria.com/data/v1/export/statistics-marriages.csv"},{"name":"statistics-sums.csv","format":"csv","rows":14,"bytes":1902,"columns":["id","year","kind","what_en","amount","unit","perpers","sources"],"url":"https://medievalbulgaria.com/data/v1/export/statistics-sums.csv"},{"name":"statistics-population.csv","format":"csv","rows":8,"bytes":837,"columns":["id","scope","place_en","when","count","count_to","sources"],"url":"https://medievalbulgaria.com/data/v1/export/statistics-population.csv"},{"name":"statistics-fortresses.csv","format":"csv","rows":15,"bytes":2357,"columns":["id","name_bg","name_en","area_dka","area_to_dka","note_en","sources"],"url":"https://medievalbulgaria.com/data/v1/export/statistics-fortresses.csv"},{"name":"statistics-disputes.csv","format":"csv","rows":29,"bytes":5475,"columns":["id","year","question_en","status","reading","reading_en","outcome_en","sources"],"url":"https://medievalbulgaria.com/data/v1/export/statistics-disputes.csv"},{"name":"places.geojson","format":"geojson","rows":27,"bytes":6359,"columns":["id","kind","name_bg","name_en","url"],"url":"https://medievalbulgaria.com/data/v1/export/places.geojson"},{"name":"battles.geojson","format":"geojson","rows":15,"bytes":3765,"columns":["id","year","name_en","outcome","url"],"url":"https://medievalbulgaria.com/data/v1/export/battles.geojson"}]}}}}}}},"/rulers.json":{"get":{"tags":["rulers"],"summary":"All rulers","description":"Every person in the family tree: the tsars and their relatives, with reigns, kinship and a cited biography.","responses":{"200":{"description":"The rulers dataset","content":{"application/json":{"schema":{"type":"object","required":["dataset","count","licence","items"],"properties":{"dataset":{"type":"string","const":"rulers"},"count":{"type":"integer"},"licence":{"$ref":"#/components/schemas/Licence"},"items":{"type":"array","items":{"$ref":"#/components/schemas/RulersSummary"}}}},"example":{"dataset":"rulers","count":129,"licence":{"data":"CC BY 4.0","dataUrl":"https://creativecommons.org/licenses/by/4.0/","attribution":"The Second Bulgarian Empire (medievalbulgaria.com)"},"items":[{"id":"petar-iv","name":{"bg":"Петър IV (Теодор-Петър)","en":"Peter IV (Theodore-Peter)"},"epithet":{"bg":null,"en":null},"title":"цар","dynasty":"asen","reigned":true,"reign":{"from":1185,"to":1197},"born":null,"died":1197,"female":false,"wikidata":"Q905368","portrait":"https://medievalbulgaria.com/rulers/petar-iv/portrait.jpg","url":{"en":"https://medievalbulgaria.com/people/petar-iv","bg":"https://medievalbulgaria.com/bg/people/petar-iv"}},{"id":"ivan-asen-i","name":{"bg":"Иван Асен I","en":"Ivan Asen I"},"epithet":{"bg":null,"en":null},"title":"цар","dynasty":"asen","reigned":true,"reign":{"from":1190,"to":1196},"born":null,"died":1196,"female":false,"wikidata":"Q748091","portrait":"https://medievalbulgaria.com/rulers/ivan-asen-i/lithograph.jpg","url":{"en":"https://medievalbulgaria.com/people/ivan-asen-i","bg":"https://medievalbulgaria.com/bg/people/ivan-asen-i"}}]}}}}}}},"/rulers/{id}.json":{"get":{"tags":["rulers"],"summary":"One of rulers","description":"The full record. The list endpoint carries a summary of each; this carries every field.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"example":"petar-iv","description":"The record id, the same slug the site uses in its URL"}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Rulers"},"example":{"id":"petar-iv","name":{"bg":"Петър IV (Теодор-Петър)","en":"Peter IV (Theodore-Peter)"},"epithet":{"bg":null,"en":null},"title":"цар","dynasty":"asen","reigned":true,"reign":{"from":1185,"to":1197},"born":null,"died":1197,"female":false,"wikidata":"Q905368","portrait":"https://medievalbulgaria.com/rulers/petar-iv/portrait.jpg","url":{"en":"https://medievalbulgaria.com/people/petar-iv","bg":"https://medievalbulgaria.com/bg/people/petar-iv"},"variants":{"bg":[],"en":[]},"dateNote":{"bg":null,"en":null},"floruit":{"from":null,"to":null},"family":{"father":null,"mother":null,"spouses":[],"children":[],"siblings":["ivan-asen-i","kaloyan","na-asenina-i"],"predecessor":null,"successor":"kaloyan"},"notes":{"bg":"Заедно с брат си Асен I вдига въстанието от 1185 г. срещу Византия, което поставя началото на Второто българско царство. Коронясан като цар под името Петър.","en":"Together with his brother Asen I he led the 1185 uprising against Byzantium that founded the Second Bulgarian Kingdom. Crowned tsar under the name Peter."},"biography":{"bg":["Петър IV, чието кръстно име било Теодор, е най-възрастният от тримата братя Асеневци — преди Иван Асен I и Калоян. Изворите не съобщават кога е роден, какво образование е получил и какъв е бил животът му преди въстанието. Той и Иван Асен пр…","Непосредственият повод за въстанието през 1185 г. бил извънредният данък, наложен от император Исаак II Ангел във връзка с неговата сватба. Според Никита Хониат Теодор и Иван Асен се явили при императора с искане да бъдат приети на служба и…","Политическата подготовка на въстанието била свързана с превземането и разграбването на Солун от сицилианските нормани на 24 август 1185 г. Катастрофата на втория град на Империята била представена като доказателство, че Бог е оттеглил покро…"],"en":["Peter IV, born Theodore and known in Byzantine sources as Petros and in Latin accounts as Kalopetrus, was the eldest of the three Asen brothers who restored Bulgarian rule at the end of the twelfth century. His younger brothers were Ivan As…","The immediate crisis arose in the first year of Emperor Isaac II Angelos. An extraordinary levy connected with the emperor's marriage intensified resentment against Byzantine fiscal and economic burdens. According to Niketas Choniates, Theo…","The brothers transformed discontent into a movement for restored statehood by giving it a powerful religious interpretation. On 24 August 1185 the Sicilian Normans captured Thessalonica, and the destruction of the empire's second city appea…"]},"evidence":[{"source":"bozhilov-asen-family","page":14,"url":"https://medievalbulgaria.com/sources/bozhilov-asen-family"}],"wikipedia":"Peter II of Bulgaria","images":[{"url":"https://medievalbulgaria.com/rulers/petar-iv/portrait.jpg","kind":"portrait","caption":{"bg":"Съвременна илюстрация на цар Петър IV (Теодор-Петър)","en":"Modern illustration of Tsar Peter IV (Theodore-Peter)"},"width":156,"height":189}]}}}},"404":{"description":"No such id","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/dynasties.json":{"get":{"tags":["dynasties"],"summary":"All dynasties","description":"The ruling houses and which tsars belong to each.","responses":{"200":{"description":"The dynasties dataset","content":{"application/json":{"schema":{"type":"object","required":["dataset","count","licence","items"],"properties":{"dataset":{"type":"string","const":"dynasties"},"count":{"type":"integer"},"licence":{"$ref":"#/components/schemas/Licence"},"items":{"type":"array","items":{"$ref":"#/components/schemas/DynastiesSummary"}}}},"example":{"dataset":"dynasties","count":5,"licence":{"data":"CC BY 4.0","dataUrl":"https://creativecommons.org/licenses/by/4.0/","attribution":"The Second Bulgarian Empire (medievalbulgaria.com)"},"items":[{"id":"asen","name":{"bg":"Асеневци","en":"Asen dynasty"},"from":1185,"to":1280,"rulers":["petar-iv","ivan-asen-i","kaloyan"]},{"id":"terter","name":{"bg":"Тертеровци","en":"Terter dynasty"},"from":1280,"to":1323,"rulers":["georgi-terter-i","todor-svetoslav","georgi-terter-ii"]}]}}}}}}},"/battles.json":{"get":{"tags":["battles"],"summary":"All battles","description":"The battles with their own article: date, place, sides, commanders and outcome.","responses":{"200":{"description":"The battles dataset","content":{"application/json":{"schema":{"type":"object","required":["dataset","count","licence","items"],"properties":{"dataset":{"type":"string","const":"battles"},"count":{"type":"integer"},"licence":{"$ref":"#/components/schemas/Licence"},"items":{"type":"array","items":{"$ref":"#/components/schemas/BattlesSummary"}}}},"example":{"dataset":"battles","count":15,"licence":{"data":"CC BY 4.0","dataUrl":"https://creativecommons.org/licenses/by/4.0/","attribution":"The Second Bulgarian Empire (medievalbulgaria.com)"},"items":[{"id":"battle-tryavna-1190","year":1190,"date":{"bg":"1190 г.","en":"1190"},"name":{"bg":"Битката в Тревненския проход","en":"Battle of Tryavna"},"location":{"bg":"Тревненския проход, Стара планина","en":"the Tryavna pass, Balkan range"},"coordinates":{"lat":42.85,"lng":25.55},"outcome":"bulgaria","result":{"bg":"Решителна българска победа","en":"Decisive Bulgarian victory"},"belligerents":[{"bg":"Второ българско царство","en":"Second Bulgarian Empire"},{"bg":"Византийска империя","en":"Byzantine Empire"}],"commanders":[{"person":"ivan-asen-i","name":{"bg":"Асен I","en":"Asen I"}},{"person":null,"name":{"bg":"Исак II Ангел","en":"Isaac II Angelos"}}],"mapYear":1186,"url":{"en":"https://medievalbulgaria.com/battles/battle-tryavna-1190","bg":"https://medievalbulgaria.com/bg/battles/battle-tryavna-1190"}},{"id":"battle-adrianople-1205","year":1205,"date":{"bg":"14 април 1205 г.","en":"14 April 1205"},"name":{"bg":"Битката при Одрин (1205)","en":"Battle of Adrianople (1205)"},"location":{"bg":"при Одрин (дн. Едирне)","en":"near Adrianople (modern Edirne)"},"coordinates":{"lat":41.68,"lng":26.56},"outcome":"bulgaria","result":{"bg":"Решителна българска победа","en":"Decisive Bulgarian victory"},"belligerents":[{"bg":"Второ българско царство","en":"Second Bulgarian Empire"},{"bg":"Латинска империя","en":"Latin Empire"}],"commanders":[{"person":"kaloyan","name":{"bg":"Калоян","en":"Kaloyan"}},{"person":null,"name":{"bg":"Балдуин I","en":"Baldwin I"}}],"mapYear":1205,"url":{"en":"https://medievalbulgaria.com/battles/battle-adrianople-1205","bg":"https://medievalbulgaria.com/bg/battles/battle-adrianople-1205"}}]}}}}}}},"/battles/{id}.json":{"get":{"tags":["battles"],"summary":"One of battles","description":"The full record. The list endpoint carries a summary of each; this carries every field.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"example":"battle-tryavna-1190","description":"The record id, the same slug the site uses in its URL"}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Battles"},"example":{"id":"battle-tryavna-1190","year":1190,"date":{"bg":"1190 г.","en":"1190"},"name":{"bg":"Битката в Тревненския проход","en":"Battle of Tryavna"},"location":{"bg":"Тревненския проход, Стара планина","en":"the Tryavna pass, Balkan range"},"coordinates":{"lat":42.85,"lng":25.55},"outcome":"bulgaria","result":{"bg":"Решителна българска победа","en":"Decisive Bulgarian victory"},"belligerents":[{"bg":"Второ българско царство","en":"Second Bulgarian Empire"},{"bg":"Византийска империя","en":"Byzantine Empire"}],"commanders":[{"person":"ivan-asen-i","name":{"bg":"Асен I","en":"Asen I"}},{"person":null,"name":{"bg":"Исак II Ангел","en":"Isaac II Angelos"}}],"mapYear":1186,"url":{"en":"https://medievalbulgaria.com/battles/battle-tryavna-1190","bg":"https://medievalbulgaria.com/bg/battles/battle-tryavna-1190"},"page":{"id":"battle-tryavna-1190","type":"battle","title":{"bg":"Битката в Тревненския проход","en":"Battle of Tryavna"},"summary":{"bg":"Исак II Ангел се оттеглил от Търново и тръгнал обратно през Стара планина. Войската на Асен пресрещнала колоната в прохода и я засипала с камъни от билата; императорът се спасил, но загубил шлема си.","en":"Isaac II Angelos turned back from Tarnovo and withdrew over the Balkan range. Asen’s men caught the column in a pass and rolled stones down on it from the ridges; the emperor escaped, but lost his helmet."},"readingLevels":["scholar"],"citations":[{"source":"angelov-cholpanov-military-history","page":98,"url":"https://medievalbulgaria.com/sources/angelov-cholpanov-military-history"}],"url":{"en":"https://medievalbulgaria.com/battles/battle-tryavna-1190","bg":"https://medievalbulgaria.com/bg/battles/battle-tryavna-1190"},"aliases":{"bg":[],"en":[]},"keyEvents":{"bg":[],"en":[]},"keyPeople":{"bg":["Асен I","Исак II Ангел","Никита Хониат"],"en":[]},"body":{"scholar":{"bg":"## Преминаването на Третия кръстоносен поход през балканските земи през 1189 г.\n\nСлед възстановяването на българската държава под управлението на Асеневци, страната успява да укрепи своето положение в региона, използвайки военно-политическа…","en":"## The Passage of the Third Crusade through the Balkan Lands in 1189\n\nAfter the restoration of the Bulgarian state under the rule of the Asen dynasty, the country managed to strengthen its position in the region by exploiting the military-p…"},"reader":null,"simple":null}}}}}},"404":{"description":"No such id","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/battle-record.json":{"get":{"tags":["battle-record"],"summary":"All battle-record","description":"The win–loss register: every dated engagement of the tsardom, with the book page it rests on.","responses":{"200":{"description":"The battle-record dataset","content":{"application/json":{"schema":{"type":"object","required":["dataset","count","licence","items"],"properties":{"dataset":{"type":"string","const":"battle-record"},"count":{"type":"integer"},"licence":{"$ref":"#/components/schemas/Licence"},"items":{"type":"array","items":{"$ref":"#/components/schemas/BattleRecordSummary"}}}},"example":{"dataset":"battle-record","count":161,"licence":{"data":"CC BY 4.0","dataUrl":"https://creativecommons.org/licenses/by/4.0/","attribution":"The Second Bulgarian Empire (medievalbulgaria.com)"},"items":[{"id":"1185-preslav","year":1185,"kind":"siege","side":"tsardom","ruler":"petar-iv","opponent":"byzantium","result":"loss","name":{"bg":"Опит за превземане на Преслав","en":"Attempt on Preslav"},"note":{"bg":"Петър напада старата столица, но стените издържат.","en":"Peter attacks the old capital, but its walls hold."},"sources":[{"source":"fine-late-medieval-balkans","page":31,"url":"https://medievalbulgaria.com/sources/fine-late-medieval-balkans"}]},{"id":"1186-kantakouzenos","year":1186,"kind":"battle","side":"tsardom","ruler":"ivan-asen-i","opponent":"byzantium","result":"win","name":{"bg":"Нощното сражение с Йоан Кантакузин","en":"Night battle against John Kantakouzenos"},"note":{"bg":"Ослепеният пълководец пренебрегва Асен и е разбит в нощно нападение в планината.","en":"The blinded commander underrates Asen and is routed in a night attack in the mountains."},"sources":[{"source":"bozhilov-gyuzelev-medieval-bulgaria","page":626,"url":"https://medievalbulgaria.com/sources/bozhilov-gyuzelev-medieval-bulgaria"},{"source":"fine-late-medieval-balkans","page":32,"url":"https://medievalbulgaria.com/sources/fine-late-medieval-balkans"}]}]}}}}}}},"/coins.json":{"get":{"tags":["coins"],"summary":"All coins","description":"The coin catalogue: every type by ruler, metal, mint, legends, size and rarity, with its photographed specimens and drawings.","responses":{"200":{"description":"The coins dataset","content":{"application/json":{"schema":{"type":"object","required":["dataset","count","licence","items"],"properties":{"dataset":{"type":"string","const":"coins"},"count":{"type":"integer"},"licence":{"$ref":"#/components/schemas/Licence"},"items":{"type":"array","items":{"$ref":"#/components/schemas/CoinsSummary"}}}},"example":{"dataset":"coins","count":114,"licence":{"data":"CC BY 4.0","dataUrl":"https://creativecommons.org/licenses/by/4.0/","attribution":"The Second Bulgarian Empire (medievalbulgaria.com)"},"items":[{"id":"imitative-coinage-copper-1-1-1","catalogueNumber":"1.1.1","catalogueNumberConfident":true,"ruler":null,"rulerName":{"bg":"Имитативно монетосечене","en":"Imitative coinage"},"reign":"1185-1218","metal":"copper","imitative":true,"title":{"bg":"Медна корубеста монета, нелокализирана монетарница","en":"Copper scyphate coin, unlocalised mint"},"mint":{"bg":null,"en":null},"obverse":{"bg":"Иисус Христос, прав, с брада, с нимб около главата, стъпил върху правоъгълен субпендион. Облечен е с хитон и синдон. В лявата Си ръка държи Евангелие, а с дясната Си ръка благославя пред гърди. В полето от двете страни са изписани инициалит…","en":"Jesus Christ, standing, bearded, with a nimbus around His head, standing on a rectangular subpedion. He is dressed in a chiton and sindon. In His left hand He holds the Gospel, and with His right hand He blesses in front of His chest. In th…"},"reverse":{"bg":"Владетелят, прав, в цял ръст, с брада и мустаци, с корона с пропендули, стъпил върху субпендион. Облечен е в сакос и маниакион. През ръцете му е преметнат лорос. В дясната ръка - двоен кръст с къса дръжка, а лявата е на пояса. Вляво има вер…","en":"The ruler, standing, full-length, with beard and mustache, wearing a crown with pendilia, standing on a subpedion. He is dressed in a sakkos and maniakion. The loros is draped over his arms. In the right hand - a double cross with a short s…"},"diameterMm":"28","weightG":"3,3","rarity":"R9","cataloguePage":51,"specimens":[{"image":"https://medievalbulgaria.com/coins/imitative-coinage-copper-1-1-1-1.webp","width":351,"height":360,"cataloguePage":51},{"image":"https://medievalbulgaria.com/coins/imitative-coinage-copper-1-1-1-2.webp","width":352,"height":360,"cataloguePage":51}],"drawings":[{"image":"https://medievalbulgaria.com/coins/imitative-coinage-copper-1-1-1-drawing-1.webp","width":360,"height":358,"cataloguePage":51},{"image":"https://medievalbulgaria.com/coins/imitative-coinage-copper-1-1-1-drawing-2.webp","width":355,"height":360,"cataloguePage":51}],"url":{"en":"https://medievalbulgaria.com/coins/imitative-coinage-copper-1-1-1","bg":"https://medievalbulgaria.com/bg/coins/imitative-coinage-copper-1-1-1"}},{"id":"imitative-coinage-copper-1-1-2","catalogueNumber":"1.1.2","catalogueNumberConfident":true,"ruler":null,"rulerName":{"bg":"Имитативно монетосечене","en":"Imitative coinage"},"reign":"1185-1218","metal":"copper","imitative":true,"title":{"bg":"Медна корубеста монета, нелокализирана монетарница","en":"Copper scyphate coin, unlocalised mint"},"mint":{"bg":null,"en":null},"obverse":{"bg":"Иисус Христос, седнал на трон без облегало, с нимб около главата, в който е вписан кръст. Всяко от раменете на кръста е украсено с по един бисер. Христос е облечен с хитон и синдон. В лявата Си ръка държи Евангелие, а с дясната Си ръка благ…","en":"Jesus Christ, seated on a throne without a backrest, with a nimbus around His head, in which a cross is inscribed. Each arm of the cross is decorated with a pearl. Christ is dressed in a chiton and sindon. In His left hand He holds a Gospel…"},"reverse":{"bg":"Императорът, прав, отляво, коронясван от Богородица. В дясната си ръка държи лабарум, а в лявата - кълбо с кръст. Най-често фигурите са в три четвърти ръст. Кръгов надпис, често с грешки и пропуски: MAN8НА ДЕСПН и МР - ΘV. Моментният тип ре…","en":"The Emperor, standing, facing left, crowned by the Theotokos. In His right hand He holds a labarum, and in His left a globus cruciger. The figures are most often three-quarter length. Circular inscription, often with errors and omissions: M…"},"diameterMm":"28","weightG":"3,1","rarity":"R1","cataloguePage":52,"specimens":[{"image":"https://medievalbulgaria.com/coins/imitative-coinage-copper-1-1-2-1.webp","width":360,"height":336,"cataloguePage":52},{"image":"https://medievalbulgaria.com/coins/imitative-coinage-copper-1-1-2-2.webp","width":360,"height":313,"cataloguePage":52}],"drawings":[{"image":"https://medievalbulgaria.com/coins/imitative-coinage-copper-1-1-2-drawing-1.webp","width":360,"height":358,"cataloguePage":52},{"image":"https://medievalbulgaria.com/coins/imitative-coinage-copper-1-1-2-drawing-2.webp","width":359,"height":360,"cataloguePage":52}],"url":{"en":"https://medievalbulgaria.com/coins/imitative-coinage-copper-1-1-2","bg":"https://medievalbulgaria.com/bg/coins/imitative-coinage-copper-1-1-2"}}]}}}}}}},"/coins/{id}.json":{"get":{"tags":["coins"],"summary":"One of coins","description":"The full record. The list endpoint carries a summary of each; this carries every field.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"example":"imitative-coinage-copper-1-1-1","description":"The record id, the same slug the site uses in its URL"}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Coins"},"example":{"id":"imitative-coinage-copper-1-1-1","catalogueNumber":"1.1.1","catalogueNumberConfident":true,"ruler":null,"rulerName":{"bg":"Имитативно монетосечене","en":"Imitative coinage"},"reign":"1185-1218","metal":"copper","imitative":true,"title":{"bg":"Медна корубеста монета, нелокализирана монетарница","en":"Copper scyphate coin, unlocalised mint"},"mint":{"bg":null,"en":null},"obverse":{"bg":"Иисус Христос, прав, с брада, с нимб около главата, стъпил върху правоъгълен субпендион. Облечен е с хитон и синдон. В лявата Си ръка държи Евангелие, а с дясната Си ръка благославя пред гърди. В полето от двете страни са изписани инициалит…","en":"Jesus Christ, standing, bearded, with a nimbus around His head, standing on a rectangular subpedion. He is dressed in a chiton and sindon. In His left hand He holds the Gospel, and with His right hand He blesses in front of His chest. In th…"},"reverse":{"bg":"Владетелят, прав, в цял ръст, с брада и мустаци, с корона с пропендули, стъпил върху субпендион. Облечен е в сакос и маниакион. През ръцете му е преметнат лорос. В дясната ръка - двоен кръст с къса дръжка, а лявата е на пояса. Вляво има вер…","en":"The ruler, standing, full-length, with beard and mustache, wearing a crown with pendilia, standing on a subpedion. He is dressed in a sakkos and maniakion. The loros is draped over his arms. In the right hand - a double cross with a short s…"},"diameterMm":"28","weightG":"3,3","rarity":"R9","cataloguePage":51,"specimens":[{"image":"https://medievalbulgaria.com/coins/imitative-coinage-copper-1-1-1-1.webp","width":351,"height":360,"cataloguePage":51},{"image":"https://medievalbulgaria.com/coins/imitative-coinage-copper-1-1-1-2.webp","width":352,"height":360,"cataloguePage":51}],"drawings":[{"image":"https://medievalbulgaria.com/coins/imitative-coinage-copper-1-1-1-drawing-1.webp","width":360,"height":358,"cataloguePage":51},{"image":"https://medievalbulgaria.com/coins/imitative-coinage-copper-1-1-1-drawing-2.webp","width":355,"height":360,"cataloguePage":51}],"url":{"en":"https://medievalbulgaria.com/coins/imitative-coinage-copper-1-1-1","bg":"https://medievalbulgaria.com/bg/coins/imitative-coinage-copper-1-1-1"}}}}},"404":{"description":"No such id","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/places.json":{"get":{"tags":["places"],"summary":"All places","description":"Towns, fortresses, ports and monasteries with coordinates and their links to rulers, battles and manuscripts.","responses":{"200":{"description":"The places dataset","content":{"application/json":{"schema":{"type":"object","required":["dataset","count","licence","items"],"properties":{"dataset":{"type":"string","const":"places"},"count":{"type":"integer"},"licence":{"$ref":"#/components/schemas/Licence"},"items":{"type":"array","items":{"$ref":"#/components/schemas/PlacesSummary"}}}},"example":{"dataset":"places","count":27,"licence":{"data":"CC BY 4.0","dataUrl":"https://creativecommons.org/licenses/by/4.0/","attribution":"The Second Bulgarian Empire (medievalbulgaria.com)"},"items":[{"id":"tarnovo","kind":"capital","name":{"bg":"Търново","en":"Tarnovo"},"altNames":[{"bg":"Царевград Търнов","en":"Tsarevgrad Tarnov"},{"bg":"Търновград","en":"Trnovo"},{"bg":"Велико Търново","en":"Veliko Tarnovo"}],"modern":{"bg":"Велико Търново, България","en":"Veliko Tarnovo, Bulgaria"},"lat":43.083,"lng":25.65,"role":{"bg":"Столица на Второто българско царство от 1185 г. до превземането ѝ от османците през 1393 г.","en":"Capital of the Second Bulgarian Empire from 1185 until it fell to the Ottomans in 1393."},"rulers":["ivan-asen-i","petar-iv","kaloyan"],"battles":["battle-tarnovo-1393"],"manuscripts":["turnovo-inscription-ivan-asen"],"pages":["art-tarnovgrad","art-tsarski-dvorets"],"image":{"url":"https://medievalbulgaria.com/images/places/tarnovo.webp","caption":{"bg":"Пътят към Царевец, цитаделата на Търново, с патриаршеската църква на върха","en":"The approach to Tsarevets, Tarnovo's citadel, with the patriarchal church on the summit"},"author":"MrPanyGoff","licence":"CC BY-SA 3.0","source":"https://commons.wikimedia.org/wiki/File:Tsarevets_-_Veliko_Tarnovo_-_2.jpg"},"url":{"en":"https://medievalbulgaria.com/places/tarnovo","bg":"https://medievalbulgaria.com/bg/places/tarnovo"}},{"id":"vidin","kind":"capital","name":{"bg":"Видин","en":"Vidin"},"altNames":[{"bg":"Бдин","en":"Bdin"},{"bg":"Бонония","en":"Bononia"}],"modern":{"bg":"Видин, България","en":"Vidin, Bulgaria"},"lat":43.993,"lng":22.88,"role":{"bg":"Дунавска крепост, седалище на Видинското царство на Иван Срацимир до 1396 г.","en":"Danube stronghold, seat of Ivan Sratsimir's Vidin tsardom until 1396."},"rulers":["mihail-iii-shishman","ivan-sratsimir","konstantin-sratsimirov"],"battles":[],"manuscripts":["bdin-miscellany"],"pages":[],"image":{"url":"https://medievalbulgaria.com/images/places/vidin.webp","caption":{"bg":"Баба Вида — средновековната крепост на Видин на брега на Дунав","en":"Baba Vida, the medieval fortress of Vidin on the Danube"},"author":"Klearchos Kapoutsis from Paleo Faliro, Athens, Greece.","licence":"CC BY 2.0","source":"https://commons.wikimedia.org/wiki/File:Baba_Vida_Klearchos_1.jpg"},"url":{"en":"https://medievalbulgaria.com/places/vidin","bg":"https://medievalbulgaria.com/bg/places/vidin"}}]}}}}}}},"/places/{id}.json":{"get":{"tags":["places"],"summary":"One of places","description":"The full record. The list endpoint carries a summary of each; this carries every field.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"example":"tarnovo","description":"The record id, the same slug the site uses in its URL"}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Places"},"example":{"id":"tarnovo","kind":"capital","name":{"bg":"Търново","en":"Tarnovo"},"altNames":[{"bg":"Царевград Търнов","en":"Tsarevgrad Tarnov"},{"bg":"Търновград","en":"Trnovo"},{"bg":"Велико Търново","en":"Veliko Tarnovo"}],"modern":{"bg":"Велико Търново, България","en":"Veliko Tarnovo, Bulgaria"},"lat":43.083,"lng":25.65,"role":{"bg":"Столица на Второто българско царство от 1185 г. до превземането ѝ от османците през 1393 г.","en":"Capital of the Second Bulgarian Empire from 1185 until it fell to the Ottomans in 1393."},"rulers":["ivan-asen-i","petar-iv","kaloyan"],"battles":["battle-tarnovo-1393"],"manuscripts":["turnovo-inscription-ivan-asen"],"pages":["art-tarnovgrad","art-tsarski-dvorets"],"image":{"url":"https://medievalbulgaria.com/images/places/tarnovo.webp","caption":{"bg":"Пътят към Царевец, цитаделата на Търново, с патриаршеската църква на върха","en":"The approach to Tsarevets, Tarnovo's citadel, with the patriarchal church on the summit"},"author":"MrPanyGoff","licence":"CC BY-SA 3.0","source":"https://commons.wikimedia.org/wiki/File:Tsarevets_-_Veliko_Tarnovo_-_2.jpg"},"url":{"en":"https://medievalbulgaria.com/places/tarnovo","bg":"https://medievalbulgaria.com/bg/places/tarnovo"}}}}},"404":{"description":"No such id","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/manuscripts.json":{"get":{"tags":["manuscripts"],"summary":"All manuscripts","description":"Manuscripts and royal charters: dates, repositories, shelfmarks and links to digitised copies.","responses":{"200":{"description":"The manuscripts dataset","content":{"application/json":{"schema":{"type":"object","required":["dataset","count","licence","items"],"properties":{"dataset":{"type":"string","const":"manuscripts"},"count":{"type":"integer"},"licence":{"$ref":"#/components/schemas/Licence"},"items":{"type":"array","items":{"$ref":"#/components/schemas/ManuscriptsSummary"}}}},"example":{"dataset":"manuscripts","count":26,"licence":{"data":"CC BY 4.0","dataUrl":"https://creativecommons.org/licenses/by/4.0/","attribution":"The Second Bulgarian Empire (medievalbulgaria.com)"},"items":[{"id":"london-gospel","kind":"gospel","title":{"en":"Tetraevangelia of Tsar Ivan Alexander","bg":"Четвероевангелие на цар Иван Александър"},"altTitles":[{"en":"London Gospel","bg":"Лондонско евангелие"}],"date":{"en":"1355–1356","bg":"1355–1356 г."},"yearFrom":1355,"yearTo":1356,"summary":{"en":"The most lavishly illuminated surviving Bulgarian manuscript, copied for Ivan Alexander and carrying portraits of the tsar and his family.","bg":"Най-богато украсеният запазен български ръкопис, преписан за Иван Александър, с портрети на царя и неговото семейство."},"language":{"en":"Middle Bulgarian","bg":"среднобългарски"},"material":{"en":"Parchment","bg":"пергамент"},"extent":{"en":"286 folios, 366 miniatures","bg":"286 листа, 366 миниатюри"},"script":{"en":"Uncial","bg":"устав"},"repository":{"en":"British Library","bg":"Британска библиотека"},"shelfmark":"Add MS 39627","city":{"en":"London","bg":"Лондон"},"digitalUrl":"https://www.bl.uk/manuscripts/Viewer.aspx?ref=add_ms_39627","commonsUrl":"https://commons.wikimedia.org/wiki/Category:Tetraevangelia_of_Ivan_Alexander","rulers":["ivan-aleksandar","sara-teodora","ivan-shishman"],"places":[],"url":{"en":"https://medievalbulgaria.com/manuscripts/london-gospel","bg":"https://medievalbulgaria.com/bg/manuscripts/london-gospel"}},{"id":"sofia-psalter","kind":"psalter","title":{"en":"Sofia Psalter of Ivan Alexander","bg":"Софийски песнивец"},"altTitles":[{"en":"Song-book of Ivan Alexander","bg":"Псалтир на цар Иван Александър"}],"date":{"en":"1337","bg":"1337 г."},"yearFrom":1337,"yearTo":1337,"summary":{"en":"A psalter copied for Ivan Alexander in 1337, with a eulogy of the tsar and his first family.","bg":"Псалтир, преписан за Иван Александър през 1337 г., с похвално слово за царя и първото му семейство."},"language":{"en":"Middle Bulgarian","bg":"среднобългарски"},"material":{"en":"Parchment","bg":"пергамент"},"extent":null,"script":{"en":"Uncial","bg":"устав"},"repository":{"en":"SS Cyril and Methodius National Library","bg":"Национална библиотека „Св. св. Кирил и Методий“"},"shelfmark":"НБКМ 2","city":{"en":"Sofia","bg":"София"},"digitalUrl":null,"commonsUrl":"https://commons.wikimedia.org/wiki/Category:Sofia_Psalter","rulers":["ivan-aleksandar"],"places":[],"url":{"en":"https://medievalbulgaria.com/manuscripts/sofia-psalter","bg":"https://medievalbulgaria.com/bg/manuscripts/sofia-psalter"}}]}}}}}}},"/manuscripts/{id}.json":{"get":{"tags":["manuscripts"],"summary":"One of manuscripts","description":"The full record. The list endpoint carries a summary of each; this carries every field.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"example":"london-gospel","description":"The record id, the same slug the site uses in its URL"}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Manuscripts"},"example":{"id":"london-gospel","kind":"gospel","title":{"en":"Tetraevangelia of Tsar Ivan Alexander","bg":"Четвероевангелие на цар Иван Александър"},"altTitles":[{"en":"London Gospel","bg":"Лондонско евангелие"}],"date":{"en":"1355–1356","bg":"1355–1356 г."},"yearFrom":1355,"yearTo":1356,"summary":{"en":"The most lavishly illuminated surviving Bulgarian manuscript, copied for Ivan Alexander and carrying portraits of the tsar and his family.","bg":"Най-богато украсеният запазен български ръкопис, преписан за Иван Александър, с портрети на царя и неговото семейство."},"language":{"en":"Middle Bulgarian","bg":"среднобългарски"},"material":{"en":"Parchment","bg":"пергамент"},"extent":{"en":"286 folios, 366 miniatures","bg":"286 листа, 366 миниатюри"},"script":{"en":"Uncial","bg":"устав"},"repository":{"en":"British Library","bg":"Британска библиотека"},"shelfmark":"Add MS 39627","city":{"en":"London","bg":"Лондон"},"digitalUrl":"https://www.bl.uk/manuscripts/Viewer.aspx?ref=add_ms_39627","commonsUrl":"https://commons.wikimedia.org/wiki/Category:Tetraevangelia_of_Ivan_Alexander","rulers":["ivan-aleksandar","sara-teodora","ivan-shishman"],"places":[],"url":{"en":"https://medievalbulgaria.com/manuscripts/london-gospel","bg":"https://medievalbulgaria.com/bg/manuscripts/london-gospel"}}}}},"404":{"description":"No such id","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/events.json":{"get":{"tags":["events"],"summary":"All events","description":"The dated events of the timeline.","responses":{"200":{"description":"The events dataset","content":{"application/json":{"schema":{"type":"object","required":["dataset","count","licence","items"],"properties":{"dataset":{"type":"string","const":"events"},"count":{"type":"integer"},"licence":{"$ref":"#/components/schemas/Licence"},"items":{"type":"array","items":{"$ref":"#/components/schemas/EventsSummary"}}}},"example":{"dataset":"events","count":24,"licence":{"data":"CC BY 4.0","dataUrl":"https://creativecommons.org/licenses/by/4.0/","attribution":"The Second Bulgarian Empire (medievalbulgaria.com)"},"items":[{"id":"1230-01-06","year":1230,"month":1,"day":6,"title":{"bg":"Иван Асен II тръгва на поход срещу Епирското деспотство","en":"Ivan Asen II Launches Campaign Against the Despotate of Epirus"},"description":{"bg":"В началото на 1230 г. цар Иван Асен II потегля начело на войската си срещу Теодор Комнин Дука, деспот на Епир. Походът ще завърши с решаващата битка при Клокотница и ще направи България най-мощната държава на Балканите.","en":"In early 1230, Tsar Ivan Asen II marched at the head of his army against Theodore Komnenos Doukas, Despot of Epirus. The campaign would culminate in the decisive Battle of Klokotnitsa and make Bulgaria the most powerful state in the Balkans…"},"url":{"en":"https://medievalbulgaria.com/timeline","bg":"https://medievalbulgaria.com/bg/timeline"}},{"id":"1277-01-20","year":1277,"month":1,"day":20,"title":{"bg":"Въстанието на Ивайло","en":"The Uprising of Ivaylo"},"description":{"bg":"Свинарят Ивайло вдига въстание срещу феодалното потисничество и корумпираните боляри. Движен от народното недоволство, той побеждава татарски и византийски отряди и успява да стане цар на България.","en":"The swineherd Ivaylo launched an uprising against feudal oppression and corrupt boyars. Driven by popular discontent, he defeated Tatar and Byzantine forces and managed to become Tsar of Bulgaria."},"url":{"en":"https://medievalbulgaria.com/timeline","bg":"https://medievalbulgaria.com/bg/timeline"}}]}}}}}}},"/glossary.json":{"get":{"tags":["glossary"],"summary":"All glossary","description":"Offices, titles, institutions and terms, defined in both languages.","responses":{"200":{"description":"The glossary dataset","content":{"application/json":{"schema":{"type":"object","required":["dataset","count","licence","items"],"properties":{"dataset":{"type":"string","const":"glossary"},"count":{"type":"integer"},"licence":{"$ref":"#/components/schemas/Licence"},"items":{"type":"array","items":{"$ref":"#/components/schemas/GlossarySummary"}}}},"example":{"dataset":"glossary","count":53,"licence":{"data":"CC BY 4.0","dataUrl":"https://creativecommons.org/licenses/by/4.0/","attribution":"The Second Bulgarian Empire (medievalbulgaria.com)"},"items":[{"id":"sevast","category":"office","term":{"en":"sevast","bg":"севаст"},"definition":{"en":"An honorary rank rather than a salaried post: its holder belonged to the class of provincial nobles and dynasts and had the right to judge, to fine and to collect taxes. Spread from Byzantium, and by the 13th–14th century a broad title of t…","bg":"Почетно звание, а не платена служба: носителят му принадлежал към съсловието на провинциалните боляри и династи и имал право да съди, да глобява и да събира данъци. Дошло от Византия и към XIII–XIV в. широко разпространена титла на благород…"}},{"id":"praktor","category":"office","term":{"en":"praktor","bg":"практор"},"definition":{"en":"A tax-collector and fiscal official, often with judicial power, who could also farm the tax; praktors came into the villages with an armed escort.","bg":"Данъчен чиновник и бирник, често със съдебна власт, който можел и да откупва данъка; практорите идвали в селата със стража."}}]}}}}}}},"/map-periods.json":{"get":{"tags":["map-periods"],"summary":"All map-periods","description":"The nine atlas snapshots, each realm's ruler and situation, and a link to the boundaries as GeoJSON.","responses":{"200":{"description":"The map-periods dataset","content":{"application/json":{"schema":{"type":"object","required":["dataset","count","licence","items"],"properties":{"dataset":{"type":"string","const":"map-periods"},"count":{"type":"integer"},"licence":{"$ref":"#/components/schemas/Licence"},"items":{"type":"array","items":{"$ref":"#/components/schemas/MapPeriodsSummary"}}}},"example":{"dataset":"map-periods","count":9,"licence":{"data":"CC BY 4.0","dataUrl":"https://creativecommons.org/licenses/by/4.0/","attribution":"The Second Bulgarian Empire (medievalbulgaria.com)"},"items":[{"id":"1186","year":1186,"label":{"bg":"Възстановяване на царството (1186)","en":"Restoration of the Empire (1186)"},"description":{"bg":"Въстанието на Асен и Петър (1185) възстановява българската държавност. Към 1186 г. се оформя царство около Търново на североизток, докато Византия още владее по-голямата част от Балканите, а Сърбия укрепва при Неманя.","en":"The 1185 uprising of the brothers Asen and Peter restores Bulgarian statehood. By 1186 a realm forms around Tarnovo in the north-east, while Byzantium still holds most of the Balkans and Serbia rises under Nemanja."},"realms":[{"name":{"bg":"Bulgaria","en":"Bulgaria"},"fill":"bulgaria","ruler":{"bg":"Асен и Петър","en":"Asen & Peter"},"situation":{"bg":"През 1186 г. България била управлявана съвместно от братята Асен и Петър, които през пролетта на същата година провъзгласили възобновяването на Българското царство. Държавата била в процес на консолидиране на властта върху части от Мизия, Т…","en":"In 1186 Bulgaria was ruled jointly by the brothers Asen and Peter, who proclaimed the restoration of the Bulgarian Empire in the spring of that year. The state was in the process of consolidating control over parts of Moesia, Thrace, and ar…"},"bulgariaLink":{"bg":"","en":""},"evidence":[{"source":"bozhilov-gyuzelev-medieval-bulgaria","page":607,"url":"https://medievalbulgaria.com/sources/bozhilov-gyuzelev-medieval-bulgaria"},{"source":"bozhilov-gyuzelev-medieval-bulgaria","page":775,"url":"https://medievalbulgaria.com/sources/bozhilov-gyuzelev-medieval-bulgaria"},{"source":"bozhilov-asen-family","page":28,"url":"https://medievalbulgaria.com/sources/bozhilov-asen-family"}]},{"name":{"bg":"Byzantine Empire","en":"Byzantine Empire"},"fill":"byzantine","ruler":{"bg":"Исаак II Ангел","en":"Isaac II Angelos"},"situation":{"bg":"През 1186 г. Византийската империя била управлявана от император Исаак II Ангел. Империята била в упадък, след като през 1185 г. загубила ключови територии като Солун, Корфу и Драч от норманите, а части от централните и източните Балкани би…","en":"In 1186 the Byzantine Empire was ruled by Emperor Isaac II Angelos. The empire was in decline, having lost key territories such as Thessaloniki, Corfu, and Durazzo to the Normans in 1185, and parts of the central and eastern Balkans to Hung…"},"bulgariaLink":{"bg":"Византийската империя имала обща граница с новообявената българска държава, която започнала въстанието си през 1186 г. Империята се сблъсквала с конкуренция и загуба на територии на Балканите, като българските първенци Петър и Асен провъзгл…","en":"The Byzantine Empire shared a border with the newly re-established Bulgarian state, which had begun its uprising in 1186. The empire faced rivalry and territorial losses in the Balkans, with Bulgarian nobles Peter and Asen proclaiming a new…"},"evidence":[]},{"name":{"bg":"Serbia","en":"Serbia"},"fill":"serbia","ruler":{"bg":"Стефан Немања","en":"Stefan Nemanja"},"situation":{"bg":"През 1186 г. Сърбия била управлявана от Стефан Немања като велик жупан. Въпреки че номинално бил васал на Византия, Немања фактически управлявал независимо и значително разширил сръбските територии. Неговото владение включвало Рашка, Косово…","en":"In 1186 Serbia was ruled by Stefan Nemanja as Grand Župan. Although nominally a Byzantine vassal, Nemanja effectively governed independently and expanded Serbian territory significantly. His realm included Raška, Kosovo, Metohija, northern …"},"bulgariaLink":{"bg":"През 1186 г. Сърбия имала обща граница с възстановената българска държава, която току-що била обявила възраждането си. Няма сведения за пряк конфликт или съюз в този момент, но политическото възраждане на България и Сърбия се случвало еднов…","en":"In 1186 Serbia shared a border with the re-emerging Bulgarian state, which had just proclaimed its restoration. There was no direct conflict or alliance recorded at this time, but the political revival of Bulgaria and Serbia occurred concur…"},"evidence":[{"source":"fine-late-medieval-balkans","page":25,"url":"https://medievalbulgaria.com/sources/fine-late-medieval-balkans"},{"source":"fine-late-medieval-balkans","page":25,"url":"https://medievalbulgaria.com/sources/fine-late-medieval-balkans"}]}],"geojson":"https://medievalbulgaria.com/data/v1/territories/1186.geojson","url":{"en":"https://medievalbulgaria.com/map#1186","bg":"https://medievalbulgaria.com/bg/map#1186"}},{"id":"1205","year":1205,"label":{"bg":"Възходът на Калоян (1205)","en":"Kaloyan's Ascendancy (1205)"},"description":{"bg":"Цар Калоян разгромява латинците при Одрин (1205), след като Четвъртият кръстоносен поход заменя Византия с Латинската империя в Константинопол. България се разширява в Тракия и Македония; възникват Никея и Епир.","en":"Tsar Kaloyan crushes the Latins at Adrianople (1205) after the Fourth Crusade replaced Byzantium with the Latin Empire in Constantinople. Bulgaria expands across Thrace and Macedonia; the Greek states of Nicaea and Epirus emerge."},"realms":[{"name":{"bg":"Bulgaria","en":"Bulgaria"},"fill":"bulgaria","ruler":{"bg":"Калоян","en":"Kaloyan"},"situation":{"bg":"През 1205 г. България била управлявана от цар Калоян, който командвал многоетническа армия от българи, гърци и кумани. Държавата била в период на военна експанзия, като контролирала Мизия, Македония, Тракия, Родопската област и Черноморскот…","en":"In 1205 Bulgaria was ruled by Tsar Kaloyan, who led a multi-ethnic army composed of Bulgarians, Greeks, and Cumans. The state was in a phase of military expansion, having taken control of Moesia, Macedonia, Thrace, the Rodopi region, and th…"},"bulgariaLink":{"bg":"","en":""},"evidence":[]},{"name":{"bg":"Latin Empire","en":"Latin Empire"},"fill":"latin","ruler":{"bg":"Анри Фландърски","en":"Henry of Flanders"},"situation":{"bg":"През 1205 г. Латинската империя била управлявана от император Анри Фландърски, който наследил брат си Балдуин след неговото пленяване и изчезване след българска атака. Империята била крехка и ограничена главно до Константинопол и околните т…","en":"In 1205 the Latin Empire was ruled by Emperor Henry of Flanders, who had succeeded his brother Baldwin after the latter's capture and disappearance following a Bulgarian attack. The empire was fragile and confined mainly to Constantinople a…"},"bulgariaLink":{"bg":"През 1205 г. Латинската империя била във война с България. Българският цар Калоян нанёс тежки загуби на латинците и пленил император Балдуин, който никога повече не бил видян. Този конфликт отслабил Латинската империя и позволил на България…","en":"In 1205 the Latin Empire was at war with Bulgaria. Bulgarian Emperor Kaloyan inflicted severe casualties on the Latins and captured Emperor Baldwin, who was never seen again. This conflict weakened the Latin Empire and allowed Bulgaria to a…"},"evidence":[]},{"name":{"bg":"Empire of Nicaea","en":"Empire of Nicaea"},"fill":"byzantine","ruler":{"bg":"Теодор I Ласкарис","en":"Theodore I Laskaris"},"situation":{"bg":"През 1205 г. Империята на Никея била управлявана от император Теодор I Ласкарис, който създал византийска гръцка държава в изгнание след падането на Цариград през 1204 г. Империята консолидирала позициите си в северозападна Мала Азия, защит…","en":"In 1205 the Empire of Nicaea was ruled by Emperor Theodore I Laskaris, who had established a Byzantine Greek state in exile after the fall of Constantinople to the Crusaders in 1204. The empire was consolidating its position in northwestern…"},"bulgariaLink":{"bg":"През 1205 г. Империята на Никея била въвлечена в косвено съперничество с Българската империя, която разгромила латинския император Балдуин I при Одрин и го пленила. България била значима регионална сила, влияеща на баланса между Латинската …","en":"In 1205 the Empire of Nicaea was engaged in indirect rivalry with the Bulgarian Empire, which had defeated the Latin Emperor Baldwin I at Adrianople and captured him. Bulgaria was a significant regional power affecting the balance between t…"},"evidence":[]}],"geojson":"https://medievalbulgaria.com/data/v1/territories/1205.geojson","url":{"en":"https://medievalbulgaria.com/map#1205","bg":"https://medievalbulgaria.com/bg/map#1205"}}]}}}}}}},"/pages.json":{"get":{"tags":["pages"],"summary":"All pages","description":"Every article on the site: metadata and citations in the list, full Markdown body per record.","responses":{"200":{"description":"The pages dataset","content":{"application/json":{"schema":{"type":"object","required":["dataset","count","licence","items"],"properties":{"dataset":{"type":"string","const":"pages"},"count":{"type":"integer"},"licence":{"$ref":"#/components/schemas/Licence"},"items":{"type":"array","items":{"$ref":"#/components/schemas/PagesSummary"}}}},"example":{"dataset":"pages","count":179,"licence":{"data":"CC BY 4.0","dataUrl":"https://creativecommons.org/licenses/by/4.0/","attribution":"The Second Bulgarian Empire (medievalbulgaria.com)"},"items":[{"id":"art-skulptura","type":"art","title":{"bg":"Скулптурата","en":"Sculpture"},"summary":{"bg":"Средновековната българска скулптура от периода на Второто българско царство (XII–XIV в.) е представена с ограничен брой археологически находки, които обаче са ключови за разбирането на художествените тенденции и майсторството на тогавашните…","en":"Medieval Bulgarian sculpture from the Second Bulgarian Empire (12th–14th centuries) is known from a relatively small number of archaeological finds, which nonetheless provide crucial insight into the artistic trends and craftsmanship of the…"},"readingLevels":["scholar"],"citations":[{"source":"ovcharov-material-culture","page":129,"url":"https://medievalbulgaria.com/sources/ovcharov-material-culture"}],"url":{"en":"https://medievalbulgaria.com/art/art-skulptura","bg":"https://medievalbulgaria.com/bg/art/art-skulptura"}},{"id":"art-srednovekoven-grad","type":"art","title":{"bg":"Средновековният български град","en":"The Medieval Bulgarian Town"},"summary":{"bg":"Средновековният български град през Второто българско царство (XII–XIV в.) представлява комплекс от укрепени политически, икономически и културни центрове, изградени върху различни терени – от равнинни до хълмисти. Градовете са били защитен…","en":"The medieval Bulgarian city during the Second Bulgarian Empire (12th–14th centuries) was a complex of fortified political, economic, and cultural centers built on varied terrain, from plains to hills. These cities were protected by massive …"},"readingLevels":["scholar"],"citations":[{"source":"ovcharov-material-culture","page":8,"url":"https://medievalbulgaria.com/sources/ovcharov-material-culture"}],"url":{"en":"https://medievalbulgaria.com/art/art-srednovekoven-grad","bg":"https://medievalbulgaria.com/bg/art/art-srednovekoven-grad"}}]}}}}}}},"/pages/{id}.json":{"get":{"tags":["pages"],"summary":"One of pages","description":"The full record. The list endpoint carries a summary of each; this carries every field.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"example":"art-skulptura","description":"The record id, the same slug the site uses in its URL"}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Pages"},"example":{"id":"art-skulptura","type":"art","title":{"bg":"Скулптурата","en":"Sculpture"},"summary":{"bg":"Средновековната българска скулптура от периода на Второто българско царство (XII–XIV в.) е представена с ограничен брой археологически находки, които обаче са ключови за разбирането на художествените тенденции и майсторството на тогавашните…","en":"Medieval Bulgarian sculpture from the Second Bulgarian Empire (12th–14th centuries) is known from a relatively small number of archaeological finds, which nonetheless provide crucial insight into the artistic trends and craftsmanship of the…"},"readingLevels":["scholar"],"citations":[{"source":"ovcharov-material-culture","page":129,"url":"https://medievalbulgaria.com/sources/ovcharov-material-culture"}],"url":{"en":"https://medievalbulgaria.com/art/art-skulptura","bg":"https://medievalbulgaria.com/bg/art/art-skulptura"},"aliases":{"bg":[],"en":[]},"keyEvents":{"bg":[],"en":[]},"keyPeople":{"bg":["Татяна Силяновска-Новикова","Тодор Герасимов","Никола Мавродинов"],"en":[]},"body":{"scholar":{"bg":"## Релефна скулптура в Търновград и други средновековни центрове\n\nПрез XII–XIV век, в периода на Второто българско царство, след въстанието от 1185–1187 г. и последвалия политически и икономически възход, се наблюдава значително разрастване…","en":"## Relief Sculpture in Tarnovgrad and Other Medieval Centers\n\nDuring the 12th to 14th centuries, in the period of the Second Bulgarian Empire, following the uprising of 1185–1187 and the subsequent political and economic rise, there was a s…"},"reader":null,"simple":null}}}}},"404":{"description":"No such id","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/sources.json":{"get":{"tags":["sources"],"summary":"All sources","description":"The bibliography the site is built from.","responses":{"200":{"description":"The sources dataset","content":{"application/json":{"schema":{"type":"object","required":["dataset","count","licence","items"],"properties":{"dataset":{"type":"string","const":"sources"},"count":{"type":"integer"},"licence":{"$ref":"#/components/schemas/Licence"},"items":{"type":"array","items":{"$ref":"#/components/schemas/SourcesSummary"}}}},"example":{"dataset":"sources","count":11,"licence":{"data":"CC BY 4.0","dataUrl":"https://creativecommons.org/licenses/by/4.0/","attribution":"The Second Bulgarian Empire (medievalbulgaria.com)"},"items":[{"id":"bozhilov-asen-family","authors":[{"bg":"Иван Божилов","en":"Ivan Bozhilov"}],"title":{"bg":"Фамилията на Асеневци (1186–1460). Генеалогия и просопография","en":"The Asen Family (1186–1460): Genealogy and Prosopography"},"language":"bg","publisher":{"bg":"Издателство на БАН „Марин Дринов“","en":"Marin Drinov Academic Publishing House"},"place":{"bg":"София","en":"Sofia"},"year":1994,"edition":{"bg":"второ фототипно издание (първо издание 1985)","en":"2nd facsimile edition (first edition 1985)"},"isbn":"954-430-264-6","about":{"bg":"Каталог на всички известни членове на династията Асеневци — кой кой е, с кого е бил женен и какво казват изворите за него. Основата на родословното дърво и на биографиите на владетелите.","en":"A catalogue of every known member of the Asen dynasty — who they were, whom they married and what the sources say of them. The backbone of the family tree and the rulers' biographies."},"url":{"en":"https://medievalbulgaria.com/sources/bozhilov-asen-family","bg":"https://medievalbulgaria.com/bg/sources/bozhilov-asen-family"}},{"id":"bozhilov-gyuzelev-medieval-bulgaria","authors":[{"bg":"Иван Божилов","en":"Ivan Bozhilov"},{"bg":"Васил Гюзелев","en":"Vasil Gyuzelev"}],"title":{"bg":"История на средновековна България VII–XIV век","en":"History of Medieval Bulgaria, 7th–14th Century"},"language":"bg","publisher":{"bg":"Анубис","en":"Anubis"},"place":{"bg":"София","en":"Sofia"},"year":1999,"edition":{"bg":"„История на България“ в три тома, том първи","en":"History of Bulgaria in three volumes, vol. 1"},"isbn":null,"about":{"bg":"Повествователната история на средновековна България от появата на българите до края на XIV век. Гръбнакът на историята по глави и на хронологията.","en":"The narrative history of medieval Bulgaria from the first mention of the Bulgars to the end of the fourteenth century. The backbone of the chaptered history and the timeline."},"url":{"en":"https://medievalbulgaria.com/sources/bozhilov-gyuzelev-medieval-bulgaria","bg":"https://medievalbulgaria.com/bg/sources/bozhilov-gyuzelev-medieval-bulgaria"}}]}}}}}}},"/territories/{year}.geojson":{"get":{"tags":["territories"],"summary":"Boundaries in one atlas year","description":"A FeatureCollection with one MultiPolygon per realm. Each feature's properties carry the realm's id, bilingual name, ruler and situation in that year.","parameters":[{"name":"year","in":"path","required":true,"schema":{"type":"integer","enum":[1186,1205,1230,1261,1300,1331,1355,1371,1396]},"example":1186}],"responses":{"200":{"description":"A GeoJSON FeatureCollection","content":{"application/geo+json":{"schema":{"type":"object","properties":{"type":{"type":"string","const":"FeatureCollection"},"features":{"type":"array","items":{"type":"object"}}}}}}}}}},"/export/{file}":{"get":{"tags":["export"],"summary":"A bulk export","description":"Files: rulers.csv (129 rows), battles.csv (15 rows), battle-record.csv (161 rows), coins.csv (114 rows), places.csv (27 rows), events.csv (24 rows), glossary.csv (53 rows), pages.csv (179 rows), statistics-armies.csv (54 rows), statistics-reigns.csv (21 rows), statistics-marriages.csv (25 rows), statistics-sums.csv (14 rows), statistics-population.csv (8 rows), statistics-fortresses.csv (15 rows), statistics-disputes.csv (29 rows), places.geojson (27 rows), battles.geojson (15 rows). The columns of each are listed in index.json.","parameters":[{"name":"file","in":"path","required":true,"schema":{"type":"string","enum":["rulers.csv","battles.csv","battle-record.csv","coins.csv","places.csv","events.csv","glossary.csv","pages.csv","statistics-armies.csv","statistics-reigns.csv","statistics-marriages.csv","statistics-sums.csv","statistics-population.csv","statistics-fortresses.csv","statistics-disputes.csv","places.geojson","battles.geojson"]},"example":"rulers.csv"}],"responses":{"200":{"description":"CSV (UTF-8 with BOM) or GeoJSON","content":{"text/csv":{"schema":{"type":"string"}},"application/geo+json":{"schema":{"type":"object"}}}}}}}},"components":{"schemas":{"Bilingual":{"type":"object","description":"Text in both languages. A side can be null when it has not been written.","properties":{"bg":{"type":["string","null"]},"en":{"type":["string","null"]}}},"Urls":{"type":"object","description":"The record's page on the site, per locale.","properties":{"en":{"type":"string","format":"uri"},"bg":{"type":"string","format":"uri"}}},"Citation":{"type":"object","properties":{"source":{"type":"string","description":"A slug from the sources dataset"},"page":{"type":["integer","null"]},"url":{"type":["string","null"]}}},"Licence":{"type":"object","properties":{"data":{"type":"string"},"dataUrl":{"type":"string","format":"uri"},"attribution":{"type":"string"}}},"RulersSummary":{"type":"object","properties":{"id":{"type":"string"},"name":{"$ref":"#/components/schemas/Bilingual"},"epithet":{"$ref":"#/components/schemas/Bilingual"},"title":{"type":"string"},"dynasty":{"type":["string","null"]},"reigned":{"type":"boolean"},"reign":{"type":"object","properties":{"from":{"type":["integer","null"]},"to":{"type":["integer","null"]}},"required":["from","to"]},"born":{"type":["integer","null"]},"died":{"type":["integer","null"]},"female":{"type":"boolean"},"wikidata":{"type":["string","null"]},"portrait":{"type":["string","null"]},"url":{"$ref":"#/components/schemas/Bilingual"}},"required":["id","name","epithet","title","dynasty","reigned","reign","born","died","female","wikidata","portrait","url"],"description":"One item of rulers.json"},"Rulers":{"type":"object","properties":{"id":{"type":"string"},"name":{"$ref":"#/components/schemas/Bilingual"},"epithet":{"$ref":"#/components/schemas/Bilingual"},"title":{"type":"string"},"dynasty":{"type":["string","null"]},"reigned":{"type":"boolean"},"reign":{"type":"object","properties":{"from":{"type":["integer","null"]},"to":{"type":["integer","null"]}},"required":["from","to"]},"born":{"type":["integer","null"]},"died":{"type":["integer","null"]},"female":{"type":"boolean"},"wikidata":{"type":["string","null"]},"portrait":{"type":["string","null"]},"url":{"$ref":"#/components/schemas/Bilingual"},"variants":{"type":"object","properties":{"bg":{"type":"array","items":{"type":"string"}},"en":{"type":"array","items":{"type":"string"}}},"required":["bg","en"]},"dateNote":{"$ref":"#/components/schemas/Bilingual"},"floruit":{"type":"object","properties":{"from":{"type":["integer","null"]},"to":{"type":["integer","null"]}},"required":["from","to"]},"family":{"type":"object","properties":{"father":{"type":["string","null"]},"mother":{"type":["string","null"]},"spouses":{"type":"array","items":{"type":"string"}},"children":{"type":"array","items":{"type":"string"}},"siblings":{"type":"array","items":{"type":"string"}},"predecessor":{"type":["string","null"]},"successor":{"type":["string","null"]}},"required":["father","mother","spouses","children","siblings","predecessor","successor"]},"notes":{"$ref":"#/components/schemas/Bilingual"},"biography":{"type":"object","properties":{"bg":{"type":"array","items":{"type":"string"}},"en":{"type":"array","items":{"type":"string"}}},"required":["bg","en"]},"evidence":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string"},"page":{"type":"integer"},"url":{"type":"string"}},"required":["source","page","url"]}},"wikipedia":{"type":["string","null"]},"images":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string"},"kind":{"type":"string"},"caption":{"$ref":"#/components/schemas/Bilingual"},"width":{"type":"integer"},"height":{"type":"integer"}},"required":["url","kind","caption","width","height"]}}},"required":["id","name","epithet","title","dynasty","reigned","reign","born","died","female","wikidata","portrait","url","variants","dateNote","floruit","family","notes","biography","evidence","wikipedia","images"],"description":"One record of rulers, as served from /rulers/{id}.json"},"DynastiesSummary":{"type":"object","properties":{"id":{"type":"string"},"name":{"$ref":"#/components/schemas/Bilingual"},"from":{"type":"integer"},"to":{"type":"integer"},"rulers":{"type":"array","items":{"type":"string"}}},"required":["id","name","from","to","rulers"],"description":"One item of dynasties.json"},"BattlesSummary":{"type":"object","properties":{"id":{"type":"string"},"year":{"type":"integer"},"date":{"$ref":"#/components/schemas/Bilingual"},"name":{"$ref":"#/components/schemas/Bilingual"},"location":{"$ref":"#/components/schemas/Bilingual"},"coordinates":{"type":"object","properties":{"lat":{"type":"number"},"lng":{"type":"number"}},"required":["lat","lng"]},"outcome":{"type":"string"},"result":{"$ref":"#/components/schemas/Bilingual"},"belligerents":{"type":"array","items":{"$ref":"#/components/schemas/Bilingual"}},"commanders":{"type":"array","items":{"type":"object","properties":{"person":{"type":["string","null"]},"name":{"$ref":"#/components/schemas/Bilingual"}},"required":["person","name"]}},"mapYear":{"type":"integer"},"url":{"$ref":"#/components/schemas/Bilingual"}},"required":["id","year","date","name","location","coordinates","outcome","result","belligerents","commanders","mapYear","url"],"description":"One item of battles.json"},"Battles":{"type":"object","properties":{"id":{"type":"string"},"year":{"type":"integer"},"date":{"$ref":"#/components/schemas/Bilingual"},"name":{"$ref":"#/components/schemas/Bilingual"},"location":{"$ref":"#/components/schemas/Bilingual"},"coordinates":{"type":"object","properties":{"lat":{"type":"number"},"lng":{"type":"number"}},"required":["lat","lng"]},"outcome":{"type":"string"},"result":{"$ref":"#/components/schemas/Bilingual"},"belligerents":{"type":"array","items":{"$ref":"#/components/schemas/Bilingual"}},"commanders":{"type":"array","items":{"type":"object","properties":{"person":{"type":["string","null"]},"name":{"$ref":"#/components/schemas/Bilingual"}},"required":["person","name"]}},"mapYear":{"type":"integer"},"url":{"$ref":"#/components/schemas/Bilingual"},"page":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string"},"title":{"$ref":"#/components/schemas/Bilingual"},"summary":{"$ref":"#/components/schemas/Bilingual"},"readingLevels":{"type":"array","items":{"type":"string"}},"citations":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string"},"page":{"type":"integer"},"url":{"type":"string"}},"required":["source","page","url"]}},"url":{"$ref":"#/components/schemas/Bilingual"},"aliases":{"type":"object","properties":{"bg":{"type":"array","items":{}},"en":{"type":"array","items":{}}},"required":["bg","en"]},"keyEvents":{"type":"object","properties":{"bg":{"type":"array","items":{}},"en":{"type":"array","items":{}}},"required":["bg","en"]},"keyPeople":{"type":"object","properties":{"bg":{"type":"array","items":{"type":"string"}},"en":{"type":"array","items":{"type":"string"}}},"required":["bg","en"]},"body":{"type":"object","properties":{"scholar":{"$ref":"#/components/schemas/Bilingual"},"reader":{"type":"null"},"simple":{"type":"null"}},"required":["scholar","reader","simple"]}},"required":["id","type","title","summary","readingLevels","citations","url","aliases","keyEvents","keyPeople","body"]}},"required":["id","year","date","name","location","coordinates","outcome","result","belligerents","commanders","mapYear","url","page"],"description":"One record of battles, as served from /battles/{id}.json"},"BattleRecordSummary":{"type":"object","properties":{"id":{"type":"string"},"year":{"type":"integer"},"kind":{"type":"string"},"side":{"type":["string","null"]},"ruler":{"type":["string","null"]},"opponent":{"type":["string","null"]},"result":{"type":"string"},"name":{"$ref":"#/components/schemas/Bilingual"},"note":{"$ref":"#/components/schemas/Bilingual"},"sources":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string"},"page":{"type":"integer"},"url":{"type":"string"}},"required":["source","page","url"]}}},"required":["id","year","kind","side","ruler","opponent","result","name","note","sources"],"description":"One item of battle-record.json"},"CoinsSummary":{"type":"object","properties":{"id":{"type":"string"},"catalogueNumber":{"type":"string"},"catalogueNumberConfident":{"type":"boolean"},"ruler":{"type":["string","null"]},"rulerName":{"$ref":"#/components/schemas/Bilingual"},"reign":{"type":["string","null"]},"metal":{"type":"string"},"imitative":{"type":"boolean"},"title":{"$ref":"#/components/schemas/Bilingual"},"mint":{"$ref":"#/components/schemas/Bilingual"},"obverse":{"$ref":"#/components/schemas/Bilingual"},"reverse":{"$ref":"#/components/schemas/Bilingual"},"diameterMm":{"type":["string","null"]},"weightG":{"type":["string","null"]},"rarity":{"type":["string","null"]},"cataloguePage":{"type":"integer"},"specimens":{"type":"array","items":{"type":"object","properties":{"image":{"type":"string"},"width":{"type":"integer"},"height":{"type":"integer"},"cataloguePage":{"type":"integer"}},"required":["image","width","height","cataloguePage"]}},"drawings":{"type":"array","items":{"type":"object","properties":{"image":{"type":"string"},"width":{"type":"integer"},"height":{"type":"integer"},"cataloguePage":{"type":"integer"}},"required":["image","width","height","cataloguePage"]}},"url":{"$ref":"#/components/schemas/Bilingual"}},"required":["id","catalogueNumber","catalogueNumberConfident","ruler","rulerName","reign","metal","imitative","title","mint","obverse","reverse","diameterMm","weightG","rarity","cataloguePage","specimens","drawings","url"],"description":"One item of coins.json"},"Coins":{"type":"object","properties":{"id":{"type":"string"},"catalogueNumber":{"type":"string"},"catalogueNumberConfident":{"type":"boolean"},"ruler":{"type":["string","null"]},"rulerName":{"$ref":"#/components/schemas/Bilingual"},"reign":{"type":["string","null"]},"metal":{"type":"string"},"imitative":{"type":"boolean"},"title":{"$ref":"#/components/schemas/Bilingual"},"mint":{"$ref":"#/components/schemas/Bilingual"},"obverse":{"$ref":"#/components/schemas/Bilingual"},"reverse":{"$ref":"#/components/schemas/Bilingual"},"diameterMm":{"type":["string","null"]},"weightG":{"type":["string","null"]},"rarity":{"type":["string","null"]},"cataloguePage":{"type":"integer"},"specimens":{"type":"array","items":{"type":"object","properties":{"image":{"type":"string"},"width":{"type":"integer"},"height":{"type":"integer"},"cataloguePage":{"type":"integer"}},"required":["image","width","height","cataloguePage"]}},"drawings":{"type":"array","items":{"type":"object","properties":{"image":{"type":"string"},"width":{"type":"integer"},"height":{"type":"integer"},"cataloguePage":{"type":"integer"}},"required":["image","width","height","cataloguePage"]}},"url":{"$ref":"#/components/schemas/Bilingual"}},"required":["id","catalogueNumber","catalogueNumberConfident","ruler","rulerName","reign","metal","imitative","title","mint","obverse","reverse","diameterMm","weightG","rarity","cataloguePage","specimens","drawings","url"],"description":"One record of coins, as served from /coins/{id}.json"},"PlacesSummary":{"type":"object","properties":{"id":{"type":"string"},"kind":{"type":"string"},"name":{"$ref":"#/components/schemas/Bilingual"},"altNames":{"type":"array","items":{"$ref":"#/components/schemas/Bilingual"}},"modern":{"$ref":"#/components/schemas/Bilingual"},"lat":{"type":"number"},"lng":{"type":"number"},"role":{"$ref":"#/components/schemas/Bilingual"},"rulers":{"type":"array","items":{"type":"string"}},"battles":{"type":"array","items":{"type":"string"}},"manuscripts":{"type":"array","items":{"type":"string"}},"pages":{"type":"array","items":{"type":"string"}},"image":{"type":"object","properties":{"url":{"type":"string"},"caption":{"$ref":"#/components/schemas/Bilingual"},"author":{"type":"string"},"licence":{"type":"string"},"source":{"type":"string"}},"required":["url","caption","author","licence","source"]},"url":{"$ref":"#/components/schemas/Bilingual"}},"required":["id","kind","name","altNames","modern","lat","lng","role","rulers","battles","manuscripts","pages","image","url"],"description":"One item of places.json"},"Places":{"type":"object","properties":{"id":{"type":"string"},"kind":{"type":"string"},"name":{"$ref":"#/components/schemas/Bilingual"},"altNames":{"type":"array","items":{"$ref":"#/components/schemas/Bilingual"}},"modern":{"$ref":"#/components/schemas/Bilingual"},"lat":{"type":"number"},"lng":{"type":"number"},"role":{"$ref":"#/components/schemas/Bilingual"},"rulers":{"type":"array","items":{"type":"string"}},"battles":{"type":"array","items":{"type":"string"}},"manuscripts":{"type":"array","items":{"type":"string"}},"pages":{"type":"array","items":{"type":"string"}},"image":{"type":"object","properties":{"url":{"type":"string"},"caption":{"$ref":"#/components/schemas/Bilingual"},"author":{"type":"string"},"licence":{"type":"string"},"source":{"type":"string"}},"required":["url","caption","author","licence","source"]},"url":{"$ref":"#/components/schemas/Bilingual"}},"required":["id","kind","name","altNames","modern","lat","lng","role","rulers","battles","manuscripts","pages","image","url"],"description":"One record of places, as served from /places/{id}.json"},"ManuscriptsSummary":{"type":"object","properties":{"id":{"type":"string"},"kind":{"type":"string"},"title":{"$ref":"#/components/schemas/Bilingual"},"altTitles":{"type":"array","items":{"$ref":"#/components/schemas/Bilingual"}},"date":{"$ref":"#/components/schemas/Bilingual"},"yearFrom":{"type":"integer"},"yearTo":{"type":"integer"},"summary":{"$ref":"#/components/schemas/Bilingual"},"language":{"oneOf":[{"$ref":"#/components/schemas/Bilingual"},{"type":"null"}]},"material":{"oneOf":[{"$ref":"#/components/schemas/Bilingual"},{"type":"null"}]},"extent":{"oneOf":[{"$ref":"#/components/schemas/Bilingual"},{"type":"null"}]},"script":{"oneOf":[{"$ref":"#/components/schemas/Bilingual"},{"type":"null"}]},"repository":{"oneOf":[{"$ref":"#/components/schemas/Bilingual"},{"type":"null"}]},"shelfmark":{"type":["string","null"]},"city":{"oneOf":[{"$ref":"#/components/schemas/Bilingual"},{"type":"null"}]},"digitalUrl":{"type":["string","null"]},"commonsUrl":{"type":["string","null"]},"rulers":{"type":"array","items":{"type":"string"}},"places":{"type":"array","items":{"type":"object","properties":{"name":{"$ref":"#/components/schemas/Bilingual"},"modern":{"oneOf":[{"$ref":"#/components/schemas/Bilingual"},{"type":"null"}]},"note":{"oneOf":[{"$ref":"#/components/schemas/Bilingual"},{"type":"null"}]}},"required":["name","modern","note"]}},"url":{"$ref":"#/components/schemas/Bilingual"}},"required":["id","kind","title","altTitles","date","yearFrom","yearTo","summary","language","material","extent","script","repository","shelfmark","city","digitalUrl","commonsUrl","rulers","places","url"],"description":"One item of manuscripts.json"},"Manuscripts":{"type":"object","properties":{"id":{"type":"string"},"kind":{"type":"string"},"title":{"$ref":"#/components/schemas/Bilingual"},"altTitles":{"type":"array","items":{"$ref":"#/components/schemas/Bilingual"}},"date":{"$ref":"#/components/schemas/Bilingual"},"yearFrom":{"type":"integer"},"yearTo":{"type":"integer"},"summary":{"$ref":"#/components/schemas/Bilingual"},"language":{"oneOf":[{"$ref":"#/components/schemas/Bilingual"},{"type":"null"}]},"material":{"oneOf":[{"$ref":"#/components/schemas/Bilingual"},{"type":"null"}]},"extent":{"oneOf":[{"$ref":"#/components/schemas/Bilingual"},{"type":"null"}]},"script":{"oneOf":[{"$ref":"#/components/schemas/Bilingual"},{"type":"null"}]},"repository":{"oneOf":[{"$ref":"#/components/schemas/Bilingual"},{"type":"null"}]},"shelfmark":{"type":["string","null"]},"city":{"oneOf":[{"$ref":"#/components/schemas/Bilingual"},{"type":"null"}]},"digitalUrl":{"type":["string","null"]},"commonsUrl":{"type":["string","null"]},"rulers":{"type":"array","items":{"type":"string"}},"places":{"type":"array","items":{"type":"object","properties":{"name":{"$ref":"#/components/schemas/Bilingual"},"modern":{"oneOf":[{"$ref":"#/components/schemas/Bilingual"},{"type":"null"}]},"note":{"oneOf":[{"$ref":"#/components/schemas/Bilingual"},{"type":"null"}]}},"required":["name","modern","note"]}},"url":{"$ref":"#/components/schemas/Bilingual"}},"required":["id","kind","title","altTitles","date","yearFrom","yearTo","summary","language","material","extent","script","repository","shelfmark","city","digitalUrl","commonsUrl","rulers","places","url"],"description":"One record of manuscripts, as served from /manuscripts/{id}.json"},"EventsSummary":{"type":"object","properties":{"id":{"type":"string"},"year":{"type":"integer"},"month":{"type":"integer"},"day":{"type":"integer"},"title":{"$ref":"#/components/schemas/Bilingual"},"description":{"$ref":"#/components/schemas/Bilingual"},"url":{"$ref":"#/components/schemas/Bilingual"}},"required":["id","year","month","day","title","description","url"],"description":"One item of events.json"},"GlossarySummary":{"type":"object","properties":{"id":{"type":"string"},"category":{"type":"string"},"term":{"$ref":"#/components/schemas/Bilingual"},"definition":{"$ref":"#/components/schemas/Bilingual"}},"required":["id","category","term","definition"],"description":"One item of glossary.json"},"MapPeriodsSummary":{"type":"object","properties":{"id":{"type":"string"},"year":{"type":"integer"},"label":{"$ref":"#/components/schemas/Bilingual"},"description":{"$ref":"#/components/schemas/Bilingual"},"realms":{"type":"array","items":{"type":"object","properties":{"name":{"$ref":"#/components/schemas/Bilingual"},"fill":{"type":"string"},"ruler":{"$ref":"#/components/schemas/Bilingual"},"situation":{"$ref":"#/components/schemas/Bilingual"},"bulgariaLink":{"$ref":"#/components/schemas/Bilingual"},"evidence":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string"},"page":{"type":"integer"},"url":{"type":"string"}},"required":["source","page","url"]}}},"required":["name","fill","ruler","situation","bulgariaLink","evidence"]}},"geojson":{"type":"string"},"url":{"$ref":"#/components/schemas/Bilingual"}},"required":["id","year","label","description","realms","geojson","url"],"description":"One item of map-periods.json"},"PagesSummary":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string"},"title":{"$ref":"#/components/schemas/Bilingual"},"summary":{"$ref":"#/components/schemas/Bilingual"},"readingLevels":{"type":"array","items":{"type":"string"}},"citations":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string"},"page":{"type":"integer"},"url":{"type":"string"}},"required":["source","page","url"]}},"url":{"$ref":"#/components/schemas/Bilingual"}},"required":["id","type","title","summary","readingLevels","citations","url"],"description":"One item of pages.json"},"Pages":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string"},"title":{"$ref":"#/components/schemas/Bilingual"},"summary":{"$ref":"#/components/schemas/Bilingual"},"readingLevels":{"type":"array","items":{"type":"string"}},"citations":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string"},"page":{"type":"integer"},"url":{"type":"string"}},"required":["source","page","url"]}},"url":{"$ref":"#/components/schemas/Bilingual"},"aliases":{"type":"object","properties":{"bg":{"type":"array","items":{"type":"string"}},"en":{"type":"array","items":{"type":"string"}}},"required":["bg","en"]},"keyEvents":{"type":"object","properties":{"bg":{"type":"array","items":{"type":"string"}},"en":{"type":"array","items":{"type":"string"}}},"required":["bg","en"]},"keyPeople":{"type":"object","properties":{"bg":{"type":"array","items":{"type":"string"}},"en":{"type":"array","items":{"type":"string"}}},"required":["bg","en"]},"body":{"type":"object","properties":{"scholar":{"$ref":"#/components/schemas/Bilingual"},"reader":{"oneOf":[{"$ref":"#/components/schemas/Bilingual"},{"type":"null"}]},"simple":{"oneOf":[{"$ref":"#/components/schemas/Bilingual"},{"type":"null"}]}},"required":["scholar","reader","simple"]}},"required":["id","type","title","summary","readingLevels","citations","url","aliases","keyEvents","keyPeople","body"],"description":"One record of pages, as served from /pages/{id}.json"},"SourcesSummary":{"type":"object","properties":{"id":{"type":"string"},"authors":{"type":"array","items":{"$ref":"#/components/schemas/Bilingual"}},"title":{"$ref":"#/components/schemas/Bilingual"},"language":{"type":"string"},"publisher":{"oneOf":[{"$ref":"#/components/schemas/Bilingual"},{"type":"null"}]},"place":{"$ref":"#/components/schemas/Bilingual"},"year":{"type":"integer"},"edition":{"oneOf":[{"$ref":"#/components/schemas/Bilingual"},{"type":"null"}]},"isbn":{"type":["string","null"]},"about":{"$ref":"#/components/schemas/Bilingual"},"url":{"$ref":"#/components/schemas/Bilingual"}},"required":["id","authors","title","language","publisher","place","year","edition","isbn","about","url"],"description":"One item of sources.json"}}}}