module b { namespace "urn:a"; prefix b; organization "ETSI"; contact "my@mail.com"; description "Something"; revision 2020-01-20 { description "ciao"; reference "EVC Ethernet Services Definitions YANG Modules (MEF XX), TBD"; } /* * Typedefs * with indented line */ typedef foo { // what? type string; description "ciao"; } // bar typedef bar { /* version 1 */ /* version 2 */ /* version 3 */ /* version 4 */ type int32; description "lol"; } /* single line */ container x { // the container is y description "ok"; container y { description "ok"; } container bar { description "ok"; } } }