Skip to content

Instantly share code, notes, and snippets.

View patrickcoombe's full-sized avatar

Patrick Coombe patrickcoombe

View GitHub Profile
@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"
@patrickcoombe
patrickcoombe / json-ld-person-example-with-occupation
Created March 22, 2024 18:27
JSON-LD Person Example With Occupation
<script type="application/ld+json">
{
"@context": "https://schema.org/",
"@type": "Person",
"name": "Peter Venkman",
"hasOccupation": {
"@type": "Occupation",
"name": "Parapsychologist",
"educationRequirements": "PhD in parapsychology"
}
@patrickcoombe
patrickcoombe / json-ld-person-example
Created March 22, 2024 18:26
JSON-LD Person Example From Schema.org
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Person",
"address": {
"@type": "PostalAddress",
"addressLocality": "Seattle",
"addressRegion": "WA",
"postalCode": "98052",
"streetAddress": "20341 Whitworth Institute 405 N. Whitworth"
@patrickcoombe
patrickcoombe / organizatoin-shopify-json-ld
Created March 21, 2024 19:59
Shopify Organization JSON-LD
</script><script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "Organization",
"name": "Silk \u0026amp; Willow",
"logo": "https:\/\/www.silkandwillow.com\/cdn\/shop\/files\/sw_logo_banner_3.2021.jpg?v=1616640893\u0026width=1502",
"sameAs": [
"https:\/\/www.instagram.com\/silkandwillow\/","https:\/\/www.pinterest.com\/silkandwillow\/","https:\/\/www.threads.net\/@silkandwillow"
@patrickcoombe
patrickcoombe / yashopify-json-ld-example
Created March 21, 2024 19:55
Yet Another Shopify Product Example
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "Product",
"offers": [{
"@type" : "Offer","availability" : "http://schema.org/InStock",
"price" : 12.0,
"priceCurrency" : "USD",
"priceValidUntil": "2024-03-31",
"url" : "https:\/\/www.terrebleu.ca\/products\/folgate-lavender-oil?variant=40321722253335"
@patrickcoombe
patrickcoombe / shopify-product-json-ld-second
Created March 21, 2024 19:50
Another Shopify Example JSON-LD
< script type =
"application/ld+json" > {
"@context": "http://schema.org",
"@type": "Product",
"offers": {
"@type": "Offer",
"availability": "//schema.org/InStock",
"price": "825.00",
"priceCurrency": "USD"
},
@patrickcoombe
patrickcoombe / shopify-product-json-ld
Created March 21, 2024 19:46
Shopify Product JSON-LD Example
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "Product",
"offers": [{
"@type": "Offer",
"name": "Default Title",
"availability":"https://schema.org/InStock",
"price": 266.0,
"priceCurrency": "USD",
@patrickcoombe
patrickcoombe / recipe-json-ld-2024
Created March 21, 2024 19:11
Recipe JSON-LD 2024
<script type="application/ld+json">
{
"@context": "https://schema.org/",
"@type": "Recipe",
"name": "Non-Alcoholic Piña Colada",
"image": [
"https://example.com/photos/1x1/photo.jpg",
"https://example.com/photos/4x3/photo.jpg",
"https://example.com/photos/16x9/photo.jpg"
],
@patrickcoombe
patrickcoombe / article-json-ld-2024-yoast
Created March 21, 2024 19:05
Article JSON-LD Yoast Example
< script type = "application/ld+json"
class = "yoast-schema-graph" > {
"@context": "https://schema.org",
"@graph": [{
"@type": "WebPage",
"@id": "https://jsonld.com/article/",
"url": "https://jsonld.com/article/",
"name": "JSON-LD Article Example Code | Steal our JSON-LD",
"isPartOf": {
"@id": "https://jsonld.com/#website"