-
Notifications
You must be signed in to change notification settings - Fork 73
/
ItemList-4.json
70 lines (67 loc) · 1.78 KB
/
ItemList-4.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<script type="application/ld+json">
[
// THE ACTUAL LIST
{
"@context": "http://schema.org",
"@type": "ItemList",
"itemListElement": [
{
"@type": "ListItem",
"position": "1",
"item": { "@id": "http://example.com/#product1" }
},
{
"@type": "ListItem",
"position": "2",
"item": { "@id": "http://example.com/#product2" }
}
]
},
// LIST ITEM 1 (CALLED BY ID FROM THE LIST ABOVE)
{
"@context": "http://schema.org",
"@type": "Product",
"@id": "http://example.com/#product1",
"name": "productname1",
"brand": {"@id": "http://example.com/#acmetshirts"},
"image": "http://example.com/product1-thumbnail.jpg",
"description": "Product 1 is a great product!",
"url": "http://example.com/category-item#1",
"category": "home > shop > tshirts > marvel",
"sku": "1234",
"mpn": "4321"
},
// LIST ITEM 2 (CALLED BY ID FROM THE LIST ABOVE)
{
"@context": "http://schema.org",
"@type": "Product",
"@id": "http://example.com/#product2",
"name": "productname2",
"brand": {"@id": "http://example.com/#acmetshirts"},
"image": "http://example.com/product2-thumbnail.jpg",
"description": "New and imporved Product 2!",
"url": "http://example.com/category-item#2",
"category": "home > shop > tshirts > star wars",
"sku": "4321",
"mpn": "1234"
},
// THE SHOP ITSELF (CALLED BY ID FROM THE PRODUCTS)
{
"@context": "http://schema.org",
"@type": "MensClothingStore",
"@id": "http://example.com/#acmetshirts",
"name": "Acme T-shirts",
"description": "Cool T-shirts and licensed apparel.",
"priceRange": "$",
"telephone": "+15558675309",
"image":"https://placehold.it/128",
"address":
{
"@type": "PostalAddress",
"addressLocality": "Vancouver",
"addressRegion": "BC",
"addressCountry": "Canada"
}
}
]
</script>