Schema: target
Schema: target Example Markup
The following are examples of markup written in json+ld that include the correct usage for Schema: target.
SearchAction JSON-LD example for a site search box. Shows how to embed SearchAction inside WebSite markup to trigger Google's sitelinks search box. Covers the query-input parameter syntax, target URL patterns, and common implementation errors.
BuyAction JSON-LD example for purchasing a XooTee. BuyAction adds one property (seller) on top of TradeAction's price properties. Used in potentialAction on Product to indicate a purchase option.
OrderAction JSON-LD example for ordering a product for delivery. OrderAction adds one property (deliveryMethod) on top of TradeAction's price properties.
ViewAction JSON-LD example for viewing a blog post. ViewAction adds no properties of its own; used as potentialAction on CreativeWork to provide a direct link to view content.
WatchAction JSON-LD example for watching a documentary. WatchAction adds no properties of its own; used as potentialAction on VideoObject or Movie to provide a direct watch link.
SubscribeAction JSON-LD example for a newsletter signup. SubscribeAction adds no properties of its own; used as potentialAction to express a subscription option on a website or content entity.