Skip to content

Commit d80cb32

Browse files
chore: added annotated output samples
1 parent 9b0d5bf commit d80cb32

11 files changed

Lines changed: 1553 additions & 0 deletions

File tree

Lines changed: 144 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,144 @@
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": "OR16031202170432",
35+
"orderDate": "2018-03-12T18:19: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+
"additionalProperty": [
48+
{
49+
"@type": "PropertyValue",
50+
"name": "Receipt Type",
51+
"value": "TAX INVOICE"
52+
},
53+
{
54+
"@type": "PropertyValue",
55+
"name": "Total Amount",
56+
"value": "8.20",
57+
"unitText": "MYR"
58+
},
59+
{
60+
"@type": "PropertyValue",
61+
"name": "GST Amount",
62+
"value": "0.46",
63+
"unitText": "MYR"
64+
},
65+
{
66+
"@type": "PropertyValue",
67+
"name": "Net Total",
68+
"value": "8.20",
69+
"unitText": "MYR"
70+
},
71+
{
72+
"@type": "PropertyValue",
73+
"name": "Cash",
74+
"value": "20.00",
75+
"unitText": "MYR"
76+
},
77+
{
78+
"@type": "PropertyValue",
79+
"name": "Change",
80+
"value": "0.00",
81+
"unitText": "MYR"
82+
}
83+
]
84+
},
85+
{
86+
"@id": "#offer-1",
87+
"@type": "Offer",
88+
"seller": {
89+
"@id": "#merchant"
90+
},
91+
"price": "7.10",
92+
"priceCurrency": "MYR",
93+
"itemOffered": {
94+
"@id": "#product-1"
95+
},
96+
"eligibleQuantity": {
97+
"@type": "QuantitativeValue",
98+
"value": 1,
99+
"unitText": "item"
100+
},
101+
"additionalProperty": [
102+
{
103+
"@type": "PropertyValue",
104+
"name": "Barcode",
105+
"value": "100100000035"
106+
}
107+
]
108+
},
109+
{
110+
"@id": "#product-1",
111+
"@type": "Product",
112+
"name": "Meat + 3 Vege"
113+
},
114+
{
115+
"@id": "#offer-2",
116+
"@type": "Offer",
117+
"seller": {
118+
"@id": "#merchant"
119+
},
120+
"price": "1.10",
121+
"priceCurrency": "MYR",
122+
"itemOffered": {
123+
"@id": "#product-2"
124+
},
125+
"eligibleQuantity": {
126+
"@type": "QuantitativeValue",
127+
"value": 1,
128+
"unitText": "item"
129+
},
130+
"additionalProperty": [
131+
{
132+
"@type": "PropertyValue",
133+
"name": "Barcode",
134+
"value": "100100000015"
135+
}
136+
]
137+
},
138+
{
139+
"@id": "#product-2",
140+
"@type": "Product",
141+
"name": "Vegetable"
142+
}
143+
]
144+
}
Lines changed: 144 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,144 @@
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": "OR18031402160311",
35+
"orderDate": "2018-03-14T18:40: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+
"additionalProperty": [
48+
{
49+
"@type": "PropertyValue",
50+
"name": "Receipt Type",
51+
"value": "TAX INVOICE"
52+
},
53+
{
54+
"@type": "PropertyValue",
55+
"name": "Total Amount",
56+
"value": "8.20",
57+
"unitText": "MYR"
58+
},
59+
{
60+
"@type": "PropertyValue",
61+
"name": "GST Amount",
62+
"value": "0.46",
63+
"unitText": "MYR"
64+
},
65+
{
66+
"@type": "PropertyValue",
67+
"name": "Net Total",
68+
"value": "8.20",
69+
"unitText": "MYR"
70+
},
71+
{
72+
"@type": "PropertyValue",
73+
"name": "Cash",
74+
"value": "20.00",
75+
"unitText": "MYR"
76+
},
77+
{
78+
"@type": "PropertyValue",
79+
"name": "Change",
80+
"value": "0.00",
81+
"unitText": "MYR"
82+
}
83+
]
84+
},
85+
{
86+
"@id": "#offer-1",
87+
"@type": "Offer",
88+
"seller": {
89+
"@id": "#merchant"
90+
},
91+
"price": "5.50",
92+
"priceCurrency": "MYR",
93+
"itemOffered": {
94+
"@id": "#product-1"
95+
},
96+
"eligibleQuantity": {
97+
"@type": "QuantitativeValue",
98+
"value": 1,
99+
"unitText": "item"
100+
},
101+
"additionalProperty": [
102+
{
103+
"@type": "PropertyValue",
104+
"name": "Barcode",
105+
"value": "100100000060"
106+
}
107+
]
108+
},
109+
{
110+
"@id": "#product-1",
111+
"@type": "Product",
112+
"name": "Vege"
113+
},
114+
{
115+
"@id": "#offer-2",
116+
"@type": "Offer",
117+
"seller": {
118+
"@id": "#merchant"
119+
},
120+
"price": "27.00",
121+
"priceCurrency": "MYR",
122+
"itemOffered": {
123+
"@id": "#product-2"
124+
},
125+
"eligibleQuantity": {
126+
"@type": "QuantitativeValue",
127+
"value": 1,
128+
"unitText": "item"
129+
},
130+
"additionalProperty": [
131+
{
132+
"@type": "PropertyValue",
133+
"name": "Barcode",
134+
"value": "100100000006"
135+
}
136+
]
137+
},
138+
{
139+
"@id": "#product-2",
140+
"@type": "Product",
141+
"name": "Park"
142+
}
143+
]
144+
}

0 commit comments

Comments
 (0)