InterfacesStringOptionsOn this pageStringOptions Index PropertiesarbitraryformatmaxLengthminLengthregexProperties optionalarbitraryarbitrary?: Partial<StringConstraints>optionalformatformat?: date-time | date | time | email | hostname | ipv4 | ipv6 | uri | ulid | uuid | base64 | durationThe format the string should follow (is not used for validation).optionalmaxLengthmaxLength?: numberThe maximum the length the string is allowed to have.optionalminLengthminLength?: numberThe minimum the length the string is allowed to have.optionalregexregex?: string | RegExpThe pattern the string has.
The format the string should follow (is not used for validation).