def get_doc_for_type_scheme(type_scheme: 'Type') ->str:
    """ Return a class documentation string for the given type scheme. Use the default_yaml method. """
    return ("""

    .. code-block:: yaml

        {default_yaml}

    """.
        format(default_yaml='\n        '.join(type_scheme.
        string_representation().split('\n'))))
