Skip to main content

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

component-schema-properties-schema

Schema Type

object (Schema)

schema Default Value

The default value is:

{}

schema Properties

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

min

Minimum value or length for validation

min

Min Type

number (Min)

max

Maximum value or length for validation

max

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: Component 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