# ClusteringAttributeRuleType (Complex Type)

### Namespace: http://midpoint.evolveum.com/xml/ns/public/common/common-3

Contains information about matching rules for clustering process.

Matching rule presupposes the business logic for the comparison of objects.

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
attributeIdentifier | property string | [0,1] | Path to the property used for comparison.
isMultiValue | property boolean | [0,1] | If true, the matching rule is applied to each value of the property.
similarity | property double | [0,1] | Similarity threshold used for comparison (Jaccard metric).
weight | property double | [0,1] | Weight of the matching rule.

- ### Items

  - #### attributeIdentifier

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Path to the property used for comparison.

    It is necessary that the output be a simple object convertible to a String type

  - #### isMultiValue

    Flags: RAM,runtime

    Multiplicity: [0,1]

    If true, the matching rule is applied to each value of the property.

    Also, there must be specified a matchSimilarity value. If not default 100% is used.

  - #### similarity

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Similarity threshold used for comparison (Jaccard metric).

    If the condition is not met, then the objects are excluded.

  - #### weight

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Weight of the matching rule.

    For inclusion object in the cluster, the sum of the weights of the matching rules must be greater than or equal to 1.