you can put this at home page with real data , i used some dummy detail
<script type="application/ld+json">
{
"@context":"http://schema.org",
"@type":"Organization",
"url":"https://www.website.com",
"name":"My Website",
"logo":"https://www.example.com/logo.png",
"contactPoint":[
{"@type":"ContactPoint",
"telephone":"+X-XXX-XXX-XXX",
"contactType":"support && service"}
],
"address":{
"addressCountry":"Country",
"postalCode":"XXXXX",
"addressRegion":"Region",
"addressLocality":"Locality"}
}
</script>
add also for direct search to website from search enginee
"potentialAction":
{
"@type": "SearchAction",
"target": "https://website.com/?controller=search&search_query={search_term_string}",
"query": "required",
"query-input":"required name=search_term_string"
}
so final code will be look like
<script type="application/ld+json">
{
"@context":"http://schema.org",
"@type":"Organization",
"url":"https://www.website.com",
"name":"My Website",
"logo":"https://www.example.com/logo.png",
"contactPoint":[
{"@type":"ContactPoint",
"telephone":"+X-XXX-XXX-XXX",
"contactType":"support && service"}
],
"address":{
"addressCountry":"Country",
"postalCode":"XXXXX",
"addressRegion":"Region",
"addressLocality":"Locality"}
}
"potentialAction":
{
"@type": "SearchAction",
"target": "https://website.com/?controller=search&search_query={search_term_string}",
"query": "required",
"query-input":"required name=search_term_string"
}
</script>
you can test website schema at
rich results checker from google
enter url and click on Test Url button to verify schema , it will show error and warning if there is any