Skip to content

Instantly share code, notes, and snippets.

@patrickcoombe
Last active August 13, 2019 04:42
Show Gist options
  • Select an option

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

Select an option

Save patrickcoombe/32f2a8e031cfc372f41e to your computer and use it in GitHub Desktop.
Sample JSON-LD for an event
<script type='application/ld+json'>
{
"@context": "https://www.schema.org",
"@type": "Event",
"name": "Launch Party",
"url": "http://www.example.com/launch-party",
"description": "We're excited to announce the launch party for our newest app!",
"startDate": "10/05/2015 12:00PM",
"endDate": "10/05/2015 02:00PM",
"location": {
"@type": "Place",
"name": "Joe's Party Palace",
"sameAs": "http://www.example.com",
"address": {
"@type": "PostalAddress",
"streetAddress": "100 Main Street",
"addressLocality": "Seattle",
"addressRegion": "WA",
"postalCode": "98101",
"addressCountry": "USA"
}
},
"offers": {
"@type": "Offer",
"description": "an offer description",
"url": "http://www.example.com",
"price": "$9.99"
}
}
</script>
@Allan-Nava
Copy link

Thanks!

@patrickcoombe
Copy link
Author

cheers!

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