{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/leadfuze/json-schema/leadfuze-enrichment-result-schema.json",
  "title": "EnrichmentResult",
  "x-generated": "2026-11-16",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/leadfuze-openapi.json#/components/schemas/EnrichmentResult",
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean"
    },
    "cached": {
      "type": "boolean"
    },
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Profile"
      }
    },
    "meta": {
      "type": "object",
      "properties": {
        "input": {
          "type": "string"
        },
        "search_type": {
          "type": "string"
        },
        "source": {
          "type": "string"
        },
        "result_count": {
          "type": "integer"
        },
        "limit": {
          "type": "integer"
        },
        "timestamp": {
          "type": "string"
        }
      }
    },
    "credits": {
      "$ref": "#/$defs/Credits"
    }
  },
  "$defs": {
    "Company": {
      "type": "object",
      "properties": {
        "name": {
          "type": [
            "string",
            "null"
          ]
        },
        "domain": {
          "type": [
            "string",
            "null"
          ]
        },
        "phone": {
          "type": [
            "string",
            "null"
          ]
        },
        "sic": {
          "type": [
            "string",
            "null"
          ]
        },
        "address": {
          "type": [
            "string",
            "null"
          ]
        },
        "city": {
          "type": [
            "string",
            "null"
          ]
        },
        "state": {
          "type": [
            "string",
            "null"
          ]
        },
        "zip": {
          "type": [
            "string",
            "null"
          ]
        },
        "country": {
          "type": [
            "string",
            "null"
          ]
        },
        "linkedin_url": {
          "type": [
            "string",
            "null"
          ]
        },
        "revenue": {
          "type": [
            "string",
            "null"
          ]
        },
        "employee_count": {
          "type": [
            "string",
            "null"
          ]
        },
        "primary_industry": {
          "type": [
            "string",
            "null"
          ]
        },
        "description": {
          "type": [
            "string",
            "null"
          ]
        },
        "naics": {
          "type": [
            "string",
            "null"
          ]
        },
        "related_domains": {
          "type": [
            "string",
            "null"
          ]
        },
        "last_updated": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "Credits": {
      "type": "object",
      "properties": {
        "remaining": {
          "type": "integer"
        },
        "free_remaining": {
          "type": "integer"
        },
        "paid_remaining": {
          "type": "integer"
        }
      }
    },
    "Profile": {
      "type": "object",
      "description": "A person from the enrichment API. Company fields are nested under company and LinkedIn data under social.",
      "properties": {
        "up_id": {
          "type": [
            "string",
            "null"
          ]
        },
        "first_name": {
          "type": [
            "string",
            "null"
          ]
        },
        "last_name": {
          "type": [
            "string",
            "null"
          ]
        },
        "full_name": {
          "type": [
            "string",
            "null"
          ]
        },
        "business_email": {
          "type": [
            "string",
            "null"
          ]
        },
        "personal_emails": {
          "type": [
            "string",
            "null"
          ]
        },
        "additional_personal_emails": {
          "type": [
            "string",
            "null"
          ]
        },
        "programmatic_business_emails": {
          "type": [
            "string",
            "null"
          ]
        },
        "mobile_phone": {
          "type": [
            "string",
            "null"
          ]
        },
        "direct_number": {
          "type": [
            "string",
            "null"
          ]
        },
        "personal_phone": {
          "type": [
            "string",
            "null"
          ]
        },
        "linkedin_url": {
          "type": [
            "string",
            "null"
          ]
        },
        "personal_address": {
          "type": [
            "string",
            "null"
          ]
        },
        "personal_address_2": {
          "type": [
            "string",
            "null"
          ]
        },
        "personal_city": {
          "type": [
            "string",
            "null"
          ]
        },
        "personal_state": {
          "type": [
            "string",
            "null"
          ]
        },
        "personal_zip": {
          "type": [
            "string",
            "null"
          ]
        },
        "personal_zip4": {
          "type": [
            "string",
            "null"
          ]
        },
        "full_address": {
          "type": [
            "string",
            "null"
          ]
        },
        "gender": {
          "type": [
            "string",
            "null"
          ]
        },
        "age_range": {
          "type": [
            "string",
            "null"
          ]
        },
        "income_range": {
          "type": [
            "string",
            "null"
          ]
        },
        "net_worth": {
          "type": [
            "string",
            "null"
          ]
        },
        "married": {
          "type": [
            "string",
            "null"
          ]
        },
        "children": {
          "type": [
            "string",
            "null"
          ]
        },
        "homeowner": {
          "type": [
            "string",
            "null"
          ]
        },
        "dob": {
          "type": [
            "string",
            "null"
          ]
        },
        "job_title": {
          "type": [
            "string",
            "null"
          ]
        },
        "seniority_level": {
          "type": [
            "string",
            "null"
          ]
        },
        "department": {
          "type": [
            "string",
            "null"
          ]
        },
        "professional_address": {
          "type": [
            "string",
            "null"
          ]
        },
        "professional_address_2": {
          "type": [
            "string",
            "null"
          ]
        },
        "professional_city": {
          "type": [
            "string",
            "null"
          ]
        },
        "professional_state": {
          "type": [
            "string",
            "null"
          ]
        },
        "professional_zip": {
          "type": [
            "string",
            "null"
          ]
        },
        "professional_zip4": {
          "type": [
            "string",
            "null"
          ]
        },
        "professional_full_address": {
          "type": [
            "string",
            "null"
          ]
        },
        "business_email_validation_status": {
          "type": [
            "string",
            "null"
          ]
        },
        "business_email_last_seen": {
          "type": [
            "string",
            "null"
          ]
        },
        "personal_emails_validation_status": {
          "type": [
            "string",
            "null"
          ]
        },
        "personal_emails_last_seen": {
          "type": [
            "string",
            "null"
          ]
        },
        "last_updated": {
          "type": [
            "string",
            "null"
          ]
        },
        "created_at": {
          "type": [
            "string",
            "null"
          ]
        },
        "updated_at": {
          "type": [
            "string",
            "null"
          ]
        },
        "company": {
          "$ref": "#/$defs/Company"
        },
        "social": {
          "type": "object",
          "properties": {
            "linkedin_url": {
              "type": [
                "string",
                "null"
              ]
            },
            "social_connections": {
              "type": [
                "string",
                "null"
              ]
            }
          }
        }
      }
    }
  }
}