[
  {
    "apiName": "Task",
    "keyPrefix": "00T",
    "label": "Task",
    "tableType": "standard_object",
    "category": "crm",
    "searchable": false,
    "sharingModel": "ControlledByParent",
    "enableHierarchySharing": false,
    "description": "Standard Salesforce Task object",
    "fields": [
      {
        "apiName": "Subject",
        "label": "Subject",
        "type": "picklist",
        "isNameField": true,
        "required": true,
        "options": [
          {
            "value": "Initial Engagement",
            "label": "Initial Engagement"
          },
          {
            "value": "Technical Engagement",
            "label": "Technical Engagement"
          },
          {
            "value": "Business Engagement",
            "label": "Business Engagement"
          },
          {
            "value": "Mixed Engagement",
            "label": "Mixed Engagement"
          },
          {
            "value": "IQM Scheduled",
            "label": "IQM Scheduled"
          },
          {
            "value": "IQM Completed",
            "label": "IQM Completed"
          },
          {
            "value": "Call",
            "label": "Call"
          },
          {
            "value": "Email",
            "label": "Email"
          }
        ]
      },
      {
        "apiName": "Status",
        "label": "Status",
        "type": "picklist",
        "default": "Open",
        "options": [
          {
            "value": "Open",
            "label": "Open"
          },
          {
            "value": "Completed",
            "label": "Completed"
          }
        ]
      },
      {
        "apiName": "Priority",
        "label": "Priority",
        "type": "picklist",
        "default": "Normal",
        "options": [
          {
            "value": "High",
            "label": "High"
          },
          {
            "value": "Normal",
            "label": "Normal"
          }
        ]
      },
      {
        "apiName": "ActivityDate",
        "label": "Due Date Only",
        "type": "date"
      },
      {
        "apiName": "ActivityDateTime",
        "label": "Due Date Time",
        "type": "datetime"
      },
      {
        "apiName": "Description",
        "label": "Comments",
        "type": "textarea"
      },
      {
        "apiName": "WhoId",
        "label": "Name",
        "type": "reference",
        "referenceTo": [
          "Contact",
          "Lead"
        ],
        "isPolymorphic": true,
        "relationshipName": "Who",
        "childRelationshipName": "Tasks"
      },
      {
        "apiName": "WhatId",
        "label": "Related To",
        "type": "reference",
        "referenceTo": [
          "Account",
          "Asset",
          "Campaign",
          "Case",
          "Contract",
          "Opportunity",
          "Order",
          "Product2",
          "Quote"
        ],
        "isPolymorphic": true,
        "relationshipName": "What",
        "childRelationshipName": "Tasks"
      },
      {
        "apiName": "AccountId",
        "label": "Account",
        "type": "reference",
        "referenceTo": [
          "Account"
        ],
        "relationshipName": "Account"
      },
      {
        "apiName": "RecordTypeId",
        "label": "Record Type ID",
        "type": "reference",
        "referenceTo": [
          "RecordType"
        ],
        "relationshipName": "RecordType"
      },
      {
        "apiName": "Type",
        "label": "Type",
        "type": "picklist",
        "options": [
          {
            "value": "Call",
            "label": "Call"
          },
          {
            "value": "Email",
            "label": "Email"
          },
          {
            "value": "Meeting",
            "label": "Meeting"
          },
          {
            "value": "Other",
            "label": "Other"
          },
          {
            "value": "Weekly Update",
            "label": "Weekly Update"
          },
          {
            "value": "Initial Engagement",
            "label": "Initial Engagement"
          },
          {
            "value": "Technical Validation",
            "label": "Technical Validation"
          },
          {
            "value": "Commercial Negotiation",
            "label": "Commercial Negotiation"
          }
        ]
      },
      {
        "apiName": "IsArchived",
        "label": "Archived",
        "type": "boolean"
      },
      {
        "apiName": "IsHighPriority",
        "label": "High Priority",
        "type": "boolean"
      },
      {
        "apiName": "IsTaskLatestUpdate",
        "label": "Latest Update",
        "type": "boolean"
      },
      {
        "apiName": "IsRecurrence",
        "label": "Create Recurring Series of Tasks",
        "type": "boolean"
      },
      {
        "apiName": "IsReminderSet",
        "label": "Reminder Set",
        "type": "boolean"
      },
      {
        "apiName": "ReminderDateTime",
        "label": "Reminder Date/Time",
        "type": "datetime"
      },
      {
        "apiName": "CompletedDateTime",
        "label": "Completed Date/Time",
        "type": "datetime"
      },
      {
        "apiName": "CallDurationInSeconds",
        "label": "Call Duration",
        "type": "double"
      },
      {
        "apiName": "CallType",
        "label": "Call Type",
        "type": "picklist",
        "options": [
          {
            "value": "Internal",
            "label": "Internal"
          },
          {
            "value": "Inbound",
            "label": "Inbound"
          },
          {
            "value": "Outbound",
            "label": "Outbound"
          }
        ]
      },
      {
        "apiName": "CallDisposition",
        "label": "Call Result",
        "type": "string"
      },
      {
        "apiName": "CallObject",
        "label": "Call Object Identifier",
        "type": "string"
      },
      {
        "apiName": "TaskSubtype",
        "label": "Task Subtype",
        "type": "picklist",
        "default": "Task",
        "options": [
          {
            "value": "Task",
            "label": "Task"
          },
          {
            "value": "Call",
            "label": "Call"
          },
          {
            "value": "Email",
            "label": "Email"
          }
        ]
      },
      {
        "apiName": "ActivitySubtype",
        "label": "Activity Subtype",
        "type": "picklist",
        "options": [
          {
            "value": "Task",
            "label": "Task"
          },
          {
            "value": "Call",
            "label": "Call"
          },
          {
            "value": "Email",
            "label": "Email"
          }
        ]
      },
      {
        "apiName": "RecurrenceActivityId",
        "label": "Recurrence Activity ID",
        "type": "reference",
        "referenceTo": [
          "Task"
        ],
        "relationshipName": "RecurrenceActivity",
        "childRelationshipName": "RecurringTasks"
      },
      {
        "apiName": "RecurrenceStartDateOnly",
        "label": "Recurrence Start",
        "type": "date"
      },
      {
        "apiName": "RecurrenceEndDateOnly",
        "label": "Recurrence End",
        "type": "date"
      },
      {
        "apiName": "RecurrenceTimeZoneSidKey",
        "label": "Recurrence Time Zone",
        "type": "string"
      },
      {
        "apiName": "RecurrenceType",
        "label": "Recurrence Type",
        "type": "picklist",
        "options": [
          {
            "value": "RecursDaily",
            "label": "Daily"
          },
          {
            "value": "RecursEveryWeekday",
            "label": "Every Weekday"
          },
          {
            "value": "RecursWeekly",
            "label": "Weekly"
          },
          {
            "value": "RecursMonthly",
            "label": "Monthly"
          },
          {
            "value": "RecursMonthlyNth",
            "label": "Monthly Nth"
          },
          {
            "value": "RecursYearly",
            "label": "Yearly"
          },
          {
            "value": "RecursYearlyNth",
            "label": "Yearly Nth"
          }
        ]
      },
      {
        "apiName": "RecurrenceInterval",
        "label": "Recurrence Interval",
        "type": "double"
      },
      {
        "apiName": "RecurrenceDayOfWeekMask",
        "label": "Recurrence Day Of Week Mask",
        "type": "double"
      },
      {
        "apiName": "RecurrenceDayOfMonth",
        "label": "Recurrence Day Of Month",
        "type": "double"
      },
      {
        "apiName": "RecurrenceInstance",
        "label": "Recurrence Instance",
        "type": "picklist",
        "options": [
          {
            "value": "First",
            "label": "First"
          },
          {
            "value": "Second",
            "label": "Second"
          },
          {
            "value": "Third",
            "label": "Third"
          },
          {
            "value": "Fourth",
            "label": "Fourth"
          },
          {
            "value": "Last",
            "label": "Last"
          }
        ]
      },
      {
        "apiName": "RecurrenceMonthOfYear",
        "label": "Recurrence Month Of Year",
        "type": "picklist",
        "options": [
          {
            "value": "January",
            "label": "January"
          },
          {
            "value": "February",
            "label": "February"
          },
          {
            "value": "March",
            "label": "March"
          },
          {
            "value": "April",
            "label": "April"
          },
          {
            "value": "May",
            "label": "May"
          },
          {
            "value": "June",
            "label": "June"
          },
          {
            "value": "July",
            "label": "July"
          },
          {
            "value": "August",
            "label": "August"
          },
          {
            "value": "September",
            "label": "September"
          },
          {
            "value": "October",
            "label": "October"
          },
          {
            "value": "November",
            "label": "November"
          },
          {
            "value": "December",
            "label": "December"
          }
        ]
      },
      {
        "apiName": "RecurrenceRegeneratedType",
        "label": "Recurrence Regenerated Type",
        "type": "picklist",
        "options": [
          {
            "value": "RecurrenceRegenerateAfterDueDate",
            "label": "After due date"
          },
          {
            "value": "RecurrenceRegenerateAfterToday",
            "label": "After date completed"
          },
          {
            "value": "RecurrenceRegenerated",
            "label": "Task closed"
          }
        ]
      },
      {
        "apiName": "Next_Milestone__c",
        "label": "Next Milestone",
        "type": "textarea",
        "length": 255
      },
      {
        "apiName": "Deadline__c",
        "label": "Deadline",
        "type": "date"
      },
      {
        "apiName": "Person_Responsible__c",
        "label": "Person Responsible",
        "type": "string",
        "length": 200
      },
      {
        "apiName": "Risk_and_Next_Step__c",
        "label": "Risk and Next Step",
        "type": "textarea",
        "length": 255
      },
      {
        "apiName": "Progress__c",
        "label": "Progress",
        "type": "textarea",
        "length": 255
      },
      {
        "apiName": "Review_Comments__c",
        "label": "Review Comments",
        "type": "textarea",
        "length": 255
      },
      {
        "apiName": "Action_Status__c",
        "label": "Action Status",
        "type": "picklist",
        "options": [
          {
            "value": "1st Call",
            "label": "1st Call"
          },
          {
            "value": "2nd Call",
            "label": "2nd Call"
          },
          {
            "value": "3rd Call",
            "label": "3rd Call"
          },
          {
            "value": "General Call",
            "label": "General Call"
          }
        ]
      },
      {
        "apiName": "Action_Response__c",
        "label": "Action Response",
        "type": "picklist",
        "options": [
          {
            "value": "No Response",
            "label": "No Response"
          },
          {
            "value": "Reached",
            "label": "Reached"
          },
          {
            "value": "Rejected",
            "label": "Rejected"
          }
        ]
      },
      {
        "apiName": "Intera__c",
        "label": "Interaction Type",
        "type": "picklist",
        "options": [
          {
            "value": "Phone Call",
            "label": "Phone Call"
          },
          {
            "value": "IM Chatting",
            "label": "IM Chatting"
          },
          {
            "value": "Email",
            "label": "Email"
          },
          {
            "value": "Tele-Conference",
            "label": "Tele-Conference"
          }
        ]
      },
      {
        "apiName": "OwnerId",
        "type": "reference",
        "label": "Updated by",
        "required": true,
        "referenceTo": [
          "Group",
          "User"
        ],
        "relationshipName": "Owner",
        "isPolymorphic": true
      }
    ],
    "indices": [
      {
        "columns": [
          "WhoId"
        ]
      },
      {
        "columns": [
          "WhatId"
        ]
      }
    ],
    "managedRelationships": [
      {
        "fieldApiName": "AccountId",
        "parentObject": "Account",
        "isSharingParent": true
      }
    ]
  }
]
