schema

ArrayValidator

A validator specifying constraints on an array node.

Properties

Name @id Type Description Inherited from
contains stencila:contains ValidatorTypes An array node is valid if at least one of its items is valid against the `contains` schema. ArrayValidator
id schema:id string The identifier for this item. Entity
itemsValidator stencila:itemsValidator ValidatorTypes Another validator node specifying the constraints on all items in the array. ArrayValidator
maxItems stencila:maxItems number An array node is valid if its size is less than, or equal to, this value. ArrayValidator
meta stencila:meta object Metadata associated with this item. Entity
minItems stencila:minItems number An array node is valid if its size is greater than, or equal to, this value. ArrayValidator
uniqueItems stencila:uniqueItems boolean A flag to indicate that each value in the array should be unique. ArrayValidator

Available as

Source

This documentation was generated from ArrayValidator.schema.yaml.