InputValidation interface
Describes what values are valid for a subscription input
Properties
data |
Gets or sets the data type to validate. |
is |
Gets or sets if this is a required field. |
max |
Gets or sets the maximum length of this descriptor. |
max |
Gets or sets the minimum value for this descriptor. |
min |
Gets or sets the minimum length of this descriptor. |
min |
Gets or sets the minimum value for this descriptor. |
pattern | Gets or sets the pattern to validate. |
pattern |
Gets or sets the error on pattern mismatch. |
Property Details
dataType
isRequired
Gets or sets if this is a required field.
isRequired: boolean
Property Value
boolean
maxLength
Gets or sets the maximum length of this descriptor.
maxLength: number
Property Value
number
maxValue
Gets or sets the minimum value for this descriptor.
maxValue: number
Property Value
number
minLength
Gets or sets the minimum length of this descriptor.
minLength: number
Property Value
number
minValue
Gets or sets the minimum value for this descriptor.
minValue: number
Property Value
number
pattern
Gets or sets the pattern to validate.
pattern: string
Property Value
string
patternMismatchErrorMessage
Gets or sets the error on pattern mismatch.
patternMismatchErrorMessage: string
Property Value
string