{
"sections": [
"title",
"description",
"file_information",
"directory_location",
"fields",
"sub_types",
"wsdl_segment",
"declarative_metadata_sample_definition"
],
"title": "MatchingRule - Metadata API",
"description": "Represents a matching rule that is used to identify duplicate records.",
"file_information": ".matchingRule",
"directory_location": "matchingRules",
"fields_columns": [
"type",
"description"
],
"fields": {
"booleanFilter": {
"type": "string",
"description": "Specifies filter logic conditions."
},
"description": {
"type": "string",
"description": "The description of the matching rule."
},
"label": {
"type": "string",
"description": "The name of the matching rule.",
"required": true
},
"matchingRuleItems": {
"type": "MatchingRuleItem",
"description": "The criteria that make up a matching rule."
},
"ruleStatus": {
"type": "MatchingRuleStatus (enumeration of type string)",
"description": "The activation status of the matching rule. Values are: Inactive Deactivating DeactivationFailed Active Activating ActivationFailed Important: The only valid values you can declare when deploying a package are Active and Inactive.",
"required": true
}
},
"sub_types": {
"MatchingRuleItem": {
"blankValueBehavior": {
"type": "BlankValueBehavior (enumeration of type string)",
"description": "Specifies how blank fields affect whether the fields being compared are considered matches. Valid values are: MatchBlanks NullNotAllowed (default)"
},
"fieldName": {
"type": "string",
"description": "Indicates which field to compare when determining if a record is similar enough to an existing record to be considered a match.",
"required": true
},
"matchingMethod": {
"type": "MatchingMethod (enumeration of type string)",
"description": "Defines how the fields are compared. Choose between the exact matching method and various fuzzy matching methods. Valid values are: Exact FirstName LastName CompanyName Phone City Street Zip Title For details on each matching method, see “Matching Methods Used with Matching Rules” in the Salesforce Help.",
"required": true
}
}
},
"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 \n \n \n \n \n \n\n\n \n \n \n \n \n \n \n\n\n \n \n \n\n```",
"declarative_metadata_sample_definition": [
{
"description": "The following is a sample XML definition of a matching rule. A matching rule can be associated with either a standard or a custom object.",
"code": "\n\n\nAccountMatchingRule\n\nthis is sample rule description\n\nNullNotAllowed\nBillingCity\nCity\n\n\n\nNullNotAllowed\nName\nCompanyName\n\n\nInactive\n\n"
}
]
}