diff --git a/nerm/schemas/GET/User.yaml b/nerm/schemas/GET/User.yaml index e3941aeb..dadc015f 100644 --- a/nerm/schemas/GET/User.yaml +++ b/nerm/schemas/GET/User.yaml @@ -4,34 +4,60 @@ properties: type: string format: uuid readonly: true + example: db6f8e8b-65c2-47d5-a0db-90bcc4e9df9e + description: ID of the object to retrieve or update uid: type: string minLength: 32 maxLength: 32 readonly: true + example: user1 + description: UID of the user name: type: string + description: The name + example: myusername email: type: string format: email + description: The email + example: test@sailpoint.com type: type: string enum: [NeprofileUser, NeaccessUser] default: NeprofileUser + description: Type of user + example: NeprofileUser title: type: string + description: The title + example: Director status: type: string enum: [Active, Disabled] + description: Status of the user + example: Active login: - type: string + type: string + description: The login + example: myLogin last_login: type: string format: date-time readOnly: true + description: When the user last logged in + example: Wed, 07 Feb 2024 12:55:20.456682000 EST -05:00 cookies_accepted_at: type: string format: date-time readOnly: true + description: When cookies were accepted + example: Wed, 07 Feb 2024 12:55:20.456682000 EST -05:00 preferred_language: - type: string \ No newline at end of file + type: string + description: The locale the user prefers to use + example: fr-CA + locale: + type: string + description: The locale the user prefers to use + example: fr-CA \ No newline at end of file diff --git a/nerm/schemas/PATCH/User.yaml b/nerm/schemas/PATCH/User.yaml index f7cc9721..bd13d271 100644 --- a/nerm/schemas/PATCH/User.yaml +++ b/nerm/schemas/PATCH/User.yaml @@ -43,4 +43,8 @@ properties: group_strings: type: string description: The group strings - example: "Administrator_group,Developer_group" \ No newline at end of file + example: "Administrator_group,Developer_group" + locale: + type: string + description: The locale the user prefers to use + example: fr-CA \ No newline at end of file diff --git a/nerm/schemas/POST/User.yaml b/nerm/schemas/POST/User.yaml index 0e79d38e..764f517f 100644 --- a/nerm/schemas/POST/User.yaml +++ b/nerm/schemas/POST/User.yaml @@ -41,3 +41,7 @@ properties: type: string description: The user group strings example: "Administrator_group,Developer_group" + locale: + type: string + description: The locale the user prefers to use + example: fr-CA