FDO SDK API Reference
    Preparing search index...

    Interface AttributeDefCombination<N, Cardinality, AttributesInComb, Type>

    This interface defines an attribute that is a combination of two or more other attributes. The value of such a combination attribute is a JSON Object in the <key: Attribute PID>: <value: Attribute Value> form.

    interface AttributeDefCombination<
        N extends string,
        Cardinality extends CardinalityType,
        AttributesInComb extends
            AttributeDef<string, AttributeAnyType, CardinalityType>[],
        Type extends AttributeAnyType = Simplify<AttrsToObj<AttributesInComb>>,
    > {
        "~type": Type;
        allowedAttributesInCombination?: AttributesInComb;
        cardinality: Cardinality;
        defType: "combination";
        description?: string | string[];
        name: N;
        pid: string;
        validationStrategyForCombination?: "anyof" | "allof";
    }

    Type Parameters

    Hierarchy (View Summary)

    Index
    "~type": Type
    allowedAttributesInCombination?: AttributesInComb
    cardinality: Cardinality
    defType: "combination"
    description?: string | string[]
    name: N
    pid: string
    validationStrategyForCombination?: "anyof" | "allof"