{
  "id": "en-01",
  "title": "HubSpot_Sync_Enabled__c defaults to true on Lead, Account, Opportunity",
  "kind": "hubspot_sync",
  "linkedIssues": [],
  "provenance": {
    "businessScenario": "EN-01 — describe Lead/Account/Opportunity and assert the HubSpot_Sync_Enabled__c field exists with defaultValue true on all three objects.",
    "reportedBy": "HubSpot sync spec EN-01 (hubspot-nexuscrm-sync-CASE-EXEC-SELFCONTAINED)",
    "capturedAt": "2026-06-17"
  },
  "steps": [
    {
      "id": "leadDesc",
      "system": "nexuscrm",
      "authRole": "admin",
      "method": "GET",
      "path": "/services/data/v63.0/sobjects/Lead/describe",
      "expectStatus": 200,
      "assertions": [
        { "path": "response.body.fields", "arrayContainsObject": { "name": "HubSpot_Sync_Enabled__c", "defaultValue": true } }
      ]
    },
    {
      "id": "acctDesc",
      "system": "nexuscrm",
      "authRole": "admin",
      "method": "GET",
      "path": "/services/data/v63.0/sobjects/Account/describe",
      "expectStatus": 200,
      "assertions": [
        { "path": "response.body.fields", "arrayContainsObject": { "name": "HubSpot_Sync_Enabled__c", "defaultValue": true } }
      ]
    },
    {
      "id": "oppDesc",
      "system": "nexuscrm",
      "authRole": "admin",
      "method": "GET",
      "path": "/services/data/v63.0/sobjects/Opportunity/describe",
      "expectStatus": 200,
      "assertions": [
        { "path": "response.body.fields", "arrayContainsObject": { "name": "HubSpot_Sync_Enabled__c", "defaultValue": true } }
      ]
    }
  ]
}
