class.yaml 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. type: object
  2. description: Single class definition of a specific version
  3. properties:
  4. weekday:
  5. description: The weekday the module took place on
  6. $ref: ../../../enums/weekday.yaml
  7. from:
  8. description: Start time of the module, in seconds since midnight
  9. type: integer
  10. format: int32
  11. to:
  12. description: End time of the module, in seconds since midnight
  13. type: integer
  14. format: int32
  15. class:
  16. description: Name of the class this module is part of
  17. type: string
  18. name:
  19. description: Short name of the module
  20. rooms:
  21. description: List of rooms reserved for this module
  22. type: array
  23. items:
  24. type: string
  25. lecturers:
  26. description: List of lecturers teaching this module
  27. type: array
  28. items:
  29. type: string
  30. teaching_type:
  31. description: The type of teaching
  32. $ref: ../../../enums/teaching-type.yaml
  33. pages:
  34. description: List of pages, on which the module can be found in the PDF
  35. type: array
  36. items:
  37. type: integer
  38. format: int16
  39. degree_prg:
  40. description: Name of the degree program this module is part of
  41. type: string
  42. part_of_other_classes:
  43. description: List of other classes, where this module is also taught
  44. type: array
  45. items:
  46. type: string
  47. pk:
  48. description: A unique ID for this module and the time it is taught
  49. type: string
  50. required:
  51. - weekday
  52. - from
  53. - to
  54. - class
  55. - name
  56. - rooms
  57. - lecturers
  58. - teaching_type
  59. - pages
  60. - degree_prg
  61. - part_of_other_classes
  62. - pk