Skip to content

Instantly share code, notes, and snippets.

@patrickcoombe
Last active April 26, 2019 18:18
Show Gist options
  • Select an option

  • Save patrickcoombe/b18a6fd394bd07050dae to your computer and use it in GitHub Desktop.

Select an option

Save patrickcoombe/b18a6fd394bd07050dae to your computer and use it in GitHub Desktop.
combining types
<script type="application/ld+json">
[{
"@context" : "https://schema.org",
"@type" : "Person",
"url" : "http://www.example.com",
"name" : "John Doe",
"sameAs" : [ "http://linkedin.com/in/xxx",
"http://www.twitter.com/Twitter" ]
},
{
"@context": "http://schema.org",
"@type": "WebSite",
"url": "http://www.example.com/",
"potentialAction": {
"@type": "SearchAction",
"target": "http://www.example.com/?s={search_term}",
"query-input": "required name=search_term" }
}]
</script>
@patrickcoombe
Copy link
Author

checkout more at:

Steal Our JSON-LD

:)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment