@tricoteuses/assemblee 1.9.12 → 1.10.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.
- package/README.md +0 -5
- package/lib/api.js +1 -1
- package/lib/api.mjs +1 -1
- package/lib/bugs/acteur-00010/plugin.test.js +5 -5
- package/lib/bugs/acteur-00010/plugin.test.mjs +1 -1
- package/lib/bugs/acteur-00010.js +17 -18
- package/lib/bugs/acteur-00010.mjs +1 -1
- package/lib/bugs/agenda-00002/plugin.test.js +6 -6
- package/lib/bugs/agenda-00002/plugin.test.mjs +1 -1
- package/lib/bugs/agenda-00002.js +31 -32
- package/lib/bugs/agenda-00002.mjs +3 -3
- package/lib/bugs/agenda-00008/plugin.test.js +5 -5
- package/lib/bugs/agenda-00008/plugin.test.mjs +1 -1
- package/lib/bugs/agenda-00008.js +17 -18
- package/lib/bugs/agenda-00008.mjs +1 -1
- package/lib/bugs/agenda-00011/plugin.test.js +10 -10
- package/lib/bugs/agenda-00011/plugin.test.mjs +1 -1
- package/lib/bugs/agenda-00011.js +28 -29
- package/lib/bugs/agenda-00011.mjs +3 -3
- package/lib/bugs.js +27 -29
- package/lib/bugs.mjs +3 -3
- package/lib/cleaners/actes_legislatifs.js +5 -5
- package/lib/cleaners/actes_legislatifs.mjs +1 -1
- package/lib/cleaners/acteurs.js +5 -5
- package/lib/cleaners/acteurs.mjs +1 -1
- package/lib/cleaners/amendements.js +5 -5
- package/lib/cleaners/amendements.mjs +1 -1
- package/lib/cleaners/debats.js +1 -1
- package/lib/cleaners/debats.mjs +1 -1
- package/lib/cleaners/documents.js +5 -5
- package/lib/cleaners/documents.mjs +1 -1
- package/lib/cleaners/dossiers_legislatifs.js +5 -5
- package/lib/cleaners/dossiers_legislatifs.mjs +1 -1
- package/lib/cleaners/index.d.ts +0 -1
- package/lib/cleaners/index.js +1 -8
- package/lib/cleaners/index.mjs +1 -2
- package/lib/cleaners/organes.js +2 -2
- package/lib/cleaners/organes.mjs +1 -1
- package/lib/cleaners/questions.js +1 -1
- package/lib/cleaners/questions.mjs +1 -1
- package/lib/cleaners/reunions.js +5 -5
- package/lib/cleaners/reunions.mjs +1 -1
- package/lib/cleaners/scrutins.js +8 -8
- package/lib/cleaners/scrutins.mjs +1 -1
- package/lib/cleaners/xml.js +8 -8
- package/lib/cleaners/xml.mjs +1 -1
- package/lib/datasets.d.ts +1 -13
- package/lib/datasets.js +10 -29
- package/lib/datasets.mjs +2 -21
- package/lib/dates.js +3 -4
- package/lib/dates.mjs +1 -1
- package/lib/dossiers_legislatifs.js +8 -8
- package/lib/dossiers_legislatifs.mjs +1 -1
- package/lib/file_systems.js +15 -14
- package/lib/file_systems.mjs +3 -3
- package/lib/git.js +5 -5
- package/lib/git.mjs +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +8 -1
- package/lib/index.mjs +2 -1
- package/lib/inserters.js +4 -4
- package/lib/inserters.mjs +1 -1
- package/lib/loaders.d.ts +0 -5
- package/lib/loaders.js +255 -299
- package/lib/loaders.mjs +1 -13
- package/lib/logger.js +1 -1
- package/lib/logger.mjs +1 -1
- package/lib/organes.js +1 -1
- package/lib/organes.mjs +1 -1
- package/lib/parsers/documents.js +11 -11
- package/lib/parsers/documents.mjs +1 -1
- package/lib/parsers/index.d.ts +1 -0
- package/lib/parsers/index.js +8 -1
- package/lib/parsers/index.mjs +2 -1
- package/lib/parsers/recherche_amendements.js +17 -15
- package/lib/parsers/recherche_amendements.mjs +1 -1
- package/lib/parsers/textes_lois.d.ts +22 -15
- package/lib/parsers/textes_lois.js +264 -752
- package/lib/parsers/textes_lois.mjs +249 -597
- package/lib/raw_types/acteurs_et_organes.js +9 -9
- package/lib/raw_types/acteurs_et_organes.mjs +1 -1
- package/lib/raw_types/agendas.d.ts +1 -0
- package/lib/raw_types/agendas.js +11 -10
- package/lib/raw_types/agendas.mjs +3 -2
- package/lib/raw_types/amendements.js +9 -9
- package/lib/raw_types/amendements.mjs +1 -1
- package/lib/raw_types/debats.js +9 -9
- package/lib/raw_types/debats.mjs +1 -1
- package/lib/raw_types/dossiers_legislatifs.d.ts +1 -0
- package/lib/raw_types/dossiers_legislatifs.js +13 -9
- package/lib/raw_types/dossiers_legislatifs.mjs +5 -1
- package/lib/raw_types/questions.js +9 -9
- package/lib/raw_types/questions.mjs +1 -1
- package/lib/raw_types/scrutins.js +9 -9
- package/lib/raw_types/scrutins.mjs +1 -1
- package/lib/scripts/bugs_helper.js +25 -26
- package/lib/scripts/bugs_helper.mjs +3 -3
- package/lib/scripts/clean_reorganized_data.js +256 -245
- package/lib/scripts/clean_reorganized_data.mjs +18 -29
- package/lib/scripts/diff_amendements.js +9 -8
- package/lib/scripts/diff_amendements.mjs +1 -1
- package/lib/scripts/document_dossiers_legislatifs.js +24 -27
- package/lib/scripts/document_dossiers_legislatifs.mjs +3 -3
- package/lib/scripts/get_today_reunions.js +3 -2
- package/lib/scripts/get_today_reunions.mjs +1 -1
- package/lib/scripts/merge_scrutins.js +9 -8
- package/lib/scripts/merge_scrutins.mjs +1 -1
- package/lib/scripts/parse_textes_lois.js +6 -5
- package/lib/scripts/parse_textes_lois.mjs +1 -1
- package/lib/scripts/process_open_dataset.d.ts +0 -2
- package/lib/scripts/process_open_dataset.js +19 -19
- package/lib/scripts/process_open_dataset.mjs +3 -5
- package/lib/scripts/raw_types_from_amendements.d.ts +0 -1
- package/lib/scripts/raw_types_from_amendements.js +122 -198
- package/lib/scripts/raw_types_from_amendements.mjs +105 -60
- package/lib/scripts/reorganize_data.js +14 -15
- package/lib/scripts/reorganize_data.mjs +3 -3
- package/lib/scripts/retrieve_deputes_photos.js +40 -31
- package/lib/scripts/retrieve_deputes_photos.mjs +10 -2
- package/lib/scripts/retrieve_documents.d.ts +1 -1
- package/lib/scripts/retrieve_documents.js +230 -138
- package/lib/scripts/retrieve_documents.mjs +87 -38
- package/lib/scripts/retrieve_open_data.js +27 -30
- package/lib/scripts/retrieve_open_data.mjs +5 -8
- package/lib/scripts/retrieve_pending_amendments.js +14 -14
- package/lib/scripts/retrieve_pending_amendments.mjs +1 -1
- package/lib/scripts/retrieve_senateurs_photos.js +10 -10
- package/lib/scripts/retrieve_senateurs_photos.mjs +1 -1
- package/lib/scripts/retrieve_textes_lois.js +17 -15
- package/lib/scripts/retrieve_textes_lois.mjs +1 -1
- package/lib/scripts/shared/cli_helpers.d.ts +11 -0
- package/lib/scripts/shared/cli_helpers.js +13 -2
- package/lib/scripts/shared/cli_helpers.mjs +12 -1
- package/lib/scripts/test_iter_load.js +5 -19
- package/lib/scripts/test_iter_load.mjs +2 -9
- package/lib/scripts/test_load.js +2 -2
- package/lib/scripts/test_load.mjs +1 -1
- package/lib/scripts/test_load_big_files.js +2 -2
- package/lib/scripts/test_load_big_files.mjs +1 -1
- package/lib/scripts/validate_json.js +17 -18
- package/lib/scripts/validate_json.mjs +3 -3
- package/lib/shared_types/codes_actes.d.ts +2 -0
- package/lib/shared_types/codes_actes.js +3 -1
- package/lib/shared_types/codes_actes.mjs +3 -1
- package/lib/strings.js +1 -1
- package/lib/strings.mjs +1 -1
- package/lib/types/acteurs_et_organes.js +9 -9
- package/lib/types/acteurs_et_organes.mjs +1 -1
- package/lib/types/agendas.d.ts +1 -0
- package/lib/types/agendas.js +11 -10
- package/lib/types/agendas.mjs +3 -2
- package/lib/types/amendements.js +9 -9
- package/lib/types/amendements.mjs +1 -1
- package/lib/types/debats.js +9 -9
- package/lib/types/debats.mjs +1 -1
- package/lib/types/dossiers_legislatifs.d.ts +14 -0
- package/lib/types/dossiers_legislatifs.js +51 -9
- package/lib/types/dossiers_legislatifs.mjs +43 -1
- package/lib/types/legislatures.js +1 -1
- package/lib/types/legislatures.mjs +1 -1
- package/lib/types/questions.js +9 -9
- package/lib/types/questions.mjs +1 -1
- package/lib/types/scrutins.js +9 -9
- package/lib/types/scrutins.mjs +1 -1
- package/lib/urls.js +2 -2
- package/lib/urls.mjs +1 -1
- package/package.json +14 -20
- package/lib/cleaners/textes_loi.d.ts +0 -1
- package/lib/cleaners/textes_loi.js +0 -12
- package/lib/cleaners/textes_loi.mjs +0 -5
- package/lib/examples/PIONANR5L15B0020/input.d.ts +0 -2
- package/lib/examples/PIONANR5L15B0020/input.js +0 -10
- package/lib/examples/PIONANR5L15B0020/input.mjs +0 -193
- package/lib/examples/PIONANR5L15B0020/input.ts +0 -193
- package/lib/examples/PIONANR5L15B0020/loi.json +0 -26
- package/lib/examples/PIONANR5L15B0020/loi_populated.json +0 -29
- package/lib/examples/PIONANR5L15B0020/meta.json +0 -28
- package/lib/examples/PIONANR5L15B0020/motifs.json +0 -5
- package/lib/examples/PIONANR5L15B0020/motifs_populated.json +0 -6
- package/lib/examples/PIONANR5L15B0020/sommaire.json +0 -3
- package/lib/examples/PRJLANR5L16B0914/input.d.ts +0 -2
- package/lib/examples/PRJLANR5L16B0914/input.js +0 -10
- package/lib/examples/PRJLANR5L16B0914/input.mjs +0 -322
- package/lib/examples/PRJLANR5L16B0914/input.ts +0 -322
- package/lib/examples/PRJLANR5L16B0914/loi.json +0 -14
- package/lib/examples/PRJLANR5L16B0914/loi_populated.json +0 -20
- package/lib/examples/PRJLANR5L16B0914/meta.json +0 -35
- package/lib/examples/PRJLANR5L16B0914/motifs.json +0 -4
- package/lib/examples/PRJLANR5L16B0914/motifs_populated.json +0 -5
- package/lib/examples/PRJLANR5L16B0914/sommaire.json +0 -3
- package/lib/examples/PRJLANR5L16B2014/README.md +0 -2
- package/lib/examples/PRJLANR5L16B2014/input.d.ts +0 -2
- package/lib/examples/PRJLANR5L16B2014/input.js +0 -10
- package/lib/examples/PRJLANR5L16B2014/input.mjs +0 -577
- package/lib/examples/PRJLANR5L16B2014/input.ts +0 -577
- package/lib/examples/PRJLANR5L16B2014/loi.json +0 -369
- package/lib/examples/PRJLANR5L16B2014/meta.json +0 -31
- package/lib/examples/PRJLANR5L16B2014/motifs.json +0 -5
- package/lib/examples/PRJLANR5L16B2014/sommaire.json +0 -51
- package/lib/examples/PRJLANR5L16B2424/alineas.json +0 -44
- package/lib/examples/PRJLANR5L16B2424/input.d.ts +0 -2
- package/lib/examples/PRJLANR5L16B2424/input.js +0 -10
- package/lib/examples/PRJLANR5L16B2424/input.mjs +0 -322
- package/lib/examples/PRJLANR5L16B2424/input.ts +0 -322
- package/lib/examples/PRJLANR5L16B2424/loi.json +0 -74
- package/lib/examples/PRJLANR5L16B2424/loi_populated.json +0 -87
- package/lib/examples/PRJLANR5L16B2424/meta.json +0 -31
- package/lib/examples/PRJLANR5L16B2424/motifs.json +0 -4
- package/lib/examples/PRJLANR5L16B2424/motifs_populated.json +0 -5
- package/lib/examples/PRJLANR5L16B2424/sommaire.json +0 -3
- package/lib/examples/PRJLANR5L16B2462/input.d.ts +0 -2
- package/lib/examples/PRJLANR5L16B2462/input.js +0 -10
- package/lib/examples/PRJLANR5L16B2462/input.mjs +0 -1308
- package/lib/examples/PRJLANR5L16B2462/input.ts +0 -1308
- package/lib/examples/PRJLANR5L16B2462/loi.json +0 -74
- package/lib/examples/PRJLANR5L16B2462/loi_populated.json +0 -310
- package/lib/examples/PRJLANR5L16B2462/meta.json +0 -29
- package/lib/examples/PRJLANR5L16B2462/motifs.json +0 -6
- package/lib/examples/PRJLANR5L16B2462/motifs_populated.json +0 -6
- package/lib/examples/PRJLANR5L16B2462/sommaire.json +0 -50
- package/lib/examples/README.md +0 -3
- package/lib/raw_types/textes_loi.d.ts +0 -93
- package/lib/raw_types/textes_loi.js +0 -429
- package/lib/raw_types/textes_loi.mjs +0 -378
- package/lib/schemas/texte_loi/Alinea.json +0 -36
- package/lib/schemas/texte_loi/ExposeMotifs.json +0 -24
- package/lib/schemas/texte_loi/MetaDonnees.json +0 -126
- package/lib/schemas/texte_loi/ProjetLoi.json +0 -64
- package/lib/schemas/texte_loi/Sommaire.json +0 -48
- package/lib/schemas/texte_loi/TexteLoi.json +0 -225
- package/lib/schemas/texte_loi/TexteLoiPartiel.json +0 -237
- package/lib/scripts/process_textes_loi_dataset.d.ts +0 -7
- package/lib/scripts/process_textes_loi_dataset.js +0 -373
- package/lib/scripts/process_textes_loi_dataset.mjs +0 -239
- package/lib/types/textes_loi.d.ts +0 -94
- package/lib/types/textes_loi.js +0 -429
- package/lib/types/textes_loi.mjs +0 -378
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"title": "ProjetLoi",
|
|
4
|
-
"description": "Contenu du texte de loi lié à un projet de loi ou à une proposition de loi.",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"properties": {
|
|
7
|
-
"articles": {
|
|
8
|
-
"type": "array",
|
|
9
|
-
"items": {
|
|
10
|
-
"type": "object",
|
|
11
|
-
"description": "Liste des articles",
|
|
12
|
-
"properties": {
|
|
13
|
-
"numeroArticle": {
|
|
14
|
-
"type": "integer",
|
|
15
|
-
"description": "Numéro de l'article (sans cardinal)"
|
|
16
|
-
},
|
|
17
|
-
"numeroArticles": {
|
|
18
|
-
"type": "array",
|
|
19
|
-
"description": "Numéros des articles (sans cardinal), si le mot 'Articles' est présent. Ex: [1, 2, 3]. Si le mot 'Articles' est absent, ce tableau est vide.",
|
|
20
|
-
"items": {
|
|
21
|
-
"type": "integer",
|
|
22
|
-
"description": "Numéros de l'article (sans cardinal)"
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
"cardinal": {
|
|
26
|
-
"type": "string",
|
|
27
|
-
"description": "Adverbe multiplicatif lié au numéro (ex: bis, ter)"
|
|
28
|
-
},
|
|
29
|
-
"parent": {
|
|
30
|
-
"type": "string",
|
|
31
|
-
"description": "Identifiant de la division parente"
|
|
32
|
-
},
|
|
33
|
-
"nouveau": {
|
|
34
|
-
"type": "boolean",
|
|
35
|
-
"description": "'true' si le mot '(nouveau)' est trouvé dans le titre de l'article. 'false' sinon."
|
|
36
|
-
},
|
|
37
|
-
"titre": {
|
|
38
|
-
"type": "string",
|
|
39
|
-
"description": "Titre de l'article"
|
|
40
|
-
},
|
|
41
|
-
"debut": {
|
|
42
|
-
"type": "string",
|
|
43
|
-
"description": "Première ligne du texte de l'article."
|
|
44
|
-
},
|
|
45
|
-
"fin": {
|
|
46
|
-
"type": "string",
|
|
47
|
-
"description": "Dernière ligne du texte de l'article."
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
"required": [
|
|
51
|
-
"numeroArticle",
|
|
52
|
-
"numeroArticles",
|
|
53
|
-
"debut",
|
|
54
|
-
"fin",
|
|
55
|
-
"nouveau",
|
|
56
|
-
"titre"
|
|
57
|
-
]
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
|
-
"required": [
|
|
62
|
-
"articles"
|
|
63
|
-
]
|
|
64
|
-
}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"title": "Sommaire",
|
|
4
|
-
"description": "Le sommaire du texte de loi",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"properties": {
|
|
7
|
-
"sommaire": {
|
|
8
|
-
"type": "array",
|
|
9
|
-
"items": {
|
|
10
|
-
"type": "object",
|
|
11
|
-
"description": "Les articles sont séparés par des divisions : titres, chapitres, sections, sous-sections",
|
|
12
|
-
"properties": {
|
|
13
|
-
"typeDivision": {
|
|
14
|
-
"description": "Nom de la division",
|
|
15
|
-
"type": "string",
|
|
16
|
-
"enum": [
|
|
17
|
-
"Titre",
|
|
18
|
-
"Chapitre",
|
|
19
|
-
"Section",
|
|
20
|
-
"Sous-section"
|
|
21
|
-
]
|
|
22
|
-
},
|
|
23
|
-
"numeroDivision": {
|
|
24
|
-
"description": "Numéro de la division",
|
|
25
|
-
"type": "string"
|
|
26
|
-
},
|
|
27
|
-
"sequence": {
|
|
28
|
-
"description": "Ordre de la division dans le document",
|
|
29
|
-
"type": "integer"
|
|
30
|
-
},
|
|
31
|
-
"titre": {
|
|
32
|
-
"description": "Titre de la division",
|
|
33
|
-
"type": "string"
|
|
34
|
-
},
|
|
35
|
-
"parent": {
|
|
36
|
-
"description": "Identifiant de la division parente",
|
|
37
|
-
"type": "string"
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
"required": [
|
|
41
|
-
"titre",
|
|
42
|
-
"typeDivision",
|
|
43
|
-
"sequence"
|
|
44
|
-
]
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
}
|
|
@@ -1,225 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"title": "TexteDeLoi",
|
|
4
|
-
"description": "Contenu du texte de loi lié à un projet de loi ou à une proposition de loi.",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"properties": {
|
|
7
|
-
"uid": {
|
|
8
|
-
"description": "Identifiant unique.",
|
|
9
|
-
"type": "string"
|
|
10
|
-
},
|
|
11
|
-
"documentRef": {
|
|
12
|
-
"description": "Identifiant unique.",
|
|
13
|
-
"type": "string"
|
|
14
|
-
},
|
|
15
|
-
"titre": {
|
|
16
|
-
"description": "Titre du texte de loi",
|
|
17
|
-
"type": "string"
|
|
18
|
-
},
|
|
19
|
-
"organe": {
|
|
20
|
-
"description": "Chambre (e.g. Assemblée Nationale, Sénat)",
|
|
21
|
-
"type": "string"
|
|
22
|
-
},
|
|
23
|
-
"typeTexte": {
|
|
24
|
-
"description": "Type du texte : (e.g. Projet de loi, Proposition de loi)",
|
|
25
|
-
"type": "string"
|
|
26
|
-
},
|
|
27
|
-
"commission": {
|
|
28
|
-
"description": "Commission",
|
|
29
|
-
"type": "string"
|
|
30
|
-
},
|
|
31
|
-
"procedureAcceleree": {
|
|
32
|
-
"description": "Procédure accélérée : true/false",
|
|
33
|
-
"type": "boolean"
|
|
34
|
-
},
|
|
35
|
-
"representants": {
|
|
36
|
-
"type": "object",
|
|
37
|
-
"properties": {
|
|
38
|
-
"auNomDe": {
|
|
39
|
-
"type": "array",
|
|
40
|
-
"items": {
|
|
41
|
-
"type": "object",
|
|
42
|
-
"properties": {
|
|
43
|
-
"nom": {
|
|
44
|
-
"description": "Présenté au nom du représentant",
|
|
45
|
-
"type": "string"
|
|
46
|
-
},
|
|
47
|
-
"fonction": {
|
|
48
|
-
"description": "Fonction du représentant",
|
|
49
|
-
"type": "string"
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
|
-
"required": [
|
|
53
|
-
"nom",
|
|
54
|
-
"fonction"
|
|
55
|
-
]
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
|
-
"par": {
|
|
59
|
-
"type": "array",
|
|
60
|
-
"items": {
|
|
61
|
-
"type": "object",
|
|
62
|
-
"properties": {
|
|
63
|
-
"nom": {
|
|
64
|
-
"description": "Présenté par Nom du député",
|
|
65
|
-
"type": "string"
|
|
66
|
-
},
|
|
67
|
-
"fonction": {
|
|
68
|
-
"description": "Fonction du député",
|
|
69
|
-
"type": "string"
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
|
-
"required": [
|
|
73
|
-
"nom",
|
|
74
|
-
"fonction"
|
|
75
|
-
]
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
},
|
|
80
|
-
"signataires": {
|
|
81
|
-
"type": "array",
|
|
82
|
-
"items": {
|
|
83
|
-
"type": "object",
|
|
84
|
-
"properties": {
|
|
85
|
-
"nom": {
|
|
86
|
-
"description": "Nom du signataire",
|
|
87
|
-
"type": "string"
|
|
88
|
-
},
|
|
89
|
-
"fonction": {
|
|
90
|
-
"description": "Fonction du signataire",
|
|
91
|
-
"type": "string"
|
|
92
|
-
}
|
|
93
|
-
},
|
|
94
|
-
"required": [
|
|
95
|
-
"nom",
|
|
96
|
-
"fonction"
|
|
97
|
-
]
|
|
98
|
-
}
|
|
99
|
-
},
|
|
100
|
-
"dateConstitution": {
|
|
101
|
-
"description": "Date de la constitution",
|
|
102
|
-
"type": "string"
|
|
103
|
-
},
|
|
104
|
-
"dateDepotAssemblee": {
|
|
105
|
-
"description": "Date d'enregistrement à la Présidence de l’Assemblée nationale",
|
|
106
|
-
"type": "string"
|
|
107
|
-
},
|
|
108
|
-
"numeroLegislature": {
|
|
109
|
-
"description": "Numéro de la législature",
|
|
110
|
-
"type": "string"
|
|
111
|
-
},
|
|
112
|
-
"numeroTexte": {
|
|
113
|
-
"description": "Numéro du texte",
|
|
114
|
-
"type": "string"
|
|
115
|
-
},
|
|
116
|
-
"sommaire": {
|
|
117
|
-
"type": "array",
|
|
118
|
-
"items": {
|
|
119
|
-
"type": "object",
|
|
120
|
-
"description": "Les articles sont séparés par des divisions : titres, chapitres, sections, sous-sections",
|
|
121
|
-
"properties": {
|
|
122
|
-
"typeDivision": {
|
|
123
|
-
"description": "Nom de la division",
|
|
124
|
-
"type": "string",
|
|
125
|
-
"enum": [
|
|
126
|
-
"Titre",
|
|
127
|
-
"Chapitre",
|
|
128
|
-
"Section",
|
|
129
|
-
"Sous-section"
|
|
130
|
-
]
|
|
131
|
-
},
|
|
132
|
-
"numeroDivision": {
|
|
133
|
-
"description": "Numéro de la division",
|
|
134
|
-
"type": "string"
|
|
135
|
-
},
|
|
136
|
-
"sequence": {
|
|
137
|
-
"description": "Ordre de la division dans le document",
|
|
138
|
-
"type": "integer"
|
|
139
|
-
},
|
|
140
|
-
"titre": {
|
|
141
|
-
"description": "Titre de la division",
|
|
142
|
-
"type": "string"
|
|
143
|
-
},
|
|
144
|
-
"parent": {
|
|
145
|
-
"description": "Identifiant de la division parente",
|
|
146
|
-
"type": "string"
|
|
147
|
-
}
|
|
148
|
-
},
|
|
149
|
-
"required": [
|
|
150
|
-
"typeDivision",
|
|
151
|
-
"sequence"
|
|
152
|
-
]
|
|
153
|
-
}
|
|
154
|
-
},
|
|
155
|
-
"contenu": {
|
|
156
|
-
"type": "object",
|
|
157
|
-
"properties": {
|
|
158
|
-
"exposeMotifs": {
|
|
159
|
-
"type": "object",
|
|
160
|
-
"properties": {
|
|
161
|
-
"texte": {
|
|
162
|
-
"type": "string",
|
|
163
|
-
"description": "Texte de l'exposé des motifs"
|
|
164
|
-
}
|
|
165
|
-
},
|
|
166
|
-
"required": [
|
|
167
|
-
"texte"
|
|
168
|
-
]
|
|
169
|
-
},
|
|
170
|
-
"articles": {
|
|
171
|
-
"type": "array",
|
|
172
|
-
"items": {
|
|
173
|
-
"type": "object",
|
|
174
|
-
"description": "Liste des articles",
|
|
175
|
-
"properties": {
|
|
176
|
-
"numeroArticle": {
|
|
177
|
-
"type": "integer",
|
|
178
|
-
"description": "Numéro de l'article (sans cardinal)"
|
|
179
|
-
},
|
|
180
|
-
"cardinal": {
|
|
181
|
-
"type": "string",
|
|
182
|
-
"description": "Adverbe multiplicatif lié au numéro (ex: bis, ter)"
|
|
183
|
-
},
|
|
184
|
-
"parent": {
|
|
185
|
-
"type": "string",
|
|
186
|
-
"description": "Identifiant de la division parente"
|
|
187
|
-
},
|
|
188
|
-
"titre": {
|
|
189
|
-
"type": "string",
|
|
190
|
-
"description": "Titre de l'article"
|
|
191
|
-
},
|
|
192
|
-
"alineas": {
|
|
193
|
-
"type": "array",
|
|
194
|
-
"items": {
|
|
195
|
-
"type": "object",
|
|
196
|
-
"description": "Liste des alineas",
|
|
197
|
-
"properties": {
|
|
198
|
-
"numeroAlinea": {
|
|
199
|
-
"type": "integer",
|
|
200
|
-
"description": "Numéro de l'alinea"
|
|
201
|
-
},
|
|
202
|
-
"texte": {
|
|
203
|
-
"type": "string",
|
|
204
|
-
"description": "Texte de l'alinea"
|
|
205
|
-
}
|
|
206
|
-
},
|
|
207
|
-
"required": [
|
|
208
|
-
"numeroAlinea",
|
|
209
|
-
"texte"
|
|
210
|
-
]
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
},
|
|
217
|
-
"required": [
|
|
218
|
-
"articles"
|
|
219
|
-
]
|
|
220
|
-
}
|
|
221
|
-
},
|
|
222
|
-
"required": [
|
|
223
|
-
"contenu"
|
|
224
|
-
]
|
|
225
|
-
}
|
|
@@ -1,237 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"title": "TexteDeLoi",
|
|
4
|
-
"description": "Contenu du texte de loi lié à un projet de loi ou à une proposition de loi.",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"properties": {
|
|
7
|
-
"documentRef": {
|
|
8
|
-
"description": "Identifiant unique.",
|
|
9
|
-
"type": "string"
|
|
10
|
-
},
|
|
11
|
-
"titre": {
|
|
12
|
-
"description": "Titre du texte de loi",
|
|
13
|
-
"type": "string"
|
|
14
|
-
},
|
|
15
|
-
"organe": {
|
|
16
|
-
"description": "Chambre (e.g. Assemblée Nationale, Sénat)",
|
|
17
|
-
"type": "string"
|
|
18
|
-
},
|
|
19
|
-
"typeTexte": {
|
|
20
|
-
"description": "Type du texte : (e.g. Projet de loi, Proposition de loi)",
|
|
21
|
-
"type": "string"
|
|
22
|
-
},
|
|
23
|
-
"commission": {
|
|
24
|
-
"description": "Commission",
|
|
25
|
-
"type": "string"
|
|
26
|
-
},
|
|
27
|
-
"procedureAcceleree": {
|
|
28
|
-
"description": "Procédure accélérée : true/false",
|
|
29
|
-
"type": "boolean"
|
|
30
|
-
},
|
|
31
|
-
"representants": {
|
|
32
|
-
"type": "object",
|
|
33
|
-
"properties": {
|
|
34
|
-
"auNomDe": {
|
|
35
|
-
"type": "array",
|
|
36
|
-
"items": {
|
|
37
|
-
"type": "object",
|
|
38
|
-
"properties": {
|
|
39
|
-
"nom": {
|
|
40
|
-
"description": "Présenté au nom du représentant",
|
|
41
|
-
"type": "string"
|
|
42
|
-
},
|
|
43
|
-
"fonction": {
|
|
44
|
-
"description": "Fonction du représentant",
|
|
45
|
-
"type": "string"
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
|
-
"required": [
|
|
49
|
-
"nom",
|
|
50
|
-
"fonction"
|
|
51
|
-
]
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
"par": {
|
|
55
|
-
"type": "array",
|
|
56
|
-
"items": {
|
|
57
|
-
"type": "object",
|
|
58
|
-
"properties": {
|
|
59
|
-
"nom": {
|
|
60
|
-
"description": "Présenté par Nom du député",
|
|
61
|
-
"type": "string"
|
|
62
|
-
},
|
|
63
|
-
"fonction": {
|
|
64
|
-
"description": "Fonction du député",
|
|
65
|
-
"type": "string"
|
|
66
|
-
}
|
|
67
|
-
},
|
|
68
|
-
"required": [
|
|
69
|
-
"nom",
|
|
70
|
-
"fonction"
|
|
71
|
-
]
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
},
|
|
76
|
-
"signataires": {
|
|
77
|
-
"type": "array",
|
|
78
|
-
"items": {
|
|
79
|
-
"type": "object",
|
|
80
|
-
"properties": {
|
|
81
|
-
"nom": {
|
|
82
|
-
"description": "Nom du signataire",
|
|
83
|
-
"type": "string"
|
|
84
|
-
},
|
|
85
|
-
"fonction": {
|
|
86
|
-
"description": "Fonction du signataire",
|
|
87
|
-
"type": "string"
|
|
88
|
-
}
|
|
89
|
-
},
|
|
90
|
-
"required": [
|
|
91
|
-
"nom",
|
|
92
|
-
"fonction"
|
|
93
|
-
]
|
|
94
|
-
}
|
|
95
|
-
},
|
|
96
|
-
"dateConstitution": {
|
|
97
|
-
"description": "Date de la constitution",
|
|
98
|
-
"type": "string"
|
|
99
|
-
},
|
|
100
|
-
"dateDepotAssemblee": {
|
|
101
|
-
"description": "Date d'enregistrement à la Présidence de l’Assemblée nationale",
|
|
102
|
-
"type": "string"
|
|
103
|
-
},
|
|
104
|
-
"numeroLegislature": {
|
|
105
|
-
"description": "Numéro de la législature",
|
|
106
|
-
"type": "string"
|
|
107
|
-
},
|
|
108
|
-
"numeroTexte": {
|
|
109
|
-
"description": "Numéro du texte",
|
|
110
|
-
"type": "string"
|
|
111
|
-
},
|
|
112
|
-
"sommaire": {
|
|
113
|
-
"type": "array",
|
|
114
|
-
"items": {
|
|
115
|
-
"type": "object",
|
|
116
|
-
"description": "Les articles sont séparés par des divisions : titres, chapitres, sections, sous-sections",
|
|
117
|
-
"properties": {
|
|
118
|
-
"typeDivision": {
|
|
119
|
-
"description": "Nom de la division",
|
|
120
|
-
"type": "string",
|
|
121
|
-
"enum": [
|
|
122
|
-
"Titre",
|
|
123
|
-
"Chapitre",
|
|
124
|
-
"Section",
|
|
125
|
-
"Sous-section"
|
|
126
|
-
]
|
|
127
|
-
},
|
|
128
|
-
"numeroDivision": {
|
|
129
|
-
"description": "Numéro de la division",
|
|
130
|
-
"type": "string"
|
|
131
|
-
},
|
|
132
|
-
"sequence": {
|
|
133
|
-
"description": "Ordre de la division dans le document",
|
|
134
|
-
"type": "integer"
|
|
135
|
-
},
|
|
136
|
-
"titre": {
|
|
137
|
-
"description": "Titre de la division",
|
|
138
|
-
"type": "string"
|
|
139
|
-
},
|
|
140
|
-
"parent": {
|
|
141
|
-
"description": "Identifiant de la division parente",
|
|
142
|
-
"type": "string"
|
|
143
|
-
}
|
|
144
|
-
},
|
|
145
|
-
"required": [
|
|
146
|
-
"typeDivision",
|
|
147
|
-
"sequence"
|
|
148
|
-
]
|
|
149
|
-
}
|
|
150
|
-
},
|
|
151
|
-
"contenu": {
|
|
152
|
-
"type": "object",
|
|
153
|
-
"properties": {
|
|
154
|
-
"exposeMotifs": {
|
|
155
|
-
"type": "object",
|
|
156
|
-
"properties": {
|
|
157
|
-
"debut": {
|
|
158
|
-
"type": "string",
|
|
159
|
-
"description": "Première ligne de l'exposé des motifs"
|
|
160
|
-
},
|
|
161
|
-
"fin": {
|
|
162
|
-
"type": "string",
|
|
163
|
-
"description": "Dernière ligne de l'exposé des motifs. Il est situé juste avant le texte \"PROPOSITION DE LOI\" ou \"PROJET DE LOI\"."
|
|
164
|
-
}
|
|
165
|
-
},
|
|
166
|
-
"required": [
|
|
167
|
-
"debut",
|
|
168
|
-
"fin"
|
|
169
|
-
]
|
|
170
|
-
},
|
|
171
|
-
"articles": {
|
|
172
|
-
"type": "array",
|
|
173
|
-
"items": {
|
|
174
|
-
"type": "object",
|
|
175
|
-
"description": "Liste des articles",
|
|
176
|
-
"properties": {
|
|
177
|
-
"numeroArticle": {
|
|
178
|
-
"type": "integer",
|
|
179
|
-
"description": "Numéro de l'article (sans cardinal)"
|
|
180
|
-
},
|
|
181
|
-
"cardinal": {
|
|
182
|
-
"type": "string",
|
|
183
|
-
"description": "Adverbe multiplicatif lié au numéro (ex: bis, ter)"
|
|
184
|
-
},
|
|
185
|
-
"parent": {
|
|
186
|
-
"type": "string",
|
|
187
|
-
"description": "Identifiant de la division parente"
|
|
188
|
-
},
|
|
189
|
-
"titre": {
|
|
190
|
-
"type": "string",
|
|
191
|
-
"description": "Titre de l'article"
|
|
192
|
-
},
|
|
193
|
-
"debutArticle": {
|
|
194
|
-
"type": "string",
|
|
195
|
-
"description": "Première ligne du texte de l'article"
|
|
196
|
-
},
|
|
197
|
-
"finArticle": {
|
|
198
|
-
"type": "string",
|
|
199
|
-
"description": "Dernière ligne du texte de l'article. Si le texte de l'article ne comporte qu'une unique ligne. Laisser ce champ vide."
|
|
200
|
-
},
|
|
201
|
-
"alineas": {
|
|
202
|
-
"type": "array",
|
|
203
|
-
"items": {
|
|
204
|
-
"type": "object",
|
|
205
|
-
"description": "Liste des alineas",
|
|
206
|
-
"properties": {
|
|
207
|
-
"numeroAlinea": {
|
|
208
|
-
"type": "integer",
|
|
209
|
-
"description": "Numéro de l'alinea"
|
|
210
|
-
},
|
|
211
|
-
"debut": {
|
|
212
|
-
"type": "string",
|
|
213
|
-
"description": "3 premiers mots de l'alinea"
|
|
214
|
-
},
|
|
215
|
-
"fin": {
|
|
216
|
-
"type": "string",
|
|
217
|
-
"description": "3 derniers mots de l'alinea"
|
|
218
|
-
}
|
|
219
|
-
},
|
|
220
|
-
"required": [
|
|
221
|
-
"numeroAlinea"
|
|
222
|
-
]
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
},
|
|
229
|
-
"required": [
|
|
230
|
-
"articles"
|
|
231
|
-
]
|
|
232
|
-
}
|
|
233
|
-
},
|
|
234
|
-
"required": [
|
|
235
|
-
"contenu"
|
|
236
|
-
]
|
|
237
|
-
}
|