def resolve_ref(ref, definitions):
    """
    Resolves the reference using the definitions and provides the schema of the referenced user-type.

    :param ref: The reference string to be resolved against the definitions.
    :param definitions: The `dict`that holds the definitions of user-types.
    """
    ref = ref.split("/")[-1]
    return definitions[ref] if ref in definitions else None