Rows property reference for the binary-value component.
Property description
The rows property defines which attribute values are used for the binary value component.
Minimal JSON
{
"type": "binary-value",
"componentId": "binary-value-component",
"rows": [
{
"mainAttributeType": {
"title": "title.binary-value1",
"value": "attributeType_1"
},
"secondaryAttributeType": {
"title": "title.binary-value2",
"value": "attributeType_2"
}
}
]
}
Nested properties
| Property | Description | Values | Mandatory |
|---|
mainAttributeType | The attribute type whose value is used as the base (reference) value. | string | Yes |
secondaryAttributeType | The attribute type whose value is compared to the base value. | string | No |
| Each attribute type has the following nested properties: | | | |
| Property | Description | Values | Mandatory |
|---|
title | Translation key of the title. Define the key in translations to specify how the text is displayed in the UI. Unlike the name property, if you use a specific string of text for the title, this text will appear with the package key. For example, Comment Section will be displayed as package_key_comment section. | string | Yes |
value | Key of the attribute type used for value comparison. | string | No |