[
  {
    "apiName": "Case",
    "keyPrefix": "500",
    "label": "Case",
    "pluralLabel": "Cases",
    "tableType": "standard_object",
    "category": "crm",
    "description": "Salesforce standard Case (v66.0 dev-org gold master)",
    "fields": [
      {
        "apiName": "MasterRecordId",
        "label": "Master Record ID",
        "type": "reference",
        "createable": false,
        "updateable": false,
        "referenceTo": [
          "Case"
        ],
        "relationshipName": "MasterRecord"
      },
      {
        "apiName": "CaseNumber",
        "label": "Case Number",
        "type": "string",
        "isNameField": true,
        "createable": false,
        "updateable": false
      },
      {
        "apiName": "ContactId",
        "label": "Contact ID",
        "type": "reference",
        "referenceTo": [
          "Contact"
        ],
        "relationshipName": "Contact",
        "childRelationshipName": "Cases"
      },
      {
        "apiName": "AccountId",
        "label": "Account ID",
        "type": "reference",
        "referenceTo": [
          "Account"
        ],
        "relationshipName": "Account",
        "childRelationshipName": "Cases"
      },
      {
        "apiName": "AssetId",
        "label": "Asset ID",
        "type": "reference",
        "referenceTo": [
          "Asset"
        ],
        "relationshipName": "Asset",
        "childRelationshipName": "Cases"
      },
      {
        "apiName": "SourceId",
        "label": "Case Source ID",
        "type": "reference",
        "referenceTo": [
          "EmailMessage",
          "MessagingSession"
        ],
        "relationshipName": "Source",
        "isPolymorphic": true,
        "childRelationshipName": "Cases"
      },
      {
        "apiName": "ParentId",
        "label": "Parent Case ID",
        "type": "reference",
        "referenceTo": [
          "Case"
        ],
        "relationshipName": "Parent",
        "childRelationshipName": "Cases"
      },
      {
        "apiName": "SuppliedName",
        "label": "Name",
        "type": "string"
      },
      {
        "apiName": "SuppliedEmail",
        "label": "Email Address",
        "type": "email"
      },
      {
        "apiName": "SuppliedPhone",
        "label": "Phone",
        "type": "string"
      },
      {
        "apiName": "SuppliedCompany",
        "label": "Company",
        "type": "string"
      },
      {
        "apiName": "Type",
        "label": "Case Type",
        "type": "picklist",
        "options": [
          {
            "value": "Mechanical",
            "label": "Mechanical"
          },
          {
            "value": "Electrical",
            "label": "Electrical"
          },
          {
            "value": "Electronic",
            "label": "Electronic"
          },
          {
            "value": "Structural",
            "label": "Structural"
          },
          {
            "value": "Other",
            "label": "Other"
          }
        ]
      },
      {
        "apiName": "Status",
        "label": "Status",
        "type": "picklist",
        "default": "New",
        "options": [
          {
            "value": "New",
            "label": "New"
          },
          {
            "value": "Working",
            "label": "Working"
          },
          {
            "value": "Escalated",
            "label": "Escalated"
          },
          {
            "value": "Closed",
            "label": "Closed"
          }
        ]
      },
      {
        "apiName": "Reason",
        "label": "Case Reason",
        "type": "picklist",
        "options": [
          {
            "value": "Installation",
            "label": "Installation"
          },
          {
            "value": "Equipment Complexity",
            "label": "Equipment Complexity"
          },
          {
            "value": "Performance",
            "label": "Performance"
          },
          {
            "value": "Breakdown",
            "label": "Breakdown"
          },
          {
            "value": "Equipment Design",
            "label": "Equipment Design"
          },
          {
            "value": "Feedback",
            "label": "Feedback"
          },
          {
            "value": "Other",
            "label": "Other"
          }
        ]
      },
      {
        "apiName": "Origin",
        "label": "Case Origin",
        "type": "picklist",
        "options": [
          {
            "value": "Phone",
            "label": "Phone"
          },
          {
            "value": "Email",
            "label": "Email"
          },
          {
            "value": "Web",
            "label": "Web"
          }
        ]
      },
      {
        "apiName": "Subject",
        "label": "Subject",
        "type": "string"
      },
      {
        "apiName": "Priority",
        "label": "Priority",
        "type": "picklist",
        "default": "Medium",
        "options": [
          {
            "value": "High",
            "label": "High"
          },
          {
            "value": "Medium",
            "label": "Medium"
          },
          {
            "value": "Low",
            "label": "Low"
          }
        ]
      },
      {
        "apiName": "Description",
        "label": "Description",
        "type": "textarea"
      },
      {
        "apiName": "IsClosed",
        "label": "Closed",
        "type": "boolean",
        "createable": false,
        "updateable": false
      },
      {
        "apiName": "ClosedDate",
        "label": "Closed Date",
        "type": "datetime",
        "createable": false,
        "updateable": false
      },
      {
        "apiName": "IsEscalated",
        "label": "Escalated",
        "type": "boolean"
      },
      {
        "apiName": "ContactPhone",
        "label": "Contact Phone",
        "type": "phone",
        "createable": false,
        "updateable": false
      },
      {
        "apiName": "ContactMobile",
        "label": "Contact Mobile",
        "type": "phone",
        "createable": false,
        "updateable": false
      },
      {
        "apiName": "ContactEmail",
        "label": "Contact Email",
        "type": "email",
        "createable": false,
        "updateable": false
      },
      {
        "apiName": "ContactFax",
        "label": "Contact Fax",
        "type": "phone",
        "createable": false,
        "updateable": false
      },
      {
        "apiName": "Comments",
        "label": "Internal Comments",
        "type": "textarea"
      }
    ]
  }
]
