I'd like to start using schema.org markup. At the moment I'm trying to mark up voucher codes but I'm a bit lost. I have seen one website that is showing voucher codes as offers:
<div itemprop="offers" itemtype="https://schema.org/Offer">
<meta itemprop="price" content="40.0%" />
<link itemprop="availability" href="https://schema.org/InStock" />
...
</div>
This approach seems very wrong. How can a coupon code be in stock? And the price can't be forty percent. Funny that this particular website is ranking very well.
But what is the correct way? I can't find a proper item type for this purpose.