Array Validator
A validator specifying constraints on an array node.
This schema type is marked as unstable ⚠️ and is subject to change.
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 | integer | 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 | integer | 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 |
Related
- Parent: Validator
- Descendants: None
Available as
- JSON-LD
- JSON Schema
- Python
class ArrayValidator
- TypeScript
interface ArrayValidator
- R
class ArrayValidator
- Rust
struct ArrayValidator
Source
This documentation was generated from ArrayValidator.schema.yaml.