---
title: "Interval"
slug: "api/basket/types/interval"
sidebar:
  order: 260
---

<a id="ref-6f45b0005e3b"></a>
<a id="ref-dd286feb3936"></a>
<a id="ref-bb30c4aef949"></a>

## Synopsis

```text
struct Interval {
    decimal minValue;
    decimal maxValue;
    decimal stepSize;
}
```

The complete property definition (§[Property](/pCon/configuratorOnline/specs/api/basket/types/property#ref-40040cb181f7)) of a numeric or length property may use one or more instances of the `Interval` structure to limit the valid range of values for the property.

**minValue**

the minimum value of the interval

**maxValue**

the maximum value of the interval

**stepSize**

if present/non-null, holds the step size of a bounded or left-bounded interval and is guaranteed to be positive non-zero. In case of integer-properties (numeric properties declared to have zero fraction digits), the step size is guaranteed to be an integral value.

If present, only values equal to the interval's minimum value plus a non-negative multiple of the step size, and not greater than the maximum value (if present) are considered valid property values (possibly in addition to values allowed by other intervals).

Both the minimum and maximum values of the interval are included in the interval and adhere to the precision and the total number of decimal digits as specified by the associated property definition.
