test: add validation test for course of studies schema

This commit is contained in:
Rainer Killinger
2018-12-03 11:29:46 +01:00
parent 2d4a76a555
commit 3d8b03d241

View 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"
}
}