Skip to main content

Validator Types

All type schemas that are derived from Validator

This schema type is marked as experimental 🧪 and is subject to change.

Members#

@idTypeDescription
stencila:ValidatorValidatorA base for all validator types.
stencila:ArrayValidatorArrayValidatorA validator specifying constraints on an array node.
stencila:BooleanValidatorBooleanValidatorA schema specifying that a node must be a boolean value.
stencila:ConstantValidatorConstantValidatorA validator specifying a constant value that a node must have.
stencila:EnumValidatorEnumValidatorA schema specifying that a node must be one of several values.
stencila:IntegerValidatorIntegerValidatorA validator specifying the constraints on an integer node.
stencila:NumberValidatorNumberValidatorA validator specifying the constraints on a numeric node.
stencila:StringValidatorStringValidatorA schema specifying constraints on a string node.
stencila:TupleValidatorTupleValidatorA validator specifying constraints on an array of heterogeneous items.

Available as#