You're not reading the latest revision of this page, which is here.

Courses and tasks json

This site is for you if you are a course creator.

If you want a course to be available for external LMS, the Server needs to have the course and tasks listed in the course-and-tasks.json file.

Course JSON Definition

The course JSON File contains a list of courses:

1
2
3
{
  "courses": []
}

Course

Each course looks like so:

1
2
3
4
5
6
7
8
9
10
11
{
   "name": [
      {
         "name":"[Localized Course Name]",
         "language": "[Lang-Code]
      }
   ],
   "tasks": Task[],
   "pathToCourseFile": "[pathToCourseFile]",
   "link": "[Link To course overview page]",
}

Course Parameters

1. lms-include

With this parameter you can control whether or not and what elements of the course should be included as tasks in the automatic generated course json.
Possible values:

  • none: the course will not be included
  • all: the course will be included, and all elements will appear as tasks
  • comma separated combination of course,worksheet,lecture: ex. if lms-include = course,worksheet then the course and worksheet will appear as tasks.
  • (worksheet|lecture):[role] - use this to include worksheets and lectures with the specific role