RAMEN Core
    Preparing search index...

    Interface InstanceValidationOptions

    Optional domain-specific model view used when validating captured data.

    interface InstanceValidationOptions {
        attributes?: (
            type: ResolvedElement<Node>,
            node: ModelInstanceNode,
        ) => readonly Attribute[];
        relations?: readonly ResolvedElement<Relation>[];
    }
    Index
    attributes?: (
        type: ResolvedElement<Node>,
        node: ModelInstanceNode,
    ) => readonly Attribute[]

    Supplies additional type-dependent attributes without changing the model graph.

    relations?: readonly ResolvedElement<Relation>[]

    Restricts relation types to those selected by the current model.