Fairjungle Schema
In addition to Core and Enterprise schemas, we provide a fairjungle schema with additional attributes.
Fairjungle Schema URI is urn:ietf:params:scim:schemas:extension:fairjungle:2.0:User
Attributes
SCIM urn:ietf:params:scim:schemas:extension:fairjungle:2.0:User | Fairjungle User | Read-Only | Note |
---|---|---|---|
billingProfile.id | billingProfileId | ||
billingProfile.name | billingProfileId | When provided during creation or update, then one (and only one) billing profile must already exist with that name | |
costCenter.id | costCenterId | ||
costCenter.name | costCenterId | When provided during creation or update, then one (and only one) cost center must already exist with that name | |
dateOfBirth | dateOfBirth | Format: YYYY-MM-DD | |
gender | gender | Values: female or male | |
manager.id | managerId | ||
manager.email | managerId | When provided during creation or update, then a user must already exist with that email | |
roles[].display | ✅ | ||
roles[].value | roles | Values: accountant , admin , authAdmin , guest , guestCreator , manager , organizer and premium | |
travelPolicy.id | travelPolicyId | ||
travelPolicy.name | travelPolicyId | When provided during creation or update, then one (and only one) travel policy must already exist with that name |
Resolving
Billing Profile
When creating, replacing or patching user, the billing profile must already exist on fairjungle:
- if only
billingProfile.id
is provided, then billing profile is found byid
- if only
billingProfile.name
is provided, then only one billing profile must already exist with this unambiguous name - if both
billingProfile.id
andbillingProfile.name
are provided, then billing profile is found byid
and a check is performed to verify thatname
is the same
Cost Center
When creating, replacing or patching user, the cost center must already exist on fairjungle:
- if only
costCenter.id
is provided, then cost center is found byid
- if only
costCenter.name
is provided, then only one cost center must already exist with this unambiguous name - if both
costCenter.id
andcostCenter.name
are provided, then cost center is found byid
and a check is performed to verify thatname
is the same
Manager
When creating, replacing or patching user, the manager must already exist on fairjungle:
- if only
manager.id
is provided, then manager is found byid
- if only
manager.email
is provided, then manager is found byemail
- if both
manager.id
andmanager.email
are provided, then manager is found byid
and a check is performed to verify thatemail
is the same
Travel Policy
When creating, replacing or patching user, the travel policy must already exist on fairjungle:
- if only
travelPolicy.id
is provided, then travel policy is found byid
- if only
travelPolicy.name
is provided, then only one travel policy must already exist with this unambiguous name - if both
travelPolicy.id
andtravelPolicy.name
are provided, then travel policy is found byid
and a check is performed to verify thatname
is the same
User Replacement
When client issues a User Replacement and urn:ietf:params:scim:schemas:extension:fairjungle:2.0:User
attribute is NOT present in request content, then attributes are NOT removed from fairjungle user.
This is an exception to the rule "Attributes not provided in request are removed" when replacing a user.