Quiz

Schema

Examples

Content and question steps

{
  "id": "1",
  "title": "quiz title",
  "steps": [
    {
      "id": "1",
      "items": [
        {
          "id": "1",
          "type": "text/html",
          "data": "<p>Lorem ipsum dolor <em>sit</em> amet."
        }
      ]
    },
    {
      "id": "2",
      "items": [
        {
          "id": "2",
          "type": "application/x.choice+json",
          "content": "Question ?",
          "choices": [
            {
              "id": "3",
              "type": "text/plain",
              "data": "True"
            },
            {
              "id": "4",
              "type": "text/plain",
              "data": "False"
            }
          ],
          "random": false,
          "multiple": false
        }
      ]
    }
  ]
}

Quiz metadata

{
  "id": "1",
  "title": "quiz title",
  "meta": {
    "authors": [
      {
        "name": "John Doe",
        "email": "john@mail.com"
      }
    ],
    "created": "2015-06-04",
    "license": "CC"
  },
  "steps": [
    {
      "id": "1",
      "items": [
        {
          "id": "1",
          "content": "Question ?",
          "type": "application/x.choice+json",
          "choices": [
            {
              "id": "1",
              "type": "image/png",
              "url": "http://domain.com/image-1.png"
            },
            {
              "id": "2",
              "type": "image/png",
              "data": "http://domain.com/image-2.png"
            },
            {
              "id": "3",
              "type": "image/png",
              "data": "http://domain.com/image-3.png"
            }
          ],
          "random": true,
          "multiple": true
        }
      ]
    }
  ]
}

With parameters

{
  "id": "1",
  "title": "quiz title",
  "meta": {
    "authors": [
      {
        "name": "John Doe",
        "email": "john@mail.com"
      }
    ],
    "created": "2015-06-04",
    "license": "CC"
  },
  "parameters": {
    "type": "summative",
    "anonymizeAttempts": false,
    "interruptible": true,
    "duration": 0,
    "maxAttempts": 5,
    "randomOrder": "once",
    "randomPick": "never",
    "pick": 0,
    "showOverview": true,
    "showEndPage": true,
    "showMetadata": true,
    "showStatistics": false,
    "showFullCorrection": true,
    "showCorrectionAt": "validation",
    "showScoreAt": "correction",
    "showFeedback": true,
    "totalScoreOn": 0
  },
  "steps": [
    {
      "id": "1",
      "items": [
        {
          "id": "1",
          "content": "Question ?",
          "type": "application/x.choice+json",
          "choices": [
            {
              "id": "1",
              "type": "image/png",
              "url": "http://domain.com/image-1.png"
            },
            {
              "id": "2",
              "type": "image/png",
              "data": "http://domain.com/image-2.png"
            },
            {
              "id": "3",
              "type": "image/png",
              "data": "http://domain.com/image-3.png"
            }
          ],
          "random": true,
          "multiple": true
        }
      ]
    }
  ]
}