def perform_metadata_inspection(container):
    """
    Prints the metadata of the container to the terminal.

    :param container: the container
    :type container: :class:`surround.data.container.DataContainer`
    """
    metadata = container.metadata
    print('Metadata format version: %s' % metadata['version'])
    print('Summary Metadata:')
    print('  Title:          %s' % metadata['summary']['title'])
    print('  Description:    %s' % metadata['summary']['description'])
    print('  Creator:        %s' % metadata['summary']['creator'])
    print('  Date:           %s' % metadata['summary']['date'])
    print('  Publisher:      %s' % metadata['summary']['publisher'])
    print('  Contributor:    %s' % metadata['summary']['contributor'])
    print('  Subject:        %s' % metadata['summary']['subject'])
    print('  Formats:        %s' % metadata['summary']['formats'])
    print('  Types:          %s' % metadata['summary']['types'])
    print('  Identifier:     %s' % metadata['summary']['identifier'])
    print('  Rights:         %s' % metadata['summary']['rights'])
    print('  Under Ethics:   %s' % metadata['summary']['under-ethics'])
    print('  Language:       %s\n' % metadata['summary']['language'])
    if metadata.get_property('manifests'):
        for manifest in metadata['manifests']:
            print("'%s' Group Metadata:" % manifest['path'])
            print('  Description:   %s' % manifest['description'])
            print('  Language:      %s' % manifest['language'])
            print('  Formats:       %s' % manifest['formats'])
            print('  Types:         %s\n' % manifest['types'])
