[
  {
    "apiName": "PartyConsent",
    "label": "Party Consent",
    "pluralLabel": "Party Consents",
    "tableType": "standard_object",
    "category": "crm",
    "sharingModel": "Private",
    "enableHierarchySharing": false,
    "description": "Probe-converted object spec for PartyConsent",
    "fields": [
      {
        "apiName": "Action",
        "label": "Action",
        "type": "string"
      },
      {
        "apiName": "BusinessBrandId",
        "label": "Business Brand Id",
        "type": "reference",
        "referenceTo": [
          "BusinessBrand"
        ],
        "relationshipName": "BusinessBrand"
      },
      {
        "apiName": "CaptureContactPointType",
        "label": "Capture Contact Point Type",
        "type": "string"
      },
      {
        "apiName": "CaptureDate",
        "label": "Capture Date",
        "type": "string"
      },
      {
        "apiName": "CaptureSource",
        "label": "Capture Source",
        "type": "string"
      },
      {
        "apiName": "DataUsePurposeId",
        "label": "Data Use Purpose Id",
        "type": "reference",
        "referenceTo": [
          "DataUsePurpose"
        ],
        "relationshipName": "DataUsePurpose"
      },
      {
        "apiName": "DoubleConsentCaptureDate",
        "label": "Double Consent Capture Date",
        "type": "string"
      },
      {
        "apiName": "EffectiveFrom",
        "label": "Effective From",
        "type": "string"
      },
      {
        "apiName": "EffectiveTo",
        "label": "Effective To",
        "type": "string"
      },
      {
        "apiName": "Name",
        "label": "Name",
        "type": "string",
        "isNameField": true
      },
      {
        "apiName": "PartyId",
        "label": "Individual ID",
        "type": "reference",
        "required": true,
        "referenceTo": [
          "Individual"
        ],
        "relationshipName": "Party"
      },
      {
        "apiName": "PartyRoleId",
        "label": "Party Role ID",
        "type": "reference",
        "referenceTo": [
          "Customer",
          "Seller"
        ],
        "relationshipName": "PartyRole",
        "isPolymorphic": true
      },
      {
        "apiName": "PrivacyConsentStatus",
        "label": "Privacy Consent Status",
        "type": "string"
      },
      {
        "apiName": "OwnerId",
        "type": "reference",
        "label": "Owner ID",
        "required": true,
        "referenceTo": [
          "Group",
          "User"
        ],
        "relationshipName": "Owner",
        "isPolymorphic": true
      }
    ]
  }
]
