$echo '{
< "records": [
< {
< "recordId": "valid-all-field",
< "url": "https://ready.example/contact",
< "email": "person@ready.example",
< "address": "900 cedar street chicago il 60601"
< },
< {
< "recordId": "partial-normalized",
< "url": " partial.example/about/?utm_source=newsletter#team ",
< "email": "person@partial.example"
< },
< {
< "recordId": "no-actionable",
< "url": " ",
< "email": null,
< "address": ""
< },
< {
< "recordId": "invalid-only",
< "url": "ftp://invalid.example",
< "email": "missing-at-sign",
< "address": "###"
< },
< {
< "recordId": "mixed-valid-invalid",
< "url": "https://mixed.example/contact",
< "email": "missing-at-sign"
< },
< {
< "recordId": "duplicate-url-a",
< "url": "https://duplicate.example/contact",
< "email": "alpha@duplicate.example"
< },
< {
< "recordId": "duplicate-url-b",
< "url": "https://duplicate.example/contact",
< "email": "beta@duplicate.example"
< },
< {
< "recordId": "domain-mismatch",
< "url": "https://mismatch.example/contact",
< "email": "owner@other.example"
< },
< {
< "recordId": "email-review",
< "email": "support@mailinator.com"
< },
< {
< "recordId": "same-address-a",
< "url": "https://north.example",
< "email": "owner@north.example",
< "address": "123 Main Street Suite 100, Austin, Texas 78701"
< },
< {
< "recordId": "same-address-b",
< "url": "https://south.example",
< "email": "owner@south.example",
< "address": "123 Main Street Suite 200, Austin, Texas 78701"
< },
< {
< "recordId": "address-warning",
< "address": "warehouse behind blue door"
< }
< ],
< "fieldGroups": [
< "url",
< "email",
< "address"
< ],
< "reviewStrictness": "standard",
< "dedupeKeyMode": "keys_and_candidates"
<}' |
<apify call critd/contact-cleanup --silent --output-dataset