Skip to content

Commit 9453949

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

10 files changed

Lines changed: 593 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: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"@context": "https://schema.org",
3+
"@graph": [
4+
{
5+
"@id": "#order",
6+
"@type": "Order",
7+
"acceptedOffer": [
8+
{ "@id": "#offer-1" }
9+
]
10+
},
11+
{
12+
"@id": "#offer-1",
13+
"@type": "Offer",
14+
"price": "3.90",
15+
"eligibleQuantity": { "@type": "QuantitativeValue", "value": 1, "unitText": "item" },
16+
"itemOffered": { "@id": "#item-1" }
17+
},
18+
{
19+
"@id": "#item-1",
20+
"@type": "MenuItem",
21+
"name": "Hamburger w/ tomato, onion, meat sauce, mayonnaise, mustard"
22+
}
23+
]
24+
}
Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
{
2+
"@context": "https://schema.org",
3+
"@graph": [
4+
{
5+
"@id": "#merchant",
6+
"@type": "Restaurant",
7+
"name": "Bluebird Cafe",
8+
"address": {
9+
"@type": "PostalAddress",
10+
"streetAddress": "2782 Sunset Blvd",
11+
"addressLocality": "Phoenix",
12+
"addressRegion": "IL",
13+
"postalCode": "83669"
14+
}
15+
},
16+
{
17+
"@id": "#order",
18+
"@type": "Order",
19+
"seller": { "@id": "#merchant" },
20+
"orderNumber": "R-0000014",
21+
"orderDate": "2024-08-01T10:10:42",
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+
{ "@id": "#offer-5" }
31+
],
32+
"additionalProperty": [
33+
{ "@type": "PropertyValue", "name": "Cashier", "value": "Jordan" },
34+
{ "@type": "PropertyValue", "name": "Payment Method Label", "value": "Amex" },
35+
{ "@type": "PropertyValue", "name": "Subtotal", "unitText": "GBP", "value": "422.71" },
36+
{ "@type": "PropertyValue", "name": "Discount", "unitText": "GBP", "value": "3.92" },
37+
{ "@type": "PropertyValue", "name": "Tax", "unitText": "GBP", "value": "43.68" },
38+
{ "@type": "PropertyValue", "name": "Tip", "unitText": "GBP", "value": "8.21" },
39+
{ "@type": "PropertyValue", "name": "Total", "unitText": "GBP", "value": "470.68" }
40+
]
41+
},
42+
{
43+
"@id": "#offer-1",
44+
"@type": "Offer",
45+
"price": "139.92",
46+
"priceCurrency": "GBP",
47+
"eligibleQuantity": { "@type": "QuantitativeValue", "value": 4, "unitText": "item" },
48+
"priceSpecification": { "@type": "UnitPriceSpecification", "price": "34.98", "priceCurrency": "GBP", "referenceQuantity": { "@type": "QuantitativeValue", "value": 1, "unitText": "item" } },
49+
"itemOffered": { "@id": "#item-1" },
50+
"seller": { "@id": "#merchant" }
51+
},
52+
{ "@id": "#item-1", "@type": "Product", "name": "Adhesive Tape", "sku": "SKU-1440" },
53+
{
54+
"@id": "#offer-2",
55+
"@type": "Offer",
56+
"price": "10.60",
57+
"priceCurrency": "GBP",
58+
"eligibleQuantity": { "@type": "QuantitativeValue", "value": 2, "unitText": "item" },
59+
"priceSpecification": { "@type": "UnitPriceSpecification", "price": "5.30", "priceCurrency": "GBP", "referenceQuantity": { "@type": "QuantitativeValue", "value": 1, "unitText": "item" } },
60+
"itemOffered": { "@id": "#item-2" },
61+
"seller": { "@id": "#merchant" }
62+
},
63+
{ "@id": "#item-2", "@type": "Product", "name": "Safety Gloves", "sku": "SKU-9383" },
64+
{
65+
"@id": "#offer-3",
66+
"@type": "Offer",
67+
"price": "48.27",
68+
"priceCurrency": "GBP",
69+
"eligibleQuantity": { "@type": "QuantitativeValue", "value": 3, "unitText": "item" },
70+
"priceSpecification": { "@type": "UnitPriceSpecification", "price": "16.09", "priceCurrency": "GBP", "referenceQuantity": { "@type": "QuantitativeValue", "value": 1, "unitText": "item" } },
71+
"itemOffered": { "@id": "#item-3" },
72+
"seller": { "@id": "#merchant" }
73+
},
74+
{ "@id": "#item-3", "@type": "Product", "name": "Ink Cartridge", "sku": "SKU-7572" },
75+
{
76+
"@id": "#offer-4",
77+
"@type": "Offer",
78+
"price": "67.28",
79+
"priceCurrency": "GBP",
80+
"eligibleQuantity": { "@type": "QuantitativeValue", "value": 2, "unitText": "item" },
81+
"priceSpecification": { "@type": "UnitPriceSpecification", "price": "33.64", "priceCurrency": "GBP", "referenceQuantity": { "@type": "QuantitativeValue", "value": 1, "unitText": "item" } },
82+
"itemOffered": { "@id": "#item-4" },
83+
"seller": { "@id": "#merchant" }
84+
},
85+
{ "@id": "#item-4", "@type": "Product", "name": "Sandwich Combo", "sku": "SKU-1427" },
86+
{
87+
"@id": "#offer-5",
88+
"@type": "Offer",
89+
"price": "156.64",
90+
"priceCurrency": "GBP",
91+
"eligibleQuantity": { "@type": "QuantitativeValue", "value": 4, "unitText": "item" },
92+
"priceSpecification": { "@type": "UnitPriceSpecification", "price": "39.16", "priceCurrency": "GBP", "referenceQuantity": { "@type": "QuantitativeValue", "value": 1, "unitText": "item" } },
93+
"itemOffered": { "@id": "#item-5" },
94+
"seller": { "@id": "#merchant" }
95+
},
96+
{ "@id": "#item-5", "@type": "Product", "name": "Cleaning Spray", "sku": "SKU-3552" }
97+
]
98+
}
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
{
2+
"@context": "https://schema.org",
3+
"@graph": [
4+
{
5+
"@id": "#merchant",
6+
"@type": "Organization",
7+
"name": "Aster Pharmacy",
8+
"address": {
9+
"@type": "PostalAddress",
10+
"streetAddress": "9048 River Rd",
11+
"addressLocality": "Portland",
12+
"addressRegion": "OR",
13+
"postalCode": "52460"
14+
}
15+
},
16+
{
17+
"@id": "#order",
18+
"@type": "Order",
19+
"seller": { "@id": "#merchant" },
20+
"orderNumber": "R-0000015",
21+
"orderDate": "2025-04-19T16:22:30",
22+
"priceCurrency": "GBP",
23+
"acceptedOffer": [
24+
{ "@id": "#offer-1" },
25+
{ "@id": "#offer-2" },
26+
{ "@id": "#offer-3" }
27+
],
28+
"additionalProperty": [
29+
{ "@type": "PropertyValue", "name": "Cashier", "value": "Jamie" },
30+
{ "@type": "PropertyValue", "name": "Payment Method", "value": "Debit" },
31+
{ "@type": "PropertyValue", "name": "Subtotal", "unitText": "GBP", "value": "115.98" },
32+
{ "@type": "PropertyValue", "name": "Discount", "unitText": "GBP", "value": "2.73" },
33+
{ "@type": "PropertyValue", "name": "Tax", "unitText": "GBP", "value": "7.26" },
34+
{ "@type": "PropertyValue", "name": "Tip", "unitText": "GBP", "value": "0.00" },
35+
{ "@type": "PropertyValue", "name": "Total", "unitText": "GBP", "value": "120.51" }
36+
]
37+
},
38+
{
39+
"@id": "#offer-1",
40+
"@type": "Offer",
41+
"price": "52.76",
42+
"priceCurrency": "GBP",
43+
"eligibleQuantity": { "@type": "QuantitativeValue", "value": 4, "unitText": "item" },
44+
"priceSpecification": { "@type": "UnitPriceSpecification", "price": "13.19", "priceCurrency": "GBP", "referenceQuantity": { "@type": "QuantitativeValue", "value": 1, "unitText": "item" } },
45+
"itemOffered": { "@id": "#item-1" },
46+
"seller": { "@id": "#merchant" }
47+
},
48+
{ "@id": "#item-1", "@type": "Product", "name": "Ink Cartridge", "sku": "SKU-8766" },
49+
{
50+
"@id": "#offer-2",
51+
"@type": "Offer",
52+
"price": "4.78",
53+
"priceCurrency": "GBP",
54+
"eligibleQuantity": { "@type": "QuantitativeValue", "value": 2, "unitText": "item" },
55+
"priceSpecification": { "@type": "UnitPriceSpecification", "price": "2.39", "priceCurrency": "GBP", "referenceQuantity": { "@type": "QuantitativeValue", "value": 1, "unitText": "item" } },
56+
"itemOffered": { "@id": "#item-2" },
57+
"seller": { "@id": "#merchant" }
58+
},
59+
{ "@id": "#item-2", "@type": "Product", "name": "Blue Pen Pack", "sku": "SKU-6048" },
60+
{
61+
"@id": "#offer-3",
62+
"@type": "Offer",
63+
"price": "58.44",
64+
"priceCurrency": "GBP",
65+
"eligibleQuantity": { "@type": "QuantitativeValue", "value": 4, "unitText": "item" },
66+
"priceSpecification": { "@type": "UnitPriceSpecification", "price": "14.61", "priceCurrency": "GBP", "referenceQuantity": { "@type": "QuantitativeValue", "value": 1, "unitText": "item" } },
67+
"itemOffered": { "@id": "#item-3" },
68+
"seller": { "@id": "#merchant" }
69+
},
70+
{ "@id": "#item-3", "@type": "Product", "name": "Paper Towels", "sku": "SKU-1971" }
71+
]
72+
}
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
{
2+
"@context": "https://schema.org",
3+
"@graph": [
4+
{
5+
"@id": "#merchant",
6+
"@type": "Restaurant",
7+
"name": "Brightline Bistro"
8+
},
9+
{
10+
"@id": "#order",
11+
"@type": "Order",
12+
"seller": { "@id": "#merchant" },
13+
"orderNumber": "R-0000016",
14+
"orderDate": "2022-11-07T18:33:33",
15+
"priceCurrency": "CAD",
16+
"paymentMethod": "https://schema.org/PaymentCard",
17+
"paymentStatus": "https://schema.org/PaymentComplete",
18+
"acceptedOffer": [
19+
{ "@id": "#offer-1" },
20+
{ "@id": "#offer-2" },
21+
{ "@id": "#offer-3" },
22+
{ "@id": "#offer-4" }
23+
],
24+
"additionalProperty": [
25+
{ "@type": "PropertyValue", "name": "Payment Method Label", "value": "Visa" },
26+
{ "@type": "PropertyValue", "name": "Total", "unitText": "CAD", "value": "382.84" }
27+
]
28+
},
29+
{
30+
"@id": "#offer-1",
31+
"@type": "Offer",
32+
"price": "87.81",
33+
"priceCurrency": "CAD",
34+
"eligibleQuantity": { "@type": "QuantitativeValue", "value": 3, "unitText": "item" },
35+
"priceSpecification": { "@type": "UnitPriceSpecification", "price": "29.27", "priceCurrency": "CAD", "referenceQuantity": { "@type": "QuantitativeValue", "value": 1, "unitText": "item" } },
36+
"itemOffered": { "@id": "#item-1" },
37+
"seller": { "@id": "#merchant" }
38+
},
39+
{ "@id": "#item-1", "@type": "Product", "name": "Adhesive Tape", "sku": "SKU-1147" },
40+
{
41+
"@id": "#offer-2",
42+
"@type": "Offer",
43+
"price": "54.76",
44+
"priceCurrency": "CAD",
45+
"eligibleQuantity": { "@type": "QuantitativeValue", "value": 4, "unitText": "item" },
46+
"priceSpecification": { "@type": "UnitPriceSpecification", "price": "13.69", "priceCurrency": "CAD", "referenceQuantity": { "@type": "QuantitativeValue", "value": 1, "unitText": "item" } },
47+
"itemOffered": { "@id": "#item-2" },
48+
"seller": { "@id": "#merchant" }
49+
},
50+
{ "@id": "#item-2", "@type": "Product", "name": "Blue Pen Pack", "sku": "SKU-6329" },
51+
{
52+
"@id": "#offer-3",
53+
"@type": "Offer",
54+
"price": "64.72",
55+
"priceCurrency": "CAD",
56+
"eligibleQuantity": { "@type": "QuantitativeValue", "value": 4, "unitText": "item" },
57+
"priceSpecification": { "@type": "UnitPriceSpecification", "price": "16.18", "priceCurrency": "CAD", "referenceQuantity": { "@type": "QuantitativeValue", "value": 1, "unitText": "item" } },
58+
"itemOffered": { "@id": "#item-3" },
59+
"seller": { "@id": "#merchant" }
60+
},
61+
{ "@id": "#item-3", "@type": "Product", "name": "Paper Towels", "sku": "SKU-8275" },
62+
{
63+
"@id": "#offer-4",
64+
"@type": "Offer",
65+
"price": "158.56",
66+
"priceCurrency": "CAD",
67+
"eligibleQuantity": { "@type": "QuantitativeValue", "value": 4, "unitText": "item" },
68+
"priceSpecification": { "@type": "UnitPriceSpecification", "price": "39.64", "priceCurrency": "CAD", "referenceQuantity": { "@type": "QuantitativeValue", "value": 1, "unitText": "item" } },
69+
"itemOffered": { "@id": "#item-4" },
70+
"seller": { "@id": "#merchant" }
71+
},
72+
{ "@id": "#item-4", "@type": "Product", "name": "Ink Cartridge", "sku": "SKU-6655" }
73+
]
74+
}

0 commit comments

Comments
 (0)