Property description
The codetableValues asset creates an attribute with a preset list of values.
This asset is different from codetable labels components, which allow object types to be selected as labels.
Minimal JSON
{
"key": "",
"data": []
}{
"key": "codetableValues_example",
"data": [
{
"label": "Yes",
"value": "value_yes"
},
{
"label": "No",
"value": "value_no"
}
]
}Example JSON
Nested properties
| Property | Description | Values | Mandatory |
|---|---|---|---|
key | Unique key of the asset. Used for referencing in the same package or other packages using packageKey#assetKey. | string | Yes |
data | Array of available values. Each value consists of: label: Default EN translation., value: Stored value. | array | Yes |