IFClite TypeScript API
    Preparing search index...

    Interface IfcAttributeInfo

    IFC attribute metadata. Tracks which entities hold the attribute and whether the attribute admits a simple <value> constraint or is a complex (entity-typed) reference.

    interface IfcAttributeInfo {
        complexEntities: readonly string[];
        name: string;
        simpleValueEntities: readonly string[];
        xsdTypesByEntity: Readonly<Record<string, readonly string[]>>;
    }
    Index
    complexEntities: readonly string[]

    Uppercase entity names where the attribute holds a complex/entity reference.

    name: string

    Attribute name as defined on EXPRESS entities (PascalCase).

    simpleValueEntities: readonly string[]

    Uppercase entity names where the attribute admits a simple value.

    xsdTypesByEntity: Readonly<Record<string, readonly string[]>>

    Map of uppercase entity name → the XSD primitive types that the attribute's slot accepts for that entity. Per IDS 1.0 spec, an <attribute><value> literal MUST cast successfully under at least one of these XSD types: xs:integer rejects 42.0, xs:double accepts either, xs:string accepts anything textual, etc.

    Sourced from the upstream SchemaInfo.Attributes.g.cs 4th argument (a union across the entity group declared in the same call). When an entity isn't a key here the type information is unknown and the validator falls back to permissive comparison.