def METHOD_NAME(media_type):
    """Get mapped media type.
    :param media_type: Document type
    :return: sip2 media type (see invenio_sip2.models.SelfcheckMediaType)
    """
    return current_app.config.get('SIP2_MEDIA_TYPES').get(
        media_type, 'docmaintype_other'
    )