Skip to content

Commit 2e01699

Browse files
chore: added annotated output samples
1 parent 901db13 commit 2e01699

11 files changed

Lines changed: 1497 additions & 0 deletions

File tree

Lines changed: 154 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,154 @@
1+
{
2+
"@context": "https://schema.org",
3+
"@graph": [
4+
{
5+
"@id": "#merchant",
6+
"@type": "GroceryStore",
7+
"name": "BENS INDEPENDENT GROCER SDN. BHD",
8+
"identifier": [
9+
{
10+
"@type": "PropertyValue",
11+
"name": "Company Registration Number",
12+
"value": "913144-A"
13+
},
14+
{
15+
"@type": "PropertyValue",
16+
"name": "GST REG NO",
17+
"value": "000243941376"
18+
}
19+
],
20+
"telephone": "03-2093 7358",
21+
"faxNumber": "03-2093 7359",
22+
"address": {
23+
"@type": "PostalAddress",
24+
"streetAddress": "Lot 6, Jalan Batai, Plaza Batai, Damansara Heights",
25+
"addressLocality": "Kuala Lumpur",
26+
"postalCode": "50490",
27+
"addressCountry": "MY"
28+
}
29+
},
30+
{
31+
"@id": "#order",
32+
"@type": "Order",
33+
"seller": {
34+
"@id": "#merchant"
35+
},
36+
"orderNumber": "BAT02201803120255",
37+
"orderDate": "2018-03-12T20:29:59",
38+
"paymentMethod": "https://schema.org/Cash",
39+
"paymentStatus": "https://schema.org/PaymentComplete",
40+
"priceCurrency": "MYR",
41+
"acceptedOffer": [
42+
{
43+
"@id": "#offer-1"
44+
},
45+
{
46+
"@id": "#offer-2"
47+
}
48+
],
49+
"additionalProperty": [
50+
{
51+
"@type": "PropertyValue",
52+
"name": "Cashier",
53+
"value": "Fatin Sy"
54+
},
55+
{
56+
"@type": "PropertyValue",
57+
"name": "Item Count",
58+
"value": 2
59+
},
60+
{
61+
"@type": "PropertyValue",
62+
"name": "Quantity Total",
63+
"value": 4
64+
},
65+
{
66+
"@type": "PropertyValue",
67+
"name": "Rounding",
68+
"value": "0.00",
69+
"unitText": "MYR"
70+
},
71+
{
72+
"@type": "PropertyValue",
73+
"name": "Total Saving",
74+
"value": "0.00",
75+
"unitText": "MYR"
76+
},
77+
{
78+
"@type": "PropertyValue",
79+
"name": "Total",
80+
"value": "77.20",
81+
"unitText": "MYR"
82+
},
83+
{
84+
"@type": "PropertyValue",
85+
"name": "Cash",
86+
"value": "100.00",
87+
"unitText": "MYR"
88+
},
89+
{
90+
"@type": "PropertyValue",
91+
"name": "Change",
92+
"value": "22.80",
93+
"unitText": "MYR"
94+
}
95+
]
96+
},
97+
{
98+
"@id": "#offer-1",
99+
"@type": "Offer",
100+
"seller": {
101+
"@id": "#merchant"
102+
},
103+
"price": "23.70",
104+
"priceCurrency": "MYR",
105+
"itemOffered": {
106+
"@id": "#product-1"
107+
},
108+
"eligibleQuantity": {
109+
"@type": "QuantitativeValue",
110+
"value": 3,
111+
"unitText": "item"
112+
},
113+
"priceSpecification": {
114+
"@type": "UnitPriceSpecification",
115+
"price": "7.90",
116+
"priceCurrency": "MYR",
117+
"referenceQuantity": {
118+
"@type": "QuantitativeValue",
119+
"value": 1,
120+
"unitText": "item"
121+
}
122+
}
123+
},
124+
{
125+
"@id": "#product-1",
126+
"@type": "Product",
127+
"name": "Dole Pineapple Pcs",
128+
"gtin13": "8803059300708"
129+
},
130+
{
131+
"@id": "#offer-2",
132+
"@type": "Offer",
133+
"seller": {
134+
"@id": "#merchant"
135+
},
136+
"price": "53.50",
137+
"priceCurrency": "MYR",
138+
"itemOffered": {
139+
"@id": "#product-2"
140+
},
141+
"eligibleQuantity": {
142+
"@type": "QuantitativeValue",
143+
"value": 1,
144+
"unitText": "item"
145+
}
146+
},
147+
{
148+
"@id": "#product-2",
149+
"@type": "Product",
150+
"name": "Evian Mineral Water 6x1.25L",
151+
"gtin13": "3068320113784"
152+
}
153+
]
154+
}
Lines changed: 197 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,197 @@
1+
{
2+
"@context": "https://schema.org",
3+
"@graph": [
4+
{
5+
"@id": "#merchant",
6+
"@type": "Restaurant",
7+
"name": "Nando's 1 Mont Kiara",
8+
"identifier": {
9+
"@type": "PropertyValue",
10+
"name": "GST ID",
11+
"value": "000097492992"
12+
},
13+
"telephone": "1300-88-6555",
14+
"faxNumber": "603-6203 6355",
15+
"address": {
16+
"@type": "PostalAddress",
17+
"streetAddress": "Unit G-13, Ground Floor, No.1, Jln Kiara, Mont Kiara",
18+
"addressLocality": "Kuala Lumpur",
19+
"postalCode": "50480",
20+
"addressCountry": "MY"
21+
},
22+
"additionalProperty": [
23+
{
24+
"@type": "PropertyValue",
25+
"name": "Company",
26+
"value": "Nando's Chickenland Malaysia Sdn Bhd"
27+
}
28+
]
29+
},
30+
{
31+
"@id": "#order",
32+
"@type": "Order",
33+
"seller": {
34+
"@id": "#merchant"
35+
},
36+
"orderNumber": "8660",
37+
"orderDate": "2018-03-28T18:32:36",
38+
"priceCurrency": "MYR",
39+
"acceptedOffer": [
40+
{
41+
"@id": "#offer-1"
42+
},
43+
{
44+
"@id": "#offer-2"
45+
},
46+
{
47+
"@id": "#offer-3"
48+
}
49+
],
50+
"additionalProperty": [
51+
{
52+
"@type": "PropertyValue",
53+
"name": "Cashier",
54+
"value": "SYAFIQ"
55+
},
56+
{
57+
"@type": "PropertyValue",
58+
"name": "Guest",
59+
"value": "0"
60+
},
61+
{
62+
"@type": "PropertyValue",
63+
"name": "Sub Total",
64+
"value": "129.30",
65+
"unitText": "MYR"
66+
},
67+
{
68+
"@type": "PropertyValue",
69+
"name": "Amount Due",
70+
"value": "129.30",
71+
"unitText": "MYR"
72+
},
73+
{
74+
"@type": "PropertyValue",
75+
"name": "GST @6%",
76+
"value": "7.30",
77+
"unitText": "MYR"
78+
},
79+
{
80+
"@type": "PropertyValue",
81+
"name": "Survey Code",
82+
"value": "MAL025"
83+
}
84+
]
85+
},
86+
{
87+
"@id": "#offer-1",
88+
"@type": "Offer",
89+
"seller": {
90+
"@id": "#merchant"
91+
},
92+
"price": "4.00",
93+
"priceCurrency": "MYR",
94+
"itemOffered": {
95+
"@id": "#product-1"
96+
},
97+
"eligibleQuantity": {
98+
"@type": "QuantitativeValue",
99+
"value": 1,
100+
"unitText": "service"
101+
}
102+
},
103+
{
104+
"@id": "#product-1",
105+
"@type": "Service",
106+
"name": "Delivery Charge"
107+
},
108+
{
109+
"@id": "#offer-2",
110+
"@type": "Offer",
111+
"seller": {
112+
"@id": "#merchant"
113+
},
114+
"price": "71.60",
115+
"priceCurrency": "MYR",
116+
"itemOffered": {
117+
"@id": "#product-2"
118+
},
119+
"eligibleQuantity": {
120+
"@type": "QuantitativeValue",
121+
"value": 4,
122+
"unitText": "set"
123+
},
124+
"priceSpecification": {
125+
"@type": "UnitPriceSpecification",
126+
"price": "17.90",
127+
"priceCurrency": "MYR",
128+
"referenceQuantity": {
129+
"@type": "QuantitativeValue",
130+
"value": 1,
131+
"unitText": "set"
132+
}
133+
},
134+
"additionalProperty": [
135+
{
136+
"@type": "PropertyValue",
137+
"name": "Peri-Peri Level",
138+
"value": "1/4-H"
139+
},
140+
{
141+
"@type": "PropertyValue",
142+
"name": "Side",
143+
"value": "CharGrill Veg(R)-TC"
144+
}
145+
]
146+
},
147+
{
148+
"@id": "#product-2",
149+
"@type": "MenuItem",
150+
"name": "1/4 Chic + 1 sd-T"
151+
},
152+
{
153+
"@id": "#offer-3",
154+
"@type": "Offer",
155+
"seller": {
156+
"@id": "#merchant"
157+
},
158+
"price": "53.70",
159+
"priceCurrency": "MYR",
160+
"itemOffered": {
161+
"@id": "#product-3"
162+
},
163+
"eligibleQuantity": {
164+
"@type": "QuantitativeValue",
165+
"value": 3,
166+
"unitText": "set"
167+
},
168+
"priceSpecification": {
169+
"@type": "UnitPriceSpecification",
170+
"price": "17.90",
171+
"priceCurrency": "MYR",
172+
"referenceQuantity": {
173+
"@type": "QuantitativeValue",
174+
"value": 1,
175+
"unitText": "set"
176+
}
177+
},
178+
"additionalProperty": [
179+
{
180+
"@type": "PropertyValue",
181+
"name": "Peri-Peri Level",
182+
"value": "1/4-M"
183+
},
184+
{
185+
"@type": "PropertyValue",
186+
"name": "Side",
187+
"value": "Coleslaw(R)-TC"
188+
}
189+
]
190+
},
191+
{
192+
"@id": "#product-3",
193+
"@type": "MenuItem",
194+
"name": "1/4 Chic + 1 sd-T"
195+
}
196+
]
197+
}

0 commit comments

Comments
 (0)