hjsonschema-1.9.0: JSON Schema library

Safe HaskellNone
LanguageHaskell2010

JSONSchema.Validator.Draft4.String

Contents

Synopsis

maxLength

maxLengthVal :: MaxLength -> Text -> Maybe MaxLengthInvalid Source #

The spec requires "maxLength" to be non-negative.

minLength

minLengthVal :: MinLength -> Text -> Maybe MinLengthInvalid Source #

The spec requires "minLength" to be non-negative.

pattern