Home

Tuple Validator

This is a type used in Stencila Schema for validating heterogeneous arrays.

It adapts tuple-style validation ideas from JSON Schema to Stencila's node model, allowing arrays to be constrained positionally when each item has a different expected type or validator. This is useful for structured arguments and compact data records.

Key properties describe per-position validators and array-length constraints.

Properties

The TupleValidator type has these properties:

NameDescriptionTypeInherited from
itemsAn array of validators specifying the constraints on each successive item in the array.Validator*-
idThe identifier for this item.StringEntity

Related

The TupleValidator type is related to these types:

Bindings

The TupleValidator type is represented in:


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

© 2026 Stencila