The output is a set of TCL lists, each containing three elements: (1) the attribute name, (2) verbosename and expandable (yes if expandable, no otherwise), and (3) any subattributes. Subattributes may be nested. In our example above, there are no subattributes since the Schema is flat. In this case, the subattribute lists are empty.

Each TCL list can be traversed recursively to build a standard interface and/or provide options for any particular attribute (expandable (*) and verbosename). The TCL script nxqddb(1) is a good example of a generic interface that uses qprschema to determine the structure of the data and options for each attribute.