random.groups - Initialization - Items API

Items API Initialization

groups

Defines groups of Items which specifies which Items should be included, and any additional configuration for that group.

A maximum of 10 GroupObjects can be defined, each with a limit of 150 Items.

Values

Attribute path random.groups

Type array[GroupObjects]

Properties

  • GroupObject object

    • type string

      Sets the type of the group. There are two types of Item groups: "fixed" and "random". Fixed Item groups will serve all Items in the Item group. Random Item groups will serve a specific number of Items in this group.

    • label string

      The label value is only used when authoring Items but is not displayed in the assessment player.

    • items array

      Specify the Items to use in the current group.

      The Items can be specified using the Item reference or provided as an ItemObject as per the items initialization option.

    • deliver number

      The deliver option will determine how many of the Items will be served. This option can only be used and is mandatory in the "random" type group.

    • shuffle_items boolean

      Determine whether the "fixed" type groups should generate Items in a shuffled order. This option only applies to "fixed" type groups.

      Default: false

Was this article helpful?

Did you arrive here by accident? If so, learn more about Learnosity.