'Formatted view of validated object and nested values.'

def __repr__(self):

    values = [(attr, getattr(self, attr)) for attr in self.ATTRIBUTES]
    dent = '                '
    value_list = []
    for (attr, value) in values:
        value_list.append(('\n%s%s=%s' % (dent, attr, value)))
    return ('<%s    %s\n%s>' % (self.__class__.__name__, '    '.join(value_list), dent))
