Interface Schema

Schema for number value.

Number schema is created automatically when Number constructor is used as model.

When additional options needed, the schema has to be created explicitly.

Hierarchy

Properties

nullable?: boolean

Whether the data is nullable.

When true the data value may be null.

Default Value

false, which means null data value prohibited.

optional?: boolean

Whether the data is optional.

When true the data value may be undefined.

Default Value

false, which means undefined data value prohibited.

type: UcDataType<number>

Number schema type always refers to standard Number constructor.

where?: UcConstraints<number, UcSchema<number>>

Schema constraints.

within?: UcPresentations<number>

Schema instance presentation constraints.

Methods

Generated using TypeDoc