Skip to content

2.4. assessments.json

abasic edited this page Mar 10, 2020 · 1 revision

Notice

When using the flat repository structure, filename is changed to .assessments.json where ID is the one belonging to the parent activity (in this case a Topic)

Visual representation

Container

Code example

assessments.json

[{
  "id": 396,
  "uid": "afaccafb-5660-4271-b4db-f47cf6e4f7d7",
  "type": "ASSESSMENT",
  "contentId": "187ea9c6-98ce-42f0-a2af-75f43eb43bd6",
  "contentSignature": "e32c2c700083c5af98dd68e8aa66d70e49992a69",
  "position": null,
  "data": {
    "hint": "",
    "type": "TF",
    "width": 12,
    "correct": true,
    "question": [{
      "id": "cjoinsd2u000x3h5zpbse74ca",
      "data": {
        "width": 12,
        "content": "<p>Topic 1 TLA1 Question</p>"
      },
      "type": "HTML",
      "embedded": true
    }]
  },
  "refs": {},
  "createdAt": "2018-11-15T13:57:38.561Z",
  "updatedAt": "2018-11-15T13:57:38.561Z"
}, {
  "id": 397,
  "uid": "b7ebd7ae-3fbf-4c38-9aa7-00473ee57140",
  "type": "ASSESSMENT",
  "contentId": "acd66041-0db0-4fcb-a284-e059f15ab06e",
  "contentSignature": "e674ec4dc5fb4e562cf4a9b0108d683842ba53d8",
  "position": null,
  "data": {
    "hint": "",
    "type": "NR",
    "width": 12,
    "correct": [8],
    "prefixes": ["Generic prefix"],
    "question": [{
      "id": "cjoinszrp000z3h5zvwa0v8xk",
      "data": {
        "width": 12,
        "content": "<p>4 + 4</p>"
      },
      "type": "HTML",
      "embedded": true
    }],
    "suffixes": ["Generic suffix"]
  },
  "refs": {},
  "createdAt": "2018-11-15T13:58:06.081Z",
  "updatedAt": "2018-11-15T13:58:06.081Z"
}]