[
  {
    "apiName": "ContentDocument",
    "label": "Content Document",
    "pluralLabel": "Content Documents",
    "tableType": "standard_object",
    "category": "crm",
    "sharingModel": "Private",
    "enableHierarchySharing": false,
    "description": "Salesforce standard ContentDocument (v66.0 dev-org gold master)",
    "fields": [
      {
        "apiName": "ArchivedById",
        "label": "User ID",
        "type": "reference",
        "referenceTo": [
          "User"
        ],
        "relationshipName": "ArchivedBy"
      },
      {
        "apiName": "ArchivedDate",
        "label": "Archived Date",
        "type": "date"
      },
      {
        "apiName": "ContentAssetId",
        "label": "Asset File ID",
        "type": "reference",
        "referenceTo": [
          "ContentAsset"
        ],
        "relationshipName": "ContentAsset"
      },
      {
        "apiName": "DeletedById",
        "label": "Deleted By Id",
        "type": "reference",
        "referenceTo": [
          "User"
        ],
        "relationshipName": "DeletedBy"
      },
      {
        "apiName": "DeletedDate",
        "label": "Deleted Date",
        "type": "string"
      },
      {
        "apiName": "IsArchived",
        "label": "Is Archived",
        "type": "boolean"
      },
      {
        "apiName": "IsInternalOnly",
        "label": "Is Internal Only",
        "type": "boolean"
      },
      {
        "apiName": "ParentId",
        "label": "Parent ID",
        "type": "reference",
        "referenceTo": [
          "ContentWorkspace"
        ],
        "relationshipName": "Parent"
      },
      {
        "apiName": "PublishStatus",
        "label": "Publish Status",
        "type": "picklist",
        "options": [
          {
            "value": "U",
            "label": "Upload Interrupted"
          },
          {
            "value": "P",
            "label": "Public"
          },
          {
            "value": "R",
            "label": "Private Library"
          }
        ],
        "default": "U"
      },
      {
        "apiName": "Title",
        "label": "Title",
        "type": "string",
        "isNameField": true,
        "required": true
      },
      {
        "apiName": "OwnerId",
        "type": "reference",
        "label": "Owner ID",
        "required": true,
        "referenceTo": [
          "User"
        ],
        "relationshipName": "Owner"
      }
    ]
  }
]
