blockclass.yaml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. type: object
  2. description: Single blockclass entry
  3. properties:
  4. weekday:
  5. description: Not used
  6. type: "null"
  7. from:
  8. description: Time the module starts in seconds since midnight (not used, always 0)
  9. type: integer
  10. format: int32
  11. to:
  12. description: Time the module starts in seconds since midnight (not used, always 0)
  13. type: integer
  14. format: int32
  15. class:
  16. description: Class name this block module is part of
  17. type: string
  18. name:
  19. description: Short name of the module
  20. type: string
  21. rooms:
  22. description: The rooms which are reserved for this module
  23. type: array
  24. items:
  25. type: string
  26. lecturers:
  27. description: The lecturers names that are teaching this module
  28. type: array
  29. items:
  30. type: string
  31. teaching_type:
  32. description: Type of teaching
  33. $ref: ../../enums/teaching-type.yaml
  34. pages:
  35. description: The pages, on which the module can be found
  36. type: array
  37. items:
  38. type: integer
  39. format: int16
  40. degree_prg:
  41. description: Name of the degree program this module is part of
  42. type: string
  43. part_of_other_classes:
  44. description: List of other classes, where this module is also taught
  45. type: array
  46. items:
  47. type: string
  48. pk:
  49. description: Unique identifier for this blockmodule
  50. type: string
  51. required:
  52. - weekday
  53. - from
  54. - to
  55. - class
  56. - name
  57. - rooms
  58. - lecturers
  59. - teaching_type
  60. - pages
  61. - degree_prg
  62. - part_of_other_classes
  63. - pk