Liking cljdoc? Tell your friends :D

automaton-build.data.schema

Validate the data against the schema.

Proxy to malli.

Validate the data against the schema.

Proxy to [malli](https://github.com/metosin/malli).
raw docstring

add-default-valuesclj

(add-default-values schema data)

Returns data augmented with the default values, as defined in the schema.

Returns `data` augmented with the default values, as defined in the `schema`.
raw docstring

humanizeclj

(humanize schema data)

Returns a vector of string of humanized messages for data compliance to schema. Returns nil if no error is found.

Returns a vector of string of humanized messages for `data` compliance to `schema`.
Returns `nil` if no error is found.
raw docstring

valid?clj

(valid? schema data)

Returns true if data is matching the schema.

Returns `true` if `data` is matching the `schema`.
raw docstring

validate-with-defaultsclj

(validate-with-defaults schema data)

Returns true if data is compliant to the schema, knowing its defaults.

Returns `true` if `data` is compliant to the `schema`, knowing its defaults.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close