example-eav-categories-magento2.1and2.07 of course http://www.ibnab.com/en/blog/magento-2/magento-2-add-custom-eav-attribute-to-category-or-customer