An example json file with tasks:
{
monday: [ //tasks for monday, this value can be for example tuesday, wednesday, week, month
{
id: 1, //unique id, as in SQL auto increment
title: { fi: "Voita 5 peliä" }, //title of the task, the fi means that it is in Finnish
content: { fi: "Sun pitää voittaa tänään 5 peliä" }, //The body of the task
amount: 5, // how much of atomic tasks to do, here 5 games = 5 tasks
type: "win_battle", // an enum type value of the atomic task
coins: 10, //how much coins the player gets after completing the whole task, here it is for 5 won games
points: 20 //how much points player gets after completing the whole task
}
]
}