2

Since the ItemAvailability seems to deal primarily with physical objects, I wanted to make sure that OnlineOnly could be applied to digital downloads. Or, should digital downloads not have an ItemAvailability?

1
  • Are you talking about a specific schema standard, or a protocol, in what context are you talking about. Please consider adding more information as an edit to your question so that we can better understand and provide you a more accurate answer. Oct 14 '16 at 11:54
1

I think it’s not relevant if it’s a physical item or a digital item.

An example that makes clear that the difference shouldn’t matter when deciding if and how availability should be used: You could sell concert tickets, from your online shop and from your retail store, in digital form and in paper form (from both places).

OnlineOnly means that the item can only be purchased from the web shop, while InStoreOnly is for the opposite case. Both can be used for digital and/or physical items. (I guess they are intended for cases where an organization has both, a web shop and a physical store, but using them in cases where only one is available shouldn’t hurt.)

If you want to convey that it’s a digital item (for download), you could use the availableDeliveryMethod property with the value

http://purl.org/goodrelations/v1#DeliveryModeDirectDownload

So for a product that can be downloaded after purchase from your web shop, it could look like:

<div vocab="http://schema.org/" typeof="Offer">
  <link property="availability" href="http://schema.org/InStock" />
  <link property="availability" href="http://schema.org/OnlineOnly" />
  <link property="availableDeliveryMethod" href="http://purl.org/goodrelations/v1#DeliveryModeDirectDownload" />
</div>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.