|
|
@@ -21,32 +21,22 @@ properties:
|
|
|
const: failed
|
|
|
description: The student failed the module
|
|
|
course_pk:
|
|
|
- description: The governing course for this enrolment
|
|
|
- type: number
|
|
|
- format: i32
|
|
|
+ $ref: ../relations/course.yaml
|
|
|
term_pk:
|
|
|
- description: The term, in which this enrolment took place in
|
|
|
- type: number
|
|
|
- format: i32
|
|
|
+ $ref: ../relations/term.yaml
|
|
|
ects:
|
|
|
- description: The number of ECTS awarded
|
|
|
- type: number
|
|
|
- format: f32
|
|
|
+ $ref: ../common/ects.yaml
|
|
|
mark:
|
|
|
- description: The achieved mark
|
|
|
- type: number
|
|
|
- format: f32
|
|
|
+ $ref: ../common/mark.yaml
|
|
|
module_pk:
|
|
|
- description: The module, which the student enrolled in
|
|
|
- type: number
|
|
|
- format: i32
|
|
|
+ $ref: ../relations/module.yaml
|
|
|
start_date:
|
|
|
description: When this enrolment started (UNIX timestamp in seconds)
|
|
|
- type: number
|
|
|
- format: i64
|
|
|
+ type: integer
|
|
|
+ format: u64
|
|
|
end_date:
|
|
|
description: When this enrolment ended (UNIX timestamp in seconds)
|
|
|
- format: i64
|
|
|
+ format: u64
|
|
|
required:
|
|
|
- status
|
|
|
- course_pk
|