2.1.1 TestQuestion object

Contains details about a single test question, with answer evaluation.

Example

{
  "answered": true,
  "correct": false,
  "questionColumn": "Question",
  "question": {
    "value": "What is the airspeed velocity of an unladen swallow?"
  },
  "answerColumn": "Answer",
  "givenAnswers": [
    {"value": "42"}
  ],
  "correctAnswers": [
    {"value": "African or European"}
  ],
  "tags": []
}

Fields

Field Type Description
answered
optional
Boolean Whether the question has been answered by the user.

Example value: true
correct
optional
Boolean Whether the answer given by the user was correct.

Example value: false
questionColumn
optional
String The name of the question column
question
optional
2.1.1 Term object The test question itself.
answerColumn
optional
String The name of the answer column.
givenAnswers
optional
List of 2.1.1 Term objects The answer(s) provided by the testee
correctAnswers
optional
List of 2.1.1 Term objects The correct (intended) answers
timing
optional
String constant If the question had an answer time limit, this field tells if the limit was exceeded or not:

  • TOO_LATE
  • ON_TIME
This field is omitted if the question did not have an answer time limit.
feedback
optional
2.1.1 Term object Question feedback, if available
tags
optional
List of 2.1.1 Tag objects Any drill entry tags associated with this question