[
  {
    "apiName": "Event",
    "keyPrefix": "00U",
    "label": "Event",
    "pluralLabel": "Events",
    "tableType": "standard_object",
    "category": "crm",
    "sharingModel": "Private",
    "enableHierarchySharing": false,
    "accessPolicy": {
      "rowRead": {
        "kind": "targetRecordRead",
        "targetAssociations": [
          {
            "targetObjectField": "WhatId_type",
            "targetRecordField": "WhatId"
          },
          {
            "targetObjectField": "WhoId_type",
            "targetRecordField": "WhoId"
          }
        ],
        "includeSourceVisibility": true
      }
    },
    "description": "Salesforce standard Event (v66.0 dev-org gold master)",
    "fields": [
      {
        "apiName": "ActivityDate",
        "label": "Due Date Only",
        "type": "date"
      },
      {
        "apiName": "ActivityDateTime",
        "label": "Due Date Time",
        "type": "datetime"
      },
      {
        "apiName": "Attendees",
        "label": "Attendees",
        "type": "string"
      },
      {
        "apiName": "Contact_Role__c",
        "label": "Contact Role",
        "type": "picklist",
        "options": [
          {
            "value": "Economic Buyer",
            "label": "Economic Buyer"
          },
          {
            "value": "Technical Buyer",
            "label": "Technical Buyer"
          },
          {
            "value": "Economic Decision Maker",
            "label": "Economic Decision Maker"
          },
          {
            "value": "Technical Decision Maker",
            "label": "Technical Decision Maker"
          },
          {
            "value": "Business User",
            "label": "Business User"
          },
          {
            "value": "Champion",
            "label": "Champion"
          },
          {
            "value": "Coach",
            "label": "Coach"
          },
          {
            "value": "Executive Sponsor",
            "label": "Executive Sponsor"
          },
          {
            "value": "Evaluator",
            "label": "Evaluator"
          },
          {
            "value": "Gate Keeper",
            "label": "Gate Keeper"
          },
          {
            "value": "Other",
            "label": "Other"
          }
        ]
      },
      {
        "apiName": "CurrencyIsoCode",
        "label": "Currency Iso Code",
        "type": "string"
      },
      {
        "apiName": "Description",
        "label": "Description",
        "type": "textarea"
      },
      {
        "apiName": "DurationInMinutes",
        "label": "Duration",
        "type": "double"
      },
      {
        "apiName": "Email",
        "label": "Email",
        "type": "string"
      },
      {
        "apiName": "EndDateTime",
        "label": "End Date Time",
        "type": "datetime"
      },
      {
        "apiName": "EventSubtype",
        "label": "Event Subtype",
        "type": "picklist",
        "options": [
          {
            "value": "Event",
            "label": "Event"
          }
        ]
      },
      {
        "apiName": "IsAllDayEvent",
        "label": "All-Day Event",
        "type": "boolean"
      },
      {
        "apiName": "IsPrivate",
        "label": "Private",
        "type": "boolean"
      },
      {
        "apiName": "IsRecurrence2",
        "label": "Repeat",
        "type": "boolean"
      },
      {
        "apiName": "IsReminderSet",
        "label": "Reminder Set",
        "type": "boolean"
      },
      {
        "apiName": "Location",
        "label": "Location",
        "type": "string"
      },
      {
        "apiName": "Other_Participants_Info__c",
        "label": "Other Participants' Info",
        "type": "string"
      },
      {
        "apiName": "Other_Participants_Names__c",
        "label": "Other Participants' Names",
        "type": "string"
      },
      {
        "apiName": "Phone",
        "label": "Phone",
        "type": "string"
      },
      {
        "apiName": "Risk_and_Next_Step__c",
        "label": "Risk and Next Step",
        "type": "textarea",
        "length": 255
      },
      {
        "apiName": "ShowAs",
        "label": "Show Time As",
        "type": "picklist",
        "options": [
          {
            "value": "Busy",
            "label": "Busy"
          },
          {
            "value": "OutOfOffice",
            "label": "Out of Office"
          },
          {
            "value": "Free",
            "label": "Free"
          }
        ],
        "default": "Busy"
      },
      {
        "apiName": "StartDateTime",
        "label": "Start Date Time",
        "type": "datetime"
      },
      {
        "apiName": "Subject",
        "label": "Subject",
        "type": "picklist",
        "isNameField": true,
        "options": [
          {
            "value": "Physical Meeting",
            "label": "Physical Meeting"
          },
          {
            "value": "Virtual Meeting",
            "label": "Virtual Meeting"
          },
          {
            "value": "Call",
            "label": "Call"
          },
          {
            "value": "Other",
            "label": "Other"
          }
        ]
      },
      {
        "apiName": "Type",
        "label": "Type",
        "type": "picklist",
        "options": [
          {
            "value": "Call",
            "label": "Call"
          },
          {
            "value": "Meeting",
            "label": "Meeting"
          },
          {
            "value": "Email",
            "label": "Email"
          },
          {
            "value": "Other",
            "label": "Other"
          }
        ]
      },
      {
        "apiName": "WhatId",
        "label": "Related To ID",
        "type": "reference",
        "referenceTo": [
          "Account",
          "AppointmentCategory",
          "AppointmentInvitation",
          "ApprovalSubmission",
          "ApprovalSubmissionDetail",
          "ApprovalWorkItem",
          "Asset",
          "AssetRelationship",
          "AssignedResource",
          "Campaign",
          "Case",
          "ChangeRequest",
          "CommSubscriptionConsent",
          "ContactRequest",
          "Contract",
          "ContractLineItem",
          "Coupon",
          "CreditMemo",
          "DataQueryWorkspace",
          "DeliveryEstimationSetup",
          "DevopsActivityLog",
          "DevopsEnvironment",
          "DevopsRequestInfo",
          "Entitlement",
          "FulfillmentOrder",
          "Image",
          "Incident",
          "Invoice",
          "LegalEntity",
          "ListEmail",
          "Location",
          "LocationShippingCarrierMethod",
          "OperatingHoursHoliday",
          "Opportunity",
          "Order",
          "PartyConsent",
          "PrivacyRTBFRequest",
          "Problem",
          "ProcessException",
          "Product2",
          "ProductCatalog",
          "Promotion",
          "PromotionMarketSegment",
          "PromotionQualifier",
          "PromotionSegment",
          "PromotionSegmentBuyerGroup",
          "PromotionSegmentSalesStore",
          "PromotionTarget",
          "PromotionTier",
          "ResourceAbsence",
          "ReturnOrder",
          "ReturnOrderLineItem",
          "ServiceAppointment",
          "ServiceContract",
          "ServiceResource",
          "Shift",
          "Shipment",
          "ShipmentItem",
          "ShippingCarrier",
          "ShippingCarrierMethod",
          "Solution",
          "Waitlist",
          "WaitlistParticipant",
          "WorkOrder",
          "WorkOrderLineItem",
          "WorkPlan",
          "WorkPlanTemplate",
          "WorkPlanTemplateEntry",
          "WorkStep",
          "WorkStepTemplate"
        ],
        "relationshipName": "What",
        "childRelationshipName": "Events",
        "isPolymorphic": true
      },
      {
        "apiName": "WhoId",
        "label": "Name ID",
        "type": "reference",
        "referenceTo": [
          "Contact",
          "Lead"
        ],
        "relationshipName": "Who",
        "childRelationshipName": "Events",
        "isPolymorphic": true
      },
      {
        "apiName": "OwnerId",
        "type": "reference",
        "label": "Updated by",
        "required": true,
        "referenceTo": [
          "Calendar",
          "User"
        ],
        "relationshipName": "Owner",
        "isPolymorphic": true
      }
    ]
  }
]
