{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://cdn.jsdelivr.net/npm/@pie-element/drag-in-the-blank@11.0.6/dist/schemas/session.schema.json",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Identifier of the session"
    },
    "element": {
      "type": "string",
      "description": "The element the session belongs to"
    },
    "value": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "The id of the choice placed in each response area, keyed by the area's index"
    },
    "selector": {
      "type": "string",
      "description": "How the learner gave the last response; the delivery writes `Mouse`"
    },
    "shuffledValues": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Choice ids in the order they were shuffled for this learner, when choice order is not locked"
    },
    "audioStartTime": {
      "type": "number",
      "description": "Timestamp (ms) when the prompt's auto-played audio started"
    },
    "audioEndTime": {
      "type": "number",
      "description": "Timestamp (ms) when the prompt's auto-played audio ended"
    },
    "waitTime": {
      "type": "number",
      "description": "Milliseconds the learner waited for the prompt's auto-played audio to finish"
    }
  },
  "definitions": {}
}
