Tags

Ns

Symbols

zen/schema

Referred from:

zen/any: Any type
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/ctx: schema for context
zen/errors: resource validation errors while load
zen/file: file, namespace was loaded from
zen/integer: integer primitive type
zen/number: number primitive type
zen/operation: Basic operation schema
zen/regex: regexp primitive type
zen/schema: zen schema
zen/string: sring primitive type
zen/validation-fn: Tag for validation functions

Definition

{
:zen/file
"/Users/niquola/.gitlibs/libs/zen-lang/zen/593a18f7f7f780f7024ae5ee2248e50a97d4bcaa/pkg/zen.edn"
:typezen/map
:zen/desc
"zen schema"
:zen/namezen/schema
:keys
{
:enum
{
:zen/desc
"Check value is in enum"
:every
{
:typezen/map
:keys
{
:value
{
:typezen/any
:confirms
{
:typezen/set
:zen/desc
"set of schemas to confirm"
:every
:type
{
:tags
:const
{
:typezen/map
:zen/desc
"Check constant"
:keys
{
:value
{
:typezen/any
:validation
{
:typezen/set
:zen/desc
"Custom validation set of functions"
:every
:schema-key
{
:key:type