Tags
zen/coll
zen/primitive
zen/property
zen/schema
zen/tag
zen/type
zen.tests.schema/test-case
Ns
zen
zen.tests.schema
Symbols
zen/any
zen/boolean
zen/case
zen/coll
zen/ctx
zen/date
zen/datetime
zen/desc
zen/errors
zen/file
zen/integer
zen/keyword
zen/map
zen/name
zen/number
zen/operation
zen/primitive
zen/property
zen/regex
zen/resource
zen/schema
zen/schema-errors
zen/schema-result
zen/set
zen/string
zen/symbol
zen/tag
zen/tags
zen/type
zen/validation-fn
zen/vector
zen.tests.schema/map-exclusive-keys
zen.tests.schema/map-require
zen.tests.schema/str
zen.tests.schema/test-case
zen.tests.schema/valid-schemas
zen/schema
Referred from:
zen/any
: Any type
zen/boolean
zen/case
: case definition is a collection of pairs :when and :then. Starting from first pair, go until first :when schema is valid, then it validates with :then schema
zen/coll
zen/ctx
: schema for context
zen/date
zen/datetime
zen/desc
zen/errors
: resource validation errors while load
zen/file
: file, namespace was loaded from
zen/integer
: integer primitive type
zen/keyword
zen/map
zen/name
zen/number
: number primitive type
zen/operation
: Basic operation schema
zen/regex
: regexp primitive type
zen/resource
zen/schema
: zen schema
zen/schema-errors
zen/schema-result
zen/set
zen/string
: sring primitive type
zen/symbol
zen/tags
zen/validation-fn
: Tag for validation functions
zen/vector
zen.tests.schema/test-case
Definition
{
:zen/tags
#{
zen/tag
zen/schema
:zen/file
"/Users/niquola/.gitlibs/libs/zen-lang/zen/593a18f7f7f780f7024ae5ee2248e50a97d4bcaa/pkg/zen.edn"
:type
zen/map
:zen/desc
"zen schema"
:zen/name
zen/schema
:keys
{
:enum
{
:type
zen/vector
:zen/desc
"Check value is in enum"
:every
{
:type
zen/map
:keys
{
:value
{
:type
zen/any
:confirms
{
:type
zen/set
:zen/desc
"set of schemas to confirm"
:every
{
:tags
#{
zen/schema
:type
zen/symbol
:type
{
:tags
#{
zen/type
:type
zen/symbol
:const
{
:type
zen/map
:zen/desc
"Check constant"
:keys
{
:value
{
:type
zen/any
:validation
{
:type
zen/set
:zen/desc
"Custom validation set of functions"
:every
{
:tags
#{
zen/validation-fn
:type
zen/symbol
:schema-key
{
:key
:type