[config.modules] make POST professor types more flexible
This commit is contained in:
parent
919bccafd9
commit
0b5272c8ec
|
@ -92,9 +92,9 @@
|
||||||
"lastName": { "des": "Professor first name.", "typ": "varchar(2,30,alphanumeric)" },
|
"lastName": { "des": "Professor first name.", "typ": "varchar(2,30,alphanumeric)" },
|
||||||
"category": { "des": "Professor category UID.", "typ": "id" },
|
"category": { "des": "Professor category UID.", "typ": "id" },
|
||||||
"hoursToDo": { "des": "Number of hours professor have to do", "typ": "id" },
|
"hoursToDo": { "des": "Number of hours professor have to do", "typ": "id" },
|
||||||
"initials": { "des": "Professor initials", "typ": "varchar(2,2,letters)" },
|
"initials": { "des": "Professor initials", "typ": "varchar(2,8,letters)" },
|
||||||
"isAdmin": { "des": "Whether professor is an admin", "typ": "boolean" },
|
"isAdmin": { "des": "Whether professor is an admin", "typ": "boolean" },
|
||||||
"casLogin": { "des": "Optional CAS username", "typ": "varchar(6,10,letters)", "opt": true }
|
"casLogin": { "des": "Optional CAS username", "typ": "varchar(6,16,letters)", "opt": true }
|
||||||
},
|
},
|
||||||
"out": {
|
"out": {
|
||||||
"created_uid": { "des": "Created professor UID", "typ": "id" }
|
"created_uid": { "des": "Created professor UID", "typ": "id" }
|
||||||
|
|
Loading…
Reference in New Issue