Schema Website Markup in JSON-LD

<script type="application/ld+json">
{ "@context": "http://schema.org",
"@type": "WebSite",
"url": "[website url]",
"potentialAction": {
"@type": "SearchAction",
"target": "[website search url]={search_term}",
"query-input": "required name=search_term"
}
}
</script>

Schema Organisation Logo in HTML

Schema Organisation Logo Implementation in HTML

<div itemscope itemtype="http://schema.org/Organization">
  <a itemprop="url" href="http://www.example.com/">Home</a>
  <img itemprop="logo" src="http://www.example.com/logo.png" />
</div>

Schema Organisation markup as JSON-LD code

 

<script type="application/ld+json">
{ "@context" : "http://schema.org",
"@type" : "Organization",
"name" : "[organization name]",
"logo" : "[logo image url]",
"url" : "[website url]",
"sameAs" : [
"https://twitter.com/[username]",
"https://www.facebook.com/[username]",
"https://www.linkedin.com/company/[username]",
"https://plus.google.com/[username]/posts"
]
}
</script>