1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{
  "Customers": [
    {
      "ID": "C01",
      "FirstName": "John",
      "LastName": "Smith",
      "Born": 1975,
      "Email": "john.smith@company.com"
    },
    {
      "ID": "C02",
      "FirstName": "Emily",
      "LastName": "Smart",
      "Born": 1983,
      "Email": "emily.smart@company.com"
    }
  ],
  
  "Items": [
    {
      "ID": "I01",
      "Name": "Bike",
      "SalesPrice": 500.00,
      
      "BOM": {
        "Name": "Bike 1",
        "Elements": [
          {"Name": "wheel", "Qty": 2},
          {"Name": "frame", "Qty": 1,
            "Elements": [
              {"Name": "steering wheel", "Qty": 1,
                "Elements": [
                  {"Name": "bell", "Qty": 1},
                  {"Name": "handle", "Qty": 2}
                ]},
              {"Name": "saddle", "Qty": 1}
            ]},
          {"Name": "transmission mechanism", "Qty": 1,
            "Elements": [
              {"Name": "chain", "Qty": 1},
              {"Name": "pedal", "Qty": 2}
            ]}
        ]
      }
    },
    {
      "ID": "I02",
      "Name": "Car",
      "SalesPrice": 35000.00
    }
  ],
  
  "SalesEntry": [
    {
      "CustomerID": "C01",
      "ItemID": "I01",
      "SalesPrice": 495.00,
      "UnitCost": 320.00
    },
    {
      "CustomerID": "C01",
      "ItemID": "I02",
      "SalesPrice": 33999.00,
      "UnitCost": 29000.00
    },
    {
      "CustomerID": "C02",
      "ItemID": "I01",
      "SalesPrice": 500.00,
      "UnitCost": 320.00
    }
  ]
}