RAMEN Core
    Preparing search index...

    Interface AttributeValidationRule

    A targeted constraint exception for recorded property values; findings remain visible as warnings.

    interface AttributeValidationRule {
        accepts: (value: unknown) => boolean;
        attributeId: string;
        code: string;
        constraintId: string;
    }
    Index
    accepts: (value: unknown) => boolean

    Accepts only historical values covered by this exception. Exceptions thrown here propagate to the caller.

    attributeId: string

    Stable identifier of the property, including when inherited by a refinement.

    code: string

    Matches the original diagnostic code; unrelated findings remain errors.

    constraintId: string

    Stable identifier of the constraint whose finding may become a warning.