Skip to content

Instantly share code, notes, and snippets.

@patrickcoombe
Last active June 3, 2020 19:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save patrickcoombe/1626ad798403af2ccee78df7bbfcc869 to your computer and use it in GitHub Desktop.
Save patrickcoombe/1626ad798403af2ccee78df7bbfcc869 to your computer and use it in GitHub Desktop.
COVID-19 JSON-LD example from Google Web Dev
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "SpecialAnnouncement",
"name": "Shelter-in-place for 3 California counties",
"text": "As of 11:59 pm on March 17, 2020, all individuals in the 3 counties must strictly follow the provisions in this new Order. This new Order will be in effect through March 30, 2020.",
"datePosted": "2020-03-17T08:00",
"expires": "2020-03-24T23:59",
"quarantineGuidelines": "https://example.org/california/shelter-in-place/",
"diseasePreventionInfo": "https://example.org/california/prevention-tips/",
"category": "https://www.wikidata.org/wiki/Q81068910",
"spatialCoverage": [
{
"type": "AdministrativeArea",
"name": "San Francisco County, CA"
},
{
"type": "AdministrativeArea",
"name": "Marin County, CA"
},
{
"type": "AdministrativeArea",
"name": "Santa Clara County, CA"
}
]
}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment