[
  {
    "apiName": "CampaignMember",
    "keyPrefix": "00v",
    "label": "Campaign Member",
    "pluralLabel": "Campaign Members",
    "tableType": "standard_object",
    "category": "crm",
    "description": "Salesforce standard CampaignMember (v66.0 dev-org gold master)",
    "fields": [
      {
        "apiName": "CampaignId",
        "label": "Campaign ID",
        "type": "reference",
        "required": true,
        "updateable": false,
        "referenceTo": [
          "Campaign"
        ],
        "relationshipName": "Campaign",
        "childRelationshipName": "CampaignMembers"
      },
      {
        "apiName": "LeadId",
        "label": "Lead ID",
        "type": "reference",
        "updateable": false,
        "referenceTo": [
          "Lead"
        ],
        "relationshipName": "Lead",
        "childRelationshipName": "CampaignMembers"
      },
      {
        "apiName": "ContactId",
        "label": "Contact ID",
        "type": "reference",
        "updateable": false,
        "referenceTo": [
          "Contact"
        ],
        "relationshipName": "Contact",
        "childRelationshipName": "CampaignMembers"
      },
      {
        "apiName": "Status",
        "label": "Status",
        "type": "picklist",
        "options": [
          {
            "value": "Planned",
            "label": "Planned"
          },
          {
            "value": "Received",
            "label": "Received"
          },
          {
            "value": "Responded",
            "label": "Responded"
          },
          {
            "value": "Sent",
            "label": "Sent"
          }
        ]
      },
      {
        "apiName": "HasResponded",
        "label": "Responded",
        "type": "boolean",
        "createable": false,
        "updateable": false
      },
      {
        "apiName": "FirstRespondedDate",
        "label": "First Responded Date",
        "type": "date",
        "createable": false,
        "updateable": false
      },
      {
        "apiName": "Salutation",
        "label": "Salutation",
        "type": "picklist",
        "createable": false,
        "updateable": false,
        "options": [
          {
            "value": "Mr.",
            "label": "Mr."
          },
          {
            "value": "Ms.",
            "label": "Ms."
          },
          {
            "value": "Mrs.",
            "label": "Mrs."
          },
          {
            "value": "Dr.",
            "label": "Dr."
          },
          {
            "value": "Prof.",
            "label": "Prof."
          },
          {
            "value": "Mx.",
            "label": "Mx."
          }
        ]
      },
      {
        "apiName": "Name",
        "label": "Name",
        "type": "string",
        "createable": false,
        "updateable": false
      },
      {
        "apiName": "FirstName",
        "label": "First Name",
        "type": "string",
        "createable": false,
        "updateable": false
      },
      {
        "apiName": "LastName",
        "label": "Last Name",
        "type": "string",
        "createable": false,
        "updateable": false
      },
      {
        "apiName": "Title",
        "label": "Title",
        "type": "string",
        "createable": false,
        "updateable": false
      },
      {
        "apiName": "Street",
        "label": "Street",
        "type": "string",
        "createable": false,
        "updateable": false
      },
      {
        "apiName": "City",
        "label": "City",
        "type": "string",
        "createable": false,
        "updateable": false
      },
      {
        "apiName": "State",
        "label": "State/Province",
        "type": "string",
        "createable": false,
        "updateable": false
      },
      {
        "apiName": "PostalCode",
        "label": "Zip/Postal Code",
        "type": "string",
        "createable": false,
        "updateable": false
      },
      {
        "apiName": "Country",
        "label": "Country",
        "type": "string",
        "createable": false,
        "updateable": false
      },
      {
        "apiName": "Email",
        "label": "Email",
        "type": "email",
        "createable": false,
        "updateable": false
      },
      {
        "apiName": "Phone",
        "label": "Phone",
        "type": "phone",
        "createable": false,
        "updateable": false
      },
      {
        "apiName": "Fax",
        "label": "Fax",
        "type": "phone",
        "createable": false,
        "updateable": false
      },
      {
        "apiName": "MobilePhone",
        "label": "Mobile",
        "type": "phone",
        "createable": false,
        "updateable": false
      },
      {
        "apiName": "Description",
        "label": "Description",
        "type": "textarea",
        "createable": false,
        "updateable": false
      },
      {
        "apiName": "DoNotCall",
        "label": "Do Not Call",
        "type": "boolean",
        "createable": false,
        "updateable": false
      },
      {
        "apiName": "HasOptedOutOfEmail",
        "label": "Email Opt Out",
        "type": "boolean",
        "createable": false,
        "updateable": false
      },
      {
        "apiName": "HasOptedOutOfFax",
        "label": "Fax Opt Out",
        "type": "boolean",
        "createable": false,
        "updateable": false
      },
      {
        "apiName": "LeadSource",
        "label": "Lead Source",
        "type": "picklist",
        "createable": false,
        "updateable": false,
        "options": [
          {
            "value": "Web",
            "label": "Web"
          },
          {
            "value": "Phone Inquiry",
            "label": "Phone Inquiry"
          },
          {
            "value": "Partner Referral",
            "label": "Partner Referral"
          },
          {
            "value": "Purchased List",
            "label": "Purchased List"
          },
          {
            "value": "Other",
            "label": "Other"
          }
        ]
      },
      {
        "apiName": "CompanyOrAccount",
        "label": "Company (Account)",
        "type": "string",
        "createable": false,
        "updateable": false
      },
      {
        "apiName": "Type",
        "label": "Type",
        "type": "string",
        "createable": false,
        "updateable": false
      },
      {
        "apiName": "LeadOrContactId",
        "label": "Related Record ID",
        "type": "reference",
        "createable": false,
        "updateable": false,
        "referenceTo": [
          "Account",
          "Contact",
          "Lead"
        ],
        "isPolymorphic": true
      },
      {
        "apiName": "LeadOrContactOwnerId",
        "label": "Related Record Owner ID",
        "type": "reference",
        "createable": false,
        "updateable": false,
        "referenceTo": [
          "Group",
          "User"
        ],
        "relationshipName": "LeadOrContactOwner",
        "isPolymorphic": true
      }
    ]
  }
]
