Skip to content

Instantly share code, notes, and snippets.

View patrickcoombe's full-sized avatar

Patrick Coombe patrickcoombe

View GitHub Profile
@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"
@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"
},