# RandomBucketsSamplingDefinitionType (Complex Type)

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

Sampling using random distribution of samples.

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
probability | property double | [0,1] | Probability of including a bucket in the sample (a number between 0 and 1).
sampleSize | property int | [0,1] | Approximate number of buckets in the sample.

- ### Items

  - #### probability

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Probability of including a bucket in the sample (a number between 0 and 1).

  - #### sampleSize

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Approximate number of buckets in the sample. It is converted to a probability by dividing the sample size by the total number of buckets (if known).