Populate codec/ directory
[yangtools.git] / codec / yang-data-codec-gson / src / test / resources / bug8083 / yang / zab.yang
diff --git a/codec/yang-data-codec-gson/src/test/resources/bug8083/yang/zab.yang b/codec/yang-data-codec-gson/src/test/resources/bug8083/yang/zab.yang
new file mode 100644 (file)
index 0000000..5af9529
--- /dev/null
@@ -0,0 +1,31 @@
+module zab {
+
+    namespace zab-ns;
+    prefix zab-prefix;
+
+    identity base-id;
+
+    identity derived-id {
+        base base-id;
+    }
+
+    container top-cont {
+        list keyed-list {
+            key identityref-key-leaf;
+
+            leaf identityref-key-leaf {
+                type identityref {
+                    base base-id;
+                }
+            }
+
+            leaf regular-leaf {
+                type int32;
+            }
+        }
+
+        leaf iid-leaf {
+            type instance-identifier;
+        }
+    }
+}
\ No newline at end of file