Skip to content

Instantly share code, notes, and snippets.

@TimHeckel
Created October 23, 2015 02:38
Show Gist options
  • Save TimHeckel/c879a2976d22f84955ee to your computer and use it in GitHub Desktop.
Save TimHeckel/c879a2976d22f84955ee to your computer and use it in GitHub Desktop.
{
type: "anonymize",
root: "xSre",
order: 2,
mapping: [
{
prop: "refId",
replace: "random"
},
{
prop: "localId",
replace: "hash"
},
{
prop: "loginId",
replace: "delete"
},
{
prop: "stateProvinceId",
replace: "hash"
},
{
prop: "demographics.birthDate",
replace: "genericize"
},
{
prop: "givenName"
},
{
prop: "name.familyName"
},
{
prop: "name.middleName"
},
{
prop: "otherNames.name.prefix"
},
{
prop: "otherNames.name.familyName"
},
{
prop: "otherNames.name.givenName"
},
{
prop: "otherNames.name.middleName"
},
{
prop: "otherNames.name.suffix"
},
{
prop: "address.line1"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment