Tests for YangInstanceIdentifier key value serialization
[yangtools.git] / codec / yang-data-codec-gson / src / test / resources / yt1473 / foo.yang
1 module foo {
2   namespace foons;
3   prefix foo;
4
5   identity one;
6
7   list foo {
8     key str;
9     leaf str {
10       type string;
11     }
12   }
13
14   list bar {
15     key qname;
16     leaf qname {
17       type identityref {
18         base one;
19       }
20     }
21   }
22
23   list baz {
24     key id;
25     leaf id {
26       type instance-identifier;
27     }
28   }
29 }