adding parts to the schema

This commit is contained in:
Hartmut Seichter 2023-11-05 20:35:44 +01:00
parent f749fdf9b3
commit 027b49a588
3 changed files with 144 additions and 13 deletions

View file

@ -1,28 +1,105 @@
# fields in curricular description
# leaning on methods in OpenAPI 3.0
#
# Modulname
#
name:
type: str
label: {
de: "Modulname",
en: "name of course"
}
#
# Kürzel / ID
#
id:
type: str
id: str
instructor: str
goal: str
content: str
form: enum
prerequisites: str
media-of-instruction: str
author-of-indenture: str
label: {
de: "Kürzel",
en: "code"
}
#
# Modulverantwortliche:r
#
instructor:
type: str
label: {
de: "Modulverantwortliche:r",
en: "module instructor"
}
#
# Qualifikationsziele
#
goal:
type: str
label: {
de: "Qualifikationsziele",
en: "educational goal"
}
#
# Modulinhalte
#
content:
type: str
label: {
de: "Modulinhalte",
en: "content"
}
form:
type: enum
#
# Voraussetzungen für die Teilnahme
#
prerequisites:
type: str
label: {
de: "Voraussetzungen für die Teilnahme",
en: "prerequisites"
}
#
# Literatur und multimediale Lehr- und Lernprogramme
#
media-of-instruction:
type: str
label: {
de: "Literatur und multimediale Lehr- und Lernprogramme",
en: "media of instruction"
}
#
# Lehrbriefautor
#
author-of-indenture:
type: str
label: {
de: "Lehrbriefautor",
en: "author of indenture"
}
#
# Verwendung in (Studienprogramm)
#
used-in:
type: str
label: {
de: "Verwendung",
en: "used in study programs"
}
workload: #tricky! { 'presence': 10, 'exersise': 10, 'exam-prep' : 0 }
#
# credits/ECTS
#
credits:
label: {
en: "Credits and Weight of Mark",
en: "credits and weight of mark",
de: "Kreditpunkte und Gewichtung der Note in der Gesamtnote"
}
type: int