@metreeca/blue - v0.10.0
    Preparing search index...

    Interface StringLengthConstraints

    Length bounds for textual shape factories.

    Bounds the number of characters admitted by a shape, independently of its lexical format. Accepted on its own by the free-form text and markdown factories, whose content has no fixed length, and included in the full StringConstraints set.

    interface StringLengthConstraints {
        minLength?: number;
        maxLength?: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    minLength?: number

    Minimum string length in characters.

    Inheritance — child value must be ≥ parent value, narrowing the lower bound.

    undefined (no minimum length)

    maxLength?: number

    Maximum string length in characters.

    Inheritance — child value must be ≤ parent value, narrowing the upper bound.

    undefined (no maximum length)