Skip to content

Instantly share code, notes, and snippets.


Patrick Coombe patrickcoombe

View GitHub Profile
patrickcoombe / covid-19-json-ld.js
Created Jun 3, 2020
COVID-19 JSON-LD Example 2
View covid-19-json-ld.js
<script type="application/ld+json">
"@context": "",
"@type": "SpecialAnnouncement",
"category": "",
"name": "Your Title",
"datePosted": "2020-04-15T00:00",
"text": "This is where you would put your announcement...",
"newsUpdatesAndGuidelines": "",
"announcementLocation": {
patrickcoombe / covid-19-google.js
Last active Jun 3, 2020
COVID-19 JSON-LD example from Google Web Dev
View covid-19-google.js
<script type="application/ld+json">
"@context": "",
"@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": "",
"diseasePreventionInfo": "",
View webSite.js
// two examples
// simple
// and with search
<script type="application/ld+json">{
"@context": "",
"@type": "WebSite",
"name": "My Website Name",
"url": "",
View jobPosting.js
<script type = "application/ld+json" > {
"@context": "",
"@type": "JobPosting",
"estimatedSalary": {
"@type": "MonetaryAmount",
"currency": "USD",
"value": {
"@type": "QuantitativeValue",
"minValue": "None",
"maxValue": "None",
View restaurant-menu
// original code from modifciations made to pass Google Structured Data Testing Tool
<script type="application/ld+json">
"name":"The Restaurant",

Keybase proof

I hereby claim:

  • I am patrickcoombe on github.
  • I am patrickcoombe ( on keybase.
  • I have a public key whose fingerprint is C5C9 E376 C39E 78FE 61EB FB0E 6E87 E5FB 050B ED33

To claim this, I am signing this object:

View questionAnswer
<script type="application/ld+json">
"@context": "",
"@type": "QAPage",
"mainEntity": {
"@type": "Question",
"name": "What does Google mean by E-A-T.",
"text": "Within the past few years, Google has started talking a lot about E-A-T in regards to SEO.",
"answerCount": 1,
"dateCreated": "2019-08-10T21:11Z",
View eventSchema
<script type="application/ld+json">
"@context": "",
"@graph": [
"@type": "Place",
"address": {
"@type": "PostalAddress",
"addressLocality": "Denver",
"addressRegion": "CO",
View event-google.js
<script type="application/ld+json">
"@context": "",
"@type": "Event",
"name": "Jan Lieberman Concert Series: Journey in Jazz",
"startDate": "2025-01-01T19:30",
"endDate": "2025-01-01T23:00",
"location": {
"@type": "Place",
"name": "Santa Clara City Library, Central Park Library",
patrickcoombe / organization-basic.js
Created May 13, 2019
JSON-LD Organization Basic
View organization-basic.js
<script type="application/ld+json">
"@context": "",
"@type": "Organization",
"name": "ASPCA",
"url": "",
"@type": "Organization",
"name": "exampleCorp",