def docstring(self, indent=0):
    info = SchemaInfo(self.schema, self.rootschema)
    doc = ['{} schema wrapper'.format(self.classname), '', info.medium_description]
    if info.description:
        doc += self._process_description(re.sub('\\n\\{\\n(\\n|.)*\\n\\}', '', info.description)).splitlines()
    if info.properties:
        (nonkeyword, required, kwds, invalid_kwds, additional) = _get_args(info)
        doc += ['', 'Attributes', '----------', '']
        for prop in ((sorted(required) + sorted(kwds)) + sorted(invalid_kwds)):
            propinfo = info.properties[prop]
            doc += ['{} : {}'.format(prop, propinfo.short_description), '    {}'.format(self._process_description(propinfo.description))]
    if (len(doc) > 1):
        doc += ['']
    return indent_docstring(doc, indent_level=indent, width=100, lstrip=True)
def docstring(self, indent=0):
    info = SchemaInfo(self.schema, self.rootschema)
    doc = ['{} schema wrapper'.format(self.classname), , info.medium_description]
    if info.description:
        doc += self._process_description(re.sub('\\n\\{\\n(\\n|.)*\\n\\}', , info.description)).splitlines()
    if info.properties:
        (nonkeyword, required, kwds, invalid_kwds, additional) = _get_args(info)
        doc += [, 'Attributes', '----------', ]
        for prop in ((sorted(required) + sorted(kwds)) + sorted(invalid_kwds)):
            propinfo = info.properties[prop]
            doc += ['{} : {}'.format(prop, propinfo.short_description), '    {}'.format(self._process_description(propinfo.description))]
    if (len(doc) > 1):
        doc += []
    return indent_docstring(doc, indent_level=indent, width=100, lstrip=True)