Tags

Ns

Symbols

zen.tests.schema/map-require
{
:schema
{
:require
#{
:d
:a
#{
:c
:b
:typezen/map
:keys
{
:c
:b
:d
:a
:zen/file
"/Users/niquola/.gitlibs/libs/zen-lang/zen/593a18f7f7f780f7024ae5ee2248e50a97d4bcaa/pkg/zen/tests/schema.edn"
:title
"Test zen/map require"
:cases
{
:simple
{
:valid
?true
:example
{
:b
"b"
:d
"c"
:a
"a"
:missed-or
{
:result
[
[0]
{
:path
[
:schema
[
[0]
:require
:type
"map.require"
:message
"one of keys #{:c :b} is required"
:example
{
:d
"d"
:a
"a"