lecture-series.yaml 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. type: object
  2. description: Single lecture series definition of a specific revision
  3. properties:
  4. pk:
  5. description: A unique ID for this module and the time it is taught
  6. type: string
  7. weekday:
  8. description: The weekday the module took place on
  9. $ref: ../../enums/weekday.yaml
  10. from:
  11. description: Start time of the module, in seconds since midnight
  12. type: integer
  13. format: u32
  14. to:
  15. description: End time of the module, in seconds since midnight
  16. type: integer
  17. format: u32
  18. class:
  19. description: Name of the class this module is part of
  20. type: string
  21. name:
  22. description: Short name of the module
  23. rooms:
  24. description: List of rooms reserved for this module
  25. type: array
  26. items:
  27. type: string
  28. lecturers:
  29. description: List of lecturers teaching this module
  30. type: array
  31. items:
  32. type: string
  33. teaching_type:
  34. description: The type of teaching
  35. $ref: ../../enums/teaching-type.yaml
  36. module_execution_method:
  37. $ref: ../../enums/module-execution-type.yaml
  38. pages:
  39. description: List of pages, on which the module can be found in the PDF
  40. type: array
  41. items:
  42. type: integer
  43. format: u16
  44. course:
  45. description: Name of the course this module is part of
  46. type: string
  47. part_of_other_classes:
  48. description: List of other classes, where this module is also taught
  49. type: array
  50. items:
  51. type: string
  52. dates:
  53. description: |
  54. List of specific dates, when the lectures are held. This is used for
  55. block lectures and not regular lectures.
  56. type:
  57. - array
  58. - "null"
  59. items:
  60. type: object
  61. properties:
  62. starts:
  63. description: When the lecture starts (Unix Timestamp in seconds)
  64. type: integer
  65. format: u64
  66. ends:
  67. description: When the lecture ends (Unix Timestamp in seconds)
  68. type: integer
  69. format: u64
  70. required:
  71. - start
  72. - end
  73. required:
  74. - weekday
  75. - from
  76. - to
  77. - class
  78. - name
  79. - rooms
  80. - lecturers
  81. - teaching_type
  82. - module_execution_method
  83. - pages
  84. - course
  85. - part_of_other_classes