mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-04-30 16:01:14 -04:00
71 lines
1.3 KiB
JSON
71 lines
1.3 KiB
JSON
{
|
|
"name": "Exam",
|
|
"description": "Exam questions for exam style challenges",
|
|
"base": "PersistedModel",
|
|
"idInjection": true,
|
|
"options": {
|
|
"strict": true
|
|
},
|
|
"properties": {
|
|
"numberOfQuestionsInExam": {
|
|
"type": "number",
|
|
"required": true
|
|
},
|
|
"passingPercent": {
|
|
"type": "number",
|
|
"required": true
|
|
},
|
|
"prerequisites": {
|
|
"type": [
|
|
{
|
|
"id": "string",
|
|
"title": "string"
|
|
}
|
|
]
|
|
},
|
|
"questions": {
|
|
"type": [
|
|
{
|
|
"id": "string",
|
|
"question": "string",
|
|
"wrongAnswers": {
|
|
"type": [
|
|
{
|
|
"id": "string",
|
|
"answer": "string"
|
|
}
|
|
],
|
|
"required": true
|
|
},
|
|
"correctAnswers": {
|
|
"type": [
|
|
{
|
|
"id": "string",
|
|
"answer": "string"
|
|
}
|
|
],
|
|
"required": true
|
|
}
|
|
}
|
|
],
|
|
"required": true,
|
|
"itemType": "Question"
|
|
},
|
|
"title": {
|
|
"type": "string",
|
|
"required": true
|
|
}
|
|
},
|
|
"validations": [],
|
|
"relations": {},
|
|
"acls": [
|
|
{
|
|
"accessType": "*",
|
|
"principalType": "ROLE",
|
|
"principalId": "$everyone",
|
|
"permission": "DENY"
|
|
}
|
|
],
|
|
"methods": {}
|
|
}
|