[
  {
    "apiName": "Campaign",
    "keyPrefix": "701",
    "label": "Campaign",
    "tableType": "standard_object",
    "category": "crm",
    "sharingModel": "PublicRead",
    "enableHierarchySharing": true,
    "description": "Standard Salesforce Campaign object",
    "fields": [
      {
        "apiName": "Name",
        "label": "Campaign Name",
        "type": "string",
        "required": true,
        "isNameField": true
      },
      {
        "apiName": "Type",
        "label": "Campaign Type",
        "type": "picklist",
        "options": [
          {
            "value": "Content",
            "label": "Content"
          },
          {
            "value": "Demo Signup / Trial",
            "label": "Demo Signup / Trial"
          },
          {
            "value": "Email",
            "label": "Email"
          },
          {
            "value": "Event",
            "label": "Event",
            "default": true
          },
          {
            "value": "Koncert",
            "label": "Koncert"
          },
          {
            "value": "Other",
            "label": "Other"
          },
          {
            "value": "Paid Ads",
            "label": "Paid Ads"
          },
          {
            "value": "Referral Program",
            "label": "Referral Program"
          },
          {
            "value": "Sales/SDR Sourced",
            "label": "Sales/SDR Sourced"
          },
          {
            "value": "Search",
            "label": "Search"
          },
          {
            "value": "Social Media",
            "label": "Social Media"
          },
          {
            "value": "Thought Leadership",
            "label": "Thought Leadership"
          },
          {
            "value": "Webinar",
            "label": "Webinar"
          },
          {
            "value": "Website Direct",
            "label": "Website Direct"
          },
          {
            "value": "Workshop",
            "label": "Workshop"
          },
          {
            "value": "Zoominfo",
            "label": "Zoominfo"
          },
          {
            "value": "ZoomInfo - MarketingOS",
            "label": "ZoomInfo - MarketingOS"
          }
        ],
        "default": "Event"
      },
      {
        "apiName": "Status",
        "label": "Status",
        "type": "picklist",
        "options": [
          {
            "value": "Planned",
            "label": "Planned",
            "default": true
          },
          {
            "value": "On Hold",
            "label": "On Hold"
          },
          {
            "value": "Backlog",
            "label": "Backlog"
          },
          {
            "value": "In Progress",
            "label": "In Progress"
          },
          {
            "value": "Completed",
            "label": "Completed"
          },
          {
            "value": "Aborted",
            "label": "Aborted"
          }
        ],
        "default": "Planned"
      },
      {
        "apiName": "StartDate",
        "label": "Start Date",
        "type": "date"
      },
      {
        "apiName": "EndDate",
        "label": "End Date",
        "type": "date"
      },
      {
        "apiName": "IsActive",
        "label": "Active",
        "type": "boolean",
        "required": true,
        "default": "0"
      },
      {
        "apiName": "BudgetedCost",
        "label": "Budgeted Cost",
        "type": "currency"
      },
      {
        "apiName": "ActualCost",
        "label": "Actual Cost",
        "type": "currency"
      },
      {
        "apiName": "ExpectedRevenue",
        "label": "Expected Revenue",
        "type": "currency"
      },
      {
        "apiName": "NumberSent",
        "label": "Number Sent",
        "type": "double"
      },
      {
        "apiName": "Description",
        "label": "Description",
        "type": "textarea"
      },
      {
        "apiName": "Additional_Notes__c",
        "type": "textarea",
        "label": "Additional Notes"
      },
      {
        "apiName": "CampaignMemberRecordTypeId",
        "type": "reference",
        "label": "Record Type ID",
        "referenceTo": [
          "RecordType"
        ],
        "relationshipName": "CampaignMemberRecordType"
      },
      {
        "apiName": "CurrencyIsoCode",
        "type": "picklist",
        "label": "Campaign Currency",
        "options": [
          {
            "value": "USD",
            "label": "USD"
          },
          {
            "value": "CNY",
            "label": "CNY"
          }
        ]
      },
      {
        "apiName": "Exclude_from_Attribution__c",
        "type": "boolean",
        "label": "Exclude from Attribution",
        "default": "0"
      },
      {
        "apiName": "Funnel_Stage__c",
        "type": "picklist",
        "label": "Funnel Stage",
        "options": [
          {
            "value": "BOFU",
            "label": "BOFU"
          },
          {
            "value": "MOFU",
            "label": "MOFU"
          },
          {
            "value": "TOFU",
            "label": "TOFU"
          }
        ]
      },
      {
        "apiName": "ParentId",
        "type": "reference",
        "label": "Parent",
        "referenceTo": [
          "Campaign"
        ]
      },
      {
        "apiName": "Primary_Campaign_Source_1__c",
        "type": "reference",
        "label": "Primary Campaign Source",
        "referenceTo": [
          "Campaign"
        ],
        "relationshipName": "Campaigns"
      },
      {
        "apiName": "Region__c",
        "type": "picklist",
        "label": "Region",
        "options": [
          {
            "value": "APAC",
            "label": "APAC"
          },
          {
            "value": "EMEA",
            "label": "EMEA"
          },
          {
            "value": "Japan",
            "label": "Japan"
          },
          {
            "value": "NA",
            "label": "NA"
          },
          {
            "value": "LATAM",
            "label": "LATAM"
          },
          {
            "value": "Cross Region",
            "label": "Cross Region",
            "tags": [
              "presentation:neutral"
            ]
          }
        ]
      },
      {
        "apiName": "zoom_app__Zoom_Webinar__c",
        "type": "reference",
        "label": "Zoom Webinar",
        "referenceTo": [
          "zoom_app__Zoom_Webinar__c"
        ],
        "relationshipName": "Campaigns"
      },
      {
        "apiName": "ExpectedResponse",
        "label": "Expected Response",
        "type": "percent"
      },
      {
        "apiName": "OwnerId",
        "type": "reference",
        "label": "Owner ID",
        "required": true,
        "referenceTo": [
          "User"
        ],
        "relationshipName": "Owner"
      }
    ],
    "defaultChildRows": [
      {
        "targetObject": "CampaignMemberStatus",
        "targetLookupField": "CampaignId",
        "fieldValues": {
          "Label": "Sent",
          "IsDefault": true,
          "HasResponded": false,
          "SortOrder": 1
        }
      },
      {
        "targetObject": "CampaignMemberStatus",
        "targetLookupField": "CampaignId",
        "fieldValues": {
          "Label": "Responded",
          "IsDefault": false,
          "HasResponded": true,
          "SortOrder": 2
        }
      }
    ]
  }
]
