: Schema.org - Can Product be nested inside of CreativeWork to leverage extra facets? It seems that schema.org/Product is a bit limited when it comes to pushing various attributes such as modified
It seems that schema.org/Product is a bit limited when it comes to pushing various attributes such as modified time. I see that schema.org/CreativeWork has an about facet that looks for a Thing (such as Product). Would it be an acceptable use case to nest Product inside the CreativeWork via about? Would the various graphs/clients/etc understand this? Has anyone attempted this technique or could share experiences?
Sample of this nesting using JSON-LD (you can validate it here):
<script type="application/ld+json"> {
"@context" : "http://schema.org",
"@type" : "CreativeWork",
"datePublished" : "2014-05-15 12:41:39",
"dateModified" : "2015-01-15 10:45:18",
"creator" : {
"@type" : "Organization",
"name" : "A Huge Corporation"
},
"about" : {
"@type" : "Product",
"name" : "Pure Gold Widget",
"image" : "http://example.com/product.jpg",
"description" : "Various paragraphs of words",
"model" : "PRD-010101",
"productID" : "987747",
"brand" : "A Rando Manufacturer",
"aggregateRating" : {
"@type" : "AggregateRating",
"itemReviewed" : "Pure Gold Widget",
"ratingValue" : "5",
"ratingCount" : "8",
"reviewCount" : "8"
},
"offers" : {
"@type" : "Offer",
"price" : "500",
"priceCurrency" : "USD",
"availability" : "http://schema.org/InStock",
"seller" : "A Huge Corporation"
}
}}
</script>
Bonus: I included an example of nesting organization within that too (albeit just a name field in this snippet). I am also unsure how nesting organization like this would make "the internets" react.
More posts by @Si4351233
1 Comments
Sorted by latest first Latest Oldest Best
Having something like CreativeWork → about → Product seems to be appropriate: it’s a creative work whose "subject matter" is a product. However, you can be more specific:
ItemPage inherits from CreativeWork:
A page devoted to a single item, such as a particular product or hotel.
So you might want to use ItemPage → about → Product
Probably a better choice than about would be a "main entity" property, which gets discussed currently.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.