AutoBE
    Preparing search index...

    Number (double) type info.

    interface INumber {
        exclusiveMaximum?: number;
        exclusiveMinimum?: number;
        maximum?: number;
        minimum?: number;
        multipleOf?: number;
        type: "number";
    }

    Hierarchy (View Summary)

    Index

    Properties

    exclusiveMaximum?: number

    Exclusive maximum value restriction.

    exclusiveMinimum?: number

    Exclusive minimum value restriction.

    maximum?: number

    Maximum value restriction.

    minimum?: number

    Minimum value restriction.

    multipleOf?: number

    Multiple of value restriction.

    0

    type: "number"

    Discriminator value of the type.

    CRITICAL: This MUST be a SINGLE string value, NOT an array. The type field identifies the JSON Schema type and must be exactly one of: "boolean", "integer", "number", "string", "array", "object", or "null".

    ❌ INCORRECT: type: ["string", "null"] // This is WRONG! ✅ CORRECT: type: "string" // For nullable string, use oneOf instead

    If you need to express a nullable type (e.g., string | null), you MUST use the IOneOf structure:

    {
    "oneOf": [{ "type": "string" }, { "type": "null" }]
    }

    NEVER use array notation in the type field. The type field is a discriminator that accepts only a single string value.