Skip to main content

betaThis is a new capability. Help us improve it and give your feedback on Slack.

list-schema-properties-items-oneof-string-list-items-items-array-item-properties-conditional-properties-components-components-item-properties-schema

Schema Type

object (Schema)

schema Default Value

The default value is:

{}

schema Properties

PropertyTypeRequiredNullableDefined by
minnumberOptionalcannot be nullList Schema
maxnumberOptionalcannot be nullList Schema
lengthnumberOptionalcannot be nullList Schema
regexMergedOptionalcan be nullList Schema
Additional PropertiesAnyOptionalcan be null

min

Minimum value or length for validation

min

  • is optional

  • Type: number (Min)

  • cannot be null

  • defined in: List Schema

Min Type

number (Min)

max

Maximum value or length for validation

max

  • is optional

  • Type: number (Max)

  • cannot be null

  • defined in: List Schema

Max Type

number (Max)

length

Exact length required for validation

length

Length Type

number (Length)

regex

The regex value.

regex

  • is optional

  • Type: any of the following: array or boolean or number or object or string (Regex)

  • can be null

  • defined in: List Schema

Regex Type

any of the following: array or boolean or number or object or string (Regex)

one (and only one) of

Additional Properties

Additional properties are allowed and do not have to follow a specific schema