Home

Number Validator

A node will be valid if it is a number that meets the maximum, multipleOf etc properties. Analogous to the JSON Schema number validation type. Note that the IntegerValidator type extends this validator with the additional constraint that the number have no fractional part.

Properties

The NumberValidator type has these properties:

NameDescriptionTypeInherited from
idThe identifier for this item.StringEntity
minimumThe inclusive lower limit for a numeric node.Number-
exclusiveMinimumThe exclusive lower limit for a numeric node.Number-
maximumThe inclusive upper limit for a numeric node.Number-
exclusiveMaximumThe exclusive upper limit for a numeric node.Number-
multipleOfA number that a numeric node must be a multiple of.Number-

Related

The NumberValidator type is related to these types:

Bindings

The NumberValidator type is represented in:


This documentation was generated from NumberValidator.yaml by docs_types.rs.

© 2026 Stencila