OpenDQV Cloud starter template (v0.1) — your tenant inherits this baseline. First customer edit creates v1.0 in your audit trail; pin by yaml_hash for replay. Salesforce Lead — data quality validation for inbound lead records
| Rule | Field | Severity | What it enforces (the message your team sees) |
|---|---|---|---|
| first_name_required | FirstName | error | FirstName is required for leads. |
| last_name_required | LastName | error | LastName is required for leads. |
| company_required | Company | error | Company is required — Salesforce won't accept a lead without it. |
| email_required | error | Email is required for lead routing and dedup. | |
| email_format | error | Email must be a valid format. | |
| email_not_personal | warning | Personal email detected — business email preferred for B2B leads. | |
| phone_format | Phone | warning | Phone should be 7-20 digits. |
| lead_source_required | LeadSource | error | LeadSource is required for attribution tracking. |
| status_required | Status | error | Status is required (e.g. New, Working, Qualified). |
| title_length | Title | warning | Title should be under 128 characters. |
| company_length | Company | error | Company must be under 255 characters (Salesforce limit). |
| website_format | Website | warning | Website should be a valid URL (e.g. https://company.com). |
| annual_revenue_min | AnnualRevenue | warning | AnnualRevenue should be non-negative. |
| number_of_employees_min | NumberOfEmployees | warning | NumberOfEmployees should be at least 1. |
| number_of_employees_max | NumberOfEmployees | warning | NumberOfEmployees seems unrealistically high. |
| duplicate_email | error | Duplicate Email within this batch — possible duplicate lead. Cross-system uniqueness against the Salesforce master register requires Salesforce duplicate management; OpenDQV validates the input batch only. |
Run your own data against this contract in the free trial — drop a CSV in the dashboard, no code, no credit card. Start free trial →