{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/abm-dev/json-schema/abm-dev-enrichment-configuration-schema.json",
  "title": "EnrichmentConfiguration",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/abm-dev-openapi.json#/components/schemas/EnrichmentConfiguration",
  "type": "object",
  "properties": {
    "source_priority": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Ordered list of enrichment source names"
    },
    "auto_approve": {
      "type": "boolean",
      "description": "Automatically approve enrichments that meet confidence threshold"
    },
    "auto_approve_threshold": {
      "type": "number",
      "format": "float",
      "description": "Minimum confidence for auto-approval (0-1)"
    },
    "auto_writeback": {
      "type": "boolean",
      "description": "Automatically write approved enrichments to CRM"
    },
    "dedup_strategy": {
      "type": "string",
      "enum": [
        "email",
        "name_company",
        "linkedin",
        "crm_id"
      ],
      "description": "How to detect duplicate contacts"
    },
    "default_enrich_on_find": {
      "type": "boolean",
      "description": "Enrich candidates found via People Finder by default"
    }
  }
}