Words question
Schema
-
A words-answer question:
-
must satisfy the base-question schema
-
may have a solutions property
-
-
The solutions property:
-
must be an array
-
must contain at least one solution
-
Each solution:
-
must satisfy the keyword schema
-
must be unique
-
-
Examples
Simple input
{
"id": "1",
"type": "application/x.words+json",
"content": "Question ?"
}
Single answer
{
"id": "1",
"type": "application/x.words+json",
"content": "Question ?",
"solutions": [
{
"text": "ipsum",
"caseSensitive": false,
"score": 2,
"feedback": "this is a feedback"
}
]
}
Multiple answers
{
"id": "1",
"type": "application/x.words+json",
"content": "Question ?",
"solutions": [
{
"text": "ipsum",
"caseSensitive": false,
"score": 2
},
{
"text": "amet",
"caseSensitive": false,
"score": 3
}
]
}