{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"meta":{"type":"object","properties":{"title":{"type":"string"},"description":{"type":"string"},"license":{"type":"string"},"schemaVersion":{"type":"number","const":2},"revision":{"type":"integer","minimum":0,"maximum":9007199254740991},"updatedAt":{"type":"string"}},"required":["title","description","license","schemaVersion","revision","updatedAt"]},"incidents":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":120,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"protestId":{"type":"string","maxLength":120,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$","description":"Manifestation (protests[].id)"},"location":{"type":"object","properties":{"city":{"type":"string","minLength":1,"maxLength":80,"description":"Commune"},"department":{"anyOf":[{"type":"string","pattern":"^(0[1-9]|[1-8]\\d|9[0-5]|2A|2B|97[1-6])$"},{"type":"null"}],"description":"Code du département (75, 13, 2A, 974…) ; null si inconnu"},"detail":{"description":"Rue, place, circonstance (« chez elle, 4e étage »)","type":"string","maxLength":160}},"required":["city","department"]},"victim":{"type":"object","properties":{"name":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"description":"Nom public seulement, sinon null"},"age":{"anyOf":[{"type":"integer","minimum":0,"maximum":120},{"type":"null"}]},"gender":{"anyOf":[{"type":"string","enum":["F","M"]},{"type":"null"}]},"role":{"type":"string","enum":["manifestant","passant","journaliste","street-medic","elu","inconnu"]},"wasProtesting":{"description":"La personne manifestait-elle ? null si inconnu","type":["boolean","null"]}},"required":["name","age","gender","role","wasProtesting"]},"injury":{"type":"object","properties":{"sites":{"minItems":1,"maxItems":11,"type":"array","items":{"type":"string","enum":["oeil","tete","visage","main","bras","pied","jambe","thorax","abdomen","organes-genitaux","autre"]},"description":"Parties du corps touchées"},"outcome":{"type":"string","enum":["deces","mutilation","sequelles","non-etabli"],"description":"deces ; mutilation (œil, main, pied, organe perdu) ; sequelles durables ; non-etabli"},"coma":{"type":"boolean"},"losses":{"description":"Pertes attestées ; distingue notamment des doigts amputés d’une main entière","type":"array","items":{"type":"string","enum":["oeil","main","doigt","pied","organe"]}},"description":{"type":"string","minLength":10,"maxLength":1000}},"required":["sites","outcome","coma","description"]},"force":{"type":"string","enum":["police-nationale","gendarmerie","police-municipale","inconnue"],"description":"Force de l’ordre en cause"},"weapon":{"type":"object","properties":{"id":{"anyOf":[{"type":"string","maxLength":120,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},{"type":"null"}],"description":"Arme (weapons[].id) ; null si inconnue"},"certainty":{"anyOf":[{"type":"string","enum":["etablie","probable","contestee"]},{"type":"null"}],"description":"Certitude sur l’arme ; null si l’arme est inconnue"},"note":{"description":"Précision ou contestation sur l’arme","type":"string","maxLength":600}},"required":["id","certainty"]},"legal":{"type":"object","properties":{"status":{"type":"string","enum":["inconnu","plainte","enquete","instruction","classement","non-lieu","proces","condamnation","relaxe"]},"note":{"description":"Détail : plainte, IGPN/IGGN, mise en examen, jugement…","type":"string","maxLength":1000}},"required":["status"]},"description":{"type":"string","minLength":20,"maxLength":4000,"description":"Récit de l’incident"},"sources":{"minItems":1,"maxItems":30,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":120,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$","description":"Identifiant stable, aussi nom de la capture (<id>.png)"},"url":{"type":"string","format":"uri","description":"Adresse de l'article"},"publisher":{"type":"string","minLength":1,"maxLength":80,"description":"Média : Libération et Le Monde en priorité"},"title":{"type":"string","maxLength":300},"date":{"description":"Date de publication","type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"quote":{"type":"string","minLength":20,"maxLength":2000,"description":"Passage copié mot pour mot de l'article, surligné sur la capture"},"archiveUrl":{"type":"string","format":"uri"}},"required":["id","url","publisher","quote"],"description":"Source vérifiable : citation exacte et lien"}},"updatedAt":{"type":"string"}},"required":["id","date","protestId","location","victim","injury","force","weapon","legal","description","sources"],"description":"Fait de base : une victime civile (jamais les forces de l’ordre), blessée gravement ou tuée lors d’une manifestation"}},"protests":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":120,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"title":{"type":"string","minLength":3,"maxLength":200},"movementId":{"type":"string","maxLength":120,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$","description":"Mouvement (movements[].id)"},"parentId":{"description":"Manifestation plus large incluant cet événement ; même mouvement","anyOf":[{"type":"string","maxLength":120,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},{"type":"null"}]},"startDate":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"endDate":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},{"type":"null"}]},"location":{"type":"object","properties":{"city":{"type":"string","minLength":1,"maxLength":80,"description":"Commune"},"department":{"anyOf":[{"type":"string","pattern":"^(0[1-9]|[1-8]\\d|9[0-5]|2A|2B|97[1-6])$"},{"type":"null"}],"description":"Code du département (75, 13, 2A, 974…) ; null si inconnu"}},"required":["city","department"]},"subject":{"type":"string","minLength":3,"maxLength":400,"description":"Sujet de cette manifestation"},"description":{"type":"string","maxLength":4000},"reportedCount":{"anyOf":[{"type":"object","properties":{"value":{"type":"integer","minimum":0,"maximum":9007199254740991},"scope":{"type":"string","enum":["graves","tous","deces"]},"qualifier":{"type":"string","enum":["exact","minimum","estimation"]},"asOf":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"attribution":{"type":"string","enum":["forces-ordre","toutes-causes","non-etablie"]},"source":{"type":"object","properties":{"id":{"type":"string","maxLength":120,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$","description":"Identifiant stable, aussi nom de la capture (<id>.png)"},"url":{"type":"string","format":"uri","description":"Adresse de l'article"},"publisher":{"type":"string","minLength":1,"maxLength":80,"description":"Média : Libération et Le Monde en priorité"},"title":{"type":"string","maxLength":300},"date":{"description":"Date de publication","type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"quote":{"type":"string","minLength":20,"maxLength":2000,"description":"Passage copié mot pour mot de l'article, surligné sur la capture"},"archiveUrl":{"type":"string","format":"uri"}},"required":["id","url","publisher","quote"],"description":"Source vérifiable : citation exacte et lien"},"note":{"type":"string","maxLength":1000}},"required":["value","scope","qualifier","asOf","attribution","source"]},{"type":"null"}]},"sources":{"maxItems":30,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":120,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$","description":"Identifiant stable, aussi nom de la capture (<id>.png)"},"url":{"type":"string","format":"uri","description":"Adresse de l'article"},"publisher":{"type":"string","minLength":1,"maxLength":80,"description":"Média : Libération et Le Monde en priorité"},"title":{"type":"string","maxLength":300},"date":{"description":"Date de publication","type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"quote":{"type":"string","minLength":20,"maxLength":2000,"description":"Passage copié mot pour mot de l'article, surligné sur la capture"},"archiveUrl":{"type":"string","format":"uri"}},"required":["id","url","publisher","quote"],"description":"Source vérifiable : citation exacte et lien"}},"updatedAt":{"type":"string"}},"required":["id","title","movementId","startDate","endDate","location","subject","sources"],"description":"Manifestation : date, lieu, mouvement"}},"movements":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":120,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"name":{"type":"string","minLength":1,"maxLength":80,"description":"« Gilets jaunes », « Méga-bassines », « Retraites 2023 »…"},"subject":{"type":"string","minLength":3,"maxLength":400,"description":"Revendications du mouvement"},"startDate":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"endDate":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},{"type":"null"}],"description":"null : en cours ou sans fin nette"},"description":{"type":"string","maxLength":4000},"reportedCount":{"anyOf":[{"type":"object","properties":{"value":{"type":"integer","minimum":0,"maximum":9007199254740991},"scope":{"type":"string","enum":["graves","tous","deces"]},"qualifier":{"type":"string","enum":["exact","minimum","estimation"]},"asOf":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"attribution":{"type":"string","enum":["forces-ordre","toutes-causes","non-etablie"]},"source":{"type":"object","properties":{"id":{"type":"string","maxLength":120,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$","description":"Identifiant stable, aussi nom de la capture (<id>.png)"},"url":{"type":"string","format":"uri","description":"Adresse de l'article"},"publisher":{"type":"string","minLength":1,"maxLength":80,"description":"Média : Libération et Le Monde en priorité"},"title":{"type":"string","maxLength":300},"date":{"description":"Date de publication","type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"quote":{"type":"string","minLength":20,"maxLength":2000,"description":"Passage copié mot pour mot de l'article, surligné sur la capture"},"archiveUrl":{"type":"string","format":"uri"}},"required":["id","url","publisher","quote"],"description":"Source vérifiable : citation exacte et lien"},"note":{"type":"string","maxLength":1000}},"required":["value","scope","qualifier","asOf","attribution","source"]},{"type":"null"}]},"sources":{"maxItems":30,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":120,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$","description":"Identifiant stable, aussi nom de la capture (<id>.png)"},"url":{"type":"string","format":"uri","description":"Adresse de l'article"},"publisher":{"type":"string","minLength":1,"maxLength":80,"description":"Média : Libération et Le Monde en priorité"},"title":{"type":"string","maxLength":300},"date":{"description":"Date de publication","type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"quote":{"type":"string","minLength":20,"maxLength":2000,"description":"Passage copié mot pour mot de l'article, surligné sur la capture"},"archiveUrl":{"type":"string","format":"uri"}},"required":["id","url","publisher","quote"],"description":"Source vérifiable : citation exacte et lien"}},"updatedAt":{"type":"string"}},"required":["id","name","subject","startDate","endDate","sources"],"description":"Mouvement social : regroupe plusieurs manifestations"}},"weapons":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":120,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"name":{"type":"string","minLength":1,"maxLength":120},"shortName":{"type":"string","maxLength":40},"category":{"type":"string","enum":["lanceur","grenade","gaz","canon-a-eau","contact","electrique","arme-a-feu","autre"]},"manufacturer":{"type":"string","maxLength":120},"description":{"type":"string","minLength":10,"maxLength":4000},"mechanism":{"description":"Fonctionnement : calibre, charge, portée…","type":"string","maxLength":2000},"risks":{"description":"Blessures connues","type":"string","maxLength":2000},"franceStatus":{"type":"string","enum":["en-service","retiree","interdite","suspendue"]},"inServiceSince":{"type":"string","maxLength":40},"withdrawnOn":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"regulations":{"maxItems":60,"type":"array","items":{"type":"object","properties":{"country":{"type":"string","pattern":"^[A-Z]{2}$"},"status":{"type":"string","enum":["autorise","restreint","interdit","non-utilise","inconnu"]},"note":{"type":"string","maxLength":1000},"sources":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":120,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$","description":"Identifiant stable, aussi nom de la capture (<id>.png)"},"url":{"type":"string","format":"uri","description":"Adresse de l'article"},"publisher":{"type":"string","minLength":1,"maxLength":80,"description":"Média : Libération et Le Monde en priorité"},"title":{"type":"string","maxLength":300},"date":{"description":"Date de publication","type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"quote":{"type":"string","minLength":20,"maxLength":2000,"description":"Passage copié mot pour mot de l'article, surligné sur la capture"},"archiveUrl":{"type":"string","format":"uri"}},"required":["id","url","publisher","quote"],"description":"Source vérifiable : citation exacte et lien"}}},"required":["country","status","sources"]},"description":"Autorisation dans les autres pays européens"},"sources":{"maxItems":30,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":120,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$","description":"Identifiant stable, aussi nom de la capture (<id>.png)"},"url":{"type":"string","format":"uri","description":"Adresse de l'article"},"publisher":{"type":"string","minLength":1,"maxLength":80,"description":"Média : Libération et Le Monde en priorité"},"title":{"type":"string","maxLength":300},"date":{"description":"Date de publication","type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"quote":{"type":"string","minLength":20,"maxLength":2000,"description":"Passage copié mot pour mot de l'article, surligné sur la capture"},"archiveUrl":{"type":"string","format":"uri"}},"required":["id","url","publisher","quote"],"description":"Source vérifiable : citation exacte et lien"}},"updatedAt":{"type":"string"}},"required":["id","name","category","description","franceStatus","regulations","sources"],"description":"Arme ou moyen de force utilisé en maintien de l’ordre"}},"governments":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":120,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"name":{"type":"string","minLength":1,"maxLength":80,"description":"Ex. « Gouvernement Borne »"},"president":{"type":"string","minLength":1,"maxLength":80},"primeMinister":{"type":"string","minLength":1,"maxLength":80},"start":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"end":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},{"type":"null"}],"description":"null : en fonction"},"interiorMinisters":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80},"start":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"end":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},{"type":"null"}]}},"required":["name","start","end"]},"description":"Ministres de l'Intérieur successifs pendant ce gouvernement"},"updatedAt":{"type":"string"}},"required":["id","name","president","primeMinister","start","end","interiorMinisters"],"description":"Gouvernement en fonction, déduit automatiquement de la date de chaque incident"}},"countries":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","pattern":"^[A-Z]{2}$"},"name":{"type":"string","minLength":1,"maxLength":80},"summary":{"type":"string","minLength":10,"maxLength":3000,"description":"Doctrine de maintien de l’ordre, en bref"},"facts":{"maxItems":40,"type":"array","items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":200},"value":{"type":"string","minLength":1,"maxLength":200},"year":{"type":"string","maxLength":20},"source":{"type":"object","properties":{"id":{"type":"string","maxLength":120,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$","description":"Identifiant stable, aussi nom de la capture (<id>.png)"},"url":{"type":"string","format":"uri","description":"Adresse de l'article"},"publisher":{"type":"string","minLength":1,"maxLength":80,"description":"Média : Libération et Le Monde en priorité"},"title":{"type":"string","maxLength":300},"date":{"description":"Date de publication","type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"quote":{"type":"string","minLength":20,"maxLength":2000,"description":"Passage copié mot pour mot de l'article, surligné sur la capture"},"archiveUrl":{"type":"string","format":"uri"}},"required":["id","url","publisher","quote"],"description":"Source vérifiable : citation exacte et lien"}},"required":["label","value"]}},"updatedAt":{"type":"string"}},"required":["code","name","summary","facts"],"description":"Pays européen de comparaison"}},"historicalFigures":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":120,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"protestId":{"anyOf":[{"type":"string","maxLength":120,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},{"type":"null"}]},"label":{"type":"string"},"value":{"type":"number"},"unit":{"type":"string","maxLength":40},"period":{"type":"string"},"origin":{"type":"string"},"source":{"type":"object","properties":{"id":{"type":"string","maxLength":120,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$","description":"Identifiant stable, aussi nom de la capture (<id>.png)"},"url":{"type":"string","format":"uri","description":"Adresse de l'article"},"publisher":{"type":"string","minLength":1,"maxLength":80,"description":"Média : Libération et Le Monde en priorité"},"title":{"type":"string","maxLength":300},"date":{"description":"Date de publication","type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"quote":{"type":"string","minLength":20,"maxLength":2000,"description":"Passage copié mot pour mot de l'article, surligné sur la capture"},"archiveUrl":{"type":"string","format":"uri"}},"required":["id","url","publisher","quote"],"description":"Source vérifiable : citation exacte et lien"},"updatedAt":{"type":"string"}},"required":["id","protestId","label","value","period","origin","source"]}}},"required":["meta","incidents","protests","movements","weapons","governments","countries"]}