کد HTML:
<script type="application/ld+json">{   
  "@context": "http://schema.org",   
  "@type": "WebSite",   
  "url": "https://www.mysite.com/",   
  "potentialAction": {     
    "@type": "SearchAction",     
    "target": "http://www.mysite.com/search.html?q={search_term_string}",
    "query-input": "required name=search_term_string"   
  } 
}</script>