Home

Number Validator

This is a type used in Stencila Schema for validating Number nodes.

It adapts common JSON Schema numeric constraints to Stencila's validator system, allowing numeric ranges and divisibility rules to be expressed as structured validator nodes.

Key properties include minimum, exclusiveMinimum, maximum, exclusiveMaximum, and multipleOf. See also IntegerValidator.

Properties

The NumberValidator type has these properties:

NameDescriptionTypeInherited from
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-
idThe identifier for this item.StringEntity

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