def create_records_versions_bp(app):
    """Create records versions blueprint."""
    ext = app.extensions["invenio-rdm-records"]
    return ext.records_versions_resource.as_blueprint(
            "bibliographic_records_versions_resource"
        )