@tricoteuses/assemblee 1.9.1 → 1.9.3

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 (83) hide show
  1. package/lib/parsers/textes_lois.js +22 -22
  2. package/lib/parsers/textes_lois.mjs +22 -22
  3. package/lib/schemas/acteur/Acteur.json +56 -0
  4. package/lib/schemas/acteur/AdresseElectronique.json +52 -0
  5. package/lib/schemas/acteur/AdressePostale.json +75 -0
  6. package/lib/schemas/acteur/Civ.json +14 -0
  7. package/lib/schemas/acteur/Collaborateur.json +29 -0
  8. package/lib/schemas/acteur/EtatCivil.json +51 -0
  9. package/lib/schemas/acteur/Ident.json +40 -0
  10. package/lib/schemas/acteur/Lieu.json +66 -0
  11. package/lib/schemas/acteur/Mandat.json +192 -0
  12. package/lib/schemas/acteur/Profession.json +46 -0
  13. package/lib/schemas/agenda/Agenda.json +318 -0
  14. package/lib/schemas/agenda/CycleDeVie.json +45 -0
  15. package/lib/schemas/agenda/PointOdj.json +82 -0
  16. package/lib/schemas/amendement/Amendement.json +246 -0
  17. package/lib/schemas/amendement/Diff.json +25 -0
  18. package/lib/schemas/amendement/DispositifAmdtCredit.json +85 -0
  19. package/lib/schemas/amendement/Identifiant.json +62 -0
  20. package/lib/schemas/amendement/PointeurFragmentTexte.json +127 -0
  21. package/lib/schemas/amendement/Representation.json +67 -0
  22. package/lib/schemas/amendement/Total.json +26 -0
  23. package/lib/schemas/converted_from_type/acteurs_et_organes.json +666 -0
  24. package/lib/schemas/converted_from_type/agendas.json +1100 -0
  25. package/lib/schemas/converted_from_type/amendements.json +3191 -0
  26. package/lib/schemas/converted_from_type/debats.json +682 -0
  27. package/lib/schemas/converted_from_type/deputes.json +26 -0
  28. package/lib/schemas/converted_from_type/dossiers_legislatifs.json +2918 -0
  29. package/lib/schemas/converted_from_type/legislatures.json +16 -0
  30. package/lib/schemas/converted_from_type/questions.json +328 -0
  31. package/lib/schemas/converted_from_type/scrutins.json +393 -0
  32. package/lib/schemas/debat/Contenu.json +75 -0
  33. package/lib/schemas/debat/Debat.json +40 -0
  34. package/lib/schemas/debat/Metadonnees.json +75 -0
  35. package/lib/schemas/debat/Orateur.json +60 -0
  36. package/lib/schemas/debat/Point.json +169 -0
  37. package/lib/schemas/debat/Sommaire.json +71 -0
  38. package/lib/schemas/debat/SommaireElement.json +108 -0
  39. package/lib/schemas/debat/Texte.json +34 -0
  40. package/lib/schemas/document/CodeLibelle.json +25 -0
  41. package/lib/schemas/document/Document.json +385 -0
  42. package/lib/schemas/document/Indexation.json +38 -0
  43. package/lib/schemas/dossier/ActeLegislatif.json +211 -0
  44. package/lib/schemas/dossier/ActeLegislatifBase.json +62 -0
  45. package/lib/schemas/dossier/Agenda.json +23 -0
  46. package/lib/schemas/dossier/ConseilConstitutionnel.json +35 -0
  47. package/lib/schemas/dossier/Decision.json +25 -0
  48. package/lib/schemas/dossier/Dossier.json +124 -0
  49. package/lib/schemas/dossier/EtudeImpact.json +29 -0
  50. package/lib/schemas/dossier/EtudePlf.json +105 -0
  51. package/lib/schemas/dossier/Europe.json +42 -0
  52. package/lib/schemas/dossier/FamCodeLibelle.json +25 -0
  53. package/lib/schemas/dossier/InfoJO.json +23 -0
  54. package/lib/schemas/dossier/Initiateur.json +36 -0
  55. package/lib/schemas/dossier/Motion.json +27 -0
  56. package/lib/schemas/dossier/Promulgation.json +62 -0
  57. package/lib/schemas/dossier/Rapporteur.json +36 -0
  58. package/lib/schemas/dossier/Texte.json +47 -0
  59. package/lib/schemas/organe/CodeTypeOrgane.json +43 -0
  60. package/lib/schemas/organe/Organe.json +136 -0
  61. package/lib/schemas/organe/ViMoDe.json +28 -0
  62. package/lib/schemas/question/Auteur.json +58 -0
  63. package/lib/schemas/question/Cloture.json +28 -0
  64. package/lib/schemas/question/InfoJO.json +40 -0
  65. package/lib/schemas/question/MinAttribElement.json +30 -0
  66. package/lib/schemas/question/Question.json +172 -0
  67. package/lib/schemas/question/Renouvellement.json +17 -0
  68. package/lib/schemas/question/Signalement.json +21 -0
  69. package/lib/schemas/question/Texte.json +24 -0
  70. package/lib/schemas/scrutin/DecompteVoix.json +35 -0
  71. package/lib/schemas/scrutin/Dysfonctionnement.json +50 -0
  72. package/lib/schemas/scrutin/MiseAuPoint.json +53 -0
  73. package/lib/schemas/scrutin/OrganeVotant.json +88 -0
  74. package/lib/schemas/scrutin/Scrutin.json +187 -0
  75. package/lib/schemas/scrutin/Votant.json +37 -0
  76. package/lib/schemas/texte_loi/Alinea.json +36 -0
  77. package/lib/schemas/texte_loi/ExposeMotifs.json +24 -0
  78. package/lib/schemas/texte_loi/MetaDonnees.json +126 -0
  79. package/lib/schemas/texte_loi/ProjetLoi.json +64 -0
  80. package/lib/schemas/texte_loi/Sommaire.json +48 -0
  81. package/lib/schemas/texte_loi/TexteLoi.json +225 -0
  82. package/lib/schemas/texte_loi/TexteLoiPartiel.json +237 -0
  83. package/package.json +3 -2
@@ -0,0 +1,666 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "definitions": {
4
+ "Acteur": {
5
+ "properties": {
6
+ "adresses": {
7
+ "items": {
8
+ "anyOf": [
9
+ {
10
+ "$ref": "#/definitions/AdresseElectronique"
11
+ },
12
+ {
13
+ "$ref": "#/definitions/AdressePostale"
14
+ }
15
+ ]
16
+ },
17
+ "type": "array"
18
+ },
19
+ "etatCivil": {
20
+ "$ref": "#/definitions/EtatCivil"
21
+ },
22
+ "mandats": {
23
+ "items": {
24
+ "$ref": "#/definitions/Mandat"
25
+ },
26
+ "type": "array"
27
+ },
28
+ "photo": {
29
+ "$ref": "#/definitions/Photo"
30
+ },
31
+ "profession": {
32
+ "$ref": "#/definitions/Profession"
33
+ },
34
+ "schemaVersion": {
35
+ "type": "string"
36
+ },
37
+ "uid": {
38
+ "type": "string"
39
+ },
40
+ "uriHatvp": {
41
+ "type": "string"
42
+ }
43
+ },
44
+ "type": "object"
45
+ },
46
+ "ActeursEtOrganes": {
47
+ "properties": {
48
+ "acteurs": {
49
+ "items": {
50
+ "$ref": "#/definitions/Acteur"
51
+ },
52
+ "type": "array"
53
+ },
54
+ "organes": {
55
+ "items": {
56
+ "$ref": "#/definitions/Organe"
57
+ },
58
+ "type": "array"
59
+ }
60
+ },
61
+ "type": "object"
62
+ },
63
+ "Adresse": {
64
+ "anyOf": [
65
+ {
66
+ "$ref": "#/definitions/AdresseElectronique"
67
+ },
68
+ {
69
+ "$ref": "#/definitions/AdressePostale"
70
+ }
71
+ ]
72
+ },
73
+ "AdresseElectronique": {
74
+ "properties": {
75
+ "adresseDeRattachement": {
76
+ "type": "string"
77
+ },
78
+ "poids": {
79
+ "type": "string"
80
+ },
81
+ "type": {
82
+ "type": "string"
83
+ },
84
+ "typeLibelle": {
85
+ "type": "string"
86
+ },
87
+ "uid": {
88
+ "type": "string"
89
+ },
90
+ "valElec": {
91
+ "type": "string"
92
+ },
93
+ "xsiType": {
94
+ "enum": [
95
+ "AdresseMail_Type",
96
+ "AdresseSiteWeb_Type",
97
+ "AdresseTelephonique_Type"
98
+ ],
99
+ "type": "string"
100
+ }
101
+ },
102
+ "type": "object"
103
+ },
104
+ "AdressePostale": {
105
+ "properties": {
106
+ "codePostal": {
107
+ "type": "string"
108
+ },
109
+ "complementAdresse": {
110
+ "type": "string"
111
+ },
112
+ "intitule": {
113
+ "type": "string"
114
+ },
115
+ "nomRue": {
116
+ "type": "string"
117
+ },
118
+ "numeroRue": {
119
+ "type": "string"
120
+ },
121
+ "poids": {
122
+ "type": "string"
123
+ },
124
+ "type": {
125
+ "type": "string"
126
+ },
127
+ "typeLibelle": {
128
+ "type": "string"
129
+ },
130
+ "uid": {
131
+ "type": "string"
132
+ },
133
+ "ville": {
134
+ "type": "string"
135
+ },
136
+ "xsiType": {
137
+ "enum": [
138
+ "AdressePostale_Type"
139
+ ],
140
+ "type": "string"
141
+ }
142
+ },
143
+ "type": "object"
144
+ },
145
+ "Civ": {
146
+ "enum": [
147
+ "M.",
148
+ "Mme"
149
+ ],
150
+ "type": "string"
151
+ },
152
+ "CodeTypeOrgane": {
153
+ "enum": [
154
+ "API",
155
+ "ASSEMBLEE",
156
+ "CJR",
157
+ "CMP",
158
+ "CNPE",
159
+ "CNPS",
160
+ "COMNL",
161
+ "COMPER",
162
+ "COMSENAT",
163
+ "COMSPSENAT",
164
+ "CONFPT",
165
+ "CONSTITU",
166
+ "DELEG",
167
+ "DELEGBUREAU",
168
+ "DELEGSENAT",
169
+ "GA",
170
+ "GE",
171
+ "GEVI",
172
+ "GOUVERNEMENT",
173
+ "GP",
174
+ "GROUPESENAT",
175
+ "HCJ",
176
+ "MINISTERE",
177
+ "MISINFO",
178
+ "MISINFOCOM",
179
+ "MISINFOPRE",
180
+ "OFFPAR",
181
+ "ORGAINT",
182
+ "ORGEXTPARL",
183
+ "PARPOL",
184
+ "PRESREP",
185
+ "SENAT"
186
+ ],
187
+ "type": "string"
188
+ },
189
+ "Collaborateur": {
190
+ "properties": {
191
+ "nom": {
192
+ "type": "string"
193
+ },
194
+ "prenom": {
195
+ "type": "string"
196
+ },
197
+ "qualite": {
198
+ "$ref": "#/definitions/Civ"
199
+ }
200
+ },
201
+ "type": "object"
202
+ },
203
+ "Convert": {
204
+ "type": "object"
205
+ },
206
+ "Election": {
207
+ "properties": {
208
+ "causeMandat": {
209
+ "type": "string"
210
+ },
211
+ "lieu": {
212
+ "$ref": "#/definitions/Lieu"
213
+ },
214
+ "refCirconscription": {
215
+ "type": "string"
216
+ }
217
+ },
218
+ "type": "object"
219
+ },
220
+ "EtatCivil": {
221
+ "properties": {
222
+ "dateDeces": {
223
+ "description": "Enables basic storage and retrieval of dates and times.",
224
+ "format": "date-time",
225
+ "type": "string"
226
+ },
227
+ "ident": {
228
+ "$ref": "#/definitions/Ident"
229
+ },
230
+ "infoNaissance": {
231
+ "$ref": "#/definitions/InfoNaissance"
232
+ }
233
+ },
234
+ "type": "object"
235
+ },
236
+ "FamSocPro": {
237
+ "enum": [
238
+ "Agriculteurs exploitants",
239
+ "Artisans, commerçants et chefs d'entreprise",
240
+ "Autres personnes sans activité professionnelle",
241
+ "Cadres et professions intellectuelles supérieures",
242
+ "Employés",
243
+ "Ouvriers",
244
+ "Professions Intermédiaires",
245
+ "Retraités",
246
+ "Sans profession déclarée"
247
+ ],
248
+ "type": "string"
249
+ },
250
+ "Ident": {
251
+ "properties": {
252
+ "alpha": {
253
+ "type": "string"
254
+ },
255
+ "civ": {
256
+ "$ref": "#/definitions/Civ"
257
+ },
258
+ "nom": {
259
+ "type": "string"
260
+ },
261
+ "prenom": {
262
+ "type": "string"
263
+ },
264
+ "trigramme": {
265
+ "type": "string"
266
+ }
267
+ },
268
+ "type": "object"
269
+ },
270
+ "InfoNaissance": {
271
+ "properties": {
272
+ "dateNais": {
273
+ "description": "Enables basic storage and retrieval of dates and times.",
274
+ "format": "date-time",
275
+ "type": "string"
276
+ },
277
+ "depNais": {
278
+ "type": "string"
279
+ },
280
+ "paysNais": {
281
+ "type": "string"
282
+ },
283
+ "villeNais": {
284
+ "type": "string"
285
+ }
286
+ },
287
+ "type": "object"
288
+ },
289
+ "InfosQualite": {
290
+ "properties": {
291
+ "codeQualite": {
292
+ "type": "string"
293
+ },
294
+ "libQualite": {
295
+ "type": "string"
296
+ },
297
+ "libQualiteSex": {
298
+ "type": "string"
299
+ }
300
+ },
301
+ "type": "object"
302
+ },
303
+ "Lieu": {
304
+ "properties": {
305
+ "departement": {
306
+ "type": "string"
307
+ },
308
+ "numCirco": {
309
+ "type": "string"
310
+ },
311
+ "numDepartement": {
312
+ "type": "string"
313
+ },
314
+ "region": {
315
+ "$ref": "#/definitions/Region"
316
+ },
317
+ "regionType": {
318
+ "$ref": "#/definitions/RegionType"
319
+ }
320
+ },
321
+ "type": "object"
322
+ },
323
+ "Mandat": {
324
+ "properties": {
325
+ "acteurRef": {
326
+ "type": "string"
327
+ },
328
+ "collaborateurs": {
329
+ "items": {
330
+ "$ref": "#/definitions/Collaborateur"
331
+ },
332
+ "type": "array"
333
+ },
334
+ "dateDebut": {
335
+ "description": "Enables basic storage and retrieval of dates and times.",
336
+ "format": "date-time",
337
+ "type": "string"
338
+ },
339
+ "dateFin": {
340
+ "description": "Enables basic storage and retrieval of dates and times.",
341
+ "format": "date-time",
342
+ "type": "string"
343
+ },
344
+ "datePublication": {
345
+ "description": "Enables basic storage and retrieval of dates and times.",
346
+ "format": "date-time",
347
+ "type": "string"
348
+ },
349
+ "election": {
350
+ "$ref": "#/definitions/Election"
351
+ },
352
+ "infosQualite": {
353
+ "$ref": "#/definitions/InfosQualite"
354
+ },
355
+ "legislature": {
356
+ "type": "string"
357
+ },
358
+ "libelle": {
359
+ "type": "string"
360
+ },
361
+ "mandature": {
362
+ "$ref": "#/definitions/Mandature"
363
+ },
364
+ "missionPrecedenteRef": {
365
+ "type": "string"
366
+ },
367
+ "missionSuivanteRef": {
368
+ "type": "string"
369
+ },
370
+ "nominPrincipale": {
371
+ "type": "string"
372
+ },
373
+ "organes": {
374
+ "items": {
375
+ "$ref": "#/definitions/Organe"
376
+ },
377
+ "type": "array"
378
+ },
379
+ "organesRefs": {
380
+ "items": {
381
+ "type": "string"
382
+ },
383
+ "type": "array"
384
+ },
385
+ "preseance": {
386
+ "type": "string"
387
+ },
388
+ "suppleant": {
389
+ "$ref": "#/definitions/Suppleant"
390
+ },
391
+ "typeOrgane": {
392
+ "$ref": "#/definitions/CodeTypeOrgane"
393
+ },
394
+ "uid": {
395
+ "type": "string"
396
+ },
397
+ "xsiType": {
398
+ "$ref": "#/definitions/TypeMandat"
399
+ }
400
+ },
401
+ "type": "object"
402
+ },
403
+ "Mandature": {
404
+ "properties": {
405
+ "causeFin": {
406
+ "type": "string"
407
+ },
408
+ "datePriseFonction": {
409
+ "description": "Enables basic storage and retrieval of dates and times.",
410
+ "format": "date-time",
411
+ "type": "string"
412
+ },
413
+ "mandatRemplaceRef": {
414
+ "type": "string"
415
+ },
416
+ "placeHemicycle": {
417
+ "type": "string"
418
+ },
419
+ "premiereElection": {
420
+ "type": "string"
421
+ }
422
+ },
423
+ "type": "object"
424
+ },
425
+ "Organe": {
426
+ "properties": {
427
+ "codeType": {
428
+ "$ref": "#/definitions/CodeTypeOrgane"
429
+ },
430
+ "couleurAssociee": {
431
+ "type": "string"
432
+ },
433
+ "legislature": {
434
+ "type": "string"
435
+ },
436
+ "libelle": {
437
+ "type": "string"
438
+ },
439
+ "libelleAbrege": {
440
+ "type": "string"
441
+ },
442
+ "libelleAbrev": {
443
+ "type": "string"
444
+ },
445
+ "libelleEdition": {
446
+ "type": "string"
447
+ },
448
+ "listePays": {
449
+ "items": {
450
+ "type": "string"
451
+ },
452
+ "type": "array"
453
+ },
454
+ "nombreReunionsAnnuelles": {
455
+ "type": "string"
456
+ },
457
+ "organeParent": {
458
+ "$ref": "#/definitions/Organe"
459
+ },
460
+ "organeParentRef": {
461
+ "type": "string"
462
+ },
463
+ "positionPolitique": {
464
+ "$ref": "#/definitions/PositionPolitique"
465
+ },
466
+ "preseance": {
467
+ "type": "string"
468
+ },
469
+ "regime": {
470
+ "$ref": "#/definitions/Regime"
471
+ },
472
+ "regimeJuridique": {
473
+ "type": "string"
474
+ },
475
+ "schemaVersion": {
476
+ "type": "string"
477
+ },
478
+ "secretariat": {
479
+ "$ref": "#/definitions/Secretariat"
480
+ },
481
+ "siteInternet": {
482
+ "type": "string"
483
+ },
484
+ "uid": {
485
+ "type": "string"
486
+ },
487
+ "viMoDe": {
488
+ "$ref": "#/definitions/ViMoDe"
489
+ },
490
+ "xsiType": {
491
+ "$ref": "#/definitions/TypeOrgane"
492
+ }
493
+ },
494
+ "type": "object"
495
+ },
496
+ "Photo": {
497
+ "properties": {
498
+ "chemin": {
499
+ "type": "string"
500
+ },
501
+ "cheminMosaique": {
502
+ "type": "string"
503
+ },
504
+ "hauteur": {
505
+ "type": "number"
506
+ },
507
+ "largeur": {
508
+ "type": "number"
509
+ },
510
+ "xMosaique": {
511
+ "type": "number"
512
+ },
513
+ "yMosaique": {
514
+ "type": "number"
515
+ }
516
+ },
517
+ "type": "object"
518
+ },
519
+ "PositionPolitique": {
520
+ "enum": [
521
+ "Majoritaire",
522
+ "Minoritaire",
523
+ "Opposition"
524
+ ],
525
+ "type": "string"
526
+ },
527
+ "Profession": {
528
+ "properties": {
529
+ "libelleCourant": {
530
+ "type": "string"
531
+ },
532
+ "socProcInsee": {
533
+ "$ref": "#/definitions/SocProcInsee"
534
+ }
535
+ },
536
+ "type": "object"
537
+ },
538
+ "Regime": {
539
+ "enum": [
540
+ "4ème République",
541
+ "5ème République",
542
+ "Assemblée consultative provisoire",
543
+ "Assemblées nationales constituantes"
544
+ ],
545
+ "type": "string"
546
+ },
547
+ "Region": {
548
+ "enum": [
549
+ "Auvergne-Rhône-Alpes",
550
+ "Bourgogne-Franche-Comté",
551
+ "Bretagne",
552
+ "Centre-Val de Loire",
553
+ "Corse",
554
+ "Français établis hors de France",
555
+ "Grand Est",
556
+ "Guadeloupe",
557
+ "Guyane",
558
+ "Hauts-de-France",
559
+ "Ile-de-France",
560
+ "Martinique",
561
+ "Mayotte",
562
+ "Normandie",
563
+ "Nouvelle-Aquitaine",
564
+ "Nouvelle-Calédonie",
565
+ "Occitanie",
566
+ "Pays de la Loire",
567
+ "Polynésie française",
568
+ "Provence-Alpes-Côte d'Azur",
569
+ "Réunion",
570
+ "Saint-Barthélemy et Saint-Martin",
571
+ "Saint-Pierre-et-Miquelon",
572
+ "Wallis-et-Futuna"
573
+ ],
574
+ "type": "string"
575
+ },
576
+ "RegionType": {
577
+ "enum": [
578
+ "Collectivités d'outre-mer et Nouvelle-Calédonie",
579
+ "Dom",
580
+ "Français établis hors de France",
581
+ "Métropolitain"
582
+ ],
583
+ "type": "string"
584
+ },
585
+ "Secretariat": {
586
+ "properties": {
587
+ "secretaire01": {
588
+ "type": "string"
589
+ },
590
+ "secretaire02": {
591
+ "type": "string"
592
+ }
593
+ },
594
+ "type": "object"
595
+ },
596
+ "SocProcInsee": {
597
+ "properties": {
598
+ "catSocPro": {
599
+ "type": "string"
600
+ },
601
+ "famSocPro": {
602
+ "$ref": "#/definitions/FamSocPro"
603
+ }
604
+ },
605
+ "type": "object"
606
+ },
607
+ "Suppleant": {
608
+ "properties": {
609
+ "dateDebut": {
610
+ "description": "Enables basic storage and retrieval of dates and times.",
611
+ "format": "date-time",
612
+ "type": "string"
613
+ },
614
+ "dateFin": {
615
+ "description": "Enables basic storage and retrieval of dates and times.",
616
+ "format": "date-time",
617
+ "type": "string"
618
+ },
619
+ "suppleantRef": {
620
+ "type": "string"
621
+ }
622
+ },
623
+ "type": "object"
624
+ },
625
+ "TypeMandat": {
626
+ "enum": [
627
+ "MandatAvecSuppleant_Type",
628
+ "MandatMission_Type",
629
+ "MandatParlementaire_type",
630
+ "MandatSimple_Type"
631
+ ],
632
+ "type": "string"
633
+ },
634
+ "TypeOrgane": {
635
+ "enum": [
636
+ "GroupePolitique_type",
637
+ "OrganeExterne_Type",
638
+ "OrganeExtraParlementaire_type",
639
+ "OrganeParlementaireInternational",
640
+ "OrganeParlementaire_Type"
641
+ ],
642
+ "type": "string"
643
+ },
644
+ "ViMoDe": {
645
+ "properties": {
646
+ "dateAgrement": {
647
+ "description": "Enables basic storage and retrieval of dates and times.",
648
+ "format": "date-time",
649
+ "type": "string"
650
+ },
651
+ "dateDebut": {
652
+ "description": "Enables basic storage and retrieval of dates and times.",
653
+ "format": "date-time",
654
+ "type": "string"
655
+ },
656
+ "dateFin": {
657
+ "description": "Enables basic storage and retrieval of dates and times.",
658
+ "format": "date-time",
659
+ "type": "string"
660
+ }
661
+ },
662
+ "type": "object"
663
+ }
664
+ }
665
+ }
666
+