Home

Integer Validator

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

It adapts the JSON Schema integer type concept to Stencila's validator system, reusing the numeric range and divisibility constraints defined by NumberValidator while additionally requiring the value to have no fractional part.

Key constraints are inherited from NumberValidator.

Properties

The IntegerValidator type has these properties:

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

Related

The IntegerValidator type is related to these types:

Bindings

The IntegerValidator type is represented in:


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

© 2026 Stencila