Skip to content

Instantly share code, notes, and snippets.

@TimHeckel
Last active September 23, 2015 02:05
Show Gist options
  • Save TimHeckel/cac4035a2e436e1af477 to your computer and use it in GitHub Desktop.
Save TimHeckel/cac4035a2e436e1af477 to your computer and use it in GitHub Desktop.
CedarExpert: anonymization transformation step
{
"type": "anonymize",
"root": "xSre",
"order": 2,
"mapping": [
{ "prop": "refId", "replace": "random" }
, { "prop": "localId", "replace": "hash" }
, { "prop": "loginId", "replace": "delete" }
, { "prop": "stateProvinceId", "replace": "hash" }
, { "prop": "givenName", "replace": "given_name_string (optional, defaults to the prop)" }
, { "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" }
, { "prop": "address.line2" }
, { "prop": "demographics.birthDate", "replace": "dob_genercized" }
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment