{
  "id": "own-n-02",
  "title": "Owner Directory Sync produces at least one bound HubSpotOwnerBinding__c",
  "kind": "hubspot_sync",
  "linkedIssues": [2830],
  "provenance": {
    "businessScenario": "OWN-N-02 — the scheduled Owner Directory Sync should produce at least one bound HubSpotOwnerBinding__c row. Currently reported producing 0 (#2830).",
    "reportedBy": "HubSpot sync spec OWN-N-02 (hubspot-nexuscrm-sync-CASE-EXEC-SELFCONTAINED)",
    "capturedAt": "2026-06-18",
    "note": "[calibrated] Corrected SOQL column name Status -> BindingStatus__c (real HubSpotOwnerBinding__c schema)."
  },
  "steps": [
    {
      "id": "count",
      "system": "nexuscrm",
      "authRole": "admin",
      "method": "GET",
      "path": "/services/data/v63.0/query?q=SELECT COUNT() FROM HubSpotOwnerBinding__c WHERE BindingStatus__c = 'bound'",
      "expectStatus": 200,
      "assertions": [
        { "path": "response.body.totalSize", "atLeast": 1 }
      ]
    }
  ]
}
