---
title: "PropertyType"
slug: "api/basket/types/propertytype"
sidebar:
  order: 258
---

<a id="ref-053d5e430600"></a>
<a id="ref-6be26ea2640b"></a>
<a id="ref-b160acc665b3"></a>

## Synopsis

```text
enum PropertyType {
    Character,
    Numeric,
    Length,
    Boolean
}
```

The `PropertyType` enumeration is used to specify the fundamental type of an article property. The following enumeration values are defined:

**Character**

The value of a character property consists of a possible empty sequence of arbitrary characters. Properties of type `Character` are also called string properties.

**Numeric**

The value of a numeric property is a fixed point decimal number. The complete property definition (§[Property](/pCon/configuratorOnline/specs/api/basket/types/property#ref-40040cb181f7)) contains both the total number of digits and the precision (the number of digits right of the decimal point).

**Length**

A property of this type is a numeric property with the additional semantics that the value represents a length in meter. Properties of this type are used to allow the user interface to convert the property values into another unit before they are displayed to the user.

**Boolean**

Previously, boolean properties have been treated as properties of type `Numeric` with values `one` and `zero` for `true` and `false` when returned by operations [`getArticleData`](/pCon/configuratorOnline/specs/api/basket/operations/getarticledata), [`getChoiceList`](/pCon/configuratorOnline/specs/api/basket/operations/getchoicelist) and [`getAllChoiceLists`](/pCon/configuratorOnline/specs/api/basket/operations/getallchoicelists), or `zero` and `non-zero` for `false` and `true` when set with operation [`setPropertyValue`](/pCon/configuratorOnline/specs/api/basket/operations/setpropertyvalue).

An optional boolean field `enableBooleanPropType` has been added to the `options` argument passed to these operations. Its default value is `false`, resulting in no change of behavior.
