{
  "id": "hubspot-contacts-basic-local",
  "name": "HubSpot Contacts Local Pack",
  "version": "0.1.1",
  "destination": "hubspot_contacts",
  "rules": [
    {
      "id": "email-recommended-for-dedup",
      "type": "required_field",
      "column": "Email",
      "severity": "warning",
      "message": "Email is missing. HubSpot can create the contact if First Name or Last Name is present, but Email is recommended for matching, updates, and duplicate-safe imports."
    },
    {
      "id": "email-format",
      "type": "email_format",
      "column": "Email",
      "severity": "critical",
      "message": "Email must use a valid email format."
    },
    {
      "id": "duplicate-email",
      "type": "duplicate_value",
      "column": "Email",
      "severity": "warning",
      "message": "Email values should be unique for email-keyed updates and duplicate-safe imports."
    },
    {
      "id": "website-url-format",
      "type": "url_format",
      "column": "Website",
      "severity": "warning",
      "message": "Website should be a valid URL."
    },
    {
      "id": "unknown-contact-columns",
      "type": "unknown_column_warning",
      "severity": "info",
      "message": "This local HubSpot pack does not recognize every column.",
      "allowedColumns": [
        "Email",
        "First Name",
        "Last Name",
        "Full Name",
        "Phone",
        "Mobile Phone Number",
        "Company",
        "Company Name",
        "Website",
        "Job Title",
        "Lead Source",
        "Lifecycle Stage",
        "Lead Status",
        "Contact Owner",
        "Notes"
      ]
    }
  ]
}
