Replies: 1 comment
-
There are several examples in the unit tests here but not specifically for the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, can someone please write a example how to create this structure? Can't find any advanced examples.
Thank you
<script type="application/ld+json"> { "@context": "http://schema.org", "@type": "SearchAction", "query": "phone", "result": { "@type": "ItemList", "name": "Search Results", "itemListElement": [ { "@type": ["ListItem", "Product"], "position": "1", "name": "Android Phone PX100", "url": "https://myshop.com/products/236", "offers": { "@type": "Offer", "priceCurrency": "EUR", "price": "120" } }, { "@type": ["ListItem", "Product"], "position": "2", "name": "iPhone X", "url": "https://myshop.com/products/293", "offers": { "@type": "Offer", "priceCurrency": "EUR", "price": "999" } } ] }, "instrument": [{ "@type": "ChooseAction", "name": "Sort by", "actionOption": "Relevance" }, { "@type": "ChooseAction", "name": "Color", "actionOption": ["Black", "Silver"] }] } </script>Beta Was this translation helpful? Give feedback.
All reactions