@@ -53,3 +53,34 @@ You can see more on [cozy documentation](https://docs.cozy.io/en/cozy-doctypes/d
}
}
```
### UserData creation
We create a userData and store it in the couchDB under the doctype userData name '**com.grandlyon.ecolyo.userDataName'.** During this process, the objects related to the dataEntity will be be converted to an user version which contains informations about the user(example: user progress, the fluids connected and so on).
To illustrate this, let's show an example of the conversion of quizEntity to userQuiz :