module address { yang-version 1; namespace "http://www.yumaworks.com/ns/address"; prefix addr; revision "2013-07-23"; list address { key "last-name first-name"; leaf last-name { type string; description "Last name of the person who is associated with this address"; } leaf first-name { type string; description "First name of the person who is associated with this address"; } leaf street { type string; description "street address"; } leaf city { type string; description "City address"; } leaf zipcode { type string { length "5 | 10"; } description "zipcode"; } } // list address } // Module address