Merge "Fix: Make bookstore data consistent"
[cps.git] / cps-service / src / test / resources / bookstore.json
index 44d5d42..c5fd0ff 100644 (file)
@@ -1,34 +1,59 @@
 {
+   "bookstore-address": [
+      {
+         "bookstore-name": "Easons",
+         "address": "Dublin,Ireland",
+         "postal-code": "D02HA21"
+      }
+   ],
    "test:bookstore":{
-      "categories":[
+      "bookstore-name": "Chapters/Easons",
+      "categories": [
          {
-            "name":"web",
-            "books":[
+            "code": "01/1",
+            "name": "SciFi",
+            "books": [
                {
-                  "authors":[
-                     "Toine Siebelink","David Lang"
+                  "authors": [
+                     "Iain M. Banks"
                   ],
-                  "lang":"en",
-                  "price":"123456",
-                  "pub_year":"2020",
-                  "title":"My first book"
+                  "lang": "en/it",
+                  "price": "895",
+                  "pub_year": "1994",
+                  "title": "Feersum Endjinn/Endjinn Feersum"
+               },
+               {
+                  "authors": [
+                     "Ursula K. Le Guin",
+                     "Joe Haldeman",
+                     "Orson Scott Card",
+                     "david Brin",
+                     "Rober Silverberg",
+                     "Dan Simmons",
+                     "Greg Bear"
+                  ],
+                  "lang": "en",
+                  "price": "1099",
+                  "pub_year": "1999",
+                  "title": "Far Horizons"
                }
             ]
          },
          {
-            "name":"art",
-            "books":[
+            "name": "kids",
+            "code": "02",
+            "books": [
                {
-                  "authors":[
-                     "Test"
+                  "authors": [
+                     "Philip Pullman"
                   ],
-                  "lang":"en",
-                  "price":"1234",
-                  "pub_year":"2020",
-                  "title":"My 2nd book"
+                  "lang": "en",
+                  "price": "699",
+                  "pub_year": "1995",
+                  "title": "The Golden Compass"
                }
             ]
          }
       ]
    }
-}
\ No newline at end of file
+}