ModelCatalog

@Serializable
data class ModelCatalog(val nominatedInputs: List<NominatedInput> = emptyList(), val nominatedOutputs: List<NominatedOutput> = emptyList())(source)

An optional, author-curated catalog of a model's most important inputs and outputs, layered over the exhaustive ModelDescriptor. Applications may use it to focus their UX (surface the salient knobs first, pre-select the headline outputs) but must not depend on it being present.

List order conveys priority. Assembled by rolling up each element's ModelElement.specifyCatalog and applying any Model.curateCatalog blocks; read back via ModelDescriptor.catalog.

Parameters

nominatedInputs

the nominated inputs, in author-declared order

nominatedOutputs

the nominated outputs, in author-declared order

Constructors

Link copied to clipboard
constructor(nominatedInputs: List<NominatedInput> = emptyList(), nominatedOutputs: List<NominatedOutput> = emptyList())

Properties

Link copied to clipboard

True when nothing has been nominated.

Link copied to clipboard
Link copied to clipboard