This namespace is copied from com.timezynk.domain.util.schema.validation.
This namespace is copied from com.timezynk.domain.util.schema.validation.
(all-of & rules)
(validate-doc! rule doc)
Validates document. Expects a packed document with validated properties. Throws an exception if the validation does not pass.
Validates document. Expects a packed document with validated properties. Throws an exception if the validation does not pass.
(validate-interval-params! {:keys [params]})
(validate-json-input! _properties _doc)
Validates each property. Expects to validate if a json structure can be packed.
Validates each property. Expects to validate if a json structure can be packed.
(validate-properties all-optional? properties doc)
(validate-properties! all-optional? properties doc)
Validates each property. Expects a packed doc.. Throws an exception if the validation does not pass.
Validates each property. Expects a packed doc.. Throws an exception if the validation does not pass.
(validate-schema! all-optional?
pack-params
schema
exclude-from-validation
params)
Deprecated. Validates and pack. Throws an exception if the validation is not passed
Deprecated. Validates and pack. Throws an exception if the validation is not passed
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close