# Functions
BoolValidator validates that val is a bool.
DateTimeValidator validates that a string is a RFC 3339 date-time format.
DateValidator validates that a string is a RFC 3339 full-date format.
EmailValidator validates that a string is a RFC 5322 email.
EnumValidator validates that val appears in the enum.
FloatValidator validates that val is a float.
HostnameValidator validates that a string is a RFC 1034 hostname.
IntegerValidator validates that val is an int.
Ipv4Validator validates that a string is a RFC 2673 IPv4 address.
Ipv6Validator validates that a string is a RFC 4291 IPv6 address.
JSONPointerValidator validates that a string is a JSON Pointer.
MaxItemsValidator validates that at most the maxItems number of items exist in a slice.
MaxLengthValidator validates that val is shorter in length than maxLength.
MaxPropertiesValidator validates that at most the maxItems number of key-value pairs exist in a map.
MaxValidator validates that the val is less than the max, if exclusive, then less than or equal to.
MinItemsValidator validates that at least the minItems number of items exist in a slice.
MinLengthValidator validates that val is longer in length than minLength.
MinPropertiesValidator validates that at least the minItems number of key-value pairs exist in a map.
MinValidator validates that the val is more than the min, if exclusive then more than or equal to.
MultipleOfValidator validates that the val is a multiple of multipleOf.
NoopValidator always passes (use instead of nil in a slice of validators).
NoWhiteSpaceValidator is an input validator for the survey package that disallows any whitespace in the val.
OverrideAnswerValidator will validate the answer supplied as an argument, rather the answer the user provides this is useful when you want to validate the value a confirm dialog is confirming, rather than the Y/n.
PatternValidator validates that the val matches the regex pattern.
readSchemaTemplate evaluates the given go template file and returns the output data.
RequiredValidator applies the RequiredValidator if required is true.
TemplateSchemaFile if there is a template for the schema file then evaluate it and write the schema file.
TimeValidator validates that a string is a RFC3339 full-time format.
UniqueItemsValidator validates that the val is unique in a slice.
URIReferenceValidator validates that a string is a valid RFC 3986 URI Reference.
URIValidator validates that a string is a valid RFC 3986 URI.
# Structs
Dependency is either a Type or an array of strings, and so requires special unmarshaling from JSON.
Items is a either a Type or a array of types, and so requires special unmarshaling from JSON.
JSONSchemaOptions are options for generating values from a schema.
Properties is a set of ordered key-value pairs, as it is ordered it requires special marshaling to/from JSON.
Type represents a JSON Schema object type current to https://www.ietf.org/archive/id/draft-handrews-json-schema-validation-01.txt.
# Type aliases
Definitions hold schema definitions.