Search box schema

url
urlTemplate

<script type=”application/ld+json”>
{

           “@context”: “https://schema.org”,

           “@type”: “WebSite”,

           “url”: ,

           “potentialAction”: {

                      “@type”: “SearchAction”,

                      “target”: {

                                 “@type”: “EntryPoint”,

                                 “urlTemplate”: search?q{search_term_string}”

                      },
                      “query-input”: “required name=search_term_string”
           }
}

</script>

Rate this page