ArrayValidator {stencilaschema}R Documentation

A validator specifying constraints on an array node.

Description

A validator specifying constraints on an array node.

Usage

ArrayValidator(
  contains,
  id,
  itemsValidator,
  maxItems,
  meta,
  minItems,
  uniqueItems
)

Arguments

contains

An array node is valid if at least one of its items is valid against the contains schema.

id

The identifier for this item.

itemsValidator

Another validator node specifying the constraints on all items in the array.

maxItems

An array node is valid if its size is less than, or equal to, this value.

meta

Metadata associated with this item.

minItems

An array node is valid if its size is greater than, or equal to, this value.

uniqueItems

A flag to indicate that each value in the array should be unique.

Value

A list of class ArrayValidator

See Also

Entity


[Package stencilaschema version 1.0.0 Index]