WIP: feat: import questions
Fixes #10
- Define a schema to handle questions. (Needs to be discussed)
- Define the API. (Same)
auteur
has the following properties:
"auteur":{
"identite":{"acteurRef":"PA721062","mandatRef":"PM723158"},
"groupe":{"organeRef":"PO730958","abrege":"FI","developpe":"La France insoumise"}
}
Shall we reference acteur_id
, mandat_id
or both?
Shall I include group_id
?
Each question contains data relative to its "cloture"
"cloture":{
"codeCloture":"REP_PUB",
"libelleCloture":"R\u00e9ponse publi\u00e9e",
"dateCloture":"13/12/2017",
"infoJO":{"typeJO":"JO_DEBAT","dateJO":"13/12/2017","pageJO":"6377"}
}
What does it exactly mean?
Each text (question/response) has also information related to the JO
"infoJO":{"typeJO":"JO_DEBAT","dateJO":"13/12/2017"}
Shall I include that aswell?