# RoleAnalysisDetectionPatternType (Complex Type)

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

Contains information about detected or found patterns.

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
userOccupancy | reference ObjectReferenceType | [0,-1] | The number of users from the cluster to which the detected pattern can be applied.
rolesOccupancy | reference ObjectReferenceType | [0,-1] | The number of roles from the cluster from which the detected pattern can be assembled.
clusterMetric | property double | [0,1] | Expresses the range of reduced values when applying the detected pattern.
itemConfidence | property double | [0,1] | Confidence level of the detected pattern.
reductionConfidence | property double | [0,1] | Confidence level of the detected pattern.
candidateRole | reference ObjectReferenceType | [0,1] | The role object that is the result of applying the detected pattern.
roleAttributeAnalysisResult | container RoleAnalysisAttributeAnalysisResult | [0,1] | Contains information about the attribute analysis result.
userAttributeAnalysisResult | container RoleAnalysisAttributeAnalysisResult | [0,1] | Contains information about the attribute analysis result.

- ### Items

  - #### userOccupancy

    Flags: RAM

    Multiplicity: [0,-1]

    The number of users from the cluster to which the detected pattern can be applied.

  - #### rolesOccupancy

    Flags: RAM

    Multiplicity: [0,-1]

    The number of roles from the cluster from which the detected pattern can be assembled.

  - #### clusterMetric

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Expresses the range of reduced values when applying the detected pattern. (Included in the group (cluster))

  - #### itemConfidence

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Confidence level of the detected pattern.

  - #### reductionConfidence

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Confidence level of the detected pattern.

  - #### candidateRole

    Flags: RAM

    Multiplicity: [0,1]

    The role object that is the result of applying the detected pattern.

  - #### roleAttributeAnalysisResult

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Contains information about the attribute analysis result.

  - #### userAttributeAnalysisResult

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Contains information about the attribute analysis result.