Search box schema
<script type=”application/ld+json”>
{
“@context”: “https://schema.org”,
“@type”: “WebSite”,
“potentialAction”: {
“@type”: “SearchAction”,
“target”: {
“@type”: “EntryPoint”,
“urlTemplate”: search?q{search_term_string}”
},
“query-input”: “required name=search_term_string”
}
}
</script>