• Retrieves a companion KOS data model of a specific type associated with a given model.

    Type Parameters

    • T extends IKosDataModel

    Parameters

    • model: IKosDataModel

      The KOS data model for which to retrieve a companion model.

    • type: string

      The type of the companion model.

    Returns T

    The companion KOS data model of the specified type.

    Throws

    An error if the model ID is not provided, the model cannot be found, or the companion model does not exist.