Create a string property definition
Usage
property_string(
title,
description,
required = FALSE,
enum = NULL,
pattern = NULL,
min_length = NULL,
max_length = NULL,
format = NULL
)
Arguments
- title
Short title for the property
- description
Longer description of the property
- required
Whether the property is required
- enum
Optional character vector of allowed values
- pattern
Optional regex pattern the string must match
- min_length
Optional minimum length
- max_length
Optional maximum length
- format
Optional format constraint