class

JSONSchema::FluentStringValidator

Inherits JSONSchema::FluentValidatorGenericProperties / Reference / Object

A fluent API for creating instances of JSONSchema::StringValidator.

Instance methods

format(value : String)

Sets a format for the string. See Format.

Source
max_length(value : Int32)

Sets max_length. See Length

Source
min_length(value : Int32)

Sets min_length. See Length

Source
pattern(value : Regex)

Sets pattern. See Regular Expressions

Source
validator
Source