Liking cljdoc? Tell your friends :D

zen.validation


add-errorclj

(add-error ctx acc err & [upd-acc])
source

append-slice-name-to-error-pathclj

(append-slice-name-to-error-path old-path slice-name error)
source

determine-sliceclj

(determine-slice ctx slices data)
source

emit-fxclj

(emit-fx ctx schema-key schema-params data)

If an unknown key encountered it may be a top-level fx symbol (as defined in zen/schema :keyname-schemas) then the encountered symbol should be checked if it indeed is a zen/schema-fx and if it is a zen/schema-fx then an effect should be produced

If an unknown key encountered it may be a top-level fx symbol (as defined in zen/schema :keyname-schemas)
then the encountered symbol should be checked if it indeed is a zen/schema-fx
and if it is a zen/schema-fx then an effect should be produced
sourceraw docstring

enum-errorsclj

(enum-errors acc)
source

get-symbolclj

(get-symbol ctx nm)
source

global-errors&warningsclj

(global-errors&warnings acc)
source

is-exclusive?clj

(is-exclusive? group data)
source

is-regex?clj

(is-regex? x)
source

new-validation-accclj

(new-validation-acc)
source

pretty-typeclj

(pretty-type x)
source

process-slicing-errors-pathsclj

(process-slicing-errors-paths path slice-name old-errors cur-errors)

Appends slice names to errors paths We can't modify (:path acc) when traversing into slices because paths are shared between :every and :slices and keys validation relies on paths collisions

Appends slice names to errors paths
We can't modify (:path acc) when traversing into slices because
paths are shared between :every and :slices and
keys validation relies on paths collisions
sourceraw docstring

register-unmatched-enumclj

(register-unmatched-enum acc enum data)
source

resolve-keyname-schemaclj

(resolve-keyname-schema ctx keyname-schemas schema-key)
source

resolve-propertyclj

(resolve-property ctx k)
source

restore-accclj

(restore-acc acc old-acc)
source

sliceclj

(slice ctx slicing coll)
source

slicing-filtercljmultimethod

source

unknown-keys-errorsclj

(unknown-keys-errors acc)
source

update-accclj

(update-acc ctx acc {dp :path sp :schema})
source

validateclj

(validate ctx schemas data)
source

validate-collectionclj

(validate-collection
  type
  ctx
  acc
  {{si :index si-ns :ns} :schema-index mn :minItems mx :maxItems :as schema}
  data)
source

validate-nodeclj

(validate-node ctx acc {tp :type :as schema} data)
source

validate-node-rulecljmultimethod

source

validate-node-rule*clj

(validate-node-rule* ctx acc rule rule-val data)
source

validate-node-rule-dispatchclj

(validate-node-rule-dispatch ctx _acc rule _rule-val _data)
source

validate-schemaclj

(validate-schema ctx schema data)
source

validate-sliceclj

(validate-slice ctx acc slice-name slice-schema slice-coll)
source

validate-slicingclj

(validate-slicing ctx acc slicing coll)
source

validate-typecljmultimethod

source

validate-type*clj

(validate-type* ctx acc schema data)
source

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

× close