Skip to content

Commit c55d753

Browse files
committed
add userType to educationUser as well
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
1 parent 1bb23a0 commit c55d753

1 file changed

Lines changed: 13 additions & 4 deletions

File tree

api/openapi-spec/v1.0.yaml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1957,6 +1957,7 @@ paths:
19571957
displayName: Max Mustermann
19581958
mail: max.musterman@example.org
19591959
primaryRole: student
1960+
userType: Member
19601961
identities:
19611962
- issuer: idp.school.com
19621963
issuerAssignedId: max.mustermann
@@ -2076,6 +2077,7 @@ paths:
20762077
givenName: Max
20772078
mail: max.musterman@new.domain
20782079
primaryRole: student
2080+
userType: Member
20792081
identities:
20802082
- issuer: idp.school.com
20812083
issuerAssignedId: max.mustermann
@@ -2290,6 +2292,7 @@ paths:
22902292
givenName: Max
22912293
mail: max.musterman@example.org
22922294
primariyRole: student
2295+
userType: Member
22932296
identities:
22942297
- issuer: idp.school.com
22952298
issuerAssignedId: max.mustermann
@@ -2644,6 +2647,7 @@ paths:
26442647
givenName: Max
26452648
mail: max.musterman@example.org
26462649
primariyRole: student
2650+
userType: Member
26472651
identities:
26482652
- issuer: idp.school.com
26492653
issuerAssignedId: max.mustermann
@@ -2746,6 +2750,7 @@ paths:
27462750
givenName: Max
27472751
mail: max.musterman@example.org
27482752
primariyRole: teacher
2753+
userType: Member
27492754
identities:
27502755
- issuer: idp.school.com
27512756
issuerAssignedId: max.mustermann
@@ -3149,6 +3154,9 @@ components:
31493154
displayName:
31503155
type: string
31513156
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.'
3157+
givenName:
3158+
type: string
3159+
description: The user's givenName. Returned by default.
31523160
drives:
31533161
type: array
31543162
items:
@@ -3181,15 +3189,14 @@ components:
31813189
surname:
31823190
type: string
31833191
description: The user's surname (family name or last name). Returned by default.
3184-
givenName:
3185-
type: string
3186-
description: The user's givenName. Returned by default.
31873192
primaryRole:
31883193
type: string
3194+
enum: [student, teacher]
31893195
description: 'The user`s default role. Such as "student" or "teacher"'
31903196
userType:
31913197
type: string
3192-
description: 'The user`s type. This can be either "Member" for regular user, or "Guest" for guest users.'
3198+
enum: [Member, Guest]
3199+
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.'
31933200
drive:
31943201
description: The drive represents a space on the storage.
31953202
type: object
@@ -4684,6 +4691,7 @@ components:
46844691
givenName: Max
46854692
mail: max.musterman@example.org
46864693
primaryRole: student
4694+
userType: Member
46874695
identities:
46884696
- issuer: idp.school.com
46894697
issuerAssignedId: max.mustermann
@@ -4695,6 +4703,7 @@ components:
46954703
givenName: Max
46964704
mail: max.musterman@example.org
46974705
primaryRole: student
4706+
userType: Member
46984707
identities:
46994708
- issuer: idp.school.com
47004709
issuerAssignedId: max.mustermann

0 commit comments

Comments
 (0)