summaryrefslogtreecommitdiffstats
path: root/integration-test/src/test/resources/data
diff options
context:
space:
mode:
Diffstat (limited to 'integration-test/src/test/resources/data')
-rw-r--r--integration-test/src/test/resources/data/bookstore/bookstore.yang19
-rw-r--r--integration-test/src/test/resources/data/bookstore/bookstoreData.json16
2 files changed, 35 insertions, 0 deletions
diff --git a/integration-test/src/test/resources/data/bookstore/bookstore.yang b/integration-test/src/test/resources/data/bookstore/bookstore.yang
index c3bfc50dc1..62ebc73201 100644
--- a/integration-test/src/test/resources/data/bookstore/bookstore.yang
+++ b/integration-test/src/test/resources/data/bookstore/bookstore.yang
@@ -21,6 +21,25 @@ module stores {
type string;
}
+ container premises {
+ list addresses {
+ key "house-number street";
+
+ leaf house-number {
+ type uint16;
+ }
+ leaf street {
+ type string;
+ }
+ leaf town {
+ type string;
+ }
+ leaf county {
+ type string;
+ }
+ }
+ }
+
list categories {
key "code";
diff --git a/integration-test/src/test/resources/data/bookstore/bookstoreData.json b/integration-test/src/test/resources/data/bookstore/bookstoreData.json
index 48cf4e4e58..12df20e55b 100644
--- a/integration-test/src/test/resources/data/bookstore/bookstoreData.json
+++ b/integration-test/src/test/resources/data/bookstore/bookstoreData.json
@@ -1,6 +1,22 @@
{
"bookstore": {
"bookstore-name": "Easons",
+ "premises": {
+ "addresses": [
+ {
+ "house-number": 2,
+ "street": "Main Street",
+ "town": "Maynooth",
+ "county": "Kildare"
+ },
+ {
+ "house-number": 24,
+ "street": "Grafton Street",
+ "town": "Dublin",
+ "county": "Dublin"
+ }
+ ]
+ },
"categories": [
{
"code": 1,