|
@@ -1,6 +1,9 @@
|
|
|
type: object
|
|
type: object
|
|
|
description: Single lecture series definition of a specific revision
|
|
description: Single lecture series definition of a specific revision
|
|
|
properties:
|
|
properties:
|
|
|
|
|
+ pk:
|
|
|
|
|
+ description: A unique ID for this module and the time it is taught
|
|
|
|
|
+ type: string
|
|
|
weekday:
|
|
weekday:
|
|
|
description: The weekday the module took place on
|
|
description: The weekday the module took place on
|
|
|
$ref: ../../enums/weekday.yaml
|
|
$ref: ../../enums/weekday.yaml
|
|
@@ -46,9 +49,27 @@ properties:
|
|
|
type: array
|
|
type: array
|
|
|
items:
|
|
items:
|
|
|
type: string
|
|
type: string
|
|
|
- pk:
|
|
|
|
|
- description: A unique ID for this module and the time it is taught
|
|
|
|
|
- type: string
|
|
|
|
|
|
|
+ dates:
|
|
|
|
|
+ description: |
|
|
|
|
|
+ List of specific dates, when the lectures are held. This is used for
|
|
|
|
|
+ block lectures and not regular lectures.
|
|
|
|
|
+ type:
|
|
|
|
|
+ - array
|
|
|
|
|
+ - "null"
|
|
|
|
|
+ items:
|
|
|
|
|
+ type: object
|
|
|
|
|
+ properties:
|
|
|
|
|
+ starts:
|
|
|
|
|
+ description: When the lecture starts (Unix Timestamp in seconds)
|
|
|
|
|
+ type: integer
|
|
|
|
|
+ format: u64
|
|
|
|
|
+ ends:
|
|
|
|
|
+ description: When the lecture ends (Unix Timestamp in seconds)
|
|
|
|
|
+ type: integer
|
|
|
|
|
+ format: u64
|
|
|
|
|
+ required:
|
|
|
|
|
+ - start
|
|
|
|
|
+ - end
|
|
|
required:
|
|
required:
|
|
|
- weekday
|
|
- weekday
|
|
|
- from
|
|
- from
|
|
@@ -62,4 +83,3 @@ required:
|
|
|
- pages
|
|
- pages
|
|
|
- course
|
|
- course
|
|
|
- part_of_other_classes
|
|
- part_of_other_classes
|
|
|
- - pk
|
|
|