def METHOD_NAME(param) -> pyows_types.OutputDescription:
    if isinstance(param, LiteralData):
        return pyows_types.OutputDescription(
            identifier=param.identifier,
            data_description=pyows_types.LiteralDataDescription(
                # TODO: probably similar to encode_input()
                domains=[],
                formats=[],
            ),
            title=param.title,
            abstract=param.abstract,
        )