diff options
author | Heiko Bernloehr <Heiko.Bernloehr@FreeIT.de> | 2011-09-23 03:35:38 +0200 |
---|---|---|
committer | Heiko Bernloehr <Heiko.Bernloehr@FreeIT.de> | 2011-09-23 03:35:38 +0200 |
commit | e5cc81b2201ac24294d2ac3e732f9ddac954cc84 (patch) | |
tree | e5122845d20648973f625930b6a1b22d3a9fa2df /campusconnect | |
parent | fdbd388f0ceeb76f2ff002e9958ad1b47c3cda93 (diff) | |
download | ecs2-e5cc81b2201ac24294d2ac3e732f9ddac954cc84.tar.gz ecs2-e5cc81b2201ac24294d2ac3e732f9ddac954cc84.zip |
CampusConnect courses schema changed.
Corrected a curly bracket.
Diffstat (limited to 'campusconnect')
-rw-r--r-- | campusconnect/schemas/cc_courses.schema.json | 305 |
1 files changed, 152 insertions, 153 deletions
diff --git a/campusconnect/schemas/cc_courses.schema.json b/campusconnect/schemas/cc_courses.schema.json index 596622e..b92a045 100644 --- a/campusconnect/schemas/cc_courses.schema.json +++ b/campusconnect/schemas/cc_courses.schema.json @@ -14,175 +14,174 @@ "hoursPerWeek": {"type":"integer"}, "maxParticipants": {"type":"integer"}, "parallelGroupScenario": {"type":"integer"} - }, - "lecturers": { - "type":"array", - "items": { - "type":"object", - "properties":{ - "firstName": {"type":"string"}, - "lastName": {"type":"string"} - } + } + }, + "lecturers": { + "type":"array", + "items": { + "type":"object", + "properties":{ + "firstName": {"type":"string"}, + "lastName": {"type":"string"} } - }, - "degreeProgrammes": { - "required":true, - "type":"array", - "items": { - "type":"object", - "required":true, - "properties":{ - "id": {"type":"string"}, - "title": {"type":"string"}, - "code": {"type":"string"}, - "courseUnitYearOfStudy": { - "type":"object", - "properties": { - "from":{"type":"integer"}, - "to":{"type":"integer"} - } + } + }, + "degreeProgrammes": { + "type":"array", + "items": { + "type":"object", + "properties":{ + "id": {"type":"string"}, + "title": {"type":"string"}, + "code": {"type":"string"}, + "courseUnitYearOfStudy": { + "type":"object", + "properties": { + "from":{"type":"integer"}, + "to":{"type":"integer"} } } } - }, - "allocations": { - "type":"array", - "items": { - "type":"object", - "properties":{ - "parentID": {"type":"integer"}, - "order": {"type":"integer"} - } + } + }, + "allocations": { + "type":"array", + "items": { + "type":"object", + "properties":{ + "parentID": {"type":"integer"}, + "order": {"type":"integer"} } - }, - "comment1": {"type":"string"}, - "comment2": {"type":"string"}, - "comment3": {"type":"string"}, - "recommendedReading": {"type":"string"}, - "organisationalUnit": { - "type":"array", - "items": { - "type":"object", - "properties":{ - "id": {"type":"string"}, - "title": {"type":"string"} - } + } + }, + "comment1": {"type":"string"}, + "comment2": {"type":"string"}, + "comment3": {"type":"string"}, + "recommendedReading": {"type":"string"}, + "organisationalUnit": { + "type":"array", + "items": { + "type":"object", + "properties":{ + "id": {"type":"string"}, + "title": {"type":"string"} } - }, - "prerequisites": {"type":"string"}, - "courseAssessmentMethod": {"type":"string"}, - "courseTopics": {"type":"string"}, - "linkToCurriculum": {"type":"string"}, - "targetAudience": {"type":"string"}, - "links": { - "type":"array", - "items": { - "type":"object", - "properties":{ - "href": {"type":"string", "format":"uri"}, - "title": {"type":"string"} - } + } + }, + "prerequisites": {"type":"string"}, + "courseAssessmentMethod": {"type":"string"}, + "courseTopics": {"type":"string"}, + "linkToCurriculum": {"type":"string"}, + "targetAudience": {"type":"string"}, + "links": { + "type":"array", + "items": { + "type":"object", + "properties":{ + "href": {"type":"string", "format":"uri"}, + "title": {"type":"string"} } - }, - "linkToCourse": { - "type":"object", - "properties":{ - "href": {"type":"string", "format":"uri"}, - "title": {"type":"string"} - } - }, - "parallelGroups": { - "type":"array", - "items": { - "type":"object", - "properties": { - "title": {"type":"string"}, - "id": {"type":"string"}, - "comment": {"type":"string"}, - "datesAndVenues": { - "type":"array", - "items": { - "type":"object", - "properties": { - "cycle": {"type":"string"}, - "venue": {"type":"string"}, - "firstDate": { - "type":"object", - "properties": { - "startDatetime": {"type":"string", "format":"date-time"}, - "endDatetime": {"type":"string", "format":"date-time"} - } - }, - "lastDate": { - "type":"object", - "properties": { - "startDatetime": {"type":"string", "format":"date-time"}, - "endDatetime": {"type":"string", "format":"date-time"} - } + } + }, + "linkToCourse": { + "type":"object", + "properties":{ + "href": {"type":"string", "format":"uri"}, + "title": {"type":"string"} + } + }, + "parallelGroups": { + "type":"array", + "items": { + "type":"object", + "properties": { + "title": {"type":"string"}, + "id": {"type":"string"}, + "comment": {"type":"string"}, + "datesAndVenues": { + "type":"array", + "items": { + "type":"object", + "properties": { + "cycle": {"type":"string"}, + "venue": {"type":"string"}, + "firstDate": { + "type":"object", + "properties": { + "startDatetime": {"type":"string", "format":"date-time"}, + "endDatetime": {"type":"string", "format":"date-time"} + } + }, + "lastDate": { + "type":"object", + "properties": { + "startDatetime": {"type":"string", "format":"date-time"}, + "endDatetime": {"type":"string", "format":"date-time"} } } } - }, - "singleDatesAndVenues": { - "type":"array", - "items": { - "type":"object", - "properties": { - "startDatetime": {"type":"string", "format":"date-time"}, - "endDatetime": {"type":"string", "format":"date-time"} - } + } + }, + "singleDatesAndVenues": { + "type":"array", + "items": { + "type":"object", + "properties": { + "startDatetime": {"type":"string", "format":"date-time"}, + "endDatetime": {"type":"string", "format":"date-time"} } - }, - "maxParticipants": {"type":"integer"}, - "takesPlace":{"type":"boolean"}, - "lecturers": { - "type":"array", - "items": { - "type":"object", - "properties": { - "firstName": {"type":"string"}, - "lsatName": {"type":"string"} - } + } + }, + "maxParticipants": {"type":"integer"}, + "takesPlace":{"type":"boolean"}, + "lecturers": { + "type":"array", + "items": { + "type":"object", + "properties": { + "firstName": {"type":"string"}, + "lsatName": {"type":"string"} } - }, - "canceledDates": { - "type":"array", - "items": { - "type":"object", - "properties": { - "datetime": {"type":"string", "format":"date-time"}, - "comment": {"type":"string"} - } + } + }, + "canceledDates": { + "type":"array", + "items": { + "type":"object", + "properties": { + "datetime": {"type":"string", "format":"date-time"}, + "comment": {"type":"string"} } } } } - }, - "modules": { - "type":"array", - "items": { - "type":"object", - "properties": { - "id": {"type":"string", "required":"true"}, - "title": {"type":"string"}, - "number": {"type":"integer"}, - "credits": {"type":"integer"}, - "hoursPerWeek": {"type":"integer"}, - "duration": {"type":"integer"}, - "cycle": {"type":"string"}, - "degreeProgramme": {"type":"string"}, - "finalExamination": {"type":"string"}, - "label": {"type":"string"}, - "regulationsVersion": {"type":"string"}, - "degreeProgrammeCode": {"type":"string"}, - "prerequisites": {"type":"string"}, - "learningObjectives": {"type":"string"}, - "recommendedReading": {"type":"string"}, - "description": {"type":"string"}, - "workload": {"type":"string"}, - "studyAssessmentMethods": {"type":"string"}, - "examinationAssessmentMethods": {"type":"string"} - } + } + }, + "modules": { + "required":true, + "type":"array", + "items": { + "type":"object", + "properties": { + "id": {"type":"string"}, + "title": {"type":"string"}, + "number": {"type":"integer"}, + "credits": {"type":"integer"}, + "hoursPerWeek": {"type":"integer"}, + "duration": {"type":"integer"}, + "cycle": {"type":"string"}, + "degreeProgramme": {"type":"string"}, + "finalExamination": {"type":"string"}, + "label": {"type":"string"}, + "regulationsVersion": {"type":"string"}, + "degreeProgrammeCode": {"type":"string"}, + "prerequisites": {"type":"string"}, + "learningObjectives": {"type":"string"}, + "recommendedReading": {"type":"string"}, + "description": {"type":"string"}, + "workload": {"type":"string"}, + "studyAssessmentMethods": {"type":"string"}, + "examinationAssessmentMethods": {"type":"string"} } } } |