Home

String Validator

A node will be valid against the schema if it is a string that meets the schemas minLength, maxLength and pattern properties. Analogous to the JSON Schema string validation type.

Properties

The StringValidator type has these properties:

NameDescriptionTypeInherited from
idThe identifier for this item.StringEntity
minLengthThe minimum length for a string node.Integer-
maxLengthThe maximum length for a string node.Integer-
patternA regular expression that a string node must match.String-

Related

The StringValidator type is related to these types:

Bindings

The StringValidator type is represented in:


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

© 2026 Stencila