hjsonschema-1.3.0.0: JSON Schema library

Safe HaskellNone
LanguageHaskell2010

Data.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