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

    Interface NumberShape

    Shape definition for numeric values.

    Validates numeric values with range and value constraints. Supports XSD 1.1 numeric datatypes including integers, decimals, and floating-point values.

    interface NumberShape {
        kind: "number";
        model: number;
        minExclusive?: number;
        maxExclusive?: number;
        minInclusive?: number;
        maxInclusive?: number;
        in?: readonly number[];
        hasValue?: readonly number[];
    }

    Hierarchy (View Summary)

    Index

    Properties

    kind: "number"

    Discriminator identifying this as a numeric shape.

    model: number

    Prototype value for runtime model assembly.

    0

    minExclusive?: number

    Exclusive minimum value (value must be strictly greater).

    undefined (no minimum constraint)

    maxExclusive?: number

    Exclusive maximum value (value must be strictly less).

    undefined (no maximum constraint)

    minInclusive?: number

    Inclusive minimum value (value must be greater than or equal).

    undefined (no minimum constraint)

    maxInclusive?: number

    Inclusive maximum value (value must be less than or equal).

    undefined (no maximum constraint)

    in?: readonly number[]

    Allowed values (closed enumeration).

    When specified, values must be members of this list.

    undefined (no enumeration constraint)

    hasValue?: readonly number[]

    Required values that must be present.

    When specified, all listed values must appear in the resource.

    undefined (no required values)