@@ -3746,7 +3746,7 @@ paths:
3746
3746
schema :
3747
3747
type : " array"
3748
3748
items :
3749
- $ref : " #/definitions/User "
3749
+ $ref : " #/definitions/EnhancedUser "
3750
3750
" 400 " :
3751
3751
$ref : " #/definitions/BadRequest"
3752
3752
" 401 " :
@@ -3783,7 +3783,7 @@ paths:
3783
3783
schema :
3784
3784
type : " array"
3785
3785
items :
3786
- $ref : " #/definitions/UserAttribute "
3786
+ $ref : " #/definitions/LookupAttribute "
3787
3787
" 400 " :
3788
3788
$ref : " #/definitions/BadRequest"
3789
3789
" 401 " :
@@ -3821,7 +3821,7 @@ paths:
3821
3821
schema :
3822
3822
type : " array"
3823
3823
items :
3824
- $ref : " #/definitions/Achievement "
3824
+ $ref : " #/definitions/LookupAchievement "
3825
3825
" 400 " :
3826
3826
$ref : " #/definitions/BadRequest"
3827
3827
" 401 " :
@@ -3859,7 +3859,7 @@ paths:
3859
3859
schema :
3860
3860
type : " array"
3861
3861
items :
3862
- $ref : " #/definitions/Skill "
3862
+ $ref : " #/definitions/LookupSkill "
3863
3863
" 400 " :
3864
3864
$ref : " #/definitions/BadRequest"
3865
3865
" 401 " :
@@ -3953,6 +3953,17 @@ definitions:
3953
3953
format : " date-time"
3954
3954
description : " The date when certification occurred."
3955
3955
- $ref : " #/definitions/AuditFields"
3956
+ LookupAchievement :
3957
+ allOf :
3958
+ - type : " object"
3959
+ properties :
3960
+ id :
3961
+ type : " string"
3962
+ format : " UUID"
3963
+ description : " The id of the user achievement."
3964
+ name :
3965
+ type : " string"
3966
+ description : " Name of achievement."
3956
3967
AchievementRequestBody :
3957
3968
allOf :
3958
3969
- type : " object"
@@ -4028,6 +4039,21 @@ definitions:
4028
4039
type : " string"
4029
4040
description : " The uri for the skill"
4030
4041
- $ref : " #/definitions/AuditFields"
4042
+ LookupSkill :
4043
+ allOf :
4044
+ - type : " object"
4045
+ properties :
4046
+ skillId :
4047
+ type : " string"
4048
+ format : " UUID"
4049
+ description : " The skill id"
4050
+ skillProviderId :
4051
+ type : " string"
4052
+ format : " UUID"
4053
+ description : " The referenced skill provider id"
4054
+ name :
4055
+ type : " string"
4056
+ description : " The name of the skill"
4031
4057
SkillRequestBody :
4032
4058
allOf :
4033
4059
- type : " object"
@@ -4117,7 +4143,6 @@ definitions:
4117
4143
description : " If the external profile is inactive."
4118
4144
example :
4119
4145
organizationId : " organizationId"
4120
- userId : " userId"
4121
4146
uri : " uri"
4122
4147
externalId : " externalId"
4123
4148
isInactive : false
@@ -4208,6 +4233,49 @@ definitions:
4208
4233
type : " string"
4209
4234
description : " The last name of the user."
4210
4235
- $ref : " #/definitions/AuditFields"
4236
+ EnhancedUser :
4237
+ allOf :
4238
+ - type : " object"
4239
+ properties :
4240
+ id :
4241
+ type : " string"
4242
+ format : " UUID"
4243
+ description : " The id of the user."
4244
+ handle :
4245
+ type : " string"
4246
+ description : " The handle of the user."
4247
+ firstName :
4248
+ type : " string"
4249
+ description : " The first name of the user."
4250
+ lastName :
4251
+ type : " string"
4252
+ description : " The last name of the user."
4253
+ skills :
4254
+ type : " array"
4255
+ items :
4256
+ type : " object"
4257
+ description : " Array of skill objects"
4258
+ achievements :
4259
+ type : " array"
4260
+ items :
4261
+ type : " object"
4262
+ description : " Array of achievement objects"
4263
+ groups :
4264
+ type : " array"
4265
+ items :
4266
+ type : " object"
4267
+ description : " Array of group objects"
4268
+ externalProfiles :
4269
+ type : " array"
4270
+ items :
4271
+ type : " object"
4272
+ description : " Array of external profile objects"
4273
+ attributes :
4274
+ type : " array"
4275
+ items :
4276
+ type : " object"
4277
+ description : " Array of attribute objects"
4278
+ - $ref : " #/definitions/AuditFields"
4211
4279
UserSkill :
4212
4280
allOf :
4213
4281
- type : " object"
@@ -4288,6 +4356,21 @@ definitions:
4288
4356
type : " string"
4289
4357
description : " The user attribute value."
4290
4358
- $ref : " #/definitions/AuditFields"
4359
+ LookupAttribute :
4360
+ allOf :
4361
+ - type : " object"
4362
+ properties :
4363
+ id :
4364
+ type : " string"
4365
+ format : " UUID"
4366
+ description : " The id of the user attribute."
4367
+ attributeId :
4368
+ type : " string"
4369
+ format : " UUID"
4370
+ description : " The attribute id."
4371
+ value :
4372
+ type : " string"
4373
+ description : " The user attribute value."
4291
4374
UserAttributeRequestBody :
4292
4375
allOf :
4293
4376
- type : " object"
0 commit comments