As for data-sd="Product.name" which means that the name property should be used only if the current schema type is Product, there should be also the possibility to specify in which schema type to not use one property data-sd="!Product.name" which means to not use the name property if the current schema type is Product.
Below shown an example where this implementation may help:
<div itemscope itemtype="https://schema.org/Product">
<h2 itemprop="name">
Welcome to your blog
</h2>
Written by <span itemprop="name">Joomla</span>
</div>
As for
data-sd="Product.name"which means that thenameproperty should be used only if the current schema type isProduct, there should be also the possibility to specify in which schema type to not use one propertydata-sd="!Product.name"which means to not use thenameproperty if the current schema type is Product.Below shown an example where this implementation may help: