{
  "id": "t2-crm-phones-emails",
  "version": 1,
  "dataNotice": "All names, companies, emails and phone numbers in this task are fictional.",
  "input": "input.csv",
  "title": "CRM export: phone numbers and email flags",
  "kind": "clean",
  "brief": "A sales team wants to import contacts into a CRM that requires US and Canadian phone numbers in +1XXXXXXXXXX form. They also want to know which email addresses look wrong before they send anything.",
  "requirements": [
    "Convert US and Canadian phone numbers to +1 followed by ten digits. Keep an extension after the number as a space, the letter x and the digits, for example +12125550145 x7.",
    "Keep international numbers that start with + or 00, with spaces and punctuation removed. Leave any number you cannot recognize exactly as it is.",
    "Lowercase every email address.",
    "Add one column named email_check at the end. Use exactly these values: ok / invalid format / missing / and, when the domain looks like a misspelling of a common provider, check domain (did you mean gmail.com?) with the likely provider in place of gmail.com.",
    "Do not change the email address itself, even when it looks misspelled. Do not remove any row that contains data.",
    "Trim spaces at the start and end of cells."
  ],
  "deliverables": [
    "cleaned.csv — the cleaned file, same columns in the same order",
    "change-log.csv — header row,column,before,after,rule; one line per changed cell or removed row"
  ],
  "passScore": 90,
  "grader": "smartdata-clean grade t2-crm-phones-emails cleaned.csv change-log.csv"
}