{
  "id": "HS-002",
  "name": "HubSpot bare domain Website sync should not fail",
  "description": "When HubSpot Website is a bare domain (e.g. example.com) instead of full URL, sync should not throw error. Bug: #567 - bare domain Website rejected.",
  "object": "HubSpotInbound",
  "method": "POST",
  "endpoint": "/services/integrations/hubspot/webhook",
  "payload": {
    "email": "hubspot-bare-domain@test.com",
    "firstName": "Bare",
    "lastName": "Domain Lead",
    "company": "Bare Domain Co",
    "website": "exampledomain.com",
    "hubspot_id": "hs_900002"
  },
  "expects": {
    "status_code": 201
  },
  "query_after": {
    "object": "Lead",
    "assertions": [
      {
        "field": "Website",
        "operator": "eq",
        "value": "exampledomain.com"
      }
    ]
  },
  "teardown": {
    "method": "DELETE",
    "endpoint": "/services/data/v63.0/sobjects/Lead/{id}"
  },
  "priority": "P0",
  "bug_ref": "#567",
  "scene": "hubspot"
}
