[
  {
    "apiName": "ContentVersion",
    "keyPrefix": "068",
    "label": "Content Version",
    "pluralLabel": "Content Versions",
    "tableType": "standard_object",
    "category": "crm",
    "description": "Salesforce standard ContentVersion (v66.0 dev-org gold master)",
    "fields": [
      {
        "apiName": "ContentDocumentId",
        "label": "Content Document ID",
        "type": "reference",
        "required": true,
        "updateable": false,
        "referenceTo": [
          "ContentDocument"
        ],
        "relationshipName": "ContentDocument",
        "childRelationshipName": "ContentVersions"
      },
      {
        "apiName": "IsLatest",
        "label": "Is Latest",
        "type": "boolean",
        "createable": false,
        "updateable": false
      },
      {
        "apiName": "ContentUrl",
        "label": "Content URL",
        "type": "url"
      },
      {
        "apiName": "ContentBodyId",
        "label": "Content Body ID",
        "type": "reference",
        "updateable": false,
        "referenceTo": [
          "ContentBody"
        ],
        "relationshipName": "ContentBody"
      },
      {
        "apiName": "VersionNumber",
        "label": "Version Number",
        "type": "string",
        "createable": false,
        "updateable": false
      },
      {
        "apiName": "Title",
        "label": "Title",
        "type": "string",
        "required": true,
        "isNameField": true
      },
      {
        "apiName": "Description",
        "label": "Description",
        "type": "textarea"
      },
      {
        "apiName": "ReasonForChange",
        "label": "Reason For Change",
        "type": "string"
      },
      {
        "apiName": "SharingOption",
        "label": "Prevent others from sharing and unsharing",
        "type": "picklist",
        "default": "A",
        "options": [
          {
            "value": "A",
            "label": "Freeze Sharing Off"
          },
          {
            "value": "R",
            "label": "Freeze Sharing On"
          }
        ]
      },
      {
        "apiName": "SharingPrivacy",
        "label": "File Privacy on Records",
        "type": "picklist",
        "default": "N",
        "options": [
          {
            "value": "N",
            "label": "Visible to Anyone With Record Access"
          },
          {
            "value": "P",
            "label": "Private on Records"
          }
        ]
      },
      {
        "apiName": "PathOnClient",
        "label": "Path On Client",
        "type": "string",
        "updateable": false
      },
      {
        "apiName": "RatingCount",
        "label": "Rating Count",
        "type": "double",
        "createable": false,
        "updateable": false
      },
      {
        "apiName": "ContentModifiedDate",
        "label": "Content Modified Date",
        "type": "datetime",
        "updateable": false
      },
      {
        "apiName": "ContentModifiedById",
        "label": "User ID",
        "type": "reference",
        "createable": false,
        "updateable": false,
        "referenceTo": [
          "User"
        ],
        "relationshipName": "ContentModifiedBy"
      },
      {
        "apiName": "PositiveRatingCount",
        "label": "Positive Rating Count",
        "type": "double",
        "createable": false,
        "updateable": false
      },
      {
        "apiName": "NegativeRatingCount",
        "label": "Negative Rating Count",
        "type": "double",
        "createable": false,
        "updateable": false
      },
      {
        "apiName": "FeaturedContentBoost",
        "label": "Featured Content Boost",
        "type": "double",
        "createable": false,
        "updateable": false
      },
      {
        "apiName": "FeaturedContentDate",
        "label": "Featured Content Date",
        "type": "date",
        "createable": false,
        "updateable": false
      },
      {
        "apiName": "TagCsv",
        "label": "Tags",
        "type": "textarea"
      },
      {
        "apiName": "FileType",
        "label": "File Type",
        "type": "string",
        "required": true,
        "createable": false,
        "updateable": false
      },
      {
        "apiName": "PublishStatus",
        "label": "Publish Status",
        "type": "picklist",
        "createable": false,
        "updateable": false,
        "default": "U",
        "options": [
          {
            "value": "U",
            "label": "Upload Interrupted"
          },
          {
            "value": "P",
            "label": "Public"
          },
          {
            "value": "R",
            "label": "Private Library"
          }
        ]
      },
      {
        "apiName": "ContentSize",
        "label": "Size",
        "type": "double",
        "createable": false,
        "updateable": false
      },
      {
        "apiName": "ContentSizeLong",
        "label": "Size",
        "type": "double",
        "createable": false,
        "updateable": false
      },
      {
        "apiName": "FileExtension",
        "label": "File Extension",
        "type": "string",
        "createable": false,
        "updateable": false
      },
      {
        "apiName": "FirstPublishLocationId",
        "label": "First Publish Location ID",
        "type": "reference",
        "updateable": false,
        "referenceTo": [
          "Account",
          "ActivationTarget",
          "ActivationTrgtIntOrgAccess",
          "ApiAnomalyEventStore",
          "AppointmentCategory",
          "AppointmentInvitation",
          "AppointmentTopicTimeSlot",
          "ApprovalSubmission",
          "ApprovalSubmissionDetail",
          "ApprovalWorkItem",
          "Asset",
          "AssetRelationship",
          "AssignedResource",
          "AuthorizationFormText",
          "BuyerGroup",
          "Campaign",
          "Case",
          "CaseRelatedIssue",
          "ChangeRequest",
          "ChangeRequestRelatedIssue",
          "ChangeRequestRelatedItem",
          "CollaborationGroup",
          "CommSubscription",
          "CommSubscriptionChannelType",
          "CommSubscriptionConsent",
          "CommSubscriptionTiming",
          "ConsumptionSchedule",
          "Contact",
          "ContentWorkspace",
          "Contract",
          "ContractLineItem",
          "ConversationEntry",
          "Coupon",
          "CredentialStuffingEventStore",
          "CreditMemo",
          "CreditMemoInvApplication",
          "CreditMemoLine",
          "Dashboard",
          "DashboardComponent",
          "DataAction",
          "DataActionJobSummary",
          "DataActionTarget",
          "DataCommunicationCap",
          "DataContentLensSource",
          "DataLakeObjectInstance",
          "DataLineageNodeDefSyncLog",
          "DataObjSecondaryIndex",
          "DataQueryWorkspace",
          "DataSemanticSearch",
          "DataStream",
          "DeliveryEstimationSetup",
          "DevopsActivityLog",
          "DevopsEnvironment",
          "DevopsRequestInfo",
          "EmailMessage",
          "EmailTemplate",
          "EngagementChannelType",
          "EngagementChannelWorkType",
          "EnhancedLetterhead",
          "Entitlement",
          "EntityMilestone",
          "Event",
          "ExtDataShare",
          "ExtDataShareTarget",
          "FulfillmentOrder",
          "FulfillmentOrderItemAdjustment",
          "FulfillmentOrderItemTax",
          "FulfillmentOrderLineItem",
          "GuestUserAnomalyEventStore",
          "IdentityResolution",
          "Image",
          "Incident",
          "IncidentRelatedItem",
          "Invoice",
          "InvoiceLine",
          "Lead",
          "LegalEntity",
          "ListEmail",
          "Location",
          "LocationGroup",
          "LocationShippingCarrierMethod",
          "LoginAnomalyEventStore",
          "MarketSegment",
          "MarketSegmentActivation",
          "MessagingSession",
          "MktCalculatedInsight",
          "MktDataTransform",
          "MktMLModel",
          "MktMLPredictionJob",
          "OperatingHours",
          "OperatingHoursHoliday",
          "Opportunity",
          "Order",
          "OrderItem",
          "Organization",
          "OutgoingEmail",
          "PartyConsent",
          "Payment",
          "PrivacyRTBFRequest",
          "Problem",
          "ProblemIncident",
          "ProblemRelatedItem",
          "Product2",
          "ProductCatalog",
          "ProductCategory",
          "Promotion",
          "PromotionMarketSegment",
          "PromotionQualifier",
          "PromotionSegment",
          "PromotionSegmentBuyerGroup",
          "PromotionSegmentSalesStore",
          "PromotionTarget",
          "PromotionTier",
          "Report",
          "ReportAnomalyEventStore",
          "ResourceAbsence",
          "ResourcePreference",
          "ReturnOrder",
          "ReturnOrderLineItem",
          "ServiceAppointment",
          "ServiceAppointmentAttendee",
          "ServiceContract",
          "ServiceResource",
          "ServiceResourceSkill",
          "ServiceTerritory",
          "ServiceTerritoryMember",
          "ServiceTerritoryWorkType",
          "SessionHijackingEventStore",
          "Shift",
          "ShiftEngagementChannel",
          "ShiftWorkTopic",
          "Shipment",
          "ShipmentItem",
          "ShippingCarrier",
          "ShippingCarrierMethod",
          "Site",
          "SkillRequirement",
          "Solution",
          "Task",
          "ThreatDetectionFeedback",
          "Topic",
          "UniversalAnomalyEventStore",
          "User",
          "VoiceCall",
          "Waitlist",
          "WaitlistParticipant",
          "WaitlistServiceResource",
          "WaitlistWorkType",
          "WorkOrder",
          "WorkOrderLineItem",
          "WorkPlan",
          "WorkPlanTemplate",
          "WorkPlanTemplateEntry",
          "WorkStep",
          "WorkStepTemplate",
          "WorkType",
          "WorkTypeGroup",
          "WorkTypeGroupMember"
        ],
        "relationshipName": "FirstPublishLocation",
        "isPolymorphic": true
      },
      {
        "apiName": "Origin",
        "label": "Content Origin",
        "type": "picklist",
        "updateable": false,
        "default": "C",
        "options": [
          {
            "value": "C",
            "label": "Content"
          },
          {
            "value": "H",
            "label": "Chatter"
          }
        ]
      },
      {
        "apiName": "ContentLocation",
        "label": "Content Location",
        "type": "picklist",
        "updateable": false,
        "default": "S",
        "options": [
          {
            "value": "S",
            "label": "Salesforce"
          },
          {
            "value": "E",
            "label": "External"
          },
          {
            "value": "L",
            "label": "Social Customer Service"
          },
          {
            "value": "SfDrive",
            "label": "SfDrive"
          },
          {
            "value": "SCS",
            "label": "SCS"
          }
        ]
      },
      {
        "apiName": "TextPreview",
        "label": "Text Preview",
        "type": "string",
        "createable": false,
        "updateable": false
      },
      {
        "apiName": "ExternalDocumentInfo1",
        "label": "External Document Info1",
        "type": "string"
      },
      {
        "apiName": "ExternalDocumentInfo2",
        "label": "External Document Info2",
        "type": "string"
      },
      {
        "apiName": "ExternalDataSourceId",
        "label": "External Data Source ID",
        "type": "reference",
        "referenceTo": [
          "ExternalDataSource"
        ],
        "relationshipName": "ExternalDataSource"
      },
      {
        "apiName": "Checksum",
        "label": "Checksum",
        "type": "string",
        "createable": false,
        "updateable": false
      },
      {
        "apiName": "IsMajorVersion",
        "label": "Major Version",
        "type": "boolean",
        "updateable": false
      },
      {
        "apiName": "IsAssetEnabled",
        "label": "Asset File Enabled",
        "type": "boolean",
        "updateable": false
      },
      {
        "apiName": "VersionDataUrl",
        "label": "Version Data URL",
        "type": "string",
        "createable": false,
        "updateable": false
      },
      {
        "apiName": "MalwareScanStatus",
        "label": "Malware Scan Status",
        "type": "picklist",
        "createable": false,
        "updateable": false,
        "options": [
          {
            "value": "NotScanned",
            "label": "Not Scanned"
          },
          {
            "value": "Scheduled",
            "label": "Scheduled"
          },
          {
            "value": "Clean",
            "label": "Clean"
          },
          {
            "value": "Malicious",
            "label": "Malicious"
          },
          {
            "value": "Skipped",
            "label": "Skipped"
          },
          {
            "value": "Failed",
            "label": "Failed"
          }
        ]
      },
      {
        "apiName": "MalwareScanDate",
        "label": "Malware Scan Date",
        "type": "datetime",
        "createable": false,
        "updateable": false
      }
    ]
  }
]
