data: [
id: String, //or number, whatever you need
name: String,
description: String,
category: String,
points: Number,
startDate: Date,
endDate: Date,
isActive: Boolean,
alreadyAnswered: Boolean,
questions:[{
id: String, //or again, number
text: String,
type: String,
options: [
{
id: String, //or number
text: String,
value: String
}
]
}
]
]
Това трябва да е схема за този JSON