|
|
@@ -1,44 +1,48 @@
|
|
|
type: object
|
|
|
description: A single module definition
|
|
|
properties:
|
|
|
+ pk:
|
|
|
+ $ref: ../common/pk.yaml
|
|
|
short:
|
|
|
description: Short name of the module / its human readable ID.
|
|
|
- type: string
|
|
|
+ type:
|
|
|
+ - string
|
|
|
+ - "null"
|
|
|
+ default: null
|
|
|
name:
|
|
|
description: Full name of the module
|
|
|
type: string
|
|
|
courses:
|
|
|
- description: List of courses, for which this module is meant.
|
|
|
- type:
|
|
|
- - array
|
|
|
- - "null"
|
|
|
+ description: List of courses, for which this module belongs to.
|
|
|
+ type: array
|
|
|
+ default: []
|
|
|
items:
|
|
|
- type: string
|
|
|
- module_pk:
|
|
|
- description: The unique module ID number.
|
|
|
+ $ref: ../relations/course.yaml
|
|
|
+ internal_module_pk:
|
|
|
+ description: The internal unique module ID number of the university.
|
|
|
type:
|
|
|
- - number
|
|
|
+ - integer
|
|
|
- "null"
|
|
|
+ default: null
|
|
|
+ format: u32
|
|
|
module_related_pk:
|
|
|
- description: TODO
|
|
|
- type:
|
|
|
- - array
|
|
|
- - "null"
|
|
|
+ description: Related modules
|
|
|
+ type: array
|
|
|
+ default: []
|
|
|
items:
|
|
|
- type: integer
|
|
|
- format: u32
|
|
|
+ $ref: ../relations/module.yaml
|
|
|
ects:
|
|
|
description: The number of ECTS this module awards upon completion.
|
|
|
type:
|
|
|
- number
|
|
|
- "null"
|
|
|
+ default: null
|
|
|
marks:
|
|
|
description: |
|
|
|
The types of marks that this module involves (Final exam, continuous grading,
|
|
|
project, …).
|
|
|
- type:
|
|
|
- - array
|
|
|
- - "null"
|
|
|
+ type: array
|
|
|
+ default: []
|
|
|
items:
|
|
|
$ref: ../../enums/grading-type.yaml
|
|
|
cat:
|
|
|
@@ -46,6 +50,7 @@ properties:
|
|
|
type:
|
|
|
- string
|
|
|
- "null"
|
|
|
+ default: null
|
|
|
sub_cat:
|
|
|
description: |
|
|
|
Sub-category of the module (business administration, subject supplement,
|
|
|
@@ -53,23 +58,16 @@ properties:
|
|
|
type:
|
|
|
- string
|
|
|
- "null"
|
|
|
+ default: null
|
|
|
dependencies:
|
|
|
description: |
|
|
|
What dependencies are required to be able to participate in this module.
|
|
|
$ref: ./module-dependency.yaml
|
|
|
+ default: {}
|
|
|
enabling_modules:
|
|
|
description: |
|
|
|
List of modules, that can be attended, after the completion of this module.
|
|
|
$ref: ./module-dependency.yaml
|
|
|
+ default: {}
|
|
|
required:
|
|
|
- short
|
|
|
- - name
|
|
|
- - courses
|
|
|
- - module_pk
|
|
|
- - module_related_pk
|
|
|
- - ects
|
|
|
- - marks
|
|
|
- - cat
|
|
|
- - sub_cat
|
|
|
- - dependencies
|
|
|
- - enabling_modules
|