Masterplan is a library for comparing Ruby data structures against predefined templates - like XML Schema without the XML.