Verona Inferfaces Specification "Schemer" 2.0.0

This is one part of the Verona Online Assessment Standards. All messages are sent via the postMessage function of the html page. The schemer takes the page root of its parent as target (parent.window), and the application binds the function call to the iframe element of the schemer. Most important, the message body carries as first parameter the operationId of the message. The html page MUST contain a script-tag with metadata. The syntax and structure of this data are described here.

Operations

  • SUB vosReadyNotification

    Ready Notification

    The schemer announces that it's code is loaded and initialized so the communication can start.

    Operation IDvosReadyNotification

    Accepts the following message:

    object

    Examples

  • PUB vosStartCommand

    Start Command

    The application sends parameters for editing the coding scheme and commands the start of user interaction.

    Operation IDvosStartCommand

    Accepts the following message:

    object

    Examples

  • SUB vosSchemeChangedNotification

    Scheme Changed Notification

    The coding scheme of the unit has changed.

    Operation IDvosSchemeChangedNotification

    Accepts the following message:

    object

    Examples

Schemas

  • SessionIdString
    string

    The session id flags all communication. If a message has no or empty session id, it's not processed. The session id is unique and was generated by the application. Any simple algorithm would work. The session id helps to link the correct unit with the data of the message. Using the id of the editor hosting html element is less reliable, because the element could be reused with another unit.

  • object
  • object
  • object