hjsonschema-1.0.0.0: JSON Schema library
Data.Validator.Draft4.String
Contents
Synopsis
maxLength :: Int -> Text -> Maybe (Fail ()) Source #
The spec requires "maxLength" to be non-negative.
"maxLength"
minLength :: Int -> Text -> Maybe (Fail ()) Source #
The spec requires "minLength" to be non-negative.
"minLength"
patternVal :: Text -> Text -> Maybe (Fail ()) Source #