A schema specifying constraints on a string node.
Name | @id | Type | Description | Inherited from |
---|---|---|---|---|
id | schema:id | string | The identifier for this item. | Entity |
maxLength | stencila:maxLength | number | The maximum length for a string node. See note 3. | StringValidator |
meta | stencila:meta | object | Metadata associated with this item. | Entity |
minLength | stencila:minLength | number | The minimum length for a string node. See note 4. | StringValidator |
pattern | stencila:pattern | string | A regular expression that a string node must match. See note 2. | StringValidator |
minLength
, maxLength
and pattern
properties. Analogous to the JSON Schema string
validation type.maxLength
.minLength
.This documentation was generated from StringValidator.schema.yaml.