-
Notifications
You must be signed in to change notification settings - Fork 0
/
contractMapping.json
1 lines (1 loc) · 1.97 KB
/
contractMapping.json
1
{"personMappings":[{"name":"Contact.Business.Email","mode":"field","value":"workEmail","validation":{"required":false}},{"name":"Contact.Business.Phone.Fixed","mode":"field","value":"workPhone","validation":{"required":false}},{"name":"Contact.Personal.Email","mode":"field","value":"homeEmail","validation":{"required":false}},{"name":"Custom.Role","mode":"fixed","value":"Employee","validation":{"required":true}},{"name":"Details.BirthDate","mode":"field","value":"dateOfBirth","validation":{"required":false}},{"name":"ExternalId","mode":"field","value":"ExternalId","validation":{"required":true}},{"name":"Name.FamilyName","mode":"field","value":"lastName","validation":{"required":true}},{"name":"Name.GivenName","mode":"field","value":"firstName","validation":{"required":true}},{"name":"Name.NickName","mode":"field","value":"preferredName","validation":{"required":false}}],"contractMappings":[{"name":"Department.DisplayName","mode":"field","value":"department","validation":{"required":false}},{"name":"Department.ExternalId","mode":"field","value":"department","validation":{"required":false}},{"name":"Division.ExternalId","mode":"field","value":"division","validation":{"required":false}},{"name":"Division.Name","mode":"field","value":"division","validation":{"required":false}},{"name":"EndDate","mode":"complex","value":"if(sourceContract.terminationDate !== '0000-00-00')\r\n{\r\n sourceContract.terminationDate\r\n}","validation":{"required":false}},{"name":"ExternalId","mode":"field","value":"ExternalId","validation":{"required":false}},{"name":"Location.ExternalId","mode":"field","value":"location","validation":{"required":false}},{"name":"Location.Name","mode":"field","value":"location","validation":{"required":false}},{"name":"StartDate","mode":"field","value":"date","validation":{"required":false}},{"name":"Title.ExternalId","mode":"field","value":"jobTitle","validation":{"required":false}},{"name":"Title.Name","mode":"field","value":"jobTitle","validation":{"required":false}}]}