Liking cljdoc? Tell your friends :D

com.timezynk.domain.validation

This namespace is copied from com.timezynk.domain.util.schema.validation.

This namespace is copied from com.timezynk.domain.util.schema.validation.
raw docstring

<not=clj


<or=clj


>not=clj


>or=clj


all-ofclj

(all-of & rules)

eqclj


hasclj


has-notclj


ltclj


lt=clj


match-param-valuesclj


none-ofclj


one-ofclj


some-ofclj


validate-doc!clj

(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.
raw docstring

validate-interval-params!clj

(validate-interval-params! {:keys [params]})

validate-json-input!clj

(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.
raw docstring

validate-propertiesclj

(validate-properties all-optional? properties doc)

validate-properties!clj

(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.
raw docstring

validate-schema!clj

(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
raw docstring

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

× close