Update test suite
[yangtools.git] / codec / yang-data-codec-xml / src / test / resources / yt1473 / foo.yang
1 module foo {
2   namespace foons;
3   prefix foo;
4
5   identity one;
6
7   typedef bitz {
8     type bits {
9       bit one;
10       bit two;
11       bit three;
12     }
13   }
14
15   list foo {
16     key str;
17     leaf str {
18       type string;
19     }
20   }
21
22   list bar {
23     key qname;
24     leaf qname {
25       type identityref {
26         base one;
27       }
28     }
29   }
30
31   list baz {
32     key id;
33     leaf id {
34       type instance-identifier;
35     }
36   }
37
38   list bee {
39     key bts;
40     leaf bts {
41       type bitz;
42     }
43   }
44 }