array

Creates an array property definition.

Example

property("tags") {
array {
description = "List of tags"
minItems = 1
maxItems = 10
ofString()
}
}

Return

A configured ArrayPropertyDefinition

Parameters

block

Configuration for the array property

See also