Skip to content

Instantly share code, notes, and snippets.

@n1lesh
Created December 22, 2017 21:36
Show Gist options
  • Save n1lesh/4bff50e1906509c61b6e854078b61d54 to your computer and use it in GitHub Desktop.
Save n1lesh/4bff50e1906509c61b6e854078b61d54 to your computer and use it in GitHub Desktop.
Adding ld+json structured data to AngularJs app Raw - Apple Site's ld+json data example
/* visit www.apple.com and look at
the source code to find it.
*/
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@id": "https://www.apple.com/#organization",
"@type": "Organization",
"name": "Apple",
"url": "https://www.apple.com/",
"logo": "https://www.apple.com/ac/structured-data/images/knowledge_graph_logo.png?201703170823",
"contactPoint": [
{
"@type": "ContactPoint",
"telephone": "+1-800-692-7753",
"contactType": "sales",
"areaServed": [ "US" ]
}
],
"sameAs": [
"http://www.wikidata.org/entity/Q312",
"https://www.youtube.com/user/Apple",
"https://www.linkedin.com/company/apple",
"https://www.facebook.com/Apple",
"https://www.twitter.com/Apple"
]
}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment