[
  {
    "apiName": "ContactRequest",
    "label": "Contact Request",
    "pluralLabel": "Contact Requests",
    "tableType": "standard_object",
    "category": "crm",
    "sharingModel": "ReadWrite",
    "enableHierarchySharing": false,
    "description": "Salesforce standard ContactRequest (v66.0 dev-org gold master)",
    "fields": [
      {
        "apiName": "IsCallback",
        "label": "Is Callback",
        "type": "boolean"
      },
      {
        "apiName": "PreferredChannel",
        "label": "Preferred Channel",
        "type": "picklist",
        "options": [
          {
            "value": "Phone",
            "label": "Phone"
          }
        ],
        "default": "Phone"
      },
      {
        "apiName": "PreferredPhone",
        "label": "Preferred Phone Number",
        "type": "phone"
      },
      {
        "apiName": "RequestDescription",
        "label": "Request Description",
        "type": "textarea"
      },
      {
        "apiName": "RequestReason",
        "label": "Request Reason",
        "type": "picklist",
        "options": [
          {
            "value": "Account",
            "label": "Account"
          },
          {
            "value": "Billing",
            "label": "Billing"
          },
          {
            "value": "Case",
            "label": "Case"
          },
          {
            "value": "General",
            "label": "General"
          },
          {
            "value": "Order",
            "label": "Order"
          },
          {
            "value": "Product",
            "label": "Product"
          },
          {
            "value": "Other",
            "label": "Other"
          }
        ],
        "default": "Account"
      },
      {
        "apiName": "Status",
        "label": "Request Status",
        "type": "picklist",
        "options": [
          {
            "value": "New",
            "label": "New"
          },
          {
            "value": "Attempted",
            "label": "Attempted"
          },
          {
            "value": "Contacted",
            "label": "Contacted"
          },
          {
            "value": "Abandoned",
            "label": "Abandoned"
          }
        ],
        "default": "New"
      },
      {
        "apiName": "WhatId",
        "label": "Related To ID",
        "type": "reference",
        "referenceTo": [
          "Account",
          "Case",
          "Opportunity",
          "VoiceCall",
          "WorkOrder"
        ],
        "relationshipName": "What",
        "childRelationshipName": "ContactRequests",
        "isPolymorphic": true
      },
      {
        "apiName": "WhoId",
        "label": "Requestor ID",
        "type": "reference",
        "referenceTo": [
          "Contact",
          "Lead",
          "User"
        ],
        "relationshipName": "Who",
        "childRelationshipName": "ContactRequests",
        "isPolymorphic": true
      },
      {
        "apiName": "OwnerId",
        "type": "reference",
        "label": "Owner ID",
        "required": true,
        "referenceTo": [
          "Group",
          "User"
        ],
        "relationshipName": "Owner",
        "isPolymorphic": true
      }
    ]
  }
]
