Persisting a list element to a parent list (ep2)
[cps.git] / integration-test / src / test / resources / data / bookstore / bookstoreData.json
1 {
2   "multiple-data-tree:invoice": [
3     {
4       "ProductID": "1",
5       "ProductName": "Apple",
6       "price": "100",
7       "stock": false
8     }
9   ],
10   "bookstore": {
11     "bookstore-name": "Easons",
12     "premises": {
13       "addresses": [
14         {
15           "house-number": 2,
16           "street": "Main Street",
17           "town": "Maynooth",
18           "county": "Kildare"
19         },
20         {
21           "house-number": 24,
22           "street": "Grafton Street",
23           "town": "Dublin",
24           "county": "Dublin"
25         }
26       ]
27     },
28     "categories": [
29       {
30         "code": 1,
31         "name": "Children",
32         "books" : [
33           {
34             "title": "Matilda",
35             "lang": "English",
36             "authors": ["Roald Dahl"],
37             "editions": [1988, 2000],
38             "price": 10
39           },
40           {
41             "title": "The Gruffalo",
42             "lang": "English",
43             "authors": ["Julia Donaldson"],
44             "editions": [1999],
45             "price": 15
46           }
47         ]
48       },
49       {
50         "code": 2,
51         "name": "Thriller",
52         "books" : [
53           {
54             "title": "Annihilation",
55             "lang": "English",
56             "authors": ["Jeff VanderMeer"],
57             "editions": [2014],
58             "price": 15
59           }
60         ]
61       },
62       {
63         "code": 3,
64         "name": "Comedy",
65         "books" : [
66           {
67             "title": "Good Omens",
68             "lang": "English",
69             "authors": ["Neil Gaiman", "Terry Pratchett"],
70             "editions": [2006],
71             "price": 13
72           },
73           {
74             "title": "The Colour of Magic",
75             "lang": "English",
76             "authors": ["Terry Pratchett"],
77             "editions": [1983],
78             "price": 12
79           },
80           {
81             "title": "The Light Fantastic",
82             "lang": "English",
83             "authors": ["Terry Pratchett"],
84             "editions": [1986],
85             "price": 14
86           },
87           {
88             "title": "A Book with No Language",
89             "lang": "",
90             "authors": ["Joe Bloggs"],
91             "editions": [2023],
92             "price": 20
93           }
94         ]
95       },
96       {
97         "code": 4,
98         "name": "Computing",
99         "books" : [
100           {
101             "title": "Debian GNU/Linux",
102             "lang": "German",
103             "authors": ["Peter H. Ganten", "Wulf Alex"],
104             "editions": [2007, 2013, 2021],
105             "price": 39
106           },
107           {
108             "title": "Logarithm tables",
109             "lang": "N/A",
110             "authors": ["Joe Bloggs"],
111             "editions": [2009],
112             "price": 11
113           }
114         ]
115       }
116     ]
117   }
118 }