# Functions
AbsoluteURL will validate that a URL is valid and contains a scheme and host.
ASCII will validate that the passed value is an ASCII string within the given length values.
Duration will ensure a value is between min and max duration (inclusive).
Email will validate an email address, returning a FieldError if invalid.
IDName will validate a ASCII name/identifier to ensure it is between 2 and 64 characters, starts with a letter, contains only letters, numbers, and spaces `-`, `_` or `'`.
JMESPath will validate a JMESPath expression.
LabelKey will validate a label key field to ensure it follows a particular format.
LabelValue will validate a label value field to ensure it consists of only printable characters as defined by Go.
Len will ensure a slice has at least min and at most max items.
Many will take multiple input error values, filter out nils and flatten any nested MultiFieldErrors.
ManyUUID will validate a slice of strings, checking each with the UUID validator.
MapLen will ensure a map has at least min and at most max items.
MeasurementID will validate the format of a Google Analytics 4 MeasurementID.
Name will validate a unicode name to ensure it is between 1 and upperLimit runes, and only consists of printable unicode characters.
NullUUID will validate a UUID, unless Null.
OAuthScope is a valid OAuth 2.0 Scope parameter, optionally specifying a list of required scopes.
OneOf will check that value is one of the provided options.
ParseManyUUID will validate a slice of strings, checking each with the UUID validator, and returning a slice of the parsed UUIDs if successful.
ParseUUID will validate a UUID, returning a FieldError if invalid and the parsed UUID otherwise.
Phone will validate a phone number, returning a FieldError if invalid.
Range will ensure a value is between min and max (inclusive).
RequiredText works like Text, but does not allow it to be blank, unless min is set to 0.
SanitizeEmail will try to parse the email field and then return lower-case address portion or an empty string if parse failed.
SanitizeName will remove all invalid characters and return a valid name (as defined by ValidateName) or an empty string.
SanitizeText will sanitize a text body so that it passes the Text validation.
Search will validate a search body.
SubjectID will validate a given OIDC subject ID.
Text will validate a text body.
TwlioFromValue will validate a from value as either a phone number, or messaging service SID starting with 'MG'.
TwilioSID will validate the format of a Twilio SID with the given prefix.
URL will validate a URL, returning a FieldError if invalid.
Username will validate a username to ensure it is between 3 and 24 characters, and only contains lower-case ASCII letters, numbers, and '-', '_', and '.'.
UUID will validate a UUID, returning a FieldError if invalid.