feat(learn): add python video challenges (#38424)
This commit is contained in:
committed by
Mrugesh Mohapatra
parent
22afc2a0ca
commit
e776529ed0
@ -52,6 +52,14 @@ function getSchemaForLang(lang) {
|
||||
isRequired: Joi.bool(),
|
||||
name: Joi.string(),
|
||||
order: Joi.number(),
|
||||
// video challenges only:
|
||||
question: Joi.object().keys({
|
||||
text: Joi.string().required(),
|
||||
answers: Joi.array()
|
||||
.items(Joi.string())
|
||||
.required(),
|
||||
solution: Joi.number().required()
|
||||
}),
|
||||
required: Joi.array().items(
|
||||
Joi.object().keys({
|
||||
link: Joi.string(),
|
||||
|
Reference in New Issue
Block a user