Skip to main content

ValidatorTypes

All type schemas that are derived from Validator

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.

Notes#

  1. Available as JSON-LD.
  2. Available as JSON Schema.