Skip to content

Commit 901db13

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

22 files changed

Lines changed: 2861 additions & 0 deletions

ANNOTATED.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
-Lakshmiperumal/scanned_receipts"
2+
-Saran-R12/Receipts
3+
-Zenodo hand-captured restaurant receipts"
Lines changed: 176 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,176 @@
1+
{
2+
"@context": "https://schema.org",
3+
"@graph": [
4+
{
5+
"@id": "#merchant",
6+
"@type": "Store",
7+
"name": "UNIHAKKA INTERNATIONAL SDN BHD",
8+
"address": {
9+
"@type": "PostalAddress",
10+
"streetAddress": "12, Jalan Tampoi 7/4",
11+
"addressLocality": "Johor Bahru",
12+
"addressRegion": "Johor",
13+
"postalCode": "81200"
14+
},
15+
"identifier": {
16+
"@type": "PropertyValue",
17+
"name": "GST REG",
18+
"value": "000656195584"
19+
},
20+
"additionalProperty": [
21+
{
22+
"@type": "PropertyValue",
23+
"name": "Legal Name",
24+
"value": "BAR WANG RICE@PERMAS JAYA"
25+
}
26+
]
27+
},
28+
{
29+
"@id": "#order",
30+
"@type": "Order",
31+
"seller": {
32+
"@id": "#merchant"
33+
},
34+
"orderNumber": "OR18032702170334",
35+
"orderDate": "2018-03-27T18:46:00",
36+
"paymentMethod": "https://schema.org/Cash",
37+
"paymentStatus": "https://schema.org/PaymentComplete",
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": "Receipt Type",
54+
"value": "TAX INVOICE"
55+
},
56+
{
57+
"@type": "PropertyValue",
58+
"name": "GST Amount",
59+
"value": "0.39",
60+
"unitText": "MYR"
61+
},
62+
{
63+
"@type": "PropertyValue",
64+
"name": "Net Total",
65+
"value": "6.90",
66+
"unitText": "MYR"
67+
},
68+
{
69+
"@type": "PropertyValue",
70+
"name": "Cash",
71+
"value": "6.90",
72+
"unitText": "MYR"
73+
},
74+
{
75+
"@type": "PropertyValue",
76+
"name": "Change",
77+
"value": "0.00",
78+
"unitText": "MYR"
79+
}
80+
]
81+
},
82+
{
83+
"@id": "#offer-1",
84+
"@type": "Offer",
85+
"seller": {
86+
"@id": "#merchant"
87+
},
88+
"price": "2.00",
89+
"priceCurrency": "MYR",
90+
"itemOffered": {
91+
"@id": "#product-1"
92+
},
93+
"eligibleQuantity": {
94+
"@type": "QuantitativeValue",
95+
"value": 1,
96+
"unitText": "item"
97+
},
98+
"additionalProperty": [
99+
{
100+
"@type": "PropertyValue",
101+
"name": "Barcode",
102+
"value": "100100000056"
103+
}
104+
]
105+
},
106+
{
107+
"@id": "#product-1",
108+
"@type": "Product",
109+
"name": "Fried Noodle (S)"
110+
},
111+
{
112+
"@id": "#offer-2",
113+
"@type": "Offer",
114+
"seller": {
115+
"@id": "#merchant"
116+
},
117+
"price": "2.70",
118+
"priceCurrency": "MYR",
119+
"itemOffered": {
120+
"@id": "#product-2"
121+
},
122+
"eligibleQuantity": {
123+
"@type": "QuantitativeValue",
124+
"value": 1,
125+
"unitText": "item"
126+
},
127+
"additionalProperty": [
128+
{
129+
"@type": "PropertyValue",
130+
"name": "Barcode",
131+
"value": "100100000008"
132+
}
133+
]
134+
},
135+
{
136+
"@id": "#product-2",
137+
"@type": "Product",
138+
"name": "Pork"
139+
},
140+
{
141+
"@id": "#offer-3",
142+
"@type": "Offer",
143+
"seller": {
144+
"@id": "#merchant"
145+
},
146+
"price": "2.20",
147+
"priceCurrency": "MYR",
148+
"itemOffered": {
149+
"@id": "#product-3"
150+
},
151+
"eligibleQuantity": {
152+
"@type": "QuantitativeValue",
153+
"value": 2,
154+
"unitText": "item"
155+
},
156+
"additionalProperty": [
157+
{
158+
"@type": "PropertyValue",
159+
"name": "Barcode",
160+
"value": "100100000015"
161+
},
162+
{
163+
"@type": "PropertyValue",
164+
"name": "Printed Unit Price",
165+
"value": "1.10",
166+
"unitText": "MYR"
167+
}
168+
]
169+
},
170+
{
171+
"@id": "#product-3",
172+
"@type": "Product",
173+
"name": "Vegetable"
174+
}
175+
]
176+
}
Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
{
2+
"@context": "https://schema.org",
3+
"@graph": [
4+
{
5+
"@id": "#merchant",
6+
"@type": "GroceryStore",
7+
"name": "PASAR MINI JIN SENG",
8+
"telephone": "07-3874304",
9+
"identifier": [
10+
{
11+
"@type": "PropertyValue",
12+
"name": "Company Registration Number",
13+
"value": "JM0195380-D"
14+
},
15+
{
16+
"@type": "PropertyValue",
17+
"name": "GST No",
18+
"value": "000150811616"
19+
}
20+
],
21+
"address": {
22+
"@type": "PostalAddress",
23+
"streetAddress": "379, Jalan Permas 1",
24+
"addressLocality": "Bandar Baru Permas Jaya",
25+
"addressRegion": "Johor",
26+
"postalCode": "81750"
27+
}
28+
},
29+
{
30+
"@id": "#order",
31+
"@type": "Order",
32+
"seller": {
33+
"@id": "#merchant"
34+
},
35+
"orderNumber": "002-1560040",
36+
"orderDate": "2018-03-18T09:03:00",
37+
"paymentMethod": "https://schema.org/Cash",
38+
"paymentStatus": "https://schema.org/PaymentComplete",
39+
"priceCurrency": "MYR",
40+
"additionalProperty": [
41+
{
42+
"@type": "PropertyValue",
43+
"name": "Receipt Type",
44+
"value": "TAX INVOICE"
45+
},
46+
{
47+
"@type": "PropertyValue",
48+
"name": "Cashier",
49+
"value": "CASHIER 2"
50+
},
51+
{
52+
"@type": "PropertyValue",
53+
"name": "Subtotal",
54+
"value": "28.60",
55+
"unitText": "MYR"
56+
},
57+
{
58+
"@type": "PropertyValue",
59+
"name": "GST",
60+
"value": "0.07",
61+
"unitText": "MYR"
62+
},
63+
{
64+
"@type": "PropertyValue",
65+
"name": "Total",
66+
"value": "28.60",
67+
"unitText": "MYR"
68+
},
69+
{
70+
"@type": "PropertyValue",
71+
"name": "Cash",
72+
"value": "100.00",
73+
"unitText": "MYR"
74+
},
75+
{
76+
"@type": "PropertyValue",
77+
"name": "Change",
78+
"value": "71.40",
79+
"unitText": "MYR"
80+
},
81+
{
82+
"@type": "PropertyValue",
83+
"name": "Return Notice",
84+
"value": "GOODS SOLD ARE NOT REFUNDABLE"
85+
}
86+
]
87+
}
88+
]
89+
}
Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
{
2+
"@context": "https://schema.org",
3+
"@graph": [
4+
{
5+
"@id": "#merchant",
6+
"@type": "Restaurant",
7+
"name": "RESTAURANT SIN DU",
8+
"telephone": [
9+
"019-7521215",
10+
"016-7867468"
11+
],
12+
"address": {
13+
"@type": "PostalAddress",
14+
"streetAddress": "K3-113, JL IBRAHIM SULTAN",
15+
"addressLocality": "Johor Bahru",
16+
"addressRegion": "Johor",
17+
"postalCode": "80300"
18+
}
19+
},
20+
{
21+
"@id": "#order",
22+
"@type": "Order",
23+
"seller": {
24+
"@id": "#merchant"
25+
},
26+
"orderNumber": "00000047253",
27+
"orderDate": "2018-03-09T21:25:00",
28+
"paymentMethod": "https://schema.org/Cash",
29+
"paymentStatus": "https://schema.org/PaymentComplete",
30+
"priceCurrency": "MYR",
31+
"acceptedOffer": [
32+
{
33+
"@id": "#offer-1"
34+
},
35+
{
36+
"@id": "#offer-2"
37+
}
38+
],
39+
"additionalProperty": [
40+
{
41+
"@type": "PropertyValue",
42+
"name": "Terminal",
43+
"value": "0001"
44+
},
45+
{
46+
"@type": "PropertyValue",
47+
"name": "Cashier",
48+
"value": "DT"
49+
},
50+
{
51+
"@type": "PropertyValue",
52+
"name": "Cash",
53+
"value": "170.00",
54+
"unitText": "MYR"
55+
},
56+
{
57+
"@type": "PropertyValue",
58+
"name": "Total",
59+
"value": "170.00",
60+
"unitText": "MYR"
61+
}
62+
]
63+
},
64+
{
65+
"@id": "#offer-1",
66+
"@type": "Offer",
67+
"seller": {
68+
"@id": "#merchant"
69+
},
70+
"price": "149.00",
71+
"priceCurrency": "MYR",
72+
"itemOffered": {
73+
"@id": "#product-1"
74+
},
75+
"eligibleQuantity": {
76+
"@type": "QuantitativeValue",
77+
"value": 1,
78+
"unitText": "item"
79+
}
80+
},
81+
{
82+
"@id": "#product-1",
83+
"@type": "MenuItem",
84+
"name": "LOS"
85+
},
86+
{
87+
"@id": "#offer-2",
88+
"@type": "Offer",
89+
"seller": {
90+
"@id": "#merchant"
91+
},
92+
"price": "21.00",
93+
"priceCurrency": "MYR",
94+
"itemOffered": {
95+
"@id": "#product-2"
96+
},
97+
"eligibleQuantity": {
98+
"@type": "QuantitativeValue",
99+
"value": 1,
100+
"unitText": "item"
101+
}
102+
},
103+
{
104+
"@id": "#product-2",
105+
"@type": "MenuItem",
106+
"name": "PILO4"
107+
}
108+
]
109+
}

0 commit comments

Comments
 (0)