@tricoteuses/assemblee 1.10.5 → 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 (274) 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/debats.d.ts +2 -2
  22. package/lib/raw_types/dossiers_legislatifs.d.ts +1 -1
  23. package/lib/schemas/acteurs_et_organes.json +1166 -0
  24. package/lib/schemas/agendas.json +1745 -0
  25. package/lib/schemas/amendements.json +2085 -0
  26. package/lib/schemas/debats.json +842 -0
  27. package/lib/schemas/dossiers_legislatifs.json +3874 -0
  28. package/lib/schemas/legislatures.json +17 -0
  29. package/lib/schemas/questions.json +704 -0
  30. package/lib/schemas/scrutins.json +701 -0
  31. package/lib/scripts/retrieve_deputes_photos.d.ts +1 -1
  32. package/lib/types/acteurs_et_organes.d.ts +340 -0
  33. package/lib/types/agendas.d.ts +236 -10
  34. package/lib/types/amendements.d.ts +276 -1
  35. package/lib/types/debats.d.ts +52 -2
  36. package/lib/types/dossiers_legislatifs.d.ts +403 -9
  37. package/lib/types/questions.d.ts +99 -2
  38. package/lib/types/scrutins.d.ts +101 -0
  39. package/lib/urls.d.ts +2 -2
  40. package/package.json +32 -94
  41. package/lib/api.js +0 -52
  42. package/lib/api.mjs +0 -45
  43. package/lib/bugs/acteur-00010/plugin.test.js +0 -90
  44. package/lib/bugs/acteur-00010/plugin.test.mjs +0 -33
  45. package/lib/bugs/acteur-00010.d.ts +0 -7
  46. package/lib/bugs/acteur-00010.js +0 -116
  47. package/lib/bugs/acteur-00010.mjs +0 -26
  48. package/lib/bugs/agenda-00002/plugin.test.js +0 -124
  49. package/lib/bugs/agenda-00002/plugin.test.mjs +0 -50
  50. package/lib/bugs/agenda-00002.d.ts +0 -15
  51. package/lib/bugs/agenda-00002.js +0 -406
  52. package/lib/bugs/agenda-00002.mjs +0 -172
  53. package/lib/bugs/agenda-00008/plugin.test.js +0 -92
  54. package/lib/bugs/agenda-00008/plugin.test.mjs +0 -31
  55. package/lib/bugs/agenda-00008.d.ts +0 -7
  56. package/lib/bugs/agenda-00008.js +0 -123
  57. package/lib/bugs/agenda-00008.mjs +0 -26
  58. package/lib/bugs/agenda-00011/plugin.test.d.ts +0 -1
  59. package/lib/bugs/agenda-00011/plugin.test.js +0 -263
  60. package/lib/bugs/agenda-00011/plugin.test.mjs +0 -152
  61. package/lib/bugs/agenda-00011.d.ts +0 -16
  62. package/lib/bugs/agenda-00011.js +0 -333
  63. package/lib/bugs/agenda-00011.mjs +0 -125
  64. package/lib/bugs.d.ts +0 -21
  65. package/lib/bugs.js +0 -452
  66. package/lib/bugs.mjs +0 -70
  67. package/lib/cleaners/actes_legislatifs.js +0 -315
  68. package/lib/cleaners/actes_legislatifs.mjs +0 -253
  69. package/lib/cleaners/acteurs.js +0 -265
  70. package/lib/cleaners/acteurs.mjs +0 -180
  71. package/lib/cleaners/amendements.js +0 -294
  72. package/lib/cleaners/amendements.mjs +0 -227
  73. package/lib/cleaners/debats.js +0 -12
  74. package/lib/cleaners/debats.mjs +0 -5
  75. package/lib/cleaners/documents.js +0 -205
  76. package/lib/cleaners/documents.mjs +0 -133
  77. package/lib/cleaners/dossiers_legislatifs.js +0 -131
  78. package/lib/cleaners/dossiers_legislatifs.mjs +0 -70
  79. package/lib/cleaners/index.js +0 -70
  80. package/lib/cleaners/index.mjs +0 -10
  81. package/lib/cleaners/organes.js +0 -65
  82. package/lib/cleaners/organes.mjs +0 -48
  83. package/lib/cleaners/questions.js +0 -12
  84. package/lib/cleaners/questions.mjs +0 -5
  85. package/lib/cleaners/reunions.js +0 -312
  86. package/lib/cleaners/reunions.mjs +0 -255
  87. package/lib/cleaners/scrutins.js +0 -340
  88. package/lib/cleaners/scrutins.mjs +0 -221
  89. package/lib/cleaners/xml.js +0 -74
  90. package/lib/cleaners/xml.mjs +0 -59
  91. package/lib/datasets.js +0 -837
  92. package/lib/datasets.mjs +0 -755
  93. package/lib/dates.js +0 -124
  94. package/lib/dates.mjs +0 -100
  95. package/lib/dossiers_legislatifs.js +0 -346
  96. package/lib/dossiers_legislatifs.mjs +0 -208
  97. package/lib/file_systems.js +0 -162
  98. package/lib/file_systems.mjs +0 -62
  99. package/lib/git.js +0 -223
  100. package/lib/git.mjs +0 -151
  101. package/lib/index.mjs +0 -17
  102. package/lib/inserters.js +0 -521
  103. package/lib/inserters.mjs +0 -337
  104. package/lib/loaders.mjs +0 -886
  105. package/lib/logger.js +0 -35
  106. package/lib/logger.mjs +0 -26
  107. package/lib/organes.js +0 -22
  108. package/lib/organes.mjs +0 -15
  109. package/lib/parsers/documents.d.ts +0 -62
  110. package/lib/parsers/documents.js +0 -453
  111. package/lib/parsers/documents.mjs +0 -370
  112. package/lib/parsers/index.js +0 -40
  113. package/lib/parsers/index.mjs +0 -4
  114. package/lib/parsers/recherche_amendements.js +0 -403
  115. package/lib/parsers/recherche_amendements.mjs +0 -167
  116. package/lib/parsers/textes_lois.js +0 -307
  117. package/lib/parsers/textes_lois.mjs +0 -264
  118. package/lib/raw_types/acteurs_et_organes.js +0 -1215
  119. package/lib/raw_types/acteurs_et_organes.mjs +0 -1148
  120. package/lib/raw_types/agendas.js +0 -777
  121. package/lib/raw_types/agendas.mjs +0 -724
  122. package/lib/raw_types/amendements.js +0 -1052
  123. package/lib/raw_types/amendements.mjs +0 -993
  124. package/lib/raw_types/debats.js +0 -630
  125. package/lib/raw_types/debats.mjs +0 -573
  126. package/lib/raw_types/dossiers_legislatifs.js +0 -1529
  127. package/lib/raw_types/dossiers_legislatifs.mjs +0 -1471
  128. package/lib/raw_types/questions.js +0 -469
  129. package/lib/raw_types/questions.mjs +0 -416
  130. package/lib/raw_types/scrutins.js +0 -651
  131. package/lib/raw_types/scrutins.mjs +0 -598
  132. package/lib/schemas/acteur/Acteur.json +0 -56
  133. package/lib/schemas/acteur/AdresseElectronique.json +0 -52
  134. package/lib/schemas/acteur/AdressePostale.json +0 -75
  135. package/lib/schemas/acteur/Civ.json +0 -14
  136. package/lib/schemas/acteur/Collaborateur.json +0 -29
  137. package/lib/schemas/acteur/EtatCivil.json +0 -51
  138. package/lib/schemas/acteur/Ident.json +0 -40
  139. package/lib/schemas/acteur/Lieu.json +0 -66
  140. package/lib/schemas/acteur/Mandat.json +0 -192
  141. package/lib/schemas/acteur/Profession.json +0 -46
  142. package/lib/schemas/agenda/Agenda.json +0 -318
  143. package/lib/schemas/agenda/CycleDeVie.json +0 -45
  144. package/lib/schemas/agenda/PointOdj.json +0 -82
  145. package/lib/schemas/amendement/Amendement.json +0 -246
  146. package/lib/schemas/amendement/Diff.json +0 -25
  147. package/lib/schemas/amendement/DispositifAmdtCredit.json +0 -85
  148. package/lib/schemas/amendement/Identifiant.json +0 -62
  149. package/lib/schemas/amendement/PointeurFragmentTexte.json +0 -127
  150. package/lib/schemas/amendement/Representation.json +0 -67
  151. package/lib/schemas/amendement/Total.json +0 -26
  152. package/lib/schemas/converted_from_type/acteurs_et_organes.json +0 -666
  153. package/lib/schemas/converted_from_type/agendas.json +0 -1100
  154. package/lib/schemas/converted_from_type/amendements.json +0 -3191
  155. package/lib/schemas/converted_from_type/debats.json +0 -682
  156. package/lib/schemas/converted_from_type/deputes.json +0 -26
  157. package/lib/schemas/converted_from_type/dossiers_legislatifs.json +0 -2918
  158. package/lib/schemas/converted_from_type/legislatures.json +0 -16
  159. package/lib/schemas/converted_from_type/questions.json +0 -328
  160. package/lib/schemas/converted_from_type/scrutins.json +0 -393
  161. package/lib/schemas/debat/Contenu.json +0 -75
  162. package/lib/schemas/debat/Debat.json +0 -40
  163. package/lib/schemas/debat/Metadonnees.json +0 -75
  164. package/lib/schemas/debat/Orateur.json +0 -60
  165. package/lib/schemas/debat/Point.json +0 -169
  166. package/lib/schemas/debat/Sommaire.json +0 -71
  167. package/lib/schemas/debat/SommaireElement.json +0 -108
  168. package/lib/schemas/debat/Texte.json +0 -34
  169. package/lib/schemas/document/CodeLibelle.json +0 -25
  170. package/lib/schemas/document/Document.json +0 -385
  171. package/lib/schemas/document/Indexation.json +0 -38
  172. package/lib/schemas/dossier/ActeLegislatif.json +0 -211
  173. package/lib/schemas/dossier/ActeLegislatifBase.json +0 -62
  174. package/lib/schemas/dossier/Agenda.json +0 -23
  175. package/lib/schemas/dossier/ConseilConstitutionnel.json +0 -35
  176. package/lib/schemas/dossier/Decision.json +0 -25
  177. package/lib/schemas/dossier/Dossier.json +0 -124
  178. package/lib/schemas/dossier/EtudeImpact.json +0 -29
  179. package/lib/schemas/dossier/EtudePlf.json +0 -105
  180. package/lib/schemas/dossier/Europe.json +0 -42
  181. package/lib/schemas/dossier/FamCodeLibelle.json +0 -25
  182. package/lib/schemas/dossier/InfoJO.json +0 -23
  183. package/lib/schemas/dossier/Initiateur.json +0 -36
  184. package/lib/schemas/dossier/Motion.json +0 -27
  185. package/lib/schemas/dossier/Promulgation.json +0 -62
  186. package/lib/schemas/dossier/Rapporteur.json +0 -36
  187. package/lib/schemas/dossier/Texte.json +0 -47
  188. package/lib/schemas/organe/CodeTypeOrgane.json +0 -43
  189. package/lib/schemas/organe/Organe.json +0 -136
  190. package/lib/schemas/organe/ViMoDe.json +0 -28
  191. package/lib/schemas/question/Auteur.json +0 -58
  192. package/lib/schemas/question/Cloture.json +0 -28
  193. package/lib/schemas/question/InfoJO.json +0 -40
  194. package/lib/schemas/question/MinAttribElement.json +0 -30
  195. package/lib/schemas/question/Question.json +0 -172
  196. package/lib/schemas/question/Renouvellement.json +0 -17
  197. package/lib/schemas/question/Signalement.json +0 -21
  198. package/lib/schemas/question/Texte.json +0 -24
  199. package/lib/schemas/scrutin/DecompteVoix.json +0 -35
  200. package/lib/schemas/scrutin/Dysfonctionnement.json +0 -50
  201. package/lib/schemas/scrutin/MiseAuPoint.json +0 -53
  202. package/lib/schemas/scrutin/OrganeVotant.json +0 -88
  203. package/lib/schemas/scrutin/Scrutin.json +0 -187
  204. package/lib/schemas/scrutin/Votant.json +0 -37
  205. package/lib/scripts/bugs_helper.d.ts +0 -13
  206. package/lib/scripts/bugs_helper.js +0 -595
  207. package/lib/scripts/bugs_helper.mjs +0 -251
  208. package/lib/scripts/clean_reorganized_data.js +0 -613
  209. package/lib/scripts/clean_reorganized_data.mjs +0 -276
  210. package/lib/scripts/diff_amendements.js +0 -249
  211. package/lib/scripts/diff_amendements.mjs +0 -202
  212. package/lib/scripts/document_dossiers_legislatifs.js +0 -655
  213. package/lib/scripts/document_dossiers_legislatifs.mjs +0 -414
  214. package/lib/scripts/get_today_reunions.js +0 -37
  215. package/lib/scripts/get_today_reunions.mjs +0 -31
  216. package/lib/scripts/merge_scrutins.js +0 -97
  217. package/lib/scripts/merge_scrutins.mjs +0 -47
  218. package/lib/scripts/parse_textes_lois.d.ts +0 -1
  219. package/lib/scripts/parse_textes_lois.js +0 -171
  220. package/lib/scripts/parse_textes_lois.mjs +0 -140
  221. package/lib/scripts/process_open_dataset.js +0 -301
  222. package/lib/scripts/process_open_dataset.mjs +0 -134
  223. package/lib/scripts/raw_types_from_amendements.js +0 -135
  224. package/lib/scripts/raw_types_from_amendements.mjs +0 -134
  225. package/lib/scripts/reorganize_data.js +0 -805
  226. package/lib/scripts/reorganize_data.mjs +0 -517
  227. package/lib/scripts/retrieve_deputes_photos.js +0 -310
  228. package/lib/scripts/retrieve_deputes_photos.mjs +0 -158
  229. package/lib/scripts/retrieve_documents.js +0 -547
  230. package/lib/scripts/retrieve_documents.mjs +0 -242
  231. package/lib/scripts/retrieve_open_data.js +0 -107
  232. package/lib/scripts/retrieve_open_data.mjs +0 -26
  233. package/lib/scripts/retrieve_pending_amendments.js +0 -206
  234. package/lib/scripts/retrieve_pending_amendments.mjs +0 -57
  235. package/lib/scripts/retrieve_senateurs_photos.js +0 -234
  236. package/lib/scripts/retrieve_senateurs_photos.mjs +0 -116
  237. package/lib/scripts/retrieve_textes_lois.d.ts +0 -1
  238. package/lib/scripts/retrieve_textes_lois.js +0 -240
  239. package/lib/scripts/retrieve_textes_lois.mjs +0 -85
  240. package/lib/scripts/shared/cli_helpers.js +0 -89
  241. package/lib/scripts/shared/cli_helpers.mjs +0 -81
  242. package/lib/scripts/test_iter_load.js +0 -155
  243. package/lib/scripts/test_iter_load.mjs +0 -72
  244. package/lib/scripts/test_load.js +0 -26
  245. package/lib/scripts/test_load.mjs +0 -16
  246. package/lib/scripts/test_load_big_files.js +0 -26
  247. package/lib/scripts/test_load_big_files.mjs +0 -16
  248. package/lib/scripts/validate_json.js +0 -353
  249. package/lib/scripts/validate_json.mjs +0 -184
  250. package/lib/shared_types/codes_actes.js +0 -231
  251. package/lib/shared_types/codes_actes.mjs +0 -224
  252. package/lib/strings.js +0 -16
  253. package/lib/strings.mjs +0 -7
  254. package/lib/types/acteurs_et_organes.js +0 -965
  255. package/lib/types/acteurs_et_organes.mjs +0 -906
  256. package/lib/types/agendas.js +0 -628
  257. package/lib/types/agendas.mjs +0 -575
  258. package/lib/types/amendements.js +0 -899
  259. package/lib/types/amendements.mjs +0 -842
  260. package/lib/types/debats.js +0 -619
  261. package/lib/types/debats.mjs +0 -562
  262. package/lib/types/dossiers_legislatifs.js +0 -1188
  263. package/lib/types/dossiers_legislatifs.mjs +0 -1130
  264. package/lib/types/legislatures.js +0 -17
  265. package/lib/types/legislatures.mjs +0 -10
  266. package/lib/types/questions.js +0 -454
  267. package/lib/types/questions.mjs +0 -401
  268. package/lib/types/scrutins.js +0 -556
  269. package/lib/types/scrutins.mjs +0 -503
  270. package/lib/urls.js +0 -325
  271. package/lib/urls.mjs +0 -258
  272. /package/lib/{bugs/acteur-00010/plugin.test.d.ts → scripts/add_links_to_documents.d.ts} +0 -0
  273. /package/lib/{bugs/agenda-00002/plugin.test.d.ts → scripts/copy-schemas.d.ts} +0 -0
  274. /package/lib/{bugs/agenda-00008/plugin.test.d.ts → scripts/generate-json-schemas.d.ts} +0 -0
@@ -1,393 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "definitions": {
4
- "CausePositionVote": {
5
- "enum": [
6
- "MG",
7
- "PAN",
8
- "PSE"
9
- ],
10
- "type": "string"
11
- },
12
- "Code": {
13
- "enum": [
14
- "adopté",
15
- "rejeté"
16
- ],
17
- "type": "string"
18
- },
19
- "CodeTypeVote": {
20
- "enum": [
21
- "MOC",
22
- "SAT",
23
- "SPO",
24
- "SPS",
25
- "SSG"
26
- ],
27
- "type": "string"
28
- },
29
- "Convert": {
30
- "type": "object"
31
- },
32
- "DecompteNominatif": {
33
- "properties": {
34
- "abstentions": {
35
- "items": {
36
- "$ref": "#/definitions/Votant"
37
- },
38
- "type": "array"
39
- },
40
- "contre": {
41
- "items": {
42
- "$ref": "#/definitions/Votant"
43
- },
44
- "type": "array"
45
- },
46
- "nonVotants": {
47
- "items": {
48
- "$ref": "#/definitions/Votant"
49
- },
50
- "type": "array"
51
- },
52
- "pour": {
53
- "items": {
54
- "$ref": "#/definitions/Votant"
55
- },
56
- "type": "array"
57
- }
58
- },
59
- "type": "object"
60
- },
61
- "DecompteVoix": {
62
- "properties": {
63
- "abstentions": {
64
- "type": "string"
65
- },
66
- "contre": {
67
- "type": "string"
68
- },
69
- "nonVotants": {
70
- "type": "string"
71
- },
72
- "nonVotantsVolontaires": {
73
- "type": "string"
74
- },
75
- "pour": {
76
- "type": "string"
77
- }
78
- },
79
- "type": "object"
80
- },
81
- "Demandeur": {
82
- "properties": {
83
- "texte": {
84
- "type": "string"
85
- }
86
- },
87
- "type": "object"
88
- },
89
- "Dysfonctionnement": {
90
- "properties": {
91
- "abstentions": {
92
- "items": {
93
- "$ref": "#/definitions/Votant"
94
- },
95
- "type": "array"
96
- },
97
- "contre": {
98
- "items": {
99
- "$ref": "#/definitions/Votant"
100
- },
101
- "type": "array"
102
- },
103
- "nonVotants": {
104
- "items": {
105
- "$ref": "#/definitions/Votant"
106
- },
107
- "type": "array"
108
- },
109
- "nonVotantsVolontaires": {
110
- "items": {
111
- "$ref": "#/definitions/Votant"
112
- },
113
- "type": "array"
114
- },
115
- "pour": {
116
- "items": {
117
- "$ref": "#/definitions/Votant"
118
- },
119
- "type": "array"
120
- }
121
- },
122
- "type": "object"
123
- },
124
- "Groupe": {
125
- "properties": {
126
- "nombreMembresGroupe": {
127
- "type": "string"
128
- },
129
- "organeRef": {
130
- "type": "string"
131
- },
132
- "vote": {
133
- "$ref": "#/definitions/Vote"
134
- }
135
- },
136
- "type": "object"
137
- },
138
- "Libelle": {
139
- "enum": [
140
- "L'Assemblée nationale n'a pas adopté",
141
- "l'Assemblée nationale a adopté",
142
- "Le Congrès du Parlement a adopté",
143
- "Le Congrès du Parlement n'a pas adopté"
144
- ],
145
- "type": "string"
146
- },
147
- "LibelleTypeVote": {
148
- "enum": [
149
- "motion de censure",
150
- "scrutin public ordinaire",
151
- "scrutin public solennel",
152
- "scrutin à la tribune",
153
- "Scrutin solennel congrès"
154
-
155
- ],
156
- "type": "string"
157
- },
158
- "MiseAuPoint": {
159
- "properties": {
160
- "abstentions": {
161
- "items": {
162
- "$ref": "#/definitions/Votant"
163
- },
164
- "type": "array"
165
- },
166
- "contre": {
167
- "items": {
168
- "$ref": "#/definitions/Votant"
169
- },
170
- "type": "array"
171
- },
172
- "dysfonctionnement": {
173
- "$ref": "#/definitions/Dysfonctionnement"
174
- },
175
- "nonVotants": {
176
- "items": {
177
- "$ref": "#/definitions/Votant"
178
- },
179
- "type": "array"
180
- },
181
- "nonVotantsVolontaires": {
182
- "items": {
183
- "$ref": "#/definitions/Votant"
184
- },
185
- "type": "array"
186
- },
187
- "pour": {
188
- "items": {
189
- "$ref": "#/definitions/Votant"
190
- },
191
- "type": "array"
192
- }
193
- },
194
- "type": "object"
195
- },
196
- "ModePublicationDesVotes": {
197
- "enum": [
198
- "DecompteDissidentsPositionGroupe",
199
- "DecompteNominatif"
200
- ],
201
- "type": "string"
202
- },
203
- "Objet": {
204
- "properties": {
205
- "libelle": {
206
- "type": "string"
207
- }
208
- },
209
- "type": "object"
210
- },
211
- "Organe": {
212
- "properties": {
213
- "groupes": {
214
- "items": {
215
- "$ref": "#/definitions/Groupe"
216
- },
217
- "type": "array"
218
- },
219
- "organeRef": {
220
- "type": "string"
221
- }
222
- },
223
- "type": "object"
224
- },
225
- "PositionMajoritaire": {
226
- "enum": [
227
- "abstention",
228
- "contre",
229
- "pour"
230
- ],
231
- "type": "string"
232
- },
233
- "Scrutin": {
234
- "properties": {
235
- "dateScrutin": {
236
- "description": "Enables basic storage and retrieval of dates and times.",
237
- "format": "date-time",
238
- "type": "string"
239
- },
240
- "demandeur": {
241
- "$ref": "#/definitions/Demandeur"
242
- },
243
- "legislature": {
244
- "type": "string"
245
- },
246
- "miseAuPoint": {
247
- "$ref": "#/definitions/MiseAuPoint"
248
- },
249
- "modePublicationDesVotes": {
250
- "$ref": "#/definitions/ModePublicationDesVotes"
251
- },
252
- "numero": {
253
- "type": "string"
254
- },
255
- "objet": {
256
- "$ref": "#/definitions/Objet"
257
- },
258
- "organeRef": {
259
- "type": "string"
260
- },
261
- "quantiemeJourSeance": {
262
- "type": "string"
263
- },
264
- "schemaVersion": {
265
- "type": "string"
266
- },
267
- "seanceRef": {
268
- "type": "string"
269
- },
270
- "sessionRef": {
271
- "type": "string"
272
- },
273
- "sort": {
274
- "$ref": "#/definitions/SortScrutin"
275
- },
276
- "syntheseVote": {
277
- "$ref": "#/definitions/SyntheseVote"
278
- },
279
- "titre": {
280
- "type": "string"
281
- },
282
- "typeVote": {
283
- "$ref": "#/definitions/TypeVote"
284
- },
285
- "uid": {
286
- "type": "string"
287
- },
288
- "ventilationVotes": {
289
- "$ref": "#/definitions/Organe"
290
- }
291
- },
292
- "type": "object"
293
- },
294
- "Scrutins": {
295
- "properties": {
296
- "scrutins": {
297
- "items": {
298
- "$ref": "#/definitions/Scrutin"
299
- },
300
- "type": "array"
301
- }
302
- },
303
- "type": "object"
304
- },
305
- "SortScrutin": {
306
- "properties": {
307
- "code": {
308
- "$ref": "#/definitions/Code"
309
- },
310
- "libelle": {
311
- "$ref": "#/definitions/Libelle"
312
- }
313
- },
314
- "type": "object"
315
- },
316
- "SyntheseVote": {
317
- "properties": {
318
- "annonce": {
319
- "$ref": "#/definitions/Libelle"
320
- },
321
- "decompte": {
322
- "$ref": "#/definitions/DecompteVoix"
323
- },
324
- "nbrSuffragesRequis": {
325
- "type": "string"
326
- },
327
- "nombreVotants": {
328
- "type": "string"
329
- },
330
- "suffragesExprimes": {
331
- "type": "string"
332
- }
333
- },
334
- "type": "object"
335
- },
336
- "TypeMajorite": {
337
- "enum": [
338
- "majorité absolue des suffrages exprimés",
339
- "majorité des membres composant l'Assemblée nationale",
340
- "majorité des membres composants composant l'Assemblée",
341
- "majorité des membres composants composant l'Assemblée nationale",
342
- "Majorité requise pour un Congrès"
343
- ],
344
- "type": "string"
345
- },
346
- "TypeVote": {
347
- "properties": {
348
- "codeTypeVote": {
349
- "$ref": "#/definitions/CodeTypeVote"
350
- },
351
- "libelleTypeVote": {
352
- "$ref": "#/definitions/LibelleTypeVote"
353
- },
354
- "typeMajorite": {
355
- "$ref": "#/definitions/TypeMajorite"
356
- }
357
- },
358
- "type": "object"
359
- },
360
- "Votant": {
361
- "properties": {
362
- "acteurRef": {
363
- "type": "string"
364
- },
365
- "causePositionVote": {
366
- "$ref": "#/definitions/CausePositionVote"
367
- },
368
- "mandatRef": {
369
- "type": "string"
370
- },
371
- "parDelegation": {
372
- "type": "boolean"
373
- }
374
- },
375
- "type": "object"
376
- },
377
- "Vote": {
378
- "properties": {
379
- "decompteNominatif": {
380
- "$ref": "#/definitions/DecompteNominatif"
381
- },
382
- "decompteVoix": {
383
- "$ref": "#/definitions/DecompteVoix"
384
- },
385
- "positionMajoritaire": {
386
- "$ref": "#/definitions/PositionMajoritaire"
387
- }
388
- },
389
- "type": "object"
390
- }
391
- }
392
- }
393
-
@@ -1,75 +0,0 @@
1
- {
2
- "title": "Contenu de la séance du débat.",
3
-
4
- "type": "object",
5
- "properties": {
6
- "finSeance": {
7
- "properties": {
8
- "point": {
9
- "$ref": "Point.json"
10
- }
11
- },
12
- "type": "object",
13
- "required": [
14
- "point"
15
- ]
16
- },
17
- "ouvertureSeance": {
18
- "anyOf": [
19
- {
20
- "$ref": "Point.json"
21
- },
22
- {
23
- "items": {
24
- "$ref": "Point.json"
25
- },
26
- "type": "array"
27
- }
28
- ]
29
- },
30
- "paragraphe": {
31
- "items": {
32
- "$ref": "Point.json"
33
- },
34
- "type": "array"
35
- },
36
- "point": {
37
- "anyOf": [
38
- {
39
- "$ref": "Point.json"
40
- },
41
- {
42
- "items": {
43
- "$ref": "Point.json"
44
- },
45
- "type": "array"
46
- }
47
- ]
48
- },
49
- "quantiemes": {
50
- "properties": {
51
- "journee": {
52
- "type": "string"
53
- },
54
- "session": {
55
- "type": "string"
56
- }
57
- },
58
- "type": "object",
59
- "required": [
60
- "journee",
61
- "session"
62
- ]
63
- }
64
- },
65
- "required": [
66
- "quantiemes",
67
- "ouvertureSeance",
68
- "point"
69
- ],
70
-
71
- "$schema": "http://json-schema.org/draft-07/schema#",
72
- "$id": "Contenu.json",
73
- "$$target": "Contenu.json"
74
- }
75
-
@@ -1,40 +0,0 @@
1
- {
2
- "title": "Débat.",
3
- "description": "Compte rendu des débats en séance.",
4
-
5
- "type": "object",
6
- "additionalProperties": false,
7
- "properties": {
8
- "uid": {
9
- "description": "Identifiant unique.",
10
- "type": "string"
11
- },
12
- "contenu": {
13
- "$ref": "Contenu.json"
14
- },
15
- "metadonnees": {
16
- "$ref": "Metadonnees.json"
17
- },
18
- "seanceRef": {
19
- "type": "string"
20
- },
21
- "sessionRef": {
22
- "type": "string"
23
- },
24
- "schemaVersion": {
25
- "type": "string"
26
- }
27
- },
28
- "required": [
29
- "uid",
30
- "seanceRef",
31
- "sessionRef",
32
- "metadonnees",
33
- "contenu"
34
- ],
35
-
36
- "$schema": "http://json-schema.org/draft-07/schema#",
37
- "$id": "Debat.json",
38
- "$$target": "Debat.json"
39
- }
40
-
@@ -1,75 +0,0 @@
1
- {
2
- "title": "Données de la séance du débat.",
3
-
4
- "type": "object",
5
- "properties": {
6
- "dateSeance": {
7
- "type": "string"
8
- },
9
- "dateSeanceJour": {
10
- "type": "string"
11
- },
12
- "diffusion": {
13
- "type": "string"
14
- },
15
- "environnement": {
16
- "type": "string"
17
- },
18
- "etat": {
19
- "type": "string"
20
- },
21
- "heureGeneration": {
22
- "format": "date-time",
23
- "type": "string"
24
- },
25
- "legislature": {
26
- "type": "string"
27
- },
28
- "nomFichierJo": {
29
- "type": "string"
30
- },
31
- "numSeance": {
32
- "type": "string"
33
- },
34
- "numSeanceJour": {
35
- "type": "string"
36
- },
37
- "session": {
38
- "type": "string"
39
- },
40
- "sommaire": {
41
- "$ref": "Sommaire.json"
42
- },
43
- "typeAssemblee": {
44
- "type": "string"
45
- },
46
- "validite": {
47
- "type": "string"
48
- },
49
- "version": {
50
- "type": "string"
51
- }
52
- },
53
- "required": [
54
- "dateSeance",
55
- "dateSeanceJour",
56
- "numSeanceJour",
57
- "numSeance",
58
- "typeAssemblee",
59
- "legislature",
60
- "session",
61
- "nomFichierJo",
62
- "validite",
63
- "etat",
64
- "diffusion",
65
- "version",
66
- "environnement",
67
- "heureGeneration",
68
- "sommaire"
69
- ],
70
-
71
- "$schema": "http://json-schema.org/draft-07/schema#",
72
- "$id": "Metadonnees.json",
73
- "$$target": "Metadonnees.json"
74
- }
75
-
@@ -1,60 +0,0 @@
1
- {
2
- "title": "Orateur de la séance du débat.",
3
-
4
- "type": "object",
5
- "properties": {
6
- "orateur": {
7
- "anyOf": [
8
- {
9
- "properties": {
10
- "id": {
11
- "type": "string"
12
- },
13
- "nom": {
14
- "type": "string"
15
- },
16
- "qualite": {
17
- "type": "string"
18
- }
19
- },
20
- "type": "object",
21
- "required": [
22
- "id",
23
- "nom",
24
- "qualite"
25
- ]
26
- },
27
- {
28
- "items": {
29
- "properties": {
30
- "id": {
31
- "type": "string"
32
- },
33
- "nom": {
34
- "type": "string"
35
- },
36
- "qualite": {
37
- "type": "string"
38
- }
39
- },
40
- "type": "object",
41
- "required": [
42
- "id",
43
- "nom",
44
- "qualite"
45
- ]
46
- },
47
- "type": "array"
48
- }
49
- ]
50
- }
51
- },
52
- "required": [
53
- "orateur"
54
- ],
55
-
56
- "$schema": "http://json-schema.org/draft-07/schema#",
57
- "$id": "Orateur.json",
58
- "$$target": "Orateur.json"
59
- }
60
-