Schema: WebSite
Schema: WebSite Example Markup
The following are examples of markup written in json+ld that include the correct usage for Schema: WebSite.
WebSite
WebSite JSON-LD example with SearchAction for the sitelinks search box. Covers the potentialAction pattern with query-input, the difference between WebSite and WebPage, publisher cross-referencing, and how Google uses WebSite markup to display a search box directly in the SERP for branded queries.
SearchAction
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.