Skip to content

Commit dd7b165

Browse files
chore: added output samples
1 parent 84cf1cb commit dd7b165

3 files changed

Lines changed: 395 additions & 0 deletions

File tree

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": "Store",
7+
"name": "ABC HO TRADING",
8+
"telephone": "07-3552616",
9+
"address": {
10+
"@type": "PostalAddress",
11+
"streetAddress": "No. 2 & 4, Jalan Harmoni 3/2, Taman Desa Harmoni",
12+
"postalCode": "81100",
13+
"addressLocality": "Johor Bahru",
14+
"addressRegion": "Johor",
15+
"addressCountry": "MY"
16+
}
17+
},
18+
{
19+
"@id": "#order",
20+
"@type": "Order",
21+
"seller": {
22+
"@id": "#merchant"
23+
},
24+
"orderNumber": "01-143008",
25+
"orderDate": "2019-01-09T20:01:11",
26+
"paymentMethod": "https://schema.org/Cash",
27+
"paymentStatus": "https://schema.org/PaymentComplete",
28+
"priceCurrency": "MYR",
29+
"acceptedOffer": [
30+
{
31+
"@id": "#offer-1"
32+
}
33+
],
34+
"additionalProperty": [
35+
{
36+
"@type": "PropertyValue",
37+
"name": "Receipt Type",
38+
"value": "CASH BILL"
39+
},
40+
{
41+
"@type": "PropertyValue",
42+
"name": "Cashier",
43+
"value": "01"
44+
},
45+
{
46+
"@type": "PropertyValue",
47+
"name": "Total Amount",
48+
"value": "31.00",
49+
"unitText": "MYR"
50+
},
51+
{
52+
"@type": "PropertyValue",
53+
"name": "Cash Received",
54+
"value": "101.00",
55+
"unitText": "MYR"
56+
},
57+
{
58+
"@type": "PropertyValue",
59+
"name": "Change",
60+
"value": "70.00",
61+
"unitText": "MYR"
62+
},
63+
{
64+
"@type": "PropertyValue",
65+
"name": "Return Notice",
66+
"value": "Goods sold are non-refundable."
67+
},
68+
{
69+
"@type": "PropertyValue",
70+
"name": "Closing Message",
71+
"value": "Thank you. Please come again."
72+
}
73+
]
74+
},
75+
{
76+
"@id": "#offer-1",
77+
"@type": "Offer",
78+
"price": "15.50",
79+
"priceCurrency": "MYR",
80+
"eligibleQuantity": {
81+
"@type": "QuantitativeValue",
82+
"value": 2,
83+
"unitText": "item"
84+
},
85+
"itemOffered": {
86+
"@id": "#product-1"
87+
},
88+
"seller": {
89+
"@id": "#merchant"
90+
},
91+
"additionalProperty": [
92+
{
93+
"@type": "PropertyValue",
94+
"name": "Printed Line Amount",
95+
"value": "31.00",
96+
"unitText": "MYR"
97+
}
98+
]
99+
},
100+
{
101+
"@id": "#product-1",
102+
"@type": "Product",
103+
"name": "Plastic"
104+
}
105+
]
106+
}
Lines changed: 137 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,137 @@
1+
{
2+
"@context": "https://schema.org",
3+
"@graph": [
4+
{
5+
"@id": "#merchant",
6+
"@type": "HardwareStore",
7+
"name": "HOME MASTER HARDWARE & ELECTRICAL",
8+
"identifier": {
9+
"@type": "PropertyValue",
10+
"name": "Company Registration Number",
11+
"value": "SA03711551-P"
12+
},
13+
"taxID": "001637511168",
14+
"address": {
15+
"@type": "PostalAddress",
16+
"streetAddress": "No. 113G & 115G, Jalan Setia Gemilang, U13/BG Bandar Setia Alam",
17+
"postalCode": "40170",
18+
"addressLocality": "Bandar Setia Alam",
19+
"addressRegion": "Selangor",
20+
"addressCountry": "MY"
21+
}
22+
},
23+
{
24+
"@id": "#order",
25+
"@type": "Order",
26+
"seller": {
27+
"@id": "#merchant"
28+
},
29+
"orderNumber": "CS 67832",
30+
"orderDate": "2017-12-22T14:03:00",
31+
"paymentMethod": "https://schema.org/Cash",
32+
"paymentStatus": "https://schema.org/PaymentComplete",
33+
"priceCurrency": "MYR",
34+
"acceptedOffer": [
35+
{
36+
"@id": "#offer-1"
37+
}
38+
],
39+
"additionalProperty": [
40+
{
41+
"@type": "PropertyValue",
42+
"name": "Receipt Type",
43+
"value": "TAX INVOICE"
44+
},
45+
{
46+
"@type": "PropertyValue",
47+
"name": "Cashier",
48+
"value": "CASHIER"
49+
},
50+
{
51+
"@type": "PropertyValue",
52+
"name": "Subtotal",
53+
"value": "15.90",
54+
"unitText": "MYR"
55+
},
56+
{
57+
"@type": "PropertyValue",
58+
"name": "Total Excluding GST",
59+
"value": "15.00",
60+
"unitText": "MYR"
61+
},
62+
{
63+
"@type": "PropertyValue",
64+
"name": "Total Including GST",
65+
"value": "15.90",
66+
"unitText": "MYR"
67+
},
68+
{
69+
"@type": "PropertyValue",
70+
"name": "Rounded Total",
71+
"value": "15.90",
72+
"unitText": "MYR"
73+
},
74+
{
75+
"@type": "PropertyValue",
76+
"name": "Payment",
77+
"value": "50.00",
78+
"unitText": "MYR"
79+
},
80+
{
81+
"@type": "PropertyValue",
82+
"name": "Change Due",
83+
"value": "34.10",
84+
"unitText": "MYR"
85+
},
86+
{
87+
"@type": "PropertyValue",
88+
"name": "Total Items",
89+
"value": 1
90+
},
91+
{
92+
"@type": "PropertyValue",
93+
"name": "GST Tax Code",
94+
"value": "SR"
95+
},
96+
{
97+
"@type": "PropertyValue",
98+
"name": "GST Rate",
99+
"value": "6%"
100+
},
101+
{
102+
"@type": "PropertyValue",
103+
"name": "GST Amount",
104+
"value": "0.90",
105+
"unitText": "MYR"
106+
},
107+
{
108+
"@type": "PropertyValue",
109+
"name": "Closing Message",
110+
"value": "Thank you."
111+
}
112+
]
113+
},
114+
{
115+
"@id": "#offer-1",
116+
"@type": "Offer",
117+
"price": "15.90",
118+
"priceCurrency": "MYR",
119+
"eligibleQuantity": {
120+
"@type": "QuantitativeValue",
121+
"value": 1,
122+
"unitText": "item"
123+
},
124+
"itemOffered": {
125+
"@id": "#product-1"
126+
},
127+
"seller": {
128+
"@id": "#merchant"
129+
}
130+
},
131+
{
132+
"@id": "#product-1",
133+
"@type": "Product",
134+
"name": "24MMX7Y M.ONE TAPE"
135+
}
136+
]
137+
}
Lines changed: 152 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,152 @@
1+
{
2+
"@context": "https://schema.org",
3+
"@graph": [
4+
{
5+
"@id": "#merchant",
6+
"@type": "Restaurant",
7+
"name": "RESTORAN HASSANBISTRO",
8+
"address": {
9+
"@type": "PostalAddress",
10+
"streetAddress": "No. 2-1-1, Jalan Setia Prima Q, U13/Q Setia Alam",
11+
"postalCode": "40170",
12+
"addressLocality": "Shah Alam",
13+
"addressRegion": "Selangor",
14+
"addressCountry": "MY"
15+
}
16+
},
17+
{
18+
"@id": "#order",
19+
"@type": "Order",
20+
"seller": {
21+
"@id": "#merchant"
22+
},
23+
"orderNumber": "C1-0170778",
24+
"orderDate": "2017-12-28T22:17:32",
25+
"paymentMethod": "https://schema.org/Cash",
26+
"paymentStatus": "https://schema.org/PaymentComplete",
27+
"priceCurrency": "MYR",
28+
"acceptedOffer": [
29+
{
30+
"@id": "#offer-1"
31+
}
32+
],
33+
"additionalProperty": [
34+
{
35+
"@type": "PropertyValue",
36+
"name": "Receipt Type",
37+
"value": "TAX INVOICE"
38+
},
39+
{
40+
"@type": "PropertyValue",
41+
"name": "Terminal",
42+
"value": "C1"
43+
},
44+
{
45+
"@type": "PropertyValue",
46+
"name": "Cashier",
47+
"value": "HASSAN"
48+
},
49+
{
50+
"@type": "PropertyValue",
51+
"name": "Token",
52+
"value": "CT1"
53+
},
54+
{
55+
"@type": "PropertyValue",
56+
"name": "Table",
57+
"value": "CT1"
58+
},
59+
{
60+
"@type": "PropertyValue",
61+
"name": "Total Items",
62+
"value": 1
63+
},
64+
{
65+
"@type": "PropertyValue",
66+
"name": "Total Quantity",
67+
"value": 1
68+
},
69+
{
70+
"@type": "PropertyValue",
71+
"name": "Subtotal",
72+
"value": "15.00",
73+
"unitText": "MYR"
74+
},
75+
{
76+
"@type": "PropertyValue",
77+
"name": "Discount",
78+
"value": "0.00",
79+
"unitText": "MYR"
80+
},
81+
{
82+
"@type": "PropertyValue",
83+
"name": "Total Excluding GST",
84+
"value": "15.00",
85+
"unitText": "MYR"
86+
},
87+
{
88+
"@type": "PropertyValue",
89+
"name": "GST Amount",
90+
"value": "0.00",
91+
"unitText": "MYR"
92+
},
93+
{
94+
"@type": "PropertyValue",
95+
"name": "Total Including GST",
96+
"value": "15.00",
97+
"unitText": "MYR"
98+
},
99+
{
100+
"@type": "PropertyValue",
101+
"name": "Rounding",
102+
"value": "0.00",
103+
"unitText": "MYR"
104+
},
105+
{
106+
"@type": "PropertyValue",
107+
"name": "Cash",
108+
"value": "15.00",
109+
"unitText": "MYR"
110+
},
111+
{
112+
"@type": "PropertyValue",
113+
"name": "Change",
114+
"value": "0.00",
115+
"unitText": "MYR"
116+
},
117+
{
118+
"@type": "PropertyValue",
119+
"name": "GST Tax Code",
120+
"value": "ZR"
121+
},
122+
{
123+
"@type": "PropertyValue",
124+
"name": "Closing Message",
125+
"value": "Thank you. Come again."
126+
}
127+
]
128+
},
129+
{
130+
"@id": "#offer-1",
131+
"@type": "Offer",
132+
"price": "15.00",
133+
"priceCurrency": "MYR",
134+
"eligibleQuantity": {
135+
"@type": "QuantitativeValue",
136+
"value": 1,
137+
"unitText": "item"
138+
},
139+
"itemOffered": {
140+
"@id": "#menu-item-1"
141+
},
142+
"seller": {
143+
"@id": "#merchant"
144+
}
145+
},
146+
{
147+
"@id": "#menu-item-1",
148+
"@type": "MenuItem",
149+
"name": "MAKANAN"
150+
}
151+
]
152+
}

0 commit comments

Comments
 (0)