Skip to content

Commit 22656a0

Browse files
committed
modify questionnaire_import.md
1 parent 7bbcc83 commit 22656a0

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

‎questionnaire_import.md‎

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ thus been transferred to www.codeavecjonathan.com to simulate a download and be
3131
{
3232
"fr" :
3333
{
34-
"débutant" : [10 items
34+
"débutant" : [
3535
0 : {
3636
"id": 1,
3737
"question": "À quelle classe d'animaux vertébrés appartient le chat ?",
@@ -43,8 +43,8 @@ thus been transferred to www.codeavecjonathan.com to simulate a download and be
4343
],
4444
"réponse": "Mammifères",
4545
"anecdote": "De nombreux mammifères élevés par l'homme jusqu'au XIXème siècle ..."
46-
}
47-
1: {}
46+
},
47+
1: {},
4848
...
4949
10: {}
5050
"confirmé" : [10 items]
@@ -68,12 +68,12 @@ loads json quiz files and converts them to a new format by creating one file per
6868
### json quizz format after import :
6969
```json
7070
{
71-
categorie : "Animaux"
72-
titre : "Les chats"
73-
questions: [ 20 items
71+
"categorie" : "Animaux"
72+
"titre" : "Les chats"
73+
"questions": [ 20 items
7474
0:{
75-
titre: "À quelle classe d'animaux vertébrés appartient le chat ?"
76-
choix:[
75+
"titre": "À quelle classe d'animaux vertébrés appartient le chat ?"
76+
"choix":[
7777
0:["Mammifères",true]
7878
1:["Reptiles",false]
7979
2:["Oiseaux";false]
@@ -84,7 +84,7 @@ loads json quiz files and converts them to a new format by creating one file per
8484
...
8585
20:{}
8686
]
87-
difficulte : confirmé
87+
"difficulte" : "confirmé"
8888
}
8989
```
9090
This file represents the second ```confirmé``` difficulty and therefore contains the first 20 questions
@@ -121,7 +121,7 @@ schema = {
121121
{"type": "string"},
122122
{"type": "boolean"}
123123
],
124-
"items": False
124+
"items": false
125125
}
126126
}
127127
}

0 commit comments

Comments
 (0)