Product attributes are the most complex part of a product. You need to provide the attribute and it’s settings and additionally specify the available options.
Product attributes can be global attributes as seen in the example above.
If a product has an attribute which should not be used for filtering and listing of similar products you can provide a private attribute. This attribute is associated only with this one product and will be deleted if the product itself is removed from the database or shop.
Please note that product variations can not have private attributes!