How to create on/off attribute

Hi!

You asked this question earlier on the forum;

.
You need to add a value format to the attribute.
Click “Add configuration item”, and select “format”.
Fill the field with the following JSON;