Skip to content

Instantly share code, notes, and snippets.

@jkbryan
Created March 17, 2024 21:16
Show Gist options
  • Save jkbryan/efc0b51e5465e64e18ac12d748c29bef to your computer and use it in GitHub Desktop.
Save jkbryan/efc0b51e5465e64e18ac12d748c29bef to your computer and use it in GitHub Desktop.
@{
externalId = 'WorkerID'
name = @{
familyName = 'LastName'
givenName = 'FirstName'
}
active = { $_.'WorkerStatus' -eq 'Active' }
userName = 'UserID'
nickName = 'UserID'
userType = 'WorkerType'
title = 'JobTitle'
addresses = @(
@{
type = { 'work' }
streetAddress = 'StreetAddress'
locality = 'City'
postalCode = 'ZipCode'
country = 'Country'
region = 'CountryCode'
}
)
phoneNumbers = @(
@{
type = { 'work' }
value = 'OfficePhone'
}
@{
type = { 'mobile' }
value = 'MobilePhone'
}
)
"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User" = @{
employeeNumber = 'WorkerID'
costCenter = 'CostCenter'
division = 'Division'
department = 'Department'
manager = @{
value = 'ManagerID'
}
}
"urn:ietf:params:scim:schemas:extension:oholics:2.0:User" = @{
hiredate = 'HireDate'
leavedate = 'LeaveDate'
templeave = 'TempLeave'
pronouns = 'Pronouns'
usagelocation = 'CountryCode'
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment