const quiz = {
question: 'Выберите один вариант',
choices: [
{
answer: 'мотоцикл',
child: {
question: 'Выберите модель мотоцикла',
choices: [
{ answer: 'Гоночный', child: { ... } },
{ answer: 'Чоппер', child: { ... } }
]
}
},
{
answer: 'Машина',
child: {
question: 'Выберите модель машины',
choices: [
{ answer: 'Ока', child: { ... } },
{ answer: 'Bentley', child: { ... } }
]
}
}
]
},