{
 "config_version": "1",
 "critical_fields": [
  {"object": "contacts", "field": "<owner field>", "class": "ownership"},
  {"object": "contacts", "field": "<lifecycle field>", "class": "lifecycle"},
  {"object": "contacts", "field": "<consent field>", "class": "consent"}
 ],
 "critical_field_classes": ["routing", "ownership", "lifecycle", "stage", "revenue", "consent", "identity", "reporting"],
 "populations": {
  "sales_eligible_contacts": "<definition: who sales may contact, with exclusions>",
  "open_deals": "<definition: pipelines, open stages, exclusions>",
  "customers": "<definition: the evidence that makes a customer>",
  "test_and_internal_records": "<definition: how test and internal records are flagged>"
 },
 "public_email_domains": [
  "gmail.com",
  "googlemail.com",
  "outlook.com",
  "hotmail.com",
  "live.com",
  "yahoo.com",
  "icloud.com",
  "proton.me",
  "aol.com",
  "gmx.com"
 ],
 "shared_domains": [],
 "not_applicable": {},
 "override_reasons": {},
 "domain_weights": {"OBJ": 1, "FLD": 1, "PIPE": 1, "LIFE": 1, "AUTO": 1, "ACC": 1, "INT": 1, "REP": 1},
 "sample_sizes": {"writer_sample_max_records": 2000, "known_record_traces": 1, "spot_checks_per_finding": 5},
 "field_prefixes_to_strip": [
  "hs_",
  "hubspot_",
  "sf_",
  "salesforce_",
  "stripe_",
  "clay_",
  "zi_",
  "zoominfo_",
  "apollo_",
  "clearbit_",
  "attio_"
 ],
 "field_suffixes_to_strip": ["__c", "__pc", "__r"],
 "field_words_to_strip": ["current", "new", "old", "copy", "latest", "primary"],
 "owner_fields": ["hubspot_owner_id", "ownerid", "owner_id", "owner"],
 "OBJ-04": {
  "open_deals_without_company": {"warn": 0.02, "fail": 0.1},
  "sales_contacts_without_company": {"warn": 0.1, "fail": 0.25},
  "open_deals_without_contact_warn": 0.1
 },
 "OBJ-05": {"shared_domain_companies": {"warn": 0.02, "fail": 0.05}, "vendor_duplicate_contacts_warn": 0.01},
 "FLD-02": {"window_days": 30, "flip_flop_records_fail": 3, "flip_flop_rate_fail": 0.01, "flip_flop_records_warn": 1},
 "FLD-05": {"unused_min_age_days": 90, "capacity": {"warn": 0.8, "fail": 0.95}},
 "FLD-06": {"undocumented_custom_warn": 0.25},
 "FLD-08": {"routing_inputs": {"warn": 0.95, "fail": 0.8}, "reporting_dimensions": {"warn": 0.9, "fail": 0.7}},
 "PIPE-02": {"max_open_stages": 8},
 "PIPE-04": {"missing_required": {"warn": 0.05, "fail": 0.15}},
 "PIPE-05": {"unused_stage_days": 180, "dwell_min_days": 90, "dwell_median_multiple": 2, "stuck_share_warn": 0.2},
 "LIFE-06": {
  "customer_without_evidence": {"warn": 0.02, "fail": 0.05},
  "opportunity_without_open_deal_warn": 0.1,
  "recent_empty_stage_warn": 0.05,
  "recent_days": 90
 },
 "AUTO-01": {"undocumented_active_warn": 0.2},
 "AUTO-08": {"dormant_days": 90},
 "ACC-01": {"max_privileged_min": 3, "max_privileged_share": 0.1},
 "ACC-03": {"inactive_days": 90},
 "ACC-04": {"bulk_delete_share_warn": 0.2},
 "INT-03": {"error_rate": {"warn": 0.01, "fail": 0.05}, "open_days_warn": 7, "suspension_lookback_days": 30},
 "INT-04": {"salesforce_daily_api": {"warn": 0.7, "fail": 0.9}, "hubspot_private_app_daily_warn": 0.8},
 "INT-05": {"unused_token_days": 90},
 "REP-02": {"reconcile_tolerance": 0.01},
 "REP-05": {
  "past_close_date": {"warn": 0.1, "fail": 0.25},
  "missing_amount": {"warn": 0.1, "fail": 0.3},
  "lost_reason_fill": {"warn": 0.8, "fail": 0.5},
  "lookback_days": 180
 },
 "REP-06": {"unknown_source": {"warn": 0.3, "fail": 0.5}, "lookback_days": 90},
 "scoring": {
  "weights": {"A": 3, "B": 2, "C": 1},
  "credit": {"PASS": 1.0, "WARN": 0.5, "FAIL": 0.0},
  "coverage_min": 0.6,
  "coverage_full": 0.85,
  "class_a_cap": 60,
  "round_to": 5,
  "min_domains_for_overall": 6
 }
}
