from typing import Union


def uri_from_details(namespace: str, load_name: str,
                     version: Union[str, int],
                     delimiter='/') -> str:
    """ Build a labware URI from its details.

    A labware URI is a string that uniquely specifies a labware definition.

    :returns str: The URI.
    """
    return f'{namespace}{delimiter}{load_name}{delimiter}{version}'