Skip to content

Instantly share code, notes, and snippets.

@albertosouza
Forked from cjzopen/Organization json-ld
Created December 5, 2017 23:56
Show Gist options
  • Save albertosouza/2b51ea378297b5361e74d90d75f7192d to your computer and use it in GitHub Desktop.
Save albertosouza/2b51ea378297b5361e74d90d75f7192d to your computer and use it in GitHub Desktop.
Organization json-ld example
<script type="application/ld+json">
{
"@context" : "http://schema.org",
"@type" : "Organization",
"name" : "example",
"logo": "https://example.com.tw/logo.png",
"url" : "https://example.com.tw/",
"address" : "address",
"email" : "[email protected]",
"founder" : "you can use People type here",
"foundingDate" : "yyyy-mm-dd",
"telephone" : "+886-2-xxxxxxxx",
"faxNumber" : "+886-2-oooooooo",
"sameAs" : [
"https://www.facebook.com/example",
"https://www.youtube.com/user/example"
],
"contactPoint" : [{
"@type" : "ContactPoint",
"telephone" : "+886-2-xxxxxxxx",
"email" : "[email protected]",
"url" : "https://example.com.tw/consult/",
"contactType" : "customer service"
}]
}
</script>
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "WebSite",
"url": "https://example.com.tw/",
"name": "example",
"potentialAction": {
"@type": "SearchAction",
"target": "https://example.com/search/?cx=example&q={search_term_string}",
"query-input": "required name=search_term_string"
}
}
</script>
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "WebPage",
"url": "https:/example.com.tw/",
"name": "example",
"description": "example",
"significantLinks" : [
"https://example.com.tw/events/",
"https://example.com.tw/products/",
"https://example.com.tw/services/",
"https://example.com.tw/profile/",
"https://example.com.tw/consult/"
]
}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment