2.0 Restrictions object

Describes the practice restrictions imposed on a drill.

Example

{
  "introductions": false,
  "direction": "RECEPTIVE",
  "knownStyle": "OPEN_ENDED",
  "unknownStyle": "OPEN_ENDED"
}

Fields

Field Type Description
introductions
optional
Boolean Indicates whether introductions are forced on or off. Absence of this parameter indicates that the user may set their own preference.
direction
optional
String constant Indicates whether the practice direction (receptive or productive) is fixed. Absence of this parameter indicates that the user may set their own preference.

Possible values: RECEPTIVE, PRODUCTIVE or BOTH.
knownStyle
optional
String constant Indicates whether the question style for questions from the known column is fixed. Absence of this parameter indicates that the user may set their own preference.

Possible values: MULTIPLE_CHOICE, OPEN_ENDED.
unknownStyle
optional
String constant Indicates whether the question style for questions from an unknown column is fixed. Absence of this parameter indicates that the user may set their own preference.

Possible values: MULTIPLE_CHOICE, OPEN_ENDED.