@tricoteuses/assemblee 1.10.4 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (275) hide show
  1. package/README.md +8 -1
  2. package/lib/amendements-79bwpkvR.js +154 -0
  3. package/lib/amendements-CV3s5a0M.js +667 -0
  4. package/lib/cleaners/index.d.ts +9 -9
  5. package/lib/cleaners.js +564 -0
  6. package/lib/datasets.d.ts +3 -3
  7. package/lib/dossiers_legislatifs.d.ts +2 -2
  8. package/lib/index.d.ts +17 -22
  9. package/lib/index.js +1542 -314
  10. package/lib/inserters.d.ts +5 -5
  11. package/lib/loaders-9mHdTl9L.js +4158 -0
  12. package/lib/loaders.d.ts +12 -12
  13. package/lib/loaders.js +29 -1689
  14. package/lib/organes.d.ts +1 -1
  15. package/lib/parse-Ccs6wcUg.js +2512 -0
  16. package/lib/parsers/index.d.ts +2 -3
  17. package/lib/parsers/plf.d.ts +1 -0
  18. package/lib/parsers/recherche_amendements.d.ts +2 -2
  19. package/lib/parsers/textes_lois.d.ts +1 -23
  20. package/lib/parsers.js +398 -0
  21. package/lib/raw_types/acteurs_et_organes.d.ts +4 -2
  22. package/lib/raw_types/debats.d.ts +2 -2
  23. package/lib/raw_types/dossiers_legislatifs.d.ts +1 -1
  24. package/lib/schemas/acteurs_et_organes.json +1166 -0
  25. package/lib/schemas/agendas.json +1745 -0
  26. package/lib/schemas/amendements.json +2085 -0
  27. package/lib/schemas/debats.json +842 -0
  28. package/lib/schemas/dossiers_legislatifs.json +3874 -0
  29. package/lib/schemas/legislatures.json +17 -0
  30. package/lib/schemas/questions.json +704 -0
  31. package/lib/schemas/scrutins.json +701 -0
  32. package/lib/scripts/retrieve_deputes_photos.d.ts +1 -1
  33. package/lib/types/acteurs_et_organes.d.ts +344 -2
  34. package/lib/types/agendas.d.ts +236 -10
  35. package/lib/types/amendements.d.ts +276 -1
  36. package/lib/types/debats.d.ts +52 -2
  37. package/lib/types/dossiers_legislatifs.d.ts +403 -9
  38. package/lib/types/questions.d.ts +99 -2
  39. package/lib/types/scrutins.d.ts +101 -0
  40. package/lib/urls.d.ts +2 -2
  41. package/package.json +33 -95
  42. package/lib/api.js +0 -52
  43. package/lib/api.mjs +0 -45
  44. package/lib/bugs/acteur-00010/plugin.test.js +0 -90
  45. package/lib/bugs/acteur-00010/plugin.test.mjs +0 -33
  46. package/lib/bugs/acteur-00010.d.ts +0 -7
  47. package/lib/bugs/acteur-00010.js +0 -116
  48. package/lib/bugs/acteur-00010.mjs +0 -26
  49. package/lib/bugs/agenda-00002/plugin.test.js +0 -124
  50. package/lib/bugs/agenda-00002/plugin.test.mjs +0 -50
  51. package/lib/bugs/agenda-00002.d.ts +0 -15
  52. package/lib/bugs/agenda-00002.js +0 -406
  53. package/lib/bugs/agenda-00002.mjs +0 -172
  54. package/lib/bugs/agenda-00008/plugin.test.js +0 -92
  55. package/lib/bugs/agenda-00008/plugin.test.mjs +0 -31
  56. package/lib/bugs/agenda-00008.d.ts +0 -7
  57. package/lib/bugs/agenda-00008.js +0 -123
  58. package/lib/bugs/agenda-00008.mjs +0 -26
  59. package/lib/bugs/agenda-00011/plugin.test.d.ts +0 -1
  60. package/lib/bugs/agenda-00011/plugin.test.js +0 -263
  61. package/lib/bugs/agenda-00011/plugin.test.mjs +0 -152
  62. package/lib/bugs/agenda-00011.d.ts +0 -16
  63. package/lib/bugs/agenda-00011.js +0 -333
  64. package/lib/bugs/agenda-00011.mjs +0 -125
  65. package/lib/bugs.d.ts +0 -21
  66. package/lib/bugs.js +0 -452
  67. package/lib/bugs.mjs +0 -70
  68. package/lib/cleaners/actes_legislatifs.js +0 -315
  69. package/lib/cleaners/actes_legislatifs.mjs +0 -253
  70. package/lib/cleaners/acteurs.js +0 -265
  71. package/lib/cleaners/acteurs.mjs +0 -180
  72. package/lib/cleaners/amendements.js +0 -294
  73. package/lib/cleaners/amendements.mjs +0 -227
  74. package/lib/cleaners/debats.js +0 -12
  75. package/lib/cleaners/debats.mjs +0 -5
  76. package/lib/cleaners/documents.js +0 -205
  77. package/lib/cleaners/documents.mjs +0 -133
  78. package/lib/cleaners/dossiers_legislatifs.js +0 -131
  79. package/lib/cleaners/dossiers_legislatifs.mjs +0 -70
  80. package/lib/cleaners/index.js +0 -70
  81. package/lib/cleaners/index.mjs +0 -10
  82. package/lib/cleaners/organes.js +0 -65
  83. package/lib/cleaners/organes.mjs +0 -48
  84. package/lib/cleaners/questions.js +0 -12
  85. package/lib/cleaners/questions.mjs +0 -5
  86. package/lib/cleaners/reunions.js +0 -312
  87. package/lib/cleaners/reunions.mjs +0 -255
  88. package/lib/cleaners/scrutins.js +0 -340
  89. package/lib/cleaners/scrutins.mjs +0 -221
  90. package/lib/cleaners/xml.js +0 -95
  91. package/lib/cleaners/xml.mjs +0 -58
  92. package/lib/datasets.js +0 -837
  93. package/lib/datasets.mjs +0 -755
  94. package/lib/dates.js +0 -124
  95. package/lib/dates.mjs +0 -100
  96. package/lib/dossiers_legislatifs.js +0 -346
  97. package/lib/dossiers_legislatifs.mjs +0 -208
  98. package/lib/file_systems.js +0 -162
  99. package/lib/file_systems.mjs +0 -62
  100. package/lib/git.js +0 -223
  101. package/lib/git.mjs +0 -151
  102. package/lib/index.mjs +0 -17
  103. package/lib/inserters.js +0 -521
  104. package/lib/inserters.mjs +0 -337
  105. package/lib/loaders.mjs +0 -886
  106. package/lib/logger.js +0 -35
  107. package/lib/logger.mjs +0 -26
  108. package/lib/organes.js +0 -22
  109. package/lib/organes.mjs +0 -15
  110. package/lib/parsers/documents.d.ts +0 -62
  111. package/lib/parsers/documents.js +0 -453
  112. package/lib/parsers/documents.mjs +0 -370
  113. package/lib/parsers/index.js +0 -40
  114. package/lib/parsers/index.mjs +0 -4
  115. package/lib/parsers/recherche_amendements.js +0 -403
  116. package/lib/parsers/recherche_amendements.mjs +0 -167
  117. package/lib/parsers/textes_lois.js +0 -307
  118. package/lib/parsers/textes_lois.mjs +0 -264
  119. package/lib/raw_types/acteurs_et_organes.js +0 -1213
  120. package/lib/raw_types/acteurs_et_organes.mjs +0 -1146
  121. package/lib/raw_types/agendas.js +0 -777
  122. package/lib/raw_types/agendas.mjs +0 -724
  123. package/lib/raw_types/amendements.js +0 -1052
  124. package/lib/raw_types/amendements.mjs +0 -993
  125. package/lib/raw_types/debats.js +0 -630
  126. package/lib/raw_types/debats.mjs +0 -573
  127. package/lib/raw_types/dossiers_legislatifs.js +0 -1529
  128. package/lib/raw_types/dossiers_legislatifs.mjs +0 -1471
  129. package/lib/raw_types/questions.js +0 -469
  130. package/lib/raw_types/questions.mjs +0 -416
  131. package/lib/raw_types/scrutins.js +0 -651
  132. package/lib/raw_types/scrutins.mjs +0 -598
  133. package/lib/schemas/acteur/Acteur.json +0 -56
  134. package/lib/schemas/acteur/AdresseElectronique.json +0 -52
  135. package/lib/schemas/acteur/AdressePostale.json +0 -75
  136. package/lib/schemas/acteur/Civ.json +0 -14
  137. package/lib/schemas/acteur/Collaborateur.json +0 -29
  138. package/lib/schemas/acteur/EtatCivil.json +0 -51
  139. package/lib/schemas/acteur/Ident.json +0 -40
  140. package/lib/schemas/acteur/Lieu.json +0 -66
  141. package/lib/schemas/acteur/Mandat.json +0 -192
  142. package/lib/schemas/acteur/Profession.json +0 -46
  143. package/lib/schemas/agenda/Agenda.json +0 -318
  144. package/lib/schemas/agenda/CycleDeVie.json +0 -45
  145. package/lib/schemas/agenda/PointOdj.json +0 -82
  146. package/lib/schemas/amendement/Amendement.json +0 -246
  147. package/lib/schemas/amendement/Diff.json +0 -25
  148. package/lib/schemas/amendement/DispositifAmdtCredit.json +0 -85
  149. package/lib/schemas/amendement/Identifiant.json +0 -62
  150. package/lib/schemas/amendement/PointeurFragmentTexte.json +0 -127
  151. package/lib/schemas/amendement/Representation.json +0 -67
  152. package/lib/schemas/amendement/Total.json +0 -26
  153. package/lib/schemas/converted_from_type/acteurs_et_organes.json +0 -666
  154. package/lib/schemas/converted_from_type/agendas.json +0 -1100
  155. package/lib/schemas/converted_from_type/amendements.json +0 -3191
  156. package/lib/schemas/converted_from_type/debats.json +0 -682
  157. package/lib/schemas/converted_from_type/deputes.json +0 -26
  158. package/lib/schemas/converted_from_type/dossiers_legislatifs.json +0 -2918
  159. package/lib/schemas/converted_from_type/legislatures.json +0 -16
  160. package/lib/schemas/converted_from_type/questions.json +0 -328
  161. package/lib/schemas/converted_from_type/scrutins.json +0 -393
  162. package/lib/schemas/debat/Contenu.json +0 -75
  163. package/lib/schemas/debat/Debat.json +0 -40
  164. package/lib/schemas/debat/Metadonnees.json +0 -75
  165. package/lib/schemas/debat/Orateur.json +0 -60
  166. package/lib/schemas/debat/Point.json +0 -169
  167. package/lib/schemas/debat/Sommaire.json +0 -71
  168. package/lib/schemas/debat/SommaireElement.json +0 -108
  169. package/lib/schemas/debat/Texte.json +0 -34
  170. package/lib/schemas/document/CodeLibelle.json +0 -25
  171. package/lib/schemas/document/Document.json +0 -385
  172. package/lib/schemas/document/Indexation.json +0 -38
  173. package/lib/schemas/dossier/ActeLegislatif.json +0 -211
  174. package/lib/schemas/dossier/ActeLegislatifBase.json +0 -62
  175. package/lib/schemas/dossier/Agenda.json +0 -23
  176. package/lib/schemas/dossier/ConseilConstitutionnel.json +0 -35
  177. package/lib/schemas/dossier/Decision.json +0 -25
  178. package/lib/schemas/dossier/Dossier.json +0 -124
  179. package/lib/schemas/dossier/EtudeImpact.json +0 -29
  180. package/lib/schemas/dossier/EtudePlf.json +0 -105
  181. package/lib/schemas/dossier/Europe.json +0 -42
  182. package/lib/schemas/dossier/FamCodeLibelle.json +0 -25
  183. package/lib/schemas/dossier/InfoJO.json +0 -23
  184. package/lib/schemas/dossier/Initiateur.json +0 -36
  185. package/lib/schemas/dossier/Motion.json +0 -27
  186. package/lib/schemas/dossier/Promulgation.json +0 -62
  187. package/lib/schemas/dossier/Rapporteur.json +0 -36
  188. package/lib/schemas/dossier/Texte.json +0 -47
  189. package/lib/schemas/organe/CodeTypeOrgane.json +0 -43
  190. package/lib/schemas/organe/Organe.json +0 -136
  191. package/lib/schemas/organe/ViMoDe.json +0 -28
  192. package/lib/schemas/question/Auteur.json +0 -58
  193. package/lib/schemas/question/Cloture.json +0 -28
  194. package/lib/schemas/question/InfoJO.json +0 -40
  195. package/lib/schemas/question/MinAttribElement.json +0 -30
  196. package/lib/schemas/question/Question.json +0 -172
  197. package/lib/schemas/question/Renouvellement.json +0 -17
  198. package/lib/schemas/question/Signalement.json +0 -21
  199. package/lib/schemas/question/Texte.json +0 -24
  200. package/lib/schemas/scrutin/DecompteVoix.json +0 -35
  201. package/lib/schemas/scrutin/Dysfonctionnement.json +0 -50
  202. package/lib/schemas/scrutin/MiseAuPoint.json +0 -53
  203. package/lib/schemas/scrutin/OrganeVotant.json +0 -88
  204. package/lib/schemas/scrutin/Scrutin.json +0 -187
  205. package/lib/schemas/scrutin/Votant.json +0 -37
  206. package/lib/scripts/bugs_helper.d.ts +0 -13
  207. package/lib/scripts/bugs_helper.js +0 -595
  208. package/lib/scripts/bugs_helper.mjs +0 -251
  209. package/lib/scripts/clean_reorganized_data.js +0 -610
  210. package/lib/scripts/clean_reorganized_data.mjs +0 -273
  211. package/lib/scripts/diff_amendements.js +0 -249
  212. package/lib/scripts/diff_amendements.mjs +0 -202
  213. package/lib/scripts/document_dossiers_legislatifs.js +0 -655
  214. package/lib/scripts/document_dossiers_legislatifs.mjs +0 -414
  215. package/lib/scripts/get_today_reunions.js +0 -37
  216. package/lib/scripts/get_today_reunions.mjs +0 -31
  217. package/lib/scripts/merge_scrutins.js +0 -97
  218. package/lib/scripts/merge_scrutins.mjs +0 -47
  219. package/lib/scripts/parse_textes_lois.d.ts +0 -1
  220. package/lib/scripts/parse_textes_lois.js +0 -171
  221. package/lib/scripts/parse_textes_lois.mjs +0 -140
  222. package/lib/scripts/process_open_dataset.js +0 -301
  223. package/lib/scripts/process_open_dataset.mjs +0 -134
  224. package/lib/scripts/raw_types_from_amendements.js +0 -135
  225. package/lib/scripts/raw_types_from_amendements.mjs +0 -134
  226. package/lib/scripts/reorganize_data.js +0 -805
  227. package/lib/scripts/reorganize_data.mjs +0 -517
  228. package/lib/scripts/retrieve_deputes_photos.js +0 -310
  229. package/lib/scripts/retrieve_deputes_photos.mjs +0 -158
  230. package/lib/scripts/retrieve_documents.js +0 -547
  231. package/lib/scripts/retrieve_documents.mjs +0 -242
  232. package/lib/scripts/retrieve_open_data.js +0 -107
  233. package/lib/scripts/retrieve_open_data.mjs +0 -26
  234. package/lib/scripts/retrieve_pending_amendments.js +0 -206
  235. package/lib/scripts/retrieve_pending_amendments.mjs +0 -57
  236. package/lib/scripts/retrieve_senateurs_photos.js +0 -234
  237. package/lib/scripts/retrieve_senateurs_photos.mjs +0 -116
  238. package/lib/scripts/retrieve_textes_lois.d.ts +0 -1
  239. package/lib/scripts/retrieve_textes_lois.js +0 -240
  240. package/lib/scripts/retrieve_textes_lois.mjs +0 -85
  241. package/lib/scripts/shared/cli_helpers.js +0 -89
  242. package/lib/scripts/shared/cli_helpers.mjs +0 -81
  243. package/lib/scripts/test_iter_load.js +0 -155
  244. package/lib/scripts/test_iter_load.mjs +0 -72
  245. package/lib/scripts/test_load.js +0 -26
  246. package/lib/scripts/test_load.mjs +0 -16
  247. package/lib/scripts/test_load_big_files.js +0 -26
  248. package/lib/scripts/test_load_big_files.mjs +0 -16
  249. package/lib/scripts/validate_json.js +0 -353
  250. package/lib/scripts/validate_json.mjs +0 -184
  251. package/lib/shared_types/codes_actes.js +0 -231
  252. package/lib/shared_types/codes_actes.mjs +0 -224
  253. package/lib/strings.js +0 -16
  254. package/lib/strings.mjs +0 -7
  255. package/lib/types/acteurs_et_organes.js +0 -963
  256. package/lib/types/acteurs_et_organes.mjs +0 -904
  257. package/lib/types/agendas.js +0 -628
  258. package/lib/types/agendas.mjs +0 -575
  259. package/lib/types/amendements.js +0 -899
  260. package/lib/types/amendements.mjs +0 -842
  261. package/lib/types/debats.js +0 -619
  262. package/lib/types/debats.mjs +0 -562
  263. package/lib/types/dossiers_legislatifs.js +0 -1188
  264. package/lib/types/dossiers_legislatifs.mjs +0 -1130
  265. package/lib/types/legislatures.js +0 -17
  266. package/lib/types/legislatures.mjs +0 -10
  267. package/lib/types/questions.js +0 -454
  268. package/lib/types/questions.mjs +0 -401
  269. package/lib/types/scrutins.js +0 -556
  270. package/lib/types/scrutins.mjs +0 -503
  271. package/lib/urls.js +0 -325
  272. package/lib/urls.mjs +0 -258
  273. /package/lib/{bugs/acteur-00010/plugin.test.d.ts → scripts/add_links_to_documents.d.ts} +0 -0
  274. /package/lib/{bugs/agenda-00002/plugin.test.d.ts → scripts/copy-schemas.d.ts} +0 -0
  275. /package/lib/{bugs/agenda-00008/plugin.test.d.ts → scripts/generate-json-schemas.d.ts} +0 -0
@@ -1,62 +0,0 @@
1
- {
2
- "title": "Champs communs des actes législatifs.",
3
- "description": "",
4
-
5
- "type": "object",
6
- "properties": {
7
- "uid": {
8
- "description": "Identifiant unique de l'acte législatif.",
9
- "type": "string"
10
- },
11
- "codeActe": {
12
- "description": "Code de l'acte législatif dont la valeur dépend de `sa place dans la hiérarchie <../actes/index.html>`__.",
13
- "type": "string"
14
- },
15
- "libelleActe": {
16
- "description": "Nom et code d'un acte législatif.",
17
- "properties": {
18
- "libelleCourt": {
19
- "description": "Equivalent du nomCanonique mais plus court.",
20
- "type": "string"
21
- },
22
- "nomCanonique": {
23
- "description": "Nom de l'acte.",
24
- "type": "string"
25
- }
26
- },
27
- "type": "object"
28
- },
29
- "dateActe": {
30
- "description": "Date à laquelle l'acte a débuté.",
31
- "format": "date-time",
32
- "type": "string"
33
- },
34
- "organeRef": {
35
- "description": "Identifiant unique (uid) de `l'organe <../organe.html>`__ à l'origine de l'acte (par exemple: commission, AN, Senat, bureau, groupe politique).",
36
- "type": "string"
37
- },
38
- "provenanceRef": {
39
- "description": "Identifiant unique (uid) de `l'organe <../organe.html>`__ à l'origine du dépôt d'une initiative en navette.",
40
- "type": "string"
41
- },
42
- "voteRefs": {
43
- "description": "Liste des identifiants uniques (uid) des `votes <../scrutin.html>`__ associés à l'acte législatif.",
44
- "items": {
45
- "type": "string"
46
- },
47
- "type": "array"
48
- }
49
- },
50
-
51
- "$schema": "http://json-schema.org/draft-07/schema#",
52
- "$id": "ActeLegislatifBase.json",
53
- "$$target": ["ActeLegislatifBase.json",
54
- "ActeLegislatifBase.json#/properties/uid",
55
- "ActeLegislatifBase.json#/properties/codeActe",
56
- "ActeLegislatifBase.json#/properties/libelleActe",
57
- "ActeLegislatifBase.json#/properties/dateActe",
58
- "ActeLegislatifBase.json#/properties/organeRef",
59
- "ActeLegislatifBase.json#/properties/provenanceRef",
60
- "ActeLegislatifBase.json#/properties/voteRefs"
61
- ]
62
- }
@@ -1,23 +0,0 @@
1
- {
2
- "title": "Champs liés à l'agenda d'un acte législatif.",
3
-
4
- "type": "object",
5
- "properties": {
6
- "odjRef": {
7
- "description": "Identifiant unique de l'ordre du jour de la réunion dans `l'agenda <agenda.html>`__.",
8
- "type": "string"
9
- },
10
- "reunionRef": {
11
- "description": "Identifiant unique de la réunion dans `l'agenda <agenda.html>`__.",
12
- "type": "string"
13
- }
14
- },
15
-
16
- "$schema": "http://json-schema.org/draft-07/schema#",
17
- "$id": "Agenda.json",
18
- "$$target": [
19
- "Agenda.json",
20
- "Agenda.json#/properties/odjRef",
21
- "Agenda.json#/properties/reunionRef"
22
- ]
23
- }
@@ -1,35 +0,0 @@
1
- {
2
- "title": "Champs liés à un acte législatif concernant le conseil constitutionnel.",
3
-
4
- "type": "object",
5
- "properties": {
6
- "anneeDecision": {
7
- "description": "Année de la décision du conseil constitutionnel (2018, 2019, ...).",
8
- "type": "string"
9
- },
10
- "urlConclusion": {
11
- "description": "URL contenant le texte de la décision, sur http://www.conseil-constitutionnel.fr/",
12
- "type": "string"
13
- },
14
- "motif": {
15
- "enum": [
16
- "En application de l'article 61§2 de la Constitution"
17
- ],
18
- "type": "string"
19
- },
20
- "numDecision": {
21
- "description": "Numéro de la décision du conseil constitutionnel.",
22
- "type": "string"
23
- }
24
- },
25
-
26
- "$schema": "http://json-schema.org/draft-07/schema#",
27
- "$id": "ConseilConstitutionnel.json",
28
- "$$target": [
29
- "ConseilConstitutionnel.json",
30
- "ConseilConstitutionnel.json#/properties/anneeDecision",
31
- "ConseilConstitutionnel.json#/properties/urlConclusion",
32
- "ConseilConstitutionnel.json#/properties/motif",
33
- "ConseilConstitutionnel.json#/properties/numDecision"
34
- ]
35
- }
@@ -1,25 +0,0 @@
1
- {
2
- "title": "Décision.",
3
- "description": "Champs liés à la décision d'une `motion de censure <https://fr.wikipedia.org/wiki/Motion_de_censure>`__ ou d'un `examen de recevabilité par le bureau de l'assemblée <http://www2.assemblee-nationale.fr/decouvrir-l-assemblee/textes-de-reference/reglement-de-l-assemblee-nationale/titre-ii/premiere-partie/chapitre-ier/article-81>`__.",
4
-
5
- "type": "object",
6
- "properties": {
7
- "decision": {
8
- "$comment": "jq '.. | .decision? | select(. != null) | .libelle' $(find ../data.tricoteuses.fr/Dossiers_Legislatifs_{XIV,XV}/dossiers -name '*.json') | sort -u ; jq '. as $d | .. | select(.codeActe? != null and (.codeActe | match(\"-MOTION|-RECBUREAU\") | not) and .decision != null) | $d.uid' $(find ../data.tricoteuses.fr/Dossiers_Legislatifs_{XIV,XV}/dossiers -name '*.json') | sort -u # remove backslash before double quote",
9
- "description": "Décision concernant une motion ou décision de recevabilité par le bureau (par exemple: irrecevable, Motion rejeté(e)).",
10
- "$ref": "FamCodeLibelle.json"
11
- },
12
- "formuleDecision": {
13
- "description": "Les motifs de la décision concernant une motion ou la recevabilité par le bureau.",
14
- "type": "string"
15
- }
16
- },
17
-
18
- "$schema": "http://json-schema.org/draft-07/schema#",
19
- "$id": "Decision.json",
20
- "$$target": [
21
- "Decision.json",
22
- "Decision.json#/properties/decision",
23
- "Decision.json#/properties/formuleDecision"
24
- ]
25
- }
@@ -1,124 +0,0 @@
1
- {
2
- "title": "Dossier législatif.",
3
- "description": "Un `dossier législatif <https://www.senat.fr/recherche/aide/aide_dosleg.html>`__ comprend l'ensemble des travaux parlementaires relatifs à un texte depuis son dépôt - par le gouvernement (projet de loi), ou par un parlementaire (proposition de loi) - jusqu'à sa promulgation.",
4
-
5
- "type": "object",
6
- "additionalProperties": false,
7
- "properties": {
8
- "actesLegislatifs": {
9
- "$comment": "Discussion https://forum.en-root.org/t/comment-documenter-la-hierarchie-des-procedures-parlementaires/116",
10
- "description": "Chaque procédure est composée d'une `hiérarchie d'actes législatifs <actes/index.html>`__.",
11
- "items": {
12
- "$ref": "ActeLegislatif.json"
13
- },
14
- "type": "array"
15
- },
16
- "fusionDossier": {
17
- "description": "Le dossier parlementaire est lié à un autre. Si la cause est un 'Examen commun', les deux dossiers continuent d'évoluer indépendament. Par exemple une mission d'information peut être liée au dossier parlementaire qui représente le rapport produit par cette mission. Si la cause est 'Dossier absorbé', il devient obsolete et le dossier absorbant prend la suite. Par exemple, lorsqu'une loi ordinaire devient une loi organique, un nouveau dossier parlementaire est constitué, l'intégralité du dossier absorbé est copié dans le nouveau dossier.",
18
- "properties": {
19
- "cause": {
20
- "enum": [
21
- "Dossier absorbé",
22
- "Examen commun"
23
- ],
24
- "type": "string"
25
- },
26
- "dossierAbsorbantRef": {
27
- "description": "Identifiant unique (uid) du dossier parlementaire absorbant.",
28
- "type": "string"
29
- }
30
- },
31
- "type": "object"
32
- },
33
- "indexation": {
34
- "$ref": "Indexation.json"
35
- },
36
- "initiateur": {
37
- "description": "Les `acteurs <acteur.html>`__ à l'initiative du dossier et leurs `mandats <acteur.html#mandat>`__ au sein de l'`organe <organe.html>`__ à l'initiative du dossier.",
38
- "properties": {
39
- "acteurs": {
40
- "description": "Identifiants uniques (uid) des `acteurs <acteur.html>`__ et de leurs `mandats <acteur.html#mandat>`__",
41
- "items": {
42
- "properties": {
43
- "acteurRef": {
44
- "type": "string"
45
- },
46
- "mandatRef": {
47
- "type": "string"
48
- }
49
- },
50
- "type": "object"
51
- },
52
- "type": "array"
53
- },
54
- "organeRef": {
55
- "description": "Identifiant unique (uid) de l'`organe <organe.html>`__ à l'initiative du dossier.",
56
- "type": "string"
57
- }
58
- },
59
- "type": "object"
60
- },
61
- "legislature": {
62
- "description": "Numéro de `la législature <https://fr.wikipedia.org/wiki/Liste_des_l%C3%A9gislatures_fran%C3%A7aises>`__ sous laquelle a été créé le dossier. Nombre entier.",
63
- "type": "string"
64
- },
65
- "plf": {
66
- "description": "Liste des études réalisées pour un `projet de loi de finances <https://fr.wikipedia.org/wiki/Loi_de_finances_en_France>`__.",
67
- "items": {
68
- "$ref": "EtudePlf.json"
69
- },
70
- "type": "array"
71
- },
72
- "procedureParlementaire": {
73
- "description": "Code et libellé de la `procédure législative <http://www2.assemblee-nationale.fr/decouvrir-l-assemblee/role-et-pouvoirs-de-l-assemblee-nationale/les-fonctions-de-l-assemblee-nationale/les-fonctions-legislatives/la-procedure-legislative>`__.",
74
- "$ref": "CodeLibelle.json"
75
- },
76
- "titreDossier": {
77
- "description": "Meta information sur le dossier législatif.",
78
- "properties": {
79
- "senatChemin": {
80
- "description": "URL du dossier législatif sur le site du Sénat.",
81
- "type": "string"
82
- },
83
- "titre": {
84
- "description": "Titre du dossier législatif.",
85
- "type": "string"
86
- },
87
- "titreChemin": {
88
- "description": "Chemin permettant de construire l'URL du dossier législatif sur le site de l'Assemblée nationale: http://www.assemblee-nationale.fr/dyn/**legislature**/dossiers/**titreChemin**",
89
- "type": "string"
90
- }
91
- },
92
- "type": "object"
93
- },
94
- "uid": {
95
- "description": "Identifiant unique.",
96
- "type": "string"
97
- },
98
- "schemaVersion": {
99
- "type": "string"
100
- },
101
- "xsiType": {
102
- "enum": [
103
- "DossierCommissionEnquete_Type",
104
- "DossierIniativeExecutif_Type",
105
- "DossierLegislatif_Type",
106
- "DossierMissionControle_Type",
107
- "DossierMissionInformation_Type",
108
- "DossierResolutionAN"
109
- ],
110
- "type": "string"
111
- }
112
- },
113
- "required": [
114
- "uid",
115
- "legislature",
116
- "titreDossier",
117
- "procedureParlementaire",
118
- "actesLegislatifs"
119
- ],
120
-
121
- "$schema": "http://json-schema.org/draft-07/schema#",
122
- "$id": "Dossier.json",
123
- "$$target": "Dossier.json"
124
- }
@@ -1,29 +0,0 @@
1
- {
2
- "title": "Étude d'impact.",
3
- "description": "Champs liés à une étude d'impact.",
4
-
5
- "type": "object",
6
- "properties": {
7
- "contributionInternaute": {
8
- "description": "L'`étude d'impact <https://fr.wikipedia.org/wiki/Processus_l%C3%A9gislatif_en_France#%C3%89tude_d'impact>`__ d'un projet de loi peut recueillir des contributions volontaires recueillies sur Internet et dont la synthèse sera incluse dans le texte publié.",
9
- "properties": {
10
- "dateFermeture": {
11
- "description": "Date de fermeture des contributions.",
12
- "type": "string"
13
- },
14
- "dateOuverture": {
15
- "description": "Date d'ouverture des contributions.",
16
- "type": "string"
17
- }
18
- },
19
- "type": "object"
20
- }
21
- },
22
-
23
- "$schema": "http://json-schema.org/draft-07/schema#",
24
- "$id": "EtudeImpact.json",
25
- "$$target": [
26
- "EtudeImpact.json",
27
- "EtudeImpact.json#/properties/contributionInternaute"
28
- ]
29
- }
@@ -1,105 +0,0 @@
1
- {
2
- "title": "Étude du projet de loi de finance.",
3
- "description": "Une étude du projet de loi de finance détermine le budget général d'une `mission <https://www.performance-publique.budget.gouv.fr/ressources-documentaires/documentation-budgetaire/chiffres-cles-budget-etat>`__ (par exemple Éducation, Défense, etc.).",
4
-
5
- "type": "object",
6
- "additionalProperties": false,
7
- "properties": {
8
- "missionMinefi": {
9
- "$comment": "Discussion https://forum.en-root.org/t/signification-du-champ-missionminefi-dans-un-plf/",
10
- "description": "Étude réalisée pour le compte du ministère de l'économie et des finances.",
11
- "type": "object",
12
- "additionalProperties": false,
13
- "properties": {
14
- "libelleCourt": {
15
- "description": "Nom de la `mission de l'état <https://www.performance-publique.budget.gouv.fr/ressources-documentaires/documentation-budgetaire/chiffres-cles-budget-etat>`__ à laquelle se rapporte l'étude.",
16
- "type": "string"
17
- },
18
- "libelleLong": {
19
- "description": "Le contenu de ce champ n'est pas défini.",
20
- "$comment": "Discussion https://forum.en-root.org/t/signification-du-champ-libellelong-dans-un-plf/",
21
- "type": "string"
22
- },
23
- "missions": {
24
- "description": "Des missions secondaires (ou partie de mission) peuvent subsdiviser une mission principale. Par exemple la mission principale *Action extérieure* de l'État peut contenir une partie de mission *Tourisme* qui dispose de son propre budget.",
25
- "items": {
26
- "$ref": "#/properties/missionMinefi"
27
- },
28
- "type": "array"
29
- },
30
- "typeBudget": {
31
- "description": "Le contenu de ce champ n'est pas défini.",
32
- "$comment": "Discussion https://forum.en-root.org/t/signification-du-champ-typebudget-dans-un-plf/",
33
- "enum": [
34
- "Budget annexe",
35
- "Budget général",
36
- "Compte de concours financier",
37
- "Compte spécial",
38
- "Première partie"
39
- ],
40
- "type": "string"
41
- },
42
- "typeMission": {
43
- "description": "Au premier niveau le type est toujours 'mission principale', au second niveau (c'est à dire inclus dans la liste **missions**) le type peut être 'mission secondaire' ou 'partie de mission'.",
44
- "$comment": "Discussion https://forum.en-root.org/t/signification-du-champ-typemission-dans-un-plf/",
45
- "enum": [
46
- "mission principale",
47
- "mission secondaire",
48
- "partie de mission"
49
- ],
50
- "type": "string"
51
- }
52
- },
53
- "required": [
54
- "typeMission",
55
- "libelleLong",
56
- "libelleCourt",
57
- "typeBudget"
58
- ]
59
- },
60
- "ordreCommission": {
61
- "description": "Le contenu de ce champ n'est pas défini.",
62
- "$comment": "Discussion https://forum.en-root.org/t/signification-du-champ-ordrecommission-dans-un-plf/108",
63
- "type": "string"
64
- },
65
- "ordreDiqs": {
66
- "description": "Le contenu de ce champ n'est pas défini.",
67
- "$comment": "Discussion https://forum.en-root.org/t/signification-du-champ-ordrediqs-dans-un-plf/",
68
- "type": "string"
69
- },
70
- "organeRef": {
71
- "description": "Identifiant unique (uid) de la `commission qui réalise l'étude <organe.html>`__.",
72
- "type": "string"
73
- },
74
- "rapporteurs": {
75
- "description": "Rapporteurs des études du projet de loi de finance.",
76
- "type": "object",
77
- "additionalProperties": false,
78
- "items": {
79
- "$ref": "Rapporteur.json"
80
- },
81
- "type": "array"
82
- },
83
- "texteAssocie": {
84
- "description": "Identifiant unique (uid) du `document <document.html>`__.",
85
- "type": "string"
86
- },
87
- "uid": {
88
- "description": "Identifiant unique.",
89
- "type": "string"
90
- }
91
- },
92
- "required": [
93
- "uid",
94
- "organeRef",
95
- "ordreDiqs",
96
- "ordreCommission"
97
- ],
98
-
99
- "$schema": "http://json-schema.org/draft-07/schema#",
100
- "$id": "EtudePlf.json",
101
- "$$target": [
102
- "EtudePlf.json",
103
- "#/properties/missionMinefi"
104
- ]
105
- }
@@ -1,42 +0,0 @@
1
- {
2
- "title": "Champs liés à un acte législatif concernant l'Europe.",
3
-
4
- "type": "object",
5
- "properties": {
6
- "infoJoce": {
7
- "description": "Informations relatives à une publication du `Journal officiel de l'Union européenne <https://fr.wikipedia.org/wiki/Journal_officiel_de_l%27Union_europ%C3%A9enne>`__ qui permet de le retrouver en faisant `une recherche sur le site <https://eur-lex.europa.eu/oj/direct-access.html>`__. Un exemplaire du journal officiel contient plusieurs textes.",
8
- "properties": {
9
- "dateJoce": {
10
- "description": "Date de la publication du `Journal officiel de l'Union européenne <https://fr.wikipedia.org/wiki/Journal_officiel_de_l%27Union_europ%C3%A9enne>`__.",
11
- "type": "string"
12
- },
13
- "refJoce": {
14
- "description": "Référence du `Journal officiel de l'Union européenne <https://fr.wikipedia.org/wiki/Journal_officiel_de_l%27Union_europ%C3%A9enne>`__, de la forme L suivit d'un numéro.",
15
- "type": "string"
16
- }
17
- },
18
- "type": "object"
19
- },
20
- "texteEuropeen": {
21
- "properties": {
22
- "titreTexteEuropeen": {
23
- "description": "Titre du texte publié dans un numéro du `Journal officiel de l'Union européenne <https://fr.wikipedia.org/wiki/Journal_officiel_de_l%27Union_europ%C3%A9enne>`__.",
24
- "type": "string"
25
- },
26
- "typeTexteEuropeen": {
27
- "description": "Type du texte européen (par exemple: Règlement de la Commission).",
28
- "type": "string"
29
- }
30
- },
31
- "type": "object"
32
- }
33
- },
34
-
35
- "$schema": "http://json-schema.org/draft-07/schema#",
36
- "$id": "Europe.json",
37
- "$$target": [
38
- "Europe.json",
39
- "Europe.json#/properties/infoJoce",
40
- "Europe.json#/properties/texteEuropeen"
41
- ]
42
- }
@@ -1,25 +0,0 @@
1
- {
2
- "title": "Code et libellé.",
3
- "description": "Code et libellé associé dont la signification dépend du champ dans lequel ils sont inclus.",
4
-
5
- "type": "object",
6
- "additionalProperties": false,
7
- "properties": {
8
- "famCode": {
9
- "description": "Code unique pour traitement automatisé.",
10
- "type": "string"
11
- },
12
- "libelle": {
13
- "description": "Signification du code.",
14
- "type": "string"
15
- }
16
- },
17
- "required": [
18
- "famCode",
19
- "libelle"
20
- ],
21
-
22
- "$schema": "http://json-schema.org/draft-07/schema#",
23
- "$id": "FamCodeLibelle.json",
24
- "$$target": "FamCodeLibelle.json"
25
- }
@@ -1,23 +0,0 @@
1
- {
2
- "title": "Champs liés à la publication d'un texte promulgué au journal officiel.",
3
-
4
- "type": "object",
5
- "properties": {
6
- "referenceNor": {
7
- "description": "Numéro `NOR <https://fr.wikipedia.org/wiki/Syst%C3%A8me_NOR>`__ attribué au texte promulgué.",
8
- "type": "string"
9
- },
10
- "urlLegifrance": {
11
- "description": "URL du texte promulgué sur le site https://www.legifrance.gouv.fr/",
12
- "type": "string"
13
- }
14
- },
15
-
16
- "$schema": "http://json-schema.org/draft-07/schema#",
17
- "$id": "InfoJO.json",
18
- "$$target": [
19
- "InfoJO.json",
20
- "InfoJO.json#/properties/referenceNor",
21
- "InfoJO.json#/properties/urlLegifrance"
22
- ]
23
- }
@@ -1,36 +0,0 @@
1
- {
2
- "title": "Champs liés aux initiateurs d'un acte législatif.",
3
-
4
- "type": "object",
5
- "properties": {
6
- "initiateur": {
7
- "description": "Identifiants uniques (uid) des `acteurs <../acteur.html>`__ qui ont initiés un acte législatif et le `mandats <../acteur.html#mandat>`__ qui leur permettait de le faire.",
8
- "properties": {
9
- "acteurs": {
10
- "items": {
11
- "properties": {
12
- "acteurRef": {
13
- "description": "Identifiants uniques (uid) de l'`acteur <../acteur.html>`__.",
14
- "type": "string"
15
- },
16
- "organeRef": {
17
- "description": "Identifiants uniques (uid) du `mandat <../acteur.html#mandat>`__.",
18
- "type": "string"
19
- }
20
- },
21
- "type": "object"
22
- },
23
- "type": "array"
24
- }
25
- },
26
- "type": "object"
27
- }
28
- },
29
-
30
- "$schema": "http://json-schema.org/draft-07/schema#",
31
- "$id": "Initiateur.json",
32
- "$$target": [
33
- "Initiateur.json",
34
- "Initiateur.json#/properties/initiateur"
35
- ]
36
- }
@@ -1,27 +0,0 @@
1
- {
2
- "title": "Champs liés à un acte législatif concernant une motion.",
3
-
4
- "type": "object",
5
- "properties": {
6
- "auteurMotion": {
7
- "description": "Identifiant unique (uid) de `l'acteur <acteur.html>`__ auteur de la motion.",
8
- "type": "string"
9
- },
10
- "auteursRefs": {
11
- "$comment": "jq '. as $d | .. | select(.codeActe? != null and (.codeActe | contains(\"-MOTION\") | not) and .auteursRefs != null) | $d.uid' $(find ../data.tricoteuses.fr/Dossiers_Legislatifs_{XIV,XV}/dossiers -name '*.json') # should be empty to demonstrate the field scope is limited even though its name suggests it could apply to more contexts. remove backslashes before double quotes to execute the oneliner propery",
12
- "description": "Liste des identifiants uniques (uid) des `acteurs <acteur.html>`__ auteurs de la motion de censure ou de la motion référendaire.",
13
- "items": {
14
- "type": "string"
15
- },
16
- "type": "array"
17
- }
18
- },
19
-
20
- "$schema": "http://json-schema.org/draft-07/schema#",
21
- "$id": "Motion.json",
22
- "$$target": [
23
- "Motion.json",
24
- "Motion.json#/properties/auteurMotion",
25
- "Motion.json#/properties/auteursRefs"
26
- ]
27
- }
@@ -1,62 +0,0 @@
1
- {
2
- "title": "Champs liés à la promulgation d'un texte.",
3
-
4
- "type": "object",
5
- "properties": {
6
- "codeLoi": {
7
- "description": "Identifiant unique de la loi promulguée.",
8
- "type": "string"
9
- },
10
- "infoJo": {
11
- "description": "Informations sur la publication du texte promulgué au `journal officiel <https://fr.wikipedia.org/wiki/Journal_officiel_de_la_R%C3%A9publique_fran%C3%A7aise>`__.",
12
- "properties": {
13
- "dateJo": {
14
- "description": "Date de publication du texte promulgué au `journal officiel <https://fr.wikipedia.org/wiki/Journal_officiel_de_la_R%C3%A9publique_fran%C3%A7aise>`__.",
15
- "type": "string"
16
- },
17
- "numJo": {
18
- "description": "Numéro du `journal officiel <https://fr.wikipedia.org/wiki/Journal_officiel_de_la_R%C3%A9publique_fran%C3%A7aise>`__ dans lequel le texte promulgué a été publié.",
19
- "type": "string"
20
- },
21
- "referenceNor": {
22
- "$ref": "InfoJO.json#/properties/referenceNor"
23
- },
24
- "typeJo": {
25
- "enum": [
26
- "JO_LOI_DECRET"
27
- ],
28
- "type": "string"
29
- },
30
- "urlLegifrance": {
31
- "$ref": "InfoJO.json#/properties/urlLegifrance"
32
- }
33
- },
34
- "type": "object"
35
- },
36
- "texteLoiRef": {
37
- "description": "Le contenu de ce champ n'est pas défini.",
38
- "$comment": "Discussion https://forum.en-root.org/t/signification-du-champ-texteloiref-dans-un-dossier/205",
39
- "type": "string"
40
- },
41
- "titreLoi": {
42
- "description": "Titre du projet de loi promulgué.",
43
- "type": "string"
44
- },
45
- "urlEcheancierLoi": {
46
- "description": "URL vers l’échéancier d’application de la loi sur le site du legifrance.gouv.fr (rarement renseigné).",
47
- "$comment": "Discussion https://forum.en-root.org/t/signification-du-champ-texteloiref-dans-un-dossier/205",
48
- "type": "string"
49
- }
50
- },
51
-
52
- "$schema": "http://json-schema.org/draft-07/schema#",
53
- "$id": "Promulgation.json",
54
- "$$target": [
55
- "Promulgation.json",
56
- "Promulgation.json#/properties/codeLoi",
57
- "Promulgation.json#/properties/infoJo",
58
- "Promulgation.json#/properties/texteLoiRef",
59
- "Promulgation.json#/properties/titreLoi",
60
- "Promulgation.json#/properties/urlEcheancierLoi"
61
- ]
62
- }
@@ -1,36 +0,0 @@
1
- {
2
- "title": "Rapporteur.",
3
-
4
- "type": "object",
5
- "additionalProperties": false,
6
- "properties": {
7
- "acteurRef": {
8
- "description": "Identifiant unique (uid) du `rapporteur <acteur.html>`__.",
9
- "type": "string"
10
- },
11
- "etudePlfRef": {
12
- "description": "Identifiant unique (uid) de l'`étude <document.html>`__ relative à un projet de loi de finance.",
13
- "type": "string"
14
- },
15
- "typeRapporteur": {
16
- "description": "Un 'rapporteur spécial' produit un rapport (texteAssocie débute par RAPP) ou une étude (texteAssocie débute par ETDR) alors qu'un 'rapporteur pour avis' produit un avis (texteAssocie débute par AVIS)",
17
- "$comment": "Discussion https://forum.en-root.org/t/signification-du-champ-typerapporteur-dans-un-plf/",
18
- "enum": [
19
- "auteur",
20
- "rapporteur",
21
- "rapporteur général",
22
- "rapporteur pour avis",
23
- "rapporteur spécial"
24
- ],
25
- "type": "string"
26
- }
27
- },
28
- "required": [
29
- "acteurRef",
30
- "typeRapporteur"
31
- ],
32
-
33
- "$schema": "http://json-schema.org/draft-07/schema#",
34
- "$id": "Rapporteur.json",
35
- "$$target": "Rapporteur.json"
36
- }