ArrayValidator
A validator specifying constraints on an array node.
Name | @id | Type | Description | Inherited from |
---|---|---|---|---|
type (required) | schema:type | enum{ ArrayValidator } |
The name of the type. | Entity |
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 |
Parent: Entity
Descendants: None
As: JSON-LD JSON-Schema
Note: This documentation was
autogenerated from ArrayValidator.schema.yaml
.
Please help improve these docs (and show how we humans 💁 can do better than bots 🤖!) by
creating a Markdown documentation
file🙏