[
  {
    "apiName": "Location",
    "label": "Location",
    "pluralLabel": "Locations",
    "tableType": "standard_object",
    "category": "crm",
    "sharingModel": "ReadWrite",
    "enableHierarchySharing": false,
    "description": "Probe-converted object spec for Location",
    "fields": [
      {
        "apiName": "CloseDate",
        "label": "Close Date",
        "type": "string"
      },
      {
        "apiName": "ConstructionEndDate",
        "label": "Construction End Date",
        "type": "string"
      },
      {
        "apiName": "ConstructionStartDate",
        "label": "Construction Start Date",
        "type": "string"
      },
      {
        "apiName": "Description",
        "label": "Description",
        "type": "string"
      },
      {
        "apiName": "DrivingDirections",
        "label": "Driving Directions",
        "type": "string"
      },
      {
        "apiName": "Email",
        "label": "Email",
        "type": "string"
      },
      {
        "apiName": "ExternalReference",
        "label": "External Reference",
        "type": "string"
      },
      {
        "apiName": "Fax",
        "label": "Fax",
        "type": "string"
      },
      {
        "apiName": "IsInventoryLocation",
        "label": "Is Inventory Location",
        "type": "string"
      },
      {
        "apiName": "IsMobile",
        "label": "Is Mobile",
        "type": "string"
      },
      {
        "apiName": "Location",
        "label": "Location",
        "type": "string"
      },
      {
        "apiName": "LocationLevel",
        "label": "Location Level",
        "type": "string"
      },
      {
        "apiName": "LocationType",
        "label": "Location Type",
        "type": "picklist",
        "options": [
          {
            "value": "Warehouse",
            "label": "Warehouse"
          },
          {
            "value": "Site",
            "label": "Site"
          },
          {
            "value": "Office",
            "label": "Office"
          },
          {
            "value": "Store",
            "label": "Store"
          },
          {
            "value": "Other",
            "label": "Other"
          }
        ]
      },
      {
        "apiName": "LogoId",
        "label": "Logo Id",
        "type": "reference",
        "referenceTo": [
          "Image"
        ]
      },
      {
        "apiName": "Mobile",
        "label": "Mobile",
        "type": "string"
      },
      {
        "apiName": "Name",
        "label": "Name",
        "type": "string",
        "isNameField": true
      },
      {
        "apiName": "OpenDate",
        "label": "Open Date",
        "type": "string"
      },
      {
        "apiName": "ParentLocationId",
        "label": "Parent Location Id",
        "type": "reference",
        "referenceTo": [
          "Location"
        ]
      },
      {
        "apiName": "Phone",
        "label": "Phone",
        "type": "string"
      },
      {
        "apiName": "PossessionDate",
        "label": "Possession Date",
        "type": "string"
      },
      {
        "apiName": "RemodelEndDate",
        "label": "Remodel End Date",
        "type": "string"
      },
      {
        "apiName": "RemodelStartDate",
        "label": "Remodel Start Date",
        "type": "string"
      },
      {
        "apiName": "RootLocationId",
        "label": "Root Location Id",
        "type": "reference",
        "referenceTo": [
          "Location"
        ]
      },
      {
        "apiName": "TimeZone",
        "label": "Time Zone",
        "type": "string"
      },
      {
        "apiName": "VisitorAddressId",
        "label": "Visitor Address Id",
        "type": "string"
      },
      {
        "apiName": "OwnerId",
        "type": "reference",
        "label": "Owner ID",
        "required": true,
        "referenceTo": [
          "Group",
          "User"
        ],
        "relationshipName": "Owner",
        "isPolymorphic": true
      }
    ]
  }
]
