Skip to content

Commit

Permalink
schema: distinguish supervisor co-supervisors
Browse files Browse the repository at this point in the history
* Distinguish between thesis supervisor and co-supervisors
* Adds dgc "Degree committee member" for field contribution.role in document and deposit.
* Closes #733

Co-Authored-by: Peter Weber <[email protected]>
  • Loading branch information
rerowep and rerowep committed Jan 20, 2022
1 parent 25ad912 commit eb46acf
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1113,11 +1113,12 @@
"type": "string",
"default": "cre",
"enum": [
"dgs",
"prt",
"cre",
"ctb",
"edt",
"ctb"
"dgc",
"dgs",
"prt"
],
"form": {
"templateOptions": {
Expand All @@ -1142,6 +1143,10 @@
"label": "contribution_role_dgs",
"value": "dgs"
},
{
"label": "contribution_role_dgc",
"value": "dgc"
},
{
"label": "contribution_role_prt",
"value": "prt"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1348,34 +1348,39 @@
"title": "Role",
"type": "string",
"enum": [
"dgs",
"prt",
"cre",
"ctb",
"edt",
"ctb"
"dgc",
"dgs",
"prt"
],
"default": "cre",
"form": {
"options": [
{
"label": "contribution_role_dgs",
"value": "dgs"
},
{
"label": "contribution_role_prt",
"value": "prt"
},
{
"label": "contribution_role_cre",
"value": "cre"
},
{
"label": "contribution_role_ctb",
"value": "ctb"
},
{
"label": "contribution_role_edt",
"value": "edt"
},
{
"label": "contribution_role_ctb",
"value": "ctb"
"label": "contribution_role_dgs",
"value": "dgs"
},
{
"label": "contribution_role_dgc",
"value": "dgc"
},
{
"label": "contribution_role_prt",
"value": "prt"
}
]
}
Expand Down

0 comments on commit eb46acf

Please sign in to comment.