aboutsummaryrefslogtreecommitdiffstats
path: root/csit/data
diff options
context:
space:
mode:
Diffstat (limited to 'csit/data')
-rw-r--r--csit/data/bookstoreAddEntry.json19
-rw-r--r--csit/data/bookstoreCreateExample.json34
-rw-r--r--csit/data/bookstoreUpdateExample.json8
3 files changed, 42 insertions, 19 deletions
diff --git a/csit/data/bookstoreAddEntry.json b/csit/data/bookstoreAddEntry.json
deleted file mode 100644
index 86e9a5b3d6..0000000000
--- a/csit/data/bookstoreAddEntry.json
+++ /dev/null
@@ -1,19 +0,0 @@
-{
- "stores:categories": [
- {
- "stores:code": "ISBN200123",
- "stores:name": "library",
- "stores:books": [
- {
- "stores:title": "A good book",
- "stores:lang": "English",
- "stores:authors": [
- "Joe & Rahul"
- ],
- "stores:pub_year": "2001",
- "stores:price": "1000"
- }
- ]
- }
- ]
-} \ No newline at end of file
diff --git a/csit/data/bookstoreCreateExample.json b/csit/data/bookstoreCreateExample.json
new file mode 100644
index 0000000000..ff8e202e30
--- /dev/null
+++ b/csit/data/bookstoreCreateExample.json
@@ -0,0 +1,34 @@
+{
+ "categories": [
+ {
+ "code": "01",
+ "name": "Sci-Fi",
+ "books": [
+ {
+ "title": "A Sci-Fi book",
+ "lang": "English",
+ "authors": [
+ "Joe & Rahul"
+ ],
+ "pub_year": "2001",
+ "price": "1000"
+ }
+ ]
+ },
+ {
+ "code": "02",
+ "name": "Horror",
+ "books": [
+ {
+ "title": "A Horror book",
+ "lang": "English",
+ "authors": [
+ "Joe & Rahul"
+ ],
+ "pub_year": "2003",
+ "price": "2000"
+ }
+ ]
+ }
+ ]
+} \ No newline at end of file
diff --git a/csit/data/bookstoreUpdateExample.json b/csit/data/bookstoreUpdateExample.json
new file mode 100644
index 0000000000..2614b59222
--- /dev/null
+++ b/csit/data/bookstoreUpdateExample.json
@@ -0,0 +1,8 @@
+{
+ "categories": [
+ {
+ "code": "01",
+ "name": "Updated Sci-Fi Category Name"
+ }
+ ]
+} \ No newline at end of file