datacontract / datacontract-specification

The Data Contract Specification Repository

Home Page:https://datacontract.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add anonymization to field

simonharrer opened this issue · comments

models:
  orders:
    fields:
      customer_email:
        type: string
        format: email
        pii: true
        anonymization: masked # other options: none (default), hashed

I'm not sure whether this should be referenced via the definition.

See #68

I'd go with config parameters at the moment.