{
"sections": [
"title",
"description",
"fields",
"special_access_rules",
"usage",
"wsdl_segment",
"field_reference"
],
"title": "DuplicateRule - Data API",
"description": "Represents a duplicate rule for detecting duplicate records.",
"fields_columns": [
"type",
"properties",
"description"
],
"fields": {
"DeveloperName": {
"type": "string",
"properties": "Filter, Group, Sort",
"description": "The developer name for the duplicate rule. Note: Only users with View DeveloperName OR View Setup and Configuration permission can view, group, sort, and filter this field."
},
"IsActive": {
"type": "boolean",
"properties": "Defaulted on create, Filter, Group, Sort",
"description": "Indicates whether a duplicate rule is active (true) or not (false). This field is read only."
},
"Language": {
"type": "picklist",
"properties": "Filter, Group, Restricted picklist, Sort",
"description": "The language for the duplicate rule."
},
"LastViewedDate": {
"type": "dateTime",
"properties": "Filter, Nillable, Sort",
"description": "The timestamp when the current user last viewed this record or list view. This field is available in API version 41.0 or later."
},
"MasterLabel": {
"type": "string",
"properties": "Filter, Group, Sort",
"description": "The label for the duplicate rule."
},
"NamespacePrefix": {
"type": "string",
"properties": "Filter, Group, Nillable, Sort",
"description": "The namespace prefix that is associated with this object. Each Developer Edition org that creates a managed package has a unique namespace prefix. Limit: 15 characters. You can refer to a component in a managed package by using the namespacePrefix__componentName notation. The namespace prefix can have one of the following values. In Developer Edition orgs, NamespacePrefix is set to the namespace prefix of the org for all objects that support it, unless an object is in an installed managed package. In that case, the object has the namespace prefix of the installed managed package. This field’s value is the namespace prefix of the Developer Edition org of the package developer. In orgs that are not Developer Edition orgs, NamespacePrefix is set only for objects that are part of an installed managed package. All other objects have no namespace prefix."
},
"SobjectSubtype": {
"type": "picklist",
"properties": "Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort",
"description": "The subtype of object the duplicate rule is defined for. This field is available in API version 39.0 or later. Possible values are: None PersonAccount The default value is None."
},
"sObjectType": {
"type": "picklist",
"properties": "Filter, Group, Restricted picklist, Sort",
"description": "The type of object the duplicate rule is defined for. Possible values are: Account Contact Individual Lead"
}
},
"special_access_rules": "As of Summer ’20 and later, only users with the View Setup and Configuration permission can access this object.",
"usage": "You can use the API to view a duplicate rule’s details. To create, edit, or delete duplicate rules, use the UI. Use DuplicateRule to get the sObject type. DuplicateRule is unavailable in some orgs.\n\nYou can use the API to view a duplicate rule’s details. To create, edit, or delete duplicate rules, use the UI.\n\nUse DuplicateRule to get the sObject type.\n\nDuplicateRule is unavailable in some orgs.",
"wsdl_segment": "```xml\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n \n \n \n \n\n\n \n\n\n \n \n \n \n \n \n\n```",
"field_reference": {
"CreatedById": {
"field_label": "Created By ID",
"type": "reference",
"length": "18"
},
"CreatedDate": {
"field_label": "Created Date",
"type": "datetime"
},
"DeveloperName": {
"field_label": "Object Name",
"type": "string",
"length": "80"
},
"Id": {
"field_label": "Duplicate Rule ID",
"type": "id",
"length": "18"
},
"IsActive": {
"field_label": "Active",
"type": "boolean"
},
"IsDeleted": {
"field_label": "Deleted",
"type": "boolean"
},
"Language": {
"field_label": "Master Language",
"type": "picklist",
"length": "40"
},
"LastModifiedById": {
"field_label": "Last Modified By ID",
"type": "reference",
"length": "18"
},
"LastModifiedDate": {
"field_label": "Last Modified Date",
"type": "datetime"
},
"LastViewedDate": {
"field_label": "Last Viewed Date",
"type": "datetime"
},
"MasterLabel": {
"field_label": "Rule Name",
"type": "string",
"length": "80"
},
"NamespacePrefix": {
"field_label": "Namespace Prefix",
"type": "string",
"length": "15"
},
"SobjectSubtype": {
"field_label": "Object Subtype",
"type": "picklist",
"length": "255"
},
"SobjectType": {
"field_label": "Custom Object Definition ID",
"type": "picklist",
"length": "40"
},
"SystemModstamp": {
"field_label": "System Modstamp",
"type": "datetime"
}
},
"field_reference_columns": [
"field_label",
"type",
"length"
]
}