Home

Array Validator

Properties

The ArrayValidator type has these properties:

NameDescriptionTypeInherited from
idThe identifier for this item.StringEntity
itemsNullableWhether items can have the value Node::NullBoolean-
itemsValidatorAnother validator node specifying the constraints on all items in the array.Validator-
containsAn array node is valid if at least one of its items is valid against the contains schema.Validator-
minItemsAn array node is valid if its size is greater than, or equal to, this value.Integer-
maxItemsAn array node is valid if its size is less than, or equal to, this value.Integer-
uniqueItemsA flag to indicate that each value in the array should be unique.Boolean-

Related

The ArrayValidator type is related to these types:

Bindings

The ArrayValidator type is represented in:


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

© 2026 Stencila