How to add Schema markup for a custom attribute in Magento 1.9.4

I am trying to add the right Schema Markup metadata for a custom attribute in Magento 1.9.4

I tried this :

  <meta itemprop="gtin13" content="<?php echo $  _product->getAttributeText('gtin_code'); ?>" />