Create a JSON Schema for array type.
Usage
z_array(
items,
description = NULL,
nullable = FALSE,
default = NULL,
min_items = NULL,
max_items = NULL
)Examples
z_array(z_string(), description = "List of names")
#> <z_schema>
#> {
#> "type": "array",
#> "items": {
#> "type": "string"
#> },
#> "description": "List of names"
#> }