{
  "name": "Wipe Out PII From Old Contact History Entries",
  "description": "An Apache Beam batch pipeline that finds old contact history entries and remove PII information from them.",
  "parameters": [
    {
      "name": "registryEnvironment",
      "label": "The Registry environment.",
      "helpText": "The Registry environment.",
      "is_optional": false,
      "regexes": [
        "^PRODUCTION|SANDBOX|CRASH|QA|ALPHA$"
      ]
    },
    {
      "name": "isolationOverride",
      "label": "The desired SQL transaction isolation level.",
      "helpText": "The desired SQL transaction isolation level.",
      "is_optional": true,
      "regexes": [
        "^[0-9A-Z_]+$"
      ]
    },
    {
      "name": "cutoffTime",
      "label": "The maximum history modification time of a contact history entry eligible for wipe out.",
      "helpText": "If the history modificaiton time of contact history entry is older than this, and it is not the most recent entry of a contact, it will have its PII wiped out.",
      "is_optional": true
    },
    {
      "name": "isDryRun",
      "label": "Whether this job is a dry run.",
      "helpText": "If true, no changes will be saved to the database.",
      "is_optional": true,
      "regexes": [
        "^true|false$"
      ]
    }
  ]
}
