b96b5488c7df134d6c5afbb3517fb2f6d6f50e1a
[yangtools.git] / yang / yang-data-composite-node / src / test / resources / cnsn-to-normalized-node / yang / simple-container.yang
1 module simple-container-yang {
2   namespace "simple:container:yang";  
3
4   prefix "smpdtp";
5   revision 2013-11-12 {    
6   }
7   
8   container cont {
9         container cont1 {
10         }
11         container cont2 {
12              leaf lf21 {
13                  type string;
14              } 
15         }
16         list lst1 {
17         }
18         list lst2 {
19              leaf lf21 {
20                  type string;
21              }
22              leaf lf22 {
23                  type string;
24              }
25         }
26         leaf-list lflst1 {
27                 type string;
28         }
29         leaf lf1 {
30                 type string;
31         }
32         
33     choice chc {
34       case cs1 {
35           leaf lf11 {
36               type string;
37           }
38       }
39       case cs2 {
40           leaf lf21 {
41               type string;
42           }
43       }
44     }
45     
46     anyxml anxml-composite;
47     anyxml anxml-simple;
48   }
49 }