Skip to content

Instantly share code, notes, and snippets.

View patrickcoombe's full-sized avatar

Patrick Coombe patrickcoombe

View GitHub Profile
@patrickcoombe
patrickcoombe / news-article-ny-post-json-ld
Last active February 18, 2025 19:32
News Article JSON-LD Example NY Post
<script type="application/ld+json">
{
"@context": "https://schema.org",
"publisher": {
"@type": "Organization",
"name": "New York Post",
"sameAs": "https://nypost.com",
"logo": {
"@type": "ImageObject",
"url": "https://nypost.com/wp-content/themes/nypost/static/images/logo-nypost.png",
@patrickcoombe
patrickcoombe / news-article-the-guardian
Created February 18, 2025 19:25
2025 News Article The Guardian
<script type="application/ld+json">
[
{
"@type": "NewsArticle",
"@context": "https://schema.org",
"@id": "https://www.theguardian.com/world/2025/feb/18/un-accuses-rwanda-backed-militia-of-killing-children-in-eastern-drc",
"publisher": {
"@type": "Organization",
"@context": "https://schema.org",
"@id": "https://www.theguardian.com#publisher",
@patrickcoombe
patrickcoombe / news-article-2025
Created February 18, 2025 19:16
Yet Another News Article JSON-LD Example 2025
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "NewsArticle",
"articleBody": "Tesla CEO Elon Musk, along with US President Donald Trump, explained what he called the left’s “Trump Derangement Syndrome,” and said that he didn't realise it was a real thing until he was at a friend’s dinner party before the presidential election. During a Fox News interview with Sean Hannity, Elon Musk, describing about his friend’s dinner party a month or two ago, compared Trump Derangement Syndrome with rabies. \"This whole thing they call Trump Derangement Syndrome - you don’t realize how real it is until you see it. You can’t reason with people,\" Musk said. — MarioNawfal (@MarioNawfal) He shared an anecdote about a friend's birthday dinner \"a month or two\" before the election. He recounted: \"A nice, quiet dinner and everyone was behaving normally. And then I happened to mention the president's name, and it was like they got shot with a dart in the jugular that contained lik
@patrickcoombe
patrickcoombe / json-ld-profile-page
Created February 18, 2025 18:55
JSON-LD Profile Page
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "ProfilePage",
"dateCreated": "2025-11-02T12:11:00-08:00",
"dateModified": "2025-11-02T12:11:00-08:00",
"mainEntity": {
"@type": "Person",
"name": "Patrick Coombe",
"alternateName": "pmkoom",
@patrickcoombe
patrickcoombe / web-page-and-organization-json-ld
Created February 18, 2025 18:32
JSON-LD Example Web Page and Organization
< script type = "application/ld+json" > {
"@context": "https://schema.org",
"@graph": [{
"@type": "WebPage",
"@id": "https://www.whitehouse.gov/",
"url": "https://www.whitehouse.gov/",
"name": "The White House",
"isPartOf": {
"@id": "https://www.whitehouse.gov/#website"
},
@patrickcoombe
patrickcoombe / faq-json-ld
Created February 18, 2025 18:08
json-ld-example-faq
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": [
{
"@type": "Question",
"name": "What is your return policy?",
"acceptedAnswer": {
"@type": "Answer",
@patrickcoombe
patrickcoombe / qa-json-ld-example
Created February 16, 2025 18:50
Q+A quiz json-ld example
<script type="application/ld+json">{
"@context": "https://schema.org/",
"@type": "Quiz",
"url": "https://byjus.com/maths/inches-to-cm-converter/",
"typicalAgeRange": "10-17",
"educationalLevel": "intermediate",
"assesses": "Attend this Quiz & Test your knowledge.",
"educationalAlignment": [
{
"@type": "AlignmentObject",
@patrickcoombe
patrickcoombe / vehicle-listing-json-ld
Created February 16, 2025 18:40
JSON-LD Vehicle Listing Schema JSON-LD Example
<script type="application/ld+json">{
"@context": "https://schema.org",
"@type": "Car",
"name": "2009 Audi A6",
"vehicleIdentificationNumber": "JN8AZ2NE5C9016953",
"image": [
"https://example.com/car1.jpg",
"https://example.com/car1.jpg"
],
"url": "https://www.example.com/my-car-listing",
@patrickcoombe
patrickcoombe / 3d-model-json-ld
Last active March 26, 2024 19:14
3D Model JSON-LD EXAMPLE
{
"@context": "https://schema.org/",
"@type": "Product",
"sku": "1234-5678",
"image": "https://www.example.com/sofa.jpg",
"name": "Water heater",
"description": "White 3-Seat Sofa",
"gtin14": "12345678901231",
"mpn": "S1234W3",
"brand": {
@patrickcoombe
patrickcoombe / json-ld-restaurant-menu-example
Created March 22, 2024 18:39
Restaurant and Menu Example 2024 JSON-LD
< script type = "application/ld+json" >
{
"@context": "http://schema.org",
"@type": "Restaurant",
"url": "http://www.pronto-ny.com",
"name": "Restaurant Pronto",
"image": "http://www.pronto-ny.com/pronto-image.jpg",
"description": "Best pizza in New York, guaranteed!",
"servesCuisine": [
"Italian"