2.0 TestQuestion object

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

Example

{
  "answered": true,
  "correct": false,
  "questionColumn": "Rōmaji",
  "question": "nu",
  "answerColumn": "Hiragana",
  "givenAnswer": "お",
  "correctAnswer": "ぬ"
}

Fields

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

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

Example value: false
questionColumn
required
String The name of the question column.

Example value: Rōmaji
question
required
String The actual question.

Example value: nu
answerColumn
required
String The name of the answer column.

Example value: Hiragana
givenAnswer
optional
String The answer as given by the user (if applicable).

Example value:
correctAnswer
optional
String The correct answer. The value is only included if the question has been answered by the user.

Example value:
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.