coursebuilder/test/simple/schema.yaml

311 lines
5.8 KiB
YAML
Raw Normal View History

2023-11-02 22:17:33 +01:00
# fields in curricular description
# leaning on methods in OpenAPI 3.0
2023-11-05 20:35:44 +01:00
#
# Modulname
#
2023-11-02 22:17:33 +01:00
name:
2023-11-05 20:35:44 +01:00
type: str
2023-11-08 15:32:41 +01:00
translatable: false
2023-11-02 22:17:33 +01:00
label: {
de: "Modulname",
en: "name of course"
2023-11-02 23:14:15 +01:00
}
2023-11-05 20:35:44 +01:00
#
# Kürzel / ID
#
id:
type: str
2023-11-08 15:32:41 +01:00
translatable: false
2023-11-05 20:35:44 +01:00
label: {
de: "Kürzel",
en: "code"
}
#
# Modulverantwortliche:r
#
instructor:
type: str
2023-11-08 15:32:41 +01:00
translatable: false
2023-11-05 20:35:44 +01:00
label: {
de: "Modulverantwortliche:r",
en: "module instructor"
}
#
# Qualifikationsziele
#
goal:
2023-11-02 22:17:33 +01:00
type: str
2023-11-05 20:35:44 +01:00
label: {
de: "Qualifikationsziele",
en: "educational goal"
}
#
# Modulinhalte
#
content:
type: str
label: {
de: "Modulinhalte",
en: "content"
}
2023-11-08 15:32:41 +01:00
#
# Lehrform
#
2023-11-08 20:42:15 +01:00
form-of-instruction:
2023-11-08 15:32:41 +01:00
label: {
2023-11-08 20:42:15 +01:00
de: "Lehrform(en)",
2023-11-08 15:32:41 +01:00
en: "form of instruction"
}
2023-11-08 20:42:15 +01:00
type: multikey
keys: {
2023-11-08 15:32:41 +01:00
'lecture' : {
de: "Vorlesung",
en: "lecture"
},
'lecture_seminar' : {
de: "Seminaristische Vorlesung",
en: "lecture and seminar"
},
'seminar' : {
de: "Seminar",
en: "seminar"
},
'exersise' : {
de: "Übung",
en: "lab exersise"
},
'pc_lab' : {
de: "Rechnergestütztes Praktikum",
en: "PC exersise"
},
'project' : {
de: "Project",
en: "project"
}
}
2023-11-08 20:42:15 +01:00
template:
de: "${key} (${value}SWS)"
en: "${key} (${value}SWS)"
2023-11-08 15:32:41 +01:00
2023-11-05 20:35:44 +01:00
#
# 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)
#
2023-11-02 22:17:33 +01:00
used-in:
2023-11-05 20:35:44 +01:00
type: str
label: {
de: "Verwendung",
en: "used in study programs"
}
2023-11-08 15:32:41 +01:00
#
# Arbeitsaufwand
#
workload:
type: str
label: {
de: "Arbeitsaufwand / Gesamtworkload",
en: "workload"
}
2023-11-02 22:17:33 +01:00
#
# credits/ECTS
#
credits:
label: {
2023-11-05 20:35:44 +01:00
en: "credits and weight of mark",
2023-11-02 22:17:33 +01:00
de: "Kreditpunkte und Gewichtung der Note in der Gesamtnote"
}
type: int
2023-11-08 15:32:41 +01:00
template:
de: "${value}CP Gewichtung: ${value}CP von 120CP "
en: "${value}CP weight: ${value} / 120 "
2023-11-02 22:17:33 +01:00
#
# Leistungsnachweis
#
form-of-exam:
label: {
de: "Leistungsnachweis",
2023-11-05 21:53:45 +01:00
en: "form of examination"
2023-11-02 22:17:33 +01:00
}
type: enum
values: {
'written' : {
de: "Schriftliche Prüfung",
2023-11-05 21:53:45 +01:00
en: "written exam"
2023-11-02 22:17:33 +01:00
},
'oral' : {
de: "Mündliche Prüfung",
2023-11-05 21:53:45 +01:00
en: "oral exam"
2023-11-02 22:17:33 +01:00
},
'alternative' : {
de: "Alternative Prüfungunsleistung",
2023-11-05 21:53:45 +01:00
en: "alternative examination"
2023-11-02 22:17:33 +01:00
}
}
2023-11-08 15:32:41 +01:00
2023-11-02 22:17:33 +01:00
#
2023-11-08 15:32:41 +01:00
# Semester
2023-11-02 22:17:33 +01:00
#
term:
label: {
de: "Semester",
en: "Term"
}
2023-11-08 20:42:15 +01:00
type: int
template:
de: "$value$. Semester"
en: "$value$ semester"
2023-11-08 15:32:41 +01:00
2023-11-02 22:17:33 +01:00
#
# Häufigkeit des Angebots
#
frequency:
label: {
de: "Häufigkeit des Angebots",
en: "Frequency of Offer"
}
type: "enum"
values: {
'once_per_term' : {
de: "jedes Semester",
en: "every term"
},
'once_per_year' : {
de: "einmal im Studienjahr",
en: "once per study year"
}
}
2023-11-08 15:32:41 +01:00
2023-11-08 20:42:15 +01:00
duration:
type: int
template:
de: "$value Semester"
en: "$value term(s)"
2023-11-08 15:32:41 +01:00
2023-11-05 21:53:45 +01:00
kind:
type: enum
label: {
de: 'Art der Veranstaltung (Pflicht, Wahl, etc.)',
en: 'kind of module (compulsory, elective)'
}
values: {
'compulsory': {
de: "Pflicht",
en: "compulsory"
},
'elective' : {
de: "Wahl/Wahlpflicht",
en: "elective"
}
}
2023-11-08 15:32:41 +01:00
remarks:
type: str
label: {
de: "Bemerkungen",
en: "Remarks"
}
2023-11-02 22:17:33 +01:00
# test:
# label: { de: "Name", en: "A Test" }
# type: enum
# values: {
# 'brand' : { de: "Marke", en: "Brand" },
# 'new' : { de: "Neu", en: "New" }
# }
# # German
# de:
# name: Modulname
# id: Kürzel
# instructor: Modulverantwortlicher
# goal: Qualifikationsziele
# content: Modulinhalte
# form: Lehrformen
# prerequisites: Voraussetzungen für die Teilnahme
# media-of-instruction: Literatur/ multimediale Lehr- und Lernprogramme
# author-of-indenture: Lehrbriefautor
# used-in: Verwendbarkeit
# workload: Arbeitsaufwand/ Gesamtworkload
# credits: ECTS und Gewichtung der Note in der Gesamtnote
# form-of-exam: Leistungsnachweis
# term: Semester
# frequency: Häufigkeit des Angebots
# duration: Dauer
# kind: Art der Veranstaltung (Pflicht, Wahl, etc.)
# remarks: Bemerkungen
# # English
# en:
# name: Coursename
# id: Code
# instructor: Instructor
# goal: Goals of Qualification
# content: Content and Topics
# form: Form of Instruction
# prerequisites: Prerequisites
# media-of-instruction: Media of Instruction
# author-of-indenture: Author of Indenture
# used-in: Viable for Course
# workload: Workload
# credits: Credits and Weight of Mark
# form-of-exam: Form of Examination
# term: Term
# frequency: Frequency
# duration: Duration
# kind: Compulsory / Elective
# remarks: Remarks
# # validators for enum-fields
# enums:
# form:
# - lecture
# - seminar
# - project
# form-of-exam:
# - written
# - oral
# - alternative
# term:
# - summer
# - winter
# - both