Skip to content

Commit f9c82a3

Browse files
chore: annotated output samples
1 parent 9453949 commit f9c82a3

10 files changed

Lines changed: 716 additions & 0 deletions

File tree

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
{
2+
"@context": "https://schema.org",
3+
"@graph": [
4+
{
5+
"@id": "#order",
6+
"@type": "Order",
7+
"acceptedOffer": [
8+
{ "@id": "#offer-1" },
9+
{ "@id": "#offer-2" },
10+
{ "@id": "#offer-3" },
11+
{ "@id": "#offer-4" },
12+
{ "@id": "#offer-5" }
13+
]
14+
},
15+
{
16+
"@id": "#offer-1",
17+
"@type": "Offer",
18+
"price": "5.00",
19+
"eligibleQuantity": { "@type": "QuantitativeValue", "value": 1, "unitText": "item" },
20+
"itemOffered": { "@id": "#item-1" }
21+
},
22+
{ "@id": "#item-1", "@type": "MenuItem", "name": "Boiled salted peanuts" },
23+
{
24+
"@id": "#offer-2",
25+
"@type": "Offer",
26+
"price": "5.00",
27+
"eligibleQuantity": { "@type": "QuantitativeValue", "value": 1, "unitText": "item" },
28+
"itemOffered": { "@id": "#item-2" }
29+
},
30+
{ "@id": "#item-2", "@type": "MenuItem", "name": "Tanashi cabbage with salted flavor" },
31+
{
32+
"@id": "#offer-3",
33+
"@type": "Offer",
34+
"price": "5.00",
35+
"eligibleQuantity": { "@type": "QuantitativeValue", "value": 1, "unitText": "item" },
36+
"itemOffered": { "@id": "#item-3" }
37+
},
38+
{ "@id": "#item-3", "@type": "MenuItem", "name": "Shinshu lettuce salad" },
39+
{
40+
"@id": "#offer-4",
41+
"@type": "Offer",
42+
"price": "5.00",
43+
"eligibleQuantity": { "@type": "QuantitativeValue", "value": 1, "unitText": "item" },
44+
"itemOffered": { "@id": "#item-4" }
45+
},
46+
{ "@id": "#item-4", "@type": "MenuItem", "name": "Ishigaki strawberry rolled cake" },
47+
{
48+
"@id": "#offer-5",
49+
"@type": "Offer",
50+
"price": "5.00",
51+
"eligibleQuantity": { "@type": "QuantitativeValue", "value": 1, "unitText": "item" },
52+
"itemOffered": { "@id": "#item-5" }
53+
},
54+
{ "@id": "#item-5", "@type": "MenuItem", "name": "Peach juice from Date" }
55+
]
56+
}
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
{
2+
"@context": "https://schema.org",
3+
"@graph": [
4+
{
5+
"@id": "#order",
6+
"@type": "Order",
7+
"acceptedOffer": [
8+
{ "@id": "#offer-1" },
9+
{ "@id": "#offer-2" },
10+
{ "@id": "#offer-3" },
11+
{ "@id": "#offer-4" },
12+
{ "@id": "#offer-5" }
13+
]
14+
},
15+
{
16+
"@id": "#offer-1",
17+
"@type": "Offer",
18+
"price": "5.00",
19+
"eligibleQuantity": { "@type": "QuantitativeValue", "value": 1, "unitText": "item" },
20+
"itemOffered": { "@id": "#item-1" }
21+
},
22+
{ "@id": "#item-1", "@type": "MenuItem", "name": "Boiled salted peanuts" },
23+
{
24+
"@id": "#offer-2",
25+
"@type": "Offer",
26+
"price": "5.00",
27+
"eligibleQuantity": { "@type": "QuantitativeValue", "value": 1, "unitText": "item" },
28+
"itemOffered": { "@id": "#item-2" }
29+
},
30+
{ "@id": "#item-2", "@type": "MenuItem", "name": "Tanashi cabbage with salted flavor" },
31+
{
32+
"@id": "#offer-3",
33+
"@type": "Offer",
34+
"price": "5.00",
35+
"eligibleQuantity": { "@type": "QuantitativeValue", "value": 1, "unitText": "item" },
36+
"itemOffered": { "@id": "#item-3" }
37+
},
38+
{ "@id": "#item-3", "@type": "MenuItem", "name": "Shinshu lettuce salad" },
39+
{
40+
"@id": "#offer-4",
41+
"@type": "Offer",
42+
"price": "5.00",
43+
"eligibleQuantity": { "@type": "QuantitativeValue", "value": 1, "unitText": "item" },
44+
"itemOffered": { "@id": "#item-4" }
45+
},
46+
{ "@id": "#item-4", "@type": "MenuItem", "name": "Ishigaki strawberry rolled cake" },
47+
{
48+
"@id": "#offer-5",
49+
"@type": "Offer",
50+
"price": "5.00",
51+
"eligibleQuantity": { "@type": "QuantitativeValue", "value": 1, "unitText": "item" },
52+
"itemOffered": { "@id": "#item-5" }
53+
},
54+
{ "@id": "#item-5", "@type": "MenuItem", "name": "Peach juice from Date" }
55+
]
56+
}
Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
{
2+
"@context": "https://schema.org",
3+
"@graph": [
4+
{
5+
"@id": "#merchant",
6+
"@type": "Store",
7+
"name": "Orchard Family Mart",
8+
"address": {
9+
"@type": "PostalAddress",
10+
"streetAddress": "2518 Maple Dr",
11+
"addressLocality": "Denver",
12+
"addressRegion": "AZ",
13+
"postalCode": "97611"
14+
}
15+
},
16+
{
17+
"@id": "#order",
18+
"@type": "Order",
19+
"seller": { "@id": "#merchant" },
20+
"orderNumber": "R-0000017",
21+
"orderDate": "2023-03-04T21:00:29",
22+
"priceCurrency": "GBP",
23+
"paymentMethod": "https://schema.org/PaymentCard",
24+
"paymentStatus": "https://schema.org/PaymentComplete",
25+
"acceptedOffer": [
26+
{ "@id": "#offer-1" },
27+
{ "@id": "#offer-2" },
28+
{ "@id": "#offer-3" },
29+
{ "@id": "#offer-4" }
30+
],
31+
"additionalProperty": [
32+
{ "@type": "PropertyValue", "name": "Cashier", "value": "Parker" },
33+
{ "@type": "PropertyValue", "name": "Payment Method Label", "value": "Visa" },
34+
{ "@type": "PropertyValue", "name": "Subtotal", "unitText": "GBP", "value": "208.30" },
35+
{ "@type": "PropertyValue", "name": "Tax", "unitText": "GBP", "value": "12.29" },
36+
{ "@type": "PropertyValue", "name": "Total", "unitText": "GBP", "value": "220.59" }
37+
]
38+
},
39+
{
40+
"@id": "#offer-1",
41+
"@type": "Offer",
42+
"price": "28.28",
43+
"priceCurrency": "GBP",
44+
"eligibleQuantity": { "@type": "QuantitativeValue", "value": 4, "unitText": "item" },
45+
"priceSpecification": { "@type": "UnitPriceSpecification", "price": "7.07", "priceCurrency": "GBP", "referenceQuantity": { "@type": "QuantitativeValue", "value": 1, "unitText": "item" } },
46+
"itemOffered": { "@id": "#item-1" },
47+
"seller": { "@id": "#merchant" }
48+
},
49+
{ "@id": "#item-1", "@type": "Product", "name": "USB-C Cable" },
50+
{
51+
"@id": "#offer-2",
52+
"@type": "Offer",
53+
"price": "86.84",
54+
"priceCurrency": "GBP",
55+
"eligibleQuantity": { "@type": "QuantitativeValue", "value": 4, "unitText": "item" },
56+
"priceSpecification": { "@type": "UnitPriceSpecification", "price": "21.71", "priceCurrency": "GBP", "referenceQuantity": { "@type": "QuantitativeValue", "value": 1, "unitText": "item" } },
57+
"itemOffered": { "@id": "#item-2" },
58+
"seller": { "@id": "#merchant" }
59+
},
60+
{ "@id": "#item-2", "@type": "Product", "name": "Paper Towels" },
61+
{
62+
"@id": "#offer-3",
63+
"@type": "Offer",
64+
"price": "90.46",
65+
"priceCurrency": "GBP",
66+
"eligibleQuantity": { "@type": "QuantitativeValue", "value": 2, "unitText": "item" },
67+
"priceSpecification": { "@type": "UnitPriceSpecification", "price": "45.23", "priceCurrency": "GBP", "referenceQuantity": { "@type": "QuantitativeValue", "value": 1, "unitText": "item" } },
68+
"itemOffered": { "@id": "#item-3" },
69+
"seller": { "@id": "#merchant" }
70+
},
71+
{ "@id": "#item-3", "@type": "Product", "name": "Organic Apples" },
72+
{
73+
"@id": "#offer-4",
74+
"@type": "Offer",
75+
"price": "2.72",
76+
"priceCurrency": "GBP",
77+
"eligibleQuantity": { "@type": "QuantitativeValue", "value": 1, "unitText": "item" },
78+
"itemOffered": { "@id": "#item-4" },
79+
"seller": { "@id": "#merchant" }
80+
},
81+
{ "@id": "#item-4", "@type": "Product", "name": "Extension Cord" }
82+
]
83+
}
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
{
2+
"@context": "https://schema.org",
3+
"@graph": [
4+
{
5+
"@id": "#merchant",
6+
"@type": "Store",
7+
"name": "NORTHWIND MARKET",
8+
"address": {
9+
"@type": "PostalAddress",
10+
"streetAddress": "5100 Oak Ave",
11+
"addressLocality": "Madison",
12+
"addressRegion": "OR",
13+
"postalCode": "81362"
14+
}
15+
},
16+
{
17+
"@id": "#order",
18+
"@type": "Order",
19+
"seller": { "@id": "#merchant" },
20+
"orderNumber": "R-0000018",
21+
"orderDate": "2024-11-06T16:51:34",
22+
"priceCurrency": "USD",
23+
"paymentMethod": "https://schema.org/Cash",
24+
"paymentStatus": "https://schema.org/PaymentComplete",
25+
"acceptedOffer": [
26+
{ "@id": "#offer-1" }
27+
],
28+
"additionalProperty": [
29+
{ "@type": "PropertyValue", "name": "Cashier", "value": "Jordan" },
30+
{ "@type": "PropertyValue", "name": "Subtotal", "unitText": "USD", "value": "101.28" },
31+
{ "@type": "PropertyValue", "name": "Tax", "unitText": "USD", "value": "7.15" },
32+
{ "@type": "PropertyValue", "name": "Total", "unitText": "USD", "value": "108.43" }
33+
]
34+
},
35+
{
36+
"@id": "#offer-1",
37+
"@type": "Offer",
38+
"price": "101.28",
39+
"priceCurrency": "USD",
40+
"eligibleQuantity": { "@type": "QuantitativeValue", "value": 3, "unitText": "item" },
41+
"priceSpecification": { "@type": "UnitPriceSpecification", "price": "33.76", "priceCurrency": "USD", "referenceQuantity": { "@type": "QuantitativeValue", "value": 1, "unitText": "item" } },
42+
"itemOffered": { "@id": "#item-1" },
43+
"seller": { "@id": "#merchant" }
44+
},
45+
{ "@id": "#item-1", "@type": "Product", "name": "Laundry Detergent" }
46+
]
47+
}
Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
{
2+
"@context": "https://schema.org",
3+
"@graph": [
4+
{
5+
"@id": "#merchant",
6+
"@type": "Organization",
7+
"name": "Atlas Office Depot",
8+
"address": {
9+
"@type": "PostalAddress",
10+
"streetAddress": "1679 River Rd",
11+
"addressLocality": "Austin",
12+
"addressRegion": "WA",
13+
"postalCode": "96315"
14+
}
15+
},
16+
{
17+
"@id": "#order",
18+
"@type": "Order",
19+
"seller": { "@id": "#merchant" },
20+
"orderNumber": "R-0000019",
21+
"orderDate": "2025-01-04T17:15:14",
22+
"priceCurrency": "USD",
23+
"acceptedOffer": [
24+
{ "@id": "#offer-1" },
25+
{ "@id": "#offer-2" },
26+
{ "@id": "#offer-3" },
27+
{ "@id": "#offer-4" },
28+
{ "@id": "#offer-5" },
29+
{ "@id": "#offer-6" }
30+
],
31+
"additionalProperty": [
32+
{ "@type": "PropertyValue", "name": "Cashier", "value": "Jamie" },
33+
{ "@type": "PropertyValue", "name": "Payment Method", "value": "Debit" },
34+
{ "@type": "PropertyValue", "name": "Subtotal", "unitText": "USD", "value": "286.45" },
35+
{ "@type": "PropertyValue", "name": "Discount", "unitText": "USD", "value": "1.30" },
36+
{ "@type": "PropertyValue", "name": "Tax", "unitText": "USD", "value": "11.77" },
37+
{ "@type": "PropertyValue", "name": "Tip", "unitText": "USD", "value": "0.00" },
38+
{ "@type": "PropertyValue", "name": "Total", "unitText": "USD", "value": "296.92" }
39+
]
40+
},
41+
{
42+
"@id": "#offer-1",
43+
"@type": "Offer",
44+
"price": "52.80",
45+
"priceCurrency": "USD",
46+
"eligibleQuantity": { "@type": "QuantitativeValue", "value": 4, "unitText": "item" },
47+
"priceSpecification": { "@type": "UnitPriceSpecification", "price": "13.20", "priceCurrency": "USD", "referenceQuantity": { "@type": "QuantitativeValue", "value": 1, "unitText": "item" } },
48+
"itemOffered": { "@id": "#item-1" },
49+
"seller": { "@id": "#merchant" }
50+
},
51+
{ "@id": "#item-1", "@type": "Product", "name": "Safety Gloves", "sku": "SKU-2466" },
52+
{
53+
"@id": "#offer-2",
54+
"@type": "Offer",
55+
"price": "110.92",
56+
"priceCurrency": "USD",
57+
"eligibleQuantity": { "@type": "QuantitativeValue", "value": 4, "unitText": "item" },
58+
"priceSpecification": { "@type": "UnitPriceSpecification", "price": "27.73", "priceCurrency": "USD", "referenceQuantity": { "@type": "QuantitativeValue", "value": 1, "unitText": "item" } },
59+
"itemOffered": { "@id": "#item-2" },
60+
"seller": { "@id": "#merchant" }
61+
},
62+
{ "@id": "#item-2", "@type": "Product", "name": "Blue Pen Pack", "sku": "SKU-9669" },
63+
{
64+
"@id": "#offer-3",
65+
"@type": "Offer",
66+
"price": "24.88",
67+
"priceCurrency": "USD",
68+
"eligibleQuantity": { "@type": "QuantitativeValue", "value": 1, "unitText": "item" },
69+
"itemOffered": { "@id": "#item-3" },
70+
"seller": { "@id": "#merchant" }
71+
},
72+
{ "@id": "#item-3", "@type": "Product", "name": "Notebook Set", "sku": "SKU-4203" },
73+
{
74+
"@id": "#offer-4",
75+
"@type": "Offer",
76+
"price": "21.24",
77+
"priceCurrency": "USD",
78+
"eligibleQuantity": { "@type": "QuantitativeValue", "value": 4, "unitText": "item" },
79+
"priceSpecification": { "@type": "UnitPriceSpecification", "price": "5.31", "priceCurrency": "USD", "referenceQuantity": { "@type": "QuantitativeValue", "value": 1, "unitText": "item" } },
80+
"itemOffered": { "@id": "#item-4" },
81+
"seller": { "@id": "#merchant" }
82+
},
83+
{ "@id": "#item-4", "@type": "Product", "name": "Extension Cord", "sku": "SKU-8933" },
84+
{
85+
"@id": "#offer-5",
86+
"@type": "Offer",
87+
"price": "60.68",
88+
"priceCurrency": "USD",
89+
"eligibleQuantity": { "@type": "QuantitativeValue", "value": 4, "unitText": "item" },
90+
"priceSpecification": { "@type": "UnitPriceSpecification", "price": "15.17", "priceCurrency": "USD", "referenceQuantity": { "@type": "QuantitativeValue", "value": 1, "unitText": "item" } },
91+
"itemOffered": { "@id": "#item-5" },
92+
"seller": { "@id": "#merchant" }
93+
},
94+
{ "@id": "#item-5", "@type": "Product", "name": "Printer Labels", "sku": "SKU-9608" },
95+
{
96+
"@id": "#offer-6",
97+
"@type": "Offer",
98+
"price": "15.93",
99+
"priceCurrency": "USD",
100+
"eligibleQuantity": { "@type": "QuantitativeValue", "value": 1, "unitText": "item" },
101+
"itemOffered": { "@id": "#item-6" },
102+
"seller": { "@id": "#merchant" }
103+
},
104+
{ "@id": "#item-6", "@type": "Product", "name": "Paper Towels", "sku": "SKU-2151" }
105+
]
106+
}

0 commit comments

Comments
 (0)