Skip to content

Commit 067ac41

Browse files
committed
add userType to educationUser as well
Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
1 parent bae0942 commit 067ac41

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

api/openapi-spec/v1.0.yaml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1027,6 +1027,7 @@ paths:
10271027
displayName: Max Mustermann
10281028
10291029
primaryRole: student
1030+
userType: Member
10301031
identities:
10311032
- issuer: idp.school.com
10321033
issuerAssignedId: max.mustermann
@@ -1146,6 +1147,7 @@ paths:
11461147
givenName: Max
11471148
11481149
primaryRole: student
1150+
userType: Member
11491151
identities:
11501152
- issuer: idp.school.com
11511153
issuerAssignedId: max.mustermann
@@ -1353,6 +1355,7 @@ paths:
13531355
givenName: Max
13541356
13551357
primariyRole: student
1358+
userType: Member
13561359
identities:
13571360
- issuer: idp.school.com
13581361
issuerAssignedId: max.mustermann
@@ -1707,6 +1710,7 @@ paths:
17071710
givenName: Max
17081711
17091712
primariyRole: student
1713+
userType: Member
17101714
identities:
17111715
- issuer: idp.school.com
17121716
issuerAssignedId: max.mustermann
@@ -1809,6 +1813,7 @@ paths:
18091813
givenName: Max
18101814
18111815
primariyRole: teacher
1816+
userType: Member
18121817
identities:
18131818
- issuer: idp.school.com
18141819
issuerAssignedId: max.mustermann
@@ -2088,6 +2093,9 @@ components:
20882093
displayName:
20892094
type: string
20902095
description: 'The name displayed in the address book for the user. This value is usually the combination of the user''s first name, middle initial, and last name. This property is required when a user is created and it cannot be cleared during updates. Returned by default. Supports $orderby.'
2096+
givenName:
2097+
type: string
2098+
description: The user's givenName. Returned by default.
20912099
drives:
20922100
type: array
20932101
items:
@@ -2120,12 +2128,14 @@ components:
21202128
surname:
21212129
type: string
21222130
description: The user's surname (family name or last name). Returned by default.
2123-
givenName:
2124-
type: string
2125-
description: The user's givenName. Returned by default.
21262131
primaryRole:
21272132
type: string
2133+
enum: [student, teacher]
21282134
description: 'The user`s default role. Such as "student" or "teacher"'
2135+
userType:
2136+
type: string
2137+
enum: [Member, Guest]
2138+
description: 'A string value that can be used to classify user types in your directory, such as ''Member'' and ''Guest''. Returned only on $select. Supports $filter.'
21292139
drive:
21302140
description: The drive represents a space on the storage.
21312141
type: object
@@ -2986,6 +2996,7 @@ components:
29862996
givenName: Max
29872997
29882998
primaryRole: student
2999+
userType: Member
29893000
identities:
29903001
- issuer: idp.school.com
29913002
issuerAssignedId: max.mustermann
@@ -2997,6 +3008,7 @@ components:
29973008
givenName: Max
29983009
29993010
primaryRole: student
3011+
userType: Member
30003012
identities:
30013013
- issuer: idp.school.com
30023014
issuerAssignedId: max.mustermann

0 commit comments

Comments
 (0)