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

PropertyDescriptionValuesMandatory
mainAttributeTypeThe attribute type whose value is used as the base (reference) value.stringYes
secondaryAttributeTypeThe attribute type whose value is compared to the base value.stringNo
Each attribute type has the following nested properties:
PropertyDescriptionValuesMandatory
titleTranslation 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.stringYes
valueKey of the attribute type used for value comparison.stringNo