Package-level declarations
Schema utilities.
Functions
Link copied to clipboard
Builds the accepted file types restrictions of a schema, given its validations.
Link copied to clipboard
Builds the common restrictions of a schema, given its validations.
Link copied to clipboard
fun <T : Comparable<T>> comparableBoundsRestrictions(validations: Iterable<Validation<T>>, typeMin: T? = null, typeMax: T? = null): Map<String, T>
Builds the comparable bounds restrictions of a schema, given its validations.
Link copied to clipboard
fun <T : CharSequence> lengthBoundsRestrictions(validations: Iterable<Validation<T>>): Map<String, Int>
Builds the size length restrictions of a schema, given its validations.
Link copied to clipboard
Builds the pattern restrictions of a schema, given its validations.
Link copied to clipboard
Builds the scale restrictions of a schema, given its validations.
Link copied to clipboard
Builds the size bounds restrictions of a schema, given its validations.