mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-09 11:12:52 +00:00
test: add validation test for course of studies schema
This commit is contained in:
40
test/resources/CourseOfStudies.1.json
Normal file
40
test/resources/CourseOfStudies.1.json
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
{
|
||||||
|
"validationErrorNames": [],
|
||||||
|
"scData": {
|
||||||
|
"academicDegree": "bachelor",
|
||||||
|
"academicDegreewithField": "Bachelor of Arts",
|
||||||
|
"academicDegreewithFieldShort": "B.A.",
|
||||||
|
"department": {
|
||||||
|
"name": "Technische Universität Berlin",
|
||||||
|
"origin": {
|
||||||
|
"indexed": "2018-09-11T12:30:00Z",
|
||||||
|
"name": "Dummy"
|
||||||
|
},
|
||||||
|
"type": "organization",
|
||||||
|
"uid": "540862f3-ea30-5b8f-8678-56b4dc217140"
|
||||||
|
},
|
||||||
|
"mainLanguage": {
|
||||||
|
"code": "de",
|
||||||
|
"name": "german"
|
||||||
|
},
|
||||||
|
"major": "Astroturfing",
|
||||||
|
"mode": "dual",
|
||||||
|
"name": "Astroturfing Bachelor",
|
||||||
|
"origin": {
|
||||||
|
"indexed": "2018-09-11T12:30:00Z",
|
||||||
|
"name": "Dummy"
|
||||||
|
},
|
||||||
|
"secretary": {
|
||||||
|
"name": "Technische Universität Berlin",
|
||||||
|
"origin": {
|
||||||
|
"indexed": "2018-09-11T12:30:00Z",
|
||||||
|
"name": "Dummy"
|
||||||
|
},
|
||||||
|
"type": "organization",
|
||||||
|
"uid": "540862f3-ea30-5b8f-8678-56b4dc217140"
|
||||||
|
},
|
||||||
|
"timeMode": "parttime",
|
||||||
|
"type": "course of studies",
|
||||||
|
"uid": "540862f3-ea30-5b8f-8678-56b4dc217140"
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user